luowei vor 1 Jahr
Ursprung
Commit
540b6e91a3

+ 0 - 6
soc-modules/soc-modules-system/src/main/java/com/xunmei/system/controller/SysUserController.java

@@ -63,12 +63,6 @@ public class SysUserController extends BaseController {
     private ISysRoleService roleService;
 
     @Autowired
-    private ISysDeptService deptService;
-
-    @Autowired
-    private ISysPostService postService;
-
-    @Autowired
     private ISysPermissionService permissionService;
 
     @Autowired

+ 3 - 3
soc-modules/soc-modules-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -502,9 +502,9 @@
         <if test="info.onlyManager ==true">
             AND t.is_manage ='Y'
         </if>
-        <if test="info.onlyManager ==false or info.onlyManager==null">
-            AND (t.is_manage is NULL OR t.is_manage ='N')
-        </if>
+<!--        <if test="info.onlyManager ==false or info.onlyManager==null">-->
+<!--            AND (t.is_manage is NULL OR t.is_manage ='N')-->
+<!--        </if>-->
         ORDER BY t.org_id DESC
     </select>
     <select id="selectrolesByOrgId" resultType="com.xunmei.system.api.domain.SysRole">