Browse Source

过滤条件

tags/正式版本
王宁 2 years ago
parent
commit
9e2f4ab00c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      suser/src/main/resources/mapper/system/UserMapper.xml

+ 1
- 3
suser/src/main/resources/mapper/system/UserMapper.xml View File

@@ -296,9 +296,7 @@
296 296
         select u.userid,u.username,u.loginname,u.examno,u.usersex,u.usertype,u.userstate,u.schoolid
297 297
         from t_user u where
298 298
         <foreach collection="examnos" item="examno" separator="or">
299
-            <if test="examno!=null and examno!=''">
300
-                binary u.examno=#{examno}
301
-            </if>
299
+            binary u.examno=#{examno}
302 300
         </foreach>
303 301
     </select>
304 302
     <!--批量更新用户信息-->

Loading…
Cancel
Save