公司sql改为只查询公司级别
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
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
|
||||
and d.IS_COMPANY = 1
|
||||
<if test="name != null">
|
||||
and d.NAME = #{name}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user