|
|
@@ -2086,10 +2086,13 @@
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="getAppHomeRecommended" resultType="com.goafanti.demand.bo.DemandRecommended">
|
|
|
- select dp.demand_id as id,d.name,d.problem_des as introduction,d.picture_url as pictureUrl,
|
|
|
- d.urgent_days as urgentDays,d.urgent_money as urgentMoney
|
|
|
+ select dp.demand_id as id,d.name,d.problem_des as introduction,d.picture_url as pictureUrl,
|
|
|
+ d.urgent_days as urgentDays,d.urgent_money as urgentMoney,d.industry_category_a as industryCategoryA,
|
|
|
+ d.industry_category_b as industryCategoryB,f1.name as fieldA,f2.name as fieldB,d.boutique
|
|
|
from demand_publish dp
|
|
|
left join demand d on dp.demand_id = d.id
|
|
|
+ left join field_glossory f1 on d.industry_category_a=f1.id
|
|
|
+ left join field_glossory f2 on d.industry_category_b=f2.id
|
|
|
where
|
|
|
dp.publish_client = '1'
|
|
|
and dp.publish_page = 'W01'
|