|
|
@@ -989,8 +989,8 @@
|
|
|
select d.name,employer_name as employerName,d.id ,data_category as dataCategory,release_date as releaseDate,demand_type as demandType,budget_cost as budgetCost
|
|
|
,fg.name as industryCategory1,fgg.name as industryCategory2
|
|
|
from demand d
|
|
|
- left join aft.field_glossory fg on fg.id=d.industry_category_a
|
|
|
- left join aft.field_glossory fgg on fgg.id=d.industry_category_b
|
|
|
+ left join aft.industry_category fg on fg.id=d.industry_category_a
|
|
|
+ left join aft.industry_category fgg on fgg.id=d.industry_category_b
|
|
|
left join branch_information branchInfo on INSTR(branchInfo.domain_name,#{1})>0
|
|
|
left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchInfo.id
|
|
|
where audit_status=2 and info_sources=1 and dp.demand_id=d.id and dp.publish_platform=branchInfo.id and instr(dp.publish_page,#{2})>0
|
|
|
@@ -1024,8 +1024,8 @@ left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchI
|
|
|
fg.name as industryCategory1,fgg.name as industryCategory2,d.picture_url as pictureUrl,
|
|
|
data_category as dataCategory,validity_period as validityPeriod
|
|
|
from demand d
|
|
|
- left join aft.field_glossory fg on fg.id=d.industry_category_a
|
|
|
- left join aft.field_glossory fgg on fgg.id=d.industry_category_b
|
|
|
+ left join aft.industry_category fg on fg.id=d.industry_category_a
|
|
|
+ left join aft.industry_category fgg on fgg.id=d.industry_category_b
|
|
|
left join branch_information branchInfo on INSTR(branchInfo.domain_name,#{1})>0
|
|
|
left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchInfo.id
|
|
|
where d.is_hot=1 and d.audit_status=2 and info_sources=1 and dp.demand_id=d.id and dp.publish_platform=branchInfo.id and instr(dp.publish_page,#{2})>0
|
|
|
@@ -1042,8 +1042,8 @@ left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchI
|
|
|
|
|
|
<select id="getProLearnStudyDemand" resultType="com.goafanti.demand.bo.DemandListBo">
|
|
|
select d.name as name,picture_url as pictureUrl ,problem_des as problemDes,employer_name as employerName,d.id,fg.name as industryCategory1,data_category as dataCategory,fgg.name as industryCategory2 from demand d
|
|
|
- left join aft.field_glossory fg on fg.id=d.industry_category_a
|
|
|
- left join aft.field_glossory fgg on fgg.id=d.industry_category_b
|
|
|
+ left join aft.industry_category fg on fg.id=d.industry_category_a
|
|
|
+ left join aft.industry_category fgg on fgg.id=d.industry_category_b
|
|
|
left join branch_information branchInfo on INSTR(branchInfo.domain_name,#{1})>0
|
|
|
left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchInfo.id
|
|
|
where d.demand_type=2 and d.audit_status=2 and info_sources=1 and dp.demand_id=d.id and dp.publish_platform=branchInfo.id and instr(dp.publish_page,#{2})>0
|
|
|
@@ -1070,8 +1070,8 @@ left join demand_publish dp on dp.demand_id=d.id and dp.publish_platform=branchI
|
|
|
select d.name,d.budget_cost as budgetCost,d.validity_period as validityPeriod,data_category as dataCategory,d.picture_url as pictureUrl,problem_des as problemDes,
|
|
|
fg.name as industryCategory1,fgg.name as industryCategory2
|
|
|
from demand d
|
|
|
- left join aft.field_glossory fg on fg.id=d.industry_category_a
|
|
|
- left join aft.field_glossory fgg on fgg.id=d.industry_category_b
|
|
|
+ left join aft.industry_category fg on fg.id=d.industry_category_a
|
|
|
+ left join aft.industry_category fgg on fgg.id=d.industry_category_b
|
|
|
where d.id=#{0} and d.data_category=#{1}
|
|
|
</select>
|
|
|
<select id="getBoutiqueDemandList" resultType="com.goafanti.demand.bo.DemandListBo">
|