he2802 2 年 前
コミット
c3745ae953

+ 2 - 2
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -464,12 +464,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND u.company_name like concat('%', #{companyName}, '%')
         </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="idCards != null and idCards.size() != 0">
             AND u.id_card IN
             <foreach collection="idCards" item="item" index="index" open="(" close=")" separator=",">
-            #{item}
+            #{item,typeHandler=com.zhongzheng.common.type.EncryptHandler}
             </foreach>
         </if>
         <if test="orderSn != null and orderSn != ''">