公司关系表因供应链公司没有,暂时用id代替code,优化import
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
d.STATUS as status,
|
||||
d.CREATOR as creator
|
||||
from SYSTEM_DEPT d
|
||||
left join SPLY_CPN_REL r on r.NUM = d.CODE
|
||||
left join SPLY_CPN_REL r on r.NUM = d.ID
|
||||
left join SPLY_ERP_CPN c on r.ERP_NUM = c.NUM
|
||||
where d.DELETED = 0
|
||||
<if test="name != null">
|
||||
|
||||
Reference in New Issue
Block a user