|
|
@@ -2137,13 +2137,13 @@ select
|
|
|
select name,picture_url as pictureUrl,id from demand d where d.data_category=1 order by release_date desc
|
|
|
</select>
|
|
|
<select id="getUrgentDemand" resultType="com.goafanti.demand.bo.DemandListBo">
|
|
|
- select name,release_date as releaseDate,id,problem_des as problemDes,research_type as researchType,fund_for_personnel as fundForPersonnel,fund_for_crowd as fundForCrowd,demand_type as demandType,
|
|
|
+ select name,release_date as releaseDate,id,problem_des as problemDes,research_type as researchType,budget_cost as fundForPersonnel,crowd_cost as fundForCrowd,demand_type as demandType,
|
|
|
validity_period as validityPeriod
|
|
|
from demand d where d.is_urgent=1 order by release_date desc
|
|
|
</select>
|
|
|
|
|
|
<select id="getHotDemand" resultType="com.goafanti.demand.bo.DemandListBo">
|
|
|
- select name,release_date as releaseDate,id,problem_des as problemDes,research_type as researchType,fund_for_personnel as fundForPersonnel,fund_for_crowd as fundForCrowd,demand_type as demandType,
|
|
|
+ select name,release_date as releaseDate,id,problem_des as problemDes,research_type as researchType,budget_cost as fundForPersonnel,crowd_cost as fundForCrowd,demand_type as demandType,
|
|
|
validity_period as validityPeriod
|
|
|
from demand d where d.is_hot=1 order by release_date desc
|
|
|
</select>
|
|
|
@@ -2159,11 +2159,11 @@ select
|
|
|
where d.demand_type=2 order by release_date desc
|
|
|
</select>
|
|
|
<select id="getFundCrowdDemand" resultType="com.goafanti.demand.bo.DemandListBo">
|
|
|
- select name,picture_url as pictureUrl ,problem_des as problemDes ,id,fund_for_crowd as fundForCrowd from demand d where d.demand_type=3 order by release_date desc
|
|
|
+ select name,picture_url as pictureUrl ,problem_des as problemDes ,id,crowd_cost as fundForCrowd from demand d where d.demand_type=3 order by release_date desc
|
|
|
</select>
|
|
|
|
|
|
<select id="getPersonnelDemand" resultType="com.goafanti.demand.bo.DemandListBo">
|
|
|
- select name,picture_url as pictureUrl ,problem_des as problemDes ,id,fund_for_personnel as fundForPersonnel from demand d where d.demand_type=5 order by release_date desc
|
|
|
+ select name,picture_url as pictureUrl ,problem_des as problemDes ,id,budget_cost as fundForPersonnel from demand d where d.demand_type=5 order by release_date desc
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|