소스 검색

fix教务查找学生显示删除的学生

周箭河 5 년 전
부모
커밋
91389618cf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      mec-biz/src/main/resources/config/mybatis/StudentRepairMapper.xml

+ 2 - 0
mec-biz/src/main/resources/config/mybatis/StudentRepairMapper.xml

@@ -139,6 +139,7 @@
         <if test="search">
             AND (username_ LIKE CONCAT(#{search},'%') OR phone_ LIKE CONCAT(#{search},'%'))
         </if>
+        AND del_flag_ = 0
         <include refid="global.limit"/>
     </select>
 
@@ -149,6 +150,7 @@
         <if test="search">
             AND (username_ LIKE CONCAT(#{search},'%') OR phone_ LIKE CONCAT(#{search},'%'))
         </if>
+        AND del_flag_ = 0
     </select>
 
     <select id="queryPage" resultMap="StudentRepair">