TRX 1 سال پیش
والد
کامیت
f744ef6f14

+ 9 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/projectAbout/ProjectDictController.java

@@ -66,6 +66,15 @@ public class ProjectDictController {
         return projectDictService.page(param, pageable);
     }
 
+
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @Operation(summary = "数据列表-分页查询(供选择)", description = "数据列表-分页查询")
+    @RequestMapping(value = {"pageForSelect"}, method = {RequestMethod.POST})
+    public ResultContent<Page<ProjectDictModel>> pageForSelect(@Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable, @Parameter(required = false) ProjectDictSearch param) {
+        Assert.hasText(param.getProjectOid(), "projectOid不能为空");
+        return projectDictService.page(param, pageable);
+    }
+
     @ResourceAuth(value = "user", type = AuthType.User)
     @Operation(summary = "启用数据", description = "启用数据")
     @RequestMapping(value = "enableData", method = {RequestMethod.POST})

+ 75 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/tempMenus/OrgMenuController.java

@@ -92,6 +92,21 @@ public class OrgMenuController {
         return ResultContent.buildSuccess();
     }
 
+    @ResourceAuth(value = "projectUserGroup", type = AuthType.Project, remark = "用户管理_用户分组_126_Menu")
+    @ResourceAuth(value = "projectUserGroup", type = AuthType.School, remark = "用户管理_用户分组_126_Menu")
+    @ResourceAuth(value = "projectUserGroup", type = AuthType.BusinessMain, remark = "用户管理_用户分组_126_Menu")
+    @ResourceAuth(value = "projectUserGroup", type = AuthType.CommonOrg, remark = "用户管理_用户分组_126_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "projectUserGroup", method = {RequestMethod.GET})
+    public ResultContent projectUserGroup() {
+        return ResultContent.buildSuccess();
+    }
+
     @ResourceAuth(value = "projectCardManager", type = AuthType.Project, remark = "卡片管理_卡片列表_130_Menu")
     @ResourceAuth(value = "projectCardManager", type = AuthType.School, remark = "卡片管理_卡片列表_130_Menu")
     @ResourceAuth(value = "projectCardManager", type = AuthType.BusinessMain, remark = "卡片管理_卡片列表_130_Menu")
@@ -153,6 +168,36 @@ public class OrgMenuController {
         return ResultContent.buildSuccess();
     }
 
+    @ResourceAuth(value = "projectDeviceGroupManager", type = AuthType.Project, remark = "设备管理_设备分组_145_Menu")
+    @ResourceAuth(value = "projectDeviceGroupManager", type = AuthType.School, remark = "设备管理_设备分组_145_Menu")
+    @ResourceAuth(value = "projectDeviceGroupManager", type = AuthType.BusinessMain, remark = "设备管理_设备分组_145_Menu")
+    @ResourceAuth(value = "projectDeviceGroupManager", type = AuthType.CommonOrg, remark = "设备管理_设备分组_145_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "projectDeviceGroupManager", method = {RequestMethod.GET})
+    public ResultContent projectDeviceGroupManager() {
+        return ResultContent.buildSuccess();
+    }
+
+    @ResourceAuth(value = "projectDevicePermissSettingManager", type = AuthType.Project, remark = "设备管理_设备权限规则_146_Menu")
+    @ResourceAuth(value = "projectDevicePermissSettingManager", type = AuthType.School, remark = "设备管理_设备权限规则_146_Menu")
+    @ResourceAuth(value = "projectDevicePermissSettingManager", type = AuthType.BusinessMain, remark = "设备管理_设备权限规则_146_Menu")
+    @ResourceAuth(value = "projectDevicePermissSettingManager", type = AuthType.CommonOrg, remark = "设备管理_设备权限规则_146_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "projectDevicePermissSettingManager", method = {RequestMethod.GET})
+    public ResultContent projectDevicePermissSettingManager() {
+        return ResultContent.buildSuccess();
+    }
+
 
     @ResourceAuth(value = "projectFundManager", type = AuthType.Project, remark = "资金管理_资金概况_150_Menu")
     @ResourceAuth(value = "projectFundManager", type = AuthType.School, remark = "资金管理_资金概况_150_Menu")
@@ -396,4 +441,34 @@ public class OrgMenuController {
         return ResultContent.buildSuccess();
     }
 
+    @ResourceAuth(value = "projectProjectDictManager", type = AuthType.Project, remark = "项目配置_字典库管理_185_Menu")
+    @ResourceAuth(value = "projectProjectDictManager", type = AuthType.School, remark = "项目配置_字典库管理_185_Menu")
+    @ResourceAuth(value = "projectProjectDictManager", type = AuthType.BusinessMain, remark = "项目配置_字典库管理_185_Menu")
+    @ResourceAuth(value = "projectProjectDictManager", type = AuthType.CommonOrg, remark = "项目配置_字典库管理_185_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "projectProjectDictManager", method = {RequestMethod.GET})
+    public ResultContent projectProjectDictManager() {
+        return ResultContent.buildSuccess();
+    }
+
+    @ResourceAuth(value = "projectTimeSlotManager", type = AuthType.Project, remark = "项目配置_时段管理_186_Menu")
+    @ResourceAuth(value = "projectTimeSlotManager", type = AuthType.School, remark = "项目配置_时段管理_186_Menu")
+    @ResourceAuth(value = "projectTimeSlotManager", type = AuthType.BusinessMain, remark = "项目配置_时段管理_186_Menu")
+    @ResourceAuth(value = "projectTimeSlotManager", type = AuthType.CommonOrg, remark = "项目配置_时段管理_186_Menu")
+    @ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.BusinessMain, remark = "")
+    @ResourceAuth(value = AuthConstant.Admin, type = AuthType.CommonOrg, remark = "")
+    @ResourceAuth(value = "user", type = AuthType.User)
+    @RequestMapping(value = "projectTimeSlotManager", method = {RequestMethod.GET})
+    public ResultContent projectTimeSlotManager() {
+        return ResultContent.buildSuccess();
+    }
+
 }