update:补充权限编码
This commit is contained in:
+2
-2
@@ -321,10 +321,10 @@ public class PayCaseCouncilSubitemController extends JeroController<PayCaseCounc
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导入到标协会员
|
* 导入到标协会员
|
||||||
*/
|
*/
|
||||||
@Transactional
|
@Transactional
|
||||||
// @RequiresPermissions("")
|
@RequiresPermissions("council:exportToMember")
|
||||||
@AutoLog(value = "理事会成员表-导入到标协会员")
|
@AutoLog(value = "理事会成员表-导入到标协会员")
|
||||||
@ApiOperation(value="理事会成员表-导入到标协会员", notes="理事会成员表-导入到标协会员")
|
@ApiOperation(value="理事会成员表-导入到标协会员", notes="理事会成员表-导入到标协会员")
|
||||||
@PostMapping(value = "/import")
|
@PostMapping(value = "/import")
|
||||||
|
|||||||
+4
-3
@@ -9,6 +9,7 @@ import com.jero.meeting.vo.excel.PayMeetingHotelRecommendExcel;
|
|||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.servlet.ModelAndView;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
@@ -39,7 +40,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
|
|||||||
* @param pageNo 页数
|
* @param pageNo 页数
|
||||||
* @param pageSize 条数
|
* @param pageSize 条数
|
||||||
*/
|
*/
|
||||||
// @RequiresPermissions("")
|
@RequiresPermissions("recommendHotelPage:list")
|
||||||
@ApiOperation(value = "会议酒店推荐-分页列表查询", notes = "会议酒店推荐-分页列表查询")
|
@ApiOperation(value = "会议酒店推荐-分页列表查询", notes = "会议酒店推荐-分页列表查询")
|
||||||
@GetMapping(value = "/page")
|
@GetMapping(value = "/page")
|
||||||
public Result<?> queryPageList(PayMeetingHotelRecommend meetingHotelRecommend,
|
public Result<?> queryPageList(PayMeetingHotelRecommend meetingHotelRecommend,
|
||||||
@@ -53,7 +54,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
|
|||||||
/**
|
/**
|
||||||
* 导出excel模板
|
* 导出excel模板
|
||||||
*/
|
*/
|
||||||
// @RequiresPermissions("")
|
@RequiresPermissions("recommendHotelPage:downTemplate")
|
||||||
@ApiOperation(value = "导出模板")
|
@ApiOperation(value = "导出模板")
|
||||||
@GetMapping(value = "/exportTemplate")
|
@GetMapping(value = "/exportTemplate")
|
||||||
public ModelAndView exportTemplate() {
|
public ModelAndView exportTemplate() {
|
||||||
@@ -63,7 +64,7 @@ public class PayMeetingHotelRecommendController extends JeroController<PayMeetin
|
|||||||
/**
|
/**
|
||||||
* 导入excel
|
* 导入excel
|
||||||
*/
|
*/
|
||||||
// @RequiresPermissions("")
|
@RequiresPermissions("recommendHotelPage:import")
|
||||||
@ApiOperation(value = "导入")
|
@ApiOperation(value = "导入")
|
||||||
@PostMapping(value = "/importXls")
|
@PostMapping(value = "/importXls")
|
||||||
public Result<Object> importXls(HttpServletRequest request) {
|
public Result<Object> importXls(HttpServletRequest request) {
|
||||||
|
|||||||
Reference in New Issue
Block a user