Browse Source

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

周箭河 5 years ago
parent
commit
91389618cf

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

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