|
@@ -511,7 +511,8 @@
|
|
iq.e_visa_pdf_url,
|
|
iq.e_visa_pdf_url,
|
|
iq.wbs_id,
|
|
iq.wbs_id,
|
|
iq.sj_record_ids
|
|
iq.sj_record_ids
|
|
- from u_information_query iq left join (select * from u_task k where k.status!=3 and k.contract_id = #{query.contractId}) t on iq.id = t.form_data_id and t.is_deleted = 0
|
|
|
|
|
|
+ from u_information_query iq left join (select * from u_task k where k.status!=3 and k.contract_id = #{query.contractId} group by
|
|
|
|
+ form_data_id) t on iq.id = t.form_data_id and t.is_deleted = 0
|
|
where
|
|
where
|
|
iq.is_deleted = 0
|
|
iq.is_deleted = 0
|
|
and iq.classify = #{query.classify}
|
|
and iq.classify = #{query.classify}
|