|
@@ -208,10 +208,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND u.nickname like concat('%', #{nickname}, '%')
|
|
|
</if>
|
|
|
<if test="telphone != null and telphone != ''" >
|
|
|
- AND u.telphone like concat('%', #{telphone}, '%')
|
|
|
+ AND u.telphone like concat('%', #{telphone,typeHandler=com.zhongzheng.common.type.EncryptHandler}, '%')
|
|
|
</if>
|
|
|
<if test="idCard != null and idCard != ''" >
|
|
|
- AND u.id_card like concat('%', #{idCard}, '%')
|
|
|
+ AND u.id_card like concat('%', #{idCard,typeHandler=com.zhongzheng.common.type.EncryptHandler}, '%')
|
|
|
</if>
|
|
|
<if test="realname != null and realname != ''" >
|
|
|
AND u.realname like concat('%', #{realname}, '%')
|
|
@@ -424,7 +424,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM
|
|
|
`user`
|
|
|
WHERE
|
|
|
- telphone = #{telphone}
|
|
|
+ telphone = #{telphone,typeHandler=com.zhongzheng.common.type.EncryptHandler}
|
|
|
AND status = 1 AND tenant_id = #{tenantId}
|
|
|
</select>
|
|
|
|
|
@@ -434,7 +434,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM
|
|
|
`user`
|
|
|
WHERE
|
|
|
- telphone = #{telphone} AND status = 1
|
|
|
+ telphone = #{telphone,typeHandler=com.zhongzheng.common.type.EncryptHandler} AND status = 1
|
|
|
</select>
|
|
|
|
|
|
<select id="getUserByIdNumNotTenant" parameterType="java.lang.String" resultType="com.zhongzheng.modules.user.domain.User">
|