部门修改
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
left join cosco_access_category cac on caw.id = cac.access_work_id
|
||||
left join cosco_access_supplier cas on caw.id = cas.access_work_id
|
||||
LEFT JOIN cosco_supplier_base csb ON cas.supplier_id = csb.id and csb.del_flag = 'normal'
|
||||
LEFT JOIN cosco_access_supplier_category casc ON casc.category_id = cac.category_id AND casc.dept_id = #{deptId} and cas.supplier_id = casc.supplier_id and casc.del_flag = 'normal'
|
||||
LEFT JOIN cosco_access_supplier_category casc ON casc.category_id = cac.category_id AND casc.org_id = #{deptId} and cas.supplier_id = casc.supplier_id and casc.del_flag = 'normal'
|
||||
where caw.id = #{accessWorkId} AND casc.id IS NULL;
|
||||
</select>
|
||||
|
||||
|
Reference in New Issue
Block a user