update:补充权限编码

This commit is contained in:
sunzheng
2024-07-12 15:47:00 +08:00
parent ea8e2d70b3
commit 9f4dec7b18
2 changed files with 6 additions and 5 deletions
@@ -321,10 +321,10 @@ public class PayCaseCouncilSubitemController extends JeroController<PayCaseCounc
}
/**
* 导入到标协会员
* 导入到标协会员
*/
@Transactional
// @RequiresPermissions("")
@RequiresPermissions("council:exportToMember")
@AutoLog(value = "理事会成员表-导入到标协会员")
@ApiOperation(value="理事会成员表-导入到标协会员", notes="理事会成员表-导入到标协会员")
@PostMapping(value = "/import")
@@ -9,6 +9,7 @@ import com.jero.meeting.vo.excel.PayMeetingHotelRecommendExcel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource;
@@ -39,7 +40,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
* @param pageNo 页数
* @param pageSize 条数
*/
// @RequiresPermissions("")
@RequiresPermissions("recommendHotelPage:list")
@ApiOperation(value = "会议酒店推荐-分页列表查询", notes = "会议酒店推荐-分页列表查询")
@GetMapping(value = "/page")
public Result<?> queryPageList(PayMeetingHotelRecommend meetingHotelRecommend,
@@ -53,7 +54,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
/**
* 导出excel模板
*/
// @RequiresPermissions("")
@RequiresPermissions("recommendHotelPage:downTemplate")
@ApiOperation(value = "导出模板")
@GetMapping(value = "/exportTemplate")
public ModelAndView exportTemplate() {
@@ -63,7 +64,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
/**
* 导入excel
*/
// @RequiresPermissions("")
@RequiresPermissions("recommendHotelPage:import")
@ApiOperation(value = "导入")
@PostMapping(value = "/importXls")
public Result<Object> importXls(HttpServletRequest request) {