diff --git a/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml b/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml index 8f919f9b..7e9aedb5 100644 --- a/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml +++ b/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml @@ -115,11 +115,29 @@ AND tdi.customerId = #{customerId} - AND ( tdi.sptm = #{code} OR p.nameCode = #{code} OR tdi.ybbm=#{code}) + AND ( tdi.sptm = #{code} OR code = #{code} OR tdi.ybbm=#{code}) AND tdi.uuid = #{uuid} + + AND tdi.name = #{name} + + + AND tdi.spec = #{spec} + + + AND tdi.status = #{checkStatus} + + + AND tdi.customerId = #{customerId} + + + + + + + order by tdi.createTime DESC @@ -166,4 +184,4 @@ - \ No newline at end of file +