From c3c648eeb996d2a4721f8425857b9214df599d0c Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Mon, 27 Feb 2023 16:39:33 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=93=8D=E4=BD=9C=E6=97=A5?=
=?UTF-8?q?=E5=BF=97bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mybatis/mapper/basic/UdiRelevanceDao.xml | 29 +++++++++----------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml b/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml
index e6be3b5c1..e06c6e01b 100644
--- a/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml
+++ b/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml
@@ -305,31 +305,30 @@
AND supName LIKE concat('%', #{supName}, '%')
+
+ AND nameCode LIKE concat(#{nameCode}, '%')
+
AND cpmctymc LIKE concat('%', #{cpmctymc}, '%')
AND ggxh LIKE concat('%', #{ggxh}, '%')
-
- AND nameCode LIKE concat(#{nameCode}, '%')
+
+ and (
+ nameCode LIKE concat('%', #{nameCode}, '%')
+ or ybbm LIKE concat('%', #{nameCode}, '%')
+ or sptm LIKE concat('%', #{nameCode}, '%'))
AND (basic_udirel.isDisable is null or basic_udirel.isDisable = false)
-
-
- and (
- nameCode LIKE concat('%', #{unionCode}, '%')
- or basic_udirel.ybbm LIKE concat('%', #{unionCode}, '%')
- or basic_udirel.sptm LIKE concat('%', #{unionCode}, '%'))
-
and (thirdId LIKE concat('%', #{thrPiId}, '%')
- or thirdId1 LIKE concat('%', #{thrPiId}, '%')
- or thirdId2 LIKE concat('%', #{thrPiId}, '%')
- or thirdId3 LIKE concat('%', #{thrPiId}, '%')
- or thirdId4 LIKE concat('%', #{thrPiId}, '%'))
+ or thirdId1 LIKE concat('%', #{thrPiId}, '%')
+ or thirdId2 LIKE concat('%', #{thrPiId}, '%')
+ or thirdId3 LIKE concat('%', #{thrPiId}, '%')
+ or thirdId4 LIKE concat('%', #{thrPiId}, '%'))
AND basic_udirel.uuid = #{uuid}
@@ -348,7 +347,7 @@
AND (thirdId ]]> '' or thirdId1 ]]> '' or thirdId2 ]]> '' or
- thirdId3 ]]> '' or thirdId4 ]]> '')
+ thirdId3 ]]> '' or thirdId4 ]]> '')
and basic_products.originUuid ]]> ''
@@ -374,11 +373,9 @@
AND thirdId4 is NULL
and basic_products.originUuid ]]> ''
-
AND basic_udirel.updateTime is NULL
-
AND basic_udirel.lockStatus = #{lockStatus}