From 2a78301791c91a5946fb49f9af5c9687adfd8f82 Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Wed, 22 Mar 2023 09:38:00 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/thrsys/ThrProductsAddDiDao.xml | 22 +++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
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
+