修复用户查询bug

0927cmt
songwenxuan 2024-06-21 10:14:50 +08:00
parent 4fb481c144
commit 7e1be12acc
1 changed files with 3 additions and 1 deletions

View File

@ -1427,7 +1427,9 @@ public class UsersController extends BaseController {
Map<String, Object> map = new HashMap<String, Object>();
String errInfo = "success";
PageData pd = this.getPageData();
pd.put("DEPARTMENT_ID",pd.get("DEPARTMENT_ID[0]"));
if (!Tools.isEmpty(pd.get("DEPARTMENT_ID[0]"))) {
pd.put("DEPARTMENT_ID",pd.get("DEPARTMENT_ID[0]"));
}
List<PageData> userList = usersService.listAllUser(pd); //列出Post列表
map.put("userList", userList);
map.put("result", errInfo);