浏览代码

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