|
|
@@ -551,8 +551,8 @@
|
|
|
g.name as industryCategory1,g2.name as industryCategory2
|
|
|
from demand d
|
|
|
left join user_identity t on d.employer_id=t.uid
|
|
|
- left join field_glossory g on d.industry_category_a=g.id
|
|
|
- left join field_glossory g2 on d.industry_category_b=g2.id
|
|
|
+ left join industry_category g on d.industry_category_a=g.id
|
|
|
+ left join industry_category g2 on d.industry_category_b=g2.id
|
|
|
left join (select count(0) as countInterest ,demand_id from demand_interest
|
|
|
group by demand_id) t on d.id=t.demand_id
|
|
|
left join (select demand_id from demand_interest where uid= #{uid,jdbcType=VARCHAR}) y on d.id=y.demand_id
|