lmx 1 месяц назад
Родитель
Сommit
133c66d32f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      fs-company/src/main/java/com/fs/company/controller/qw/QwUserController.java

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