瀏覽代碼

fix encode

he2802 2 年之前
父節點
當前提交
c3745ae953
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

+ 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 != ''">