|
@@ -36,17 +36,16 @@ public class DictInfoController {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
DictInfoService dictInfoService;
|
|
DictInfoService dictInfoService;
|
|
|
|
|
|
|
|
- @ResourceAuth(value = "areaManager", type = AuthType.Platform, remark = "区域类型_区域类型列表_1_Menu")
|
|
|
|
|
- @ResourceAuth(value = "areaManager", type = AuthType.Project, remark = "区域类型_区域类型列表_1_Menu")
|
|
|
|
|
- @ResourceAuth(value = "areaManager", type = AuthType.School, remark = "区域类型_区域类型列表_1_Menu")
|
|
|
|
|
|
|
+ @ResourceAuth(value = "areaManager", type = AuthType.Platform, remark = "区域管理_区域列表_160_Menu")
|
|
|
|
|
+ @ResourceAuth(value = "areaManager", type = AuthType.Project, remark = "区域管理_区域列表_160_Menu")
|
|
|
|
|
+ @ResourceAuth(value = "areaManager", type = AuthType.School, remark = "区域管理_区域列表_160_Menu")
|
|
|
@ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
|
|
@ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "")
|
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "")
|
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "")
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "区域列表-分页查询", description = "区域列表-分页查询")
|
|
@Operation(summary = "区域列表-分页查询", description = "区域列表-分页查询")
|
|
|
@RequestMapping(value = {"areaPageManager"}, method = {RequestMethod.POST})
|
|
@RequestMapping(value = {"areaPageManager"}, method = {RequestMethod.POST})
|
|
|
- public ResultContent<Page<DictInfoParam>> areaPageManager(
|
|
|
|
|
- @Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
|
|
|
|
+ public ResultContent<Page<DictInfoParam>> areaPageManager(@Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
@Parameter(required = false) DictInfoSearch param) {
|
|
@Parameter(required = false) DictInfoSearch param) {
|
|
|
param.setDictInfoType(DictInfoType.AreaType);
|
|
param.setDictInfoType(DictInfoType.AreaType);
|
|
|
return dictInfoService.page(param, pageable);
|
|
return dictInfoService.page(param, pageable);
|
|
@@ -55,9 +54,7 @@ public class DictInfoController {
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "字典列表-分页查询", description = "字典列表-分页查询")
|
|
@Operation(summary = "字典列表-分页查询", description = "字典列表-分页查询")
|
|
|
@RequestMapping(value = {"page"}, method = {RequestMethod.POST})
|
|
@RequestMapping(value = {"page"}, method = {RequestMethod.POST})
|
|
|
- public ResultContent<Page<DictInfoParam>> page(
|
|
|
|
|
- @Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
|
|
- @Parameter(required = false) DictInfoSearch param) {
|
|
|
|
|
|
|
+ public ResultContent<Page<DictInfoParam>> page(@Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable, @Parameter(required = false) DictInfoSearch param) {
|
|
|
return dictInfoService.page(param, pageable);
|
|
return dictInfoService.page(param, pageable);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -85,8 +82,7 @@ public class DictInfoController {
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "查询字典所有的数据", description = "查询字典所有的数据")
|
|
@Operation(summary = "查询字典所有的数据", description = "查询字典所有的数据")
|
|
|
@RequestMapping(value = {"findDictInfosByOid"}, method = {RequestMethod.POST})
|
|
@RequestMapping(value = {"findDictInfosByOid"}, method = {RequestMethod.POST})
|
|
|
- public ResultContent<List<DictInfoParam>> findDictInfosByOid(
|
|
|
|
|
- @Parameter(required = false) DictInfoSearch param) {
|
|
|
|
|
|
|
+ public ResultContent<List<DictInfoParam>> findDictInfosByOid(@Parameter(required = false) DictInfoSearch param) {
|
|
|
return dictInfoService.findDictInfosByOid(param);
|
|
return dictInfoService.findDictInfosByOid(param);
|
|
|
}
|
|
}
|
|
|
|
|
|