|
|
@@ -516,7 +516,11 @@ public class CompanyUserController extends BaseController {
|
|
|
@RequestParam(required = false, defaultValue = "10") Integer pageSize) {
|
|
|
Map<String,Object> params = new HashMap<>();
|
|
|
params.put("nickName", name);
|
|
|
-
|
|
|
+ //查询多条数据传入公司
|
|
|
+ if (pageSize>=200){
|
|
|
+ LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
+ params.put("companyId", loginUser.getCompany().getCompanyId());
|
|
|
+ }
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
List<OptionsVO> companyUserList = companyUserService.selectCompanyUserListByMap(params);
|
|
|
return R.ok().put("data", new PageInfo<>(companyUserList));
|