change 3 rokov pred
rodič
commit
76f53a07c6

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

@@ -158,6 +158,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="idCard != null and idCard != ''" >
             AND u.id_card = #{idCard}
         </if>
+        <if test="userId != null and userId != ''" >
+            AND u.user_id = #{userId}
+        </if>
     </select>