|
|
@@ -972,11 +972,12 @@
|
|
|
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
|
|
|
+ oi.unit_name as unitName, di.id as demandInterestId, do.id as demandOrderId
|
|
|
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}
|
|
|
where d.id = #{1}
|
|
|
</select>
|
|
|
|