From 1c1c4b9b59d3db7676a8e88e1335ab3811f21127 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 4 Mar 2025 18:28:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DtypeHandler=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v3/mapper/AccExceptionRecordMapper.xml | 8 +-- .../mapper/customer/CustAccTempMapper.xml | 12 ++-- .../mapper/customer/CustInfoMapper.xml | 12 ++-- .../mapper/order/OrderInfoMapper.xml | 56 ++++++++-------- .../mapper/report/ReportOrderInfoMapper.xml | 64 +++++++++---------- .../resources/mapper/v3/AccInfoMapper.xml | 8 +-- 6 files changed, 80 insertions(+), 80 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 dc077f73..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 @@ -86,10 +86,10 @@ and (t2.cust_num LIKE CONCAT('%', #{param.keyword},'%') - or t2.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + 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=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%') ) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustAccTempMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustAccTempMapper.xml index e9202973..cfe008ff 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustAccTempMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/customer/CustAccTempMapper.xml @@ -69,13 +69,13 @@ and t1.cust_id = #{custAccQueryTempDto.custId,jdbcType=BIGINT} - and t1.mobile = #{custAccQueryTempDto.mobile,jdbcType=VARCHAR, typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and t1.mobile = #{custAccQueryTempDto.mobile,jdbcType=VARCHAR, typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} - and t1.cust_name = #{custAccQueryTempDto.custName,jdbcType=VARCHAR, typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and t1.cust_name = #{custAccQueryTempDto.custName,jdbcType=VARCHAR, typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} - and t1.id_card = #{custAccQueryTempDto.idCard,jdbcType=VARCHAR, typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and t1.id_card = #{custAccQueryTempDto.idCard,jdbcType=VARCHAR, typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} and t1.org_id = #{custAccQueryTempDto.orgId,jdbcType=BIGINT} @@ -180,16 +180,16 @@ and A.cust_third_id = #{machineAccountInfoV3DTO.custThirdId} - and A.id_card = #{machineAccountInfoV3DTO.idCard,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and A.id_card = #{machineAccountInfoV3DTO.idCard,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} - and A.mobile = #{machineAccountInfoV3DTO.mobile,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and A.mobile = #{machineAccountInfoV3DTO.mobile,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} and A.cust_num = #{machineAccountInfoV3DTO.custNum} - and A.cust_name = #{machineAccountInfoV3DTO.custName,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and A.cust_name = #{machineAccountInfoV3DTO.custName,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} and B.serial_num = #{machineAccountInfoV3DTO.serialNum} 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 ccf4a61a..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} @@ -314,10 +314,10 @@ and (ci.cust_num LIKE CONCAT('%', #{infoParam.keyword},'%') - or ci.cust_name = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or ci.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') - or ci.mobile = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or ci.mobile_suffix = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + or ci.cust_name = #{infoParam.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} + 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} ) @@ -334,7 +334,7 @@ - and ci.mobile = #{infoParam.mobile,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + and ci.mobile = #{infoParam.mobile,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} and ci.sex = #{infoParam.sex} 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 6518206a..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 @@ -250,11 +250,11 @@ SELECT 1 FROM cust_info ci WHERE oi.cust_id = ci.cust_id AND ( - ci.cust_name = #{param.custSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.cust_name_like LIKE CONCAT('%',#{param.custSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + ci.cust_name = #{param.custSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} + 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=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.mobile_suffix = #{param.custSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + 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} ) ) @@ -271,11 +271,11 @@ SELECT 1 FROM cust_info ci WHERE oi.cust_id = ci.cust_id AND ( - ci.cust_name = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} + 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=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + 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} ) ) OR EXISTS( SELECT 1 FROM mac_plateid_bind_serial mpbs @@ -311,11 +311,11 @@ SELECT 1 FROM cust_info ci WHERE oi.cust_id = ci.cust_id AND ( - ci.cust_name = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} + 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=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + 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} ) ) OR oi.order_id like concat('%', #{param.orderSearchInfo}, '%') ) @@ -326,11 +326,11 @@ SELECT 1 FROM cust_info ci WHERE oi.cust_id = ci.cust_id AND ( - ci.cust_name = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.cust_name_like LIKE CONCAT('%',#{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + ci.cust_name = #{param.buffetSearchInfo,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler} + 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=net.xnzn.core.common.encrypt.SM4EncDecHandler} - OR ci.mobile_suffix = #{param.buffetSearchInfo,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} + 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} ) ) OR oi.room_name like concat('%', #{param.roomSearchInfo}, '%') ) @@ -537,11 +537,11 @@ - - + + - - + + @@ -613,11 +613,11 @@ - - + + - - + + @@ -628,11 +628,11 @@ - - + + - - + + 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 df730da4..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 @@ -311,11 +311,11 @@ - - + + - - + + @@ -409,11 +409,11 @@ - - + + - - + + @@ -732,11 +732,11 @@ - - + + - - + + @@ -1014,11 +1014,11 @@ - - + + - - + + @@ -1286,11 +1286,11 @@ - - + + - - + + @@ -1838,11 +1838,11 @@ - - + + - - + + @@ -2466,11 +2466,11 @@ - - + + - - + + @@ -2565,11 +2565,11 @@ - - + + - - + + 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 6c38e7bd..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 @@ -685,10 +685,10 @@ and (t2.cust_num LIKE CONCAT('%', #{infoParam.keyword},'%') - or t2.cust_name = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.mobile = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.mobile_suffix = #{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler} - or t2.cust_name_like LIKE CONCAT('%',#{infoParam.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%') + 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=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%') )