浏览代码

:zap: user分页增加userType字段

smallchill 5 年之前
父节点
当前提交
8ff4f5b68b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/java/org/springblade/modules/system/mapper/UserMapper.xml

+ 3 - 0
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml

@@ -41,6 +41,9 @@
         <if test="user.realName!=null and user.realName != ''">
             and real_name = #{user.realName}
         </if>
+        <if test="user.userType!=null and user.userType != ''">
+            and user_type = #{user.userType}
+        </if>
         <if test="deptIdList!=null and deptIdList.size>0">
             and id in (
                 SELECT