|
@@ -129,10 +129,12 @@
|
|
LEFT JOIN t_dictionary t6 ON t2.acceptance_status = t6.code
|
|
LEFT JOIN t_dictionary t6 ON t2.acceptance_status = t6.code
|
|
LEFT JOIN trading_platform t7 on t7.id = t2.trading_platform_id
|
|
LEFT JOIN trading_platform t7 on t7.id = t2.trading_platform_id
|
|
LEFT JOIN c_project_information t8 on t2.business_number = t8.business_number
|
|
LEFT JOIN c_project_information t8 on t2.business_number = t8.business_number
|
|
|
|
+ LEFT JOIN c_supplier_info t9 on t2.c_supplier_info_id = t9.c_enterprise_id
|
|
|
|
+ LEFT JOIN c_sys_user t10 on t9.sys_user_id = t10.id
|
|
<where>
|
|
<where>
|
|
t1.business_type like "AcceptanceSheet%" and t2.id is not null
|
|
t1.business_type like "AcceptanceSheet%" and t2.id is not null
|
|
<if test="userIds != null and userIds.size()>0">
|
|
<if test="userIds != null and userIds.size()>0">
|
|
- AND t1.assignee_id in
|
|
|
|
|
|
+ AND t10.project_manager in
|
|
<foreach collection="userIds" index="index" item="item" open="(" separator="," close=")">
|
|
<foreach collection="userIds" index="index" item="item" open="(" separator="," close=")">
|
|
#{item}
|
|
#{item}
|
|
</foreach>
|
|
</foreach>
|