Explorar el Código

:zap: user分页增加userType字段

smallchill hace 5 años
padre
commit
8ff4f5b68b

+ 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