소스 검색

學員信息

change 3 년 전
부모
커밋
76f53a07c6
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

+ 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>