lmx il y a 1 semaine
Parent
commit
133c66d32f

+ 1 - 2
fs-company/src/main/java/com/fs/company/controller/qw/QwUserController.java

@@ -113,7 +113,6 @@ public class QwUserController extends BaseController
     @PreAuthorize("@ss.hasPermi('qw:user:staffList')")
     @GetMapping("/staffList")
     public TableDataInfo staffList(QwUserListParam qwUser) {
-        startPage();
         LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
         qwUser.setCompanyId(loginUser.getCompany().getCompanyId());
         // 添加部门查询条件
@@ -131,7 +130,7 @@ public class QwUserController extends BaseController
             }
             qwUser.setQwDeptIdList(qwDeptIdList);
         }
-
+        startPage();
         List<QwUserVO> list = qwUserService.selectQwUserListStaffVO(qwUser);
         return getDataTable(list);
     }