|
@@ -77,7 +77,9 @@
|
|
LEFT JOIN c_supplier_info t6 ON t2.c_supplier_info_id = t6.id
|
|
LEFT JOIN c_supplier_info t6 ON t2.c_supplier_info_id = t6.id
|
|
LEFT JOIN c_enterprise t7 ON t6.c_enterprise_id = t7.id
|
|
LEFT JOIN c_enterprise t7 ON t6.c_enterprise_id = t7.id
|
|
left join trading_platform t8 on t1.trading_platform_id = t8.id
|
|
left join trading_platform t8 on t1.trading_platform_id = t8.id
|
|
|
|
+ left join c_sys_user t9 on t9.login_name = t1.user_create
|
|
WHERE t1.id = #{id}
|
|
WHERE t1.id = #{id}
|
|
|
|
+ AND (t9.project_manager = #{userId} or t9.project_manager is null )
|
|
ORDER BY t1.gmt_modified Desc
|
|
ORDER BY t1.gmt_modified Desc
|
|
</select>
|
|
</select>
|
|
|
|
|