From 5c261cecf9768d8b5b4b000878230f4be8193b15 Mon Sep 17 00:00:00 2001
From: sxu <602087911@qq.com>
Date: Mon, 3 Mar 2025 18:48:51 +0800
Subject: [PATCH] CipherQueryLikeHandler
---
.../v3/mapper/AccExceptionRecordMapper.xml | 2 +-
.../resources/mapper/customer/CustInfoMapper.xml | 4 ++--
.../resources/mapper/order/OrderInfoMapper.xml | 14 +++++++-------
.../mapper/report/ReportOrderInfoMapper.xml | 16 ++++++++--------
.../main/resources/mapper/v3/AccInfoMapper.xml | 2 +-
5 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/mapper/AccExceptionRecordMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/mapper/AccExceptionRecordMapper.xml
index 77586056..2aa78308 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/mapper/AccExceptionRecordMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/v3/mapper/AccExceptionRecordMapper.xml
@@ -89,7 +89,7 @@
or t2.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
or t2.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
or t2.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- or t2.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ or t2.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml
index 0600e76d..708a7f99 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustInfoMapper.xml
@@ -306,7 +306,7 @@
and ci.cust_id = #{infoParam.custId}
- and ci.cust_name_like LIKE CONCAT('%',#{infoParam.custName,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ and ci.cust_name_like LIKE CONCAT('%',#{infoParam.custName,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
and ci.cust_num = #{infoParam.custNum}
@@ -315,7 +315,7 @@
and (ci.cust_num LIKE CONCAT('%', #{infoParam.keyword},'%')
or ci.cust_name = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- or ci.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ or ci.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
or ci.mobile = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
or ci.mobile_suffix = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml
index 43128a7e..13d6998f 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/order/OrderInfoMapper.xml
@@ -251,7 +251,7 @@
WHERE oi.cust_id = ci.cust_id
AND (
ci.cust_name = #{param.custSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- OR ci.cust_name_like LIKE CONCAT('%',#{param.custSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ OR ci.cust_name_like LIKE CONCAT('%',#{param.custSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
OR ci.cust_num = #{param.custSearchInfo}
OR ci.mobile = #{param.custSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
OR ci.mobile_suffix = #{param.custSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
@@ -272,7 +272,7 @@
WHERE oi.cust_id = ci.cust_id
AND (
ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
OR ci.cust_num = #{param.buffetSearchInfo}
OR ci.mobile = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
@@ -312,7 +312,7 @@
WHERE oi.cust_id = ci.cust_id
AND (
ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
OR ci.cust_num = #{param.buffetSearchInfo}
OR ci.mobile = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
@@ -327,7 +327,7 @@
WHERE oi.cust_id = ci.cust_id
AND (
ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
OR ci.cust_num = #{param.buffetSearchInfo}
OR ci.mobile = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
@@ -538,7 +538,7 @@
-
+
@@ -614,7 +614,7 @@
-
+
@@ -629,7 +629,7 @@
-
+
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/ReportOrderInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/ReportOrderInfoMapper.xml
index c826f5cb..22b9f32f 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/ReportOrderInfoMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/ReportOrderInfoMapper.xml
@@ -312,7 +312,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -733,7 +733,7 @@
-
+
@@ -1015,7 +1015,7 @@
-
+
@@ -1287,7 +1287,7 @@
-
+
@@ -1839,7 +1839,7 @@
-
+
@@ -2467,7 +2467,7 @@
-
+
@@ -2566,7 +2566,7 @@
-
+
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/v3/AccInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/v3/AccInfoMapper.xml
index a22dea5f..2c3b3589 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/v3/AccInfoMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/v3/AccInfoMapper.xml
@@ -688,7 +688,7 @@
or t2.cust_name = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
or t2.mobile = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
or t2.mobile_suffix = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}
- or t2.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')
+ or t2.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')
)