|
|
@@ -663,42 +663,6 @@
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
- <select id="selectDemandDetail" parameterType="java.lang.String" resultType="com.goafanti.portal.bo.DemandSearchDetailBo">
|
|
|
- select
|
|
|
- d.id,
|
|
|
- d.employer_name as employerName,
|
|
|
- d.serial_number as serialNumber,
|
|
|
- d.keyword,
|
|
|
- d.data_category as dataCategory,
|
|
|
- d.name,
|
|
|
- d.industry_category_a as industryCategoryA,
|
|
|
- d.industry_category_b as industryCategoryB,
|
|
|
- d.demand_type as demandType,
|
|
|
- d.budget_cost as budgetCost,
|
|
|
- d.problem_des as problemDes,
|
|
|
- d.release_date as releaseDate,
|
|
|
- d.technical_requirements as technicalRequirements,
|
|
|
- d.picture_url as pictureUrl,
|
|
|
- d.text_file_url as textFileUrl,
|
|
|
- d.video_url as videoUrl,
|
|
|
- d.fixed_cycle as fixedCycle,
|
|
|
- d.people_number as peopleNumber,
|
|
|
- d.fixed_scheme as fixedScheme,
|
|
|
- d.cost_escrow as costEscrow,
|
|
|
- d.validity_period as validityPeriod,
|
|
|
- ui.username,
|
|
|
- oi.unit_name as unitName,
|
|
|
- di.id as demandInterestId,
|
|
|
- do.id as demandOrderId,
|
|
|
- do.status as orderStatus
|
|
|
- from demand d
|
|
|
- left join user_identity ui on ui.uid = d.employer_id
|
|
|
- left join organization_identity oi on oi.uid = d.employer_id
|
|
|
- left join demand_interest di on di.demand_id = d.id and di.uid = #{0}
|
|
|
- left join demand_order do on do.demand_id = d.id and do.uid = #{0} and do.status <![CDATA[ <> ]]> 6
|
|
|
- where d.id = #{1}
|
|
|
- </select>
|
|
|
-
|
|
|
<select id="findUserPortalDemandDetail" parameterType="java.lang.String" resultType="com.goafanti.portal.bo.DemandPortalDetailBo">
|
|
|
SELECT
|
|
|
d.id,
|