修复typeHandler错误

This commit is contained in:
sxu 2025-03-04 18:28:52 +08:00
parent d7fa8764e7
commit 1c1c4b9b59
6 changed files with 80 additions and 80 deletions

View File

@ -86,10 +86,10 @@
</if>
<if test="param.keyword != null and param.keyword != '' ">
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},'%')
)
</if>
<if test="param.macOrderId != null">

View File

@ -69,13 +69,13 @@
and t1.cust_id = #{custAccQueryTempDto.custId,jdbcType=BIGINT}
</if>
<if test="custAccQueryTempDto.mobile != null and custAccQueryTempDto.mobile != ''">
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}
</if>
<if test="custAccQueryTempDto.custName != null and custAccQueryTempDto.custName != ''">
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}
</if>
<if test="custAccQueryTempDto.idCard != null and custAccQueryTempDto.idCard != ''">
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}
</if>
<if test="custAccQueryTempDto.orgId != null">
and t1.org_id = #{custAccQueryTempDto.orgId,jdbcType=BIGINT}
@ -180,16 +180,16 @@
and A.cust_third_id = #{machineAccountInfoV3DTO.custThirdId}
</if>
<if test="machineAccountInfoV3DTO.idCard != null and machineAccountInfoV3DTO.idCard != ''">
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}
</if>
<if test="machineAccountInfoV3DTO.mobile != null and machineAccountInfoV3DTO.mobile != ''">
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}
</if>
<if test="machineAccountInfoV3DTO.custNum != null and machineAccountInfoV3DTO.custNum != ''">
and A.cust_num = #{machineAccountInfoV3DTO.custNum}
</if>
<if test="machineAccountInfoV3DTO.custName != null and machineAccountInfoV3DTO.custName != ''">
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}
</if>
<if test="machineAccountInfoV3DTO.serialNum != null and machineAccountInfoV3DTO.serialNum != ''">
and B.serial_num = #{machineAccountInfoV3DTO.serialNum}

View File

@ -306,7 +306,7 @@
and ci.cust_id = #{infoParam.custId}
</if>
<if test="infoParam.custName != null and infoParam.custName != ''">
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},'%')
</if>
<if test="infoParam.custNum != null and infoParam.custNum != ''">
and ci.cust_num = #{infoParam.custNum}
@ -314,10 +314,10 @@
<if test="infoParam.keyword != null and infoParam.keyword != ''">
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}
)
</if>
@ -334,7 +334,7 @@
</foreach>
</if>
<if test="infoParam.mobile != null and infoParam.mobile != ''">
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}
</if>
<if test="infoParam.sex != null">
and ci.sex = #{infoParam.sex}

View File

@ -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}
)
)
</if>
@ -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 @@
<!-- WHERE oi.cust_id = ci.cust_id-->
<!-- <if test="param.custSearchInfo != null and param.custSearchInfo != ''">-->
<!-- 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}-->
<!-- )-->
<!-- </if>-->
<!-- )-->
@ -613,11 +613,11 @@
<!-- WHERE oi.cust_id = ci.cust_id-->
<!-- <if test="param.custSearchInfo != null and param.custSearchInfo != ''">-->
<!-- 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}-->
<!-- )-->
<!-- </if>-->
<!-- )-->
@ -628,11 +628,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-->

View File

@ -311,11 +311,11 @@
<!-- SELECT 1 FROM cust_info ci-->
<!-- WHERE a.cust_id = ci.cust_id-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- )-->
<!-- </if>-->
@ -409,11 +409,11 @@
<!-- SELECT 1 FROM cust_info ci-->
<!-- WHERE a.cust_id = ci.cust_id-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- )-->
<!-- </if>-->
@ -732,11 +732,11 @@
<!-- <where>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- <if test="param.tradeTypeList != null and param.tradeTypeList.size() > 0">-->
@ -1014,11 +1014,11 @@
<!-- <where>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- </where>-->
@ -1286,11 +1286,11 @@
<!-- <where>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- </where>-->
@ -1838,11 +1838,11 @@
<!-- <where>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- </where>-->
@ -2466,11 +2466,11 @@
<!-- </if>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- <if test="param.orgIds != null and param.orgIds.size() > 0">-->
@ -2565,11 +2565,11 @@
<!-- </if>-->
<!-- <if test="param.keyword != null and param.keyword != ''">-->
<!-- AND (-->
<!-- ci.cust_name = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=net.xnzn.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- ci.cust_name = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.cust_name_like LIKE CONCAT('%',#{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.CipherQueryLikeHandler},'%')-->
<!-- OR ci.cust_num = #{param.keyword}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=net.xnzn.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- OR ci.mobile_suffix = #{param.keyword,typeHandler=com.bonus.canteen.core.common.encrypt.SM4EncDecHandler}-->
<!-- )-->
<!-- </if>-->
<!-- <if test="param.orgIds != null and param.orgIds.size() > 0">-->

View File

@ -685,10 +685,10 @@
<!-- 关联用户模糊查询-->
<sql id="cust_fuzzy_query">
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},'%')
)
</sql>