|
@@ -1079,11 +1079,12 @@
|
|
|
a.bargaining_mode as bargainingMode, a.technical_scene as technicalScene, a.breakthrough,
|
|
a.bargaining_mode as bargainingMode, a.technical_scene as technicalScene, a.breakthrough,
|
|
|
a.patent_case as patentCase, a.awards, a.team_des as teamDes,
|
|
a.patent_case as patentCase, a.awards, a.team_des as teamDes,
|
|
|
a.parameter, a.tech_plan_url as techPlanUrl, a.business_plan_url as businessPlanUrl,
|
|
a.parameter, a.tech_plan_url as techPlanUrl, a.business_plan_url as businessPlanUrl,
|
|
|
- ai.id as achievementInterestId
|
|
|
|
|
|
|
+ ai.id as achievementInterestId, ao.id as achievementOrderId, ao.status as orderStatus
|
|
|
from achievement a
|
|
from achievement a
|
|
|
left join user_identity ui on ui.uid = a.owner_id
|
|
left join user_identity ui on ui.uid = a.owner_id
|
|
|
left join organization_identity oi on oi.uid = a.owner_id
|
|
left join organization_identity oi on oi.uid = a.owner_id
|
|
|
left join achievement_interest ai on ai.achievement_id = a.id and ai.uid = #{0}
|
|
left join achievement_interest ai on ai.achievement_id = a.id and ai.uid = #{0}
|
|
|
|
|
+ left join achievement_order ao on ao.achievement_id = a.id and ao.uid = #{0}
|
|
|
where a.id = #{1}
|
|
where a.id = #{1}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|