diff --git a/src/main/java/com/zcloud/controller/system/UsersController.java b/src/main/java/com/zcloud/controller/system/UsersController.java index 0a21951e..5e5ceeec 100644 --- a/src/main/java/com/zcloud/controller/system/UsersController.java +++ b/src/main/java/com/zcloud/controller/system/UsersController.java @@ -1427,7 +1427,9 @@ public class UsersController extends BaseController { Map map = new HashMap(); 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 userList = usersService.listAllUser(pd); //列出Post列表 map.put("userList", userList); map.put("result", errInfo);