update:补充已有的权限编码

This commit is contained in:
sunzheng
2024-07-11 09:18:26 +08:00
parent 37bb2b359b
commit 4eb3b5e5a5
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ ALTER TABLE `tb_member_project_subitem`
-- 20240708 工作组表新增自定义排序字段 -- 20240708 工作组表新增自定义排序字段
ALTER TABLE `pay_working_group` ALTER TABLE `pay_working_group`
add column sort_no int comment '自定义排序顺序' add column sort_no int comment '自定义排序顺序';
-- 20240710 新增会议酒店推荐表 -- 20240710 新增会议酒店推荐表
DROP TABLE IF EXISTS `pay_meeting_hotel_recommend`; DROP TABLE IF EXISTS `pay_meeting_hotel_recommend`;
@@ -39,7 +39,7 @@ public class AnnualMemberProjectController extends JeroController<TbMemberProjec
/** /**
* 分页列表查询 * 分页列表查询
*/ */
// @RequiresPermissions("safeguardStardsMember:search") @RequiresPermissions("memberStatistic:search")
@ApiOperation(value="年度会员维护-分页列表查询", notes="年度会员维护-分页列表查询") @ApiOperation(value="年度会员维护-分页列表查询", notes="年度会员维护-分页列表查询")
@GetMapping(value = "/page") @GetMapping(value = "/page")
public Result<IPage<TbMemberProjectSubitem>> queryPageList(TbMemberProjectSubitem tbMemberProjectSubitem, public Result<IPage<TbMemberProjectSubitem>> queryPageList(TbMemberProjectSubitem tbMemberProjectSubitem,
@@ -55,7 +55,7 @@ public class AnnualMemberProjectController extends JeroController<TbMemberProjec
* 导出excel * 导出excel
*/ */
@ApiOperation(value = "导出") @ApiOperation(value = "导出")
// @RequiresPermissions("safeguardStardsMember:export") @RequiresPermissions("memberStatistic:export")
@GetMapping(value = "/exportXls") @GetMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest req, TbMemberProjectSubitem tbMemberProjectSubitem) { public ModelAndView exportXls(HttpServletRequest req, TbMemberProjectSubitem tbMemberProjectSubitem) {
List<TbMemberProjectSubitem> pageList = annualMemberProjectService.pageList(req, tbMemberProjectSubitem); List<TbMemberProjectSubitem> pageList = annualMemberProjectService.pageList(req, tbMemberProjectSubitem);
@@ -56,10 +56,10 @@ public class IAnnualMemberProjectService {
queryWrapper.eq("year(effective_date)",effectiveDate.year()); queryWrapper.eq("year(effective_date)",effectiveDate.year());
queryWrapper.eq("month(effective_date)",effectiveDate.month()+1); queryWrapper.eq("month(effective_date)",effectiveDate.month()+1);
} }
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
// if (!rolePermissionService.getRolePermission("safeguardStardsMember:search")) { if (!rolePermissionService.getRolePermission("memberStatistic:search")) {
// queryWrapper.eq("tmp.director_id",sysUser.getId()); queryWrapper.eq("tmp.director_id",sysUser.getId());
// } }
return queryWrapper; return queryWrapper;
} }
@@ -466,7 +466,7 @@ public class PayWorkingGroupController extends JeroController<PayWorkingGroup, I
* @param request * @param request
* @param response * @param response
*/ */
// @RequiresPermissions("workingGroupProject:exportAllFile") @RequiresPermissions("workingGroupMember:exportAllFile")
@ApiOperation(value="全部文件导出", notes="全部文件导出") @ApiOperation(value="全部文件导出", notes="全部文件导出")
@GetMapping(value = "/exportAllFile") @GetMapping(value = "/exportAllFile")
public void exportAllFile(HttpServletRequest request, HttpServletResponse response) { public void exportAllFile(HttpServletRequest request, HttpServletResponse response) {
@@ -960,7 +960,7 @@ public class PayWorkingGroupSubItemController extends JeroController<PayWorkingG
* @return * @return
*/ */
@AutoLog(value = "确认凭证",operateType = 2) @AutoLog(value = "确认凭证",operateType = 2)
// @RequiresPermissions("workingGroupMember:confirmVoucher") @RequiresPermissions("workingGroupMember:confirmVoucher")
@GetMapping(value = "/confirmVoucher") @GetMapping(value = "/confirmVoucher")
@ApiOperation(value = "工作组成员-确认凭证") @ApiOperation(value = "工作组成员-确认凭证")
public Result<?> confirmVoucher(@RequestParam(name = "id") String id) { public Result<?> confirmVoucher(@RequestParam(name = "id") String id) {