公司关系表因供应链公司没有,暂时用id代替code,优化import

This commit is contained in:
liss
2025-09-26 15:49:55 +08:00
parent c347e3beb3
commit 163da2f79d
30 changed files with 104 additions and 157 deletions

View File

@@ -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">