diff --git a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/countJob/CountJobDetailController.java b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/countJob/CountJobDetailController.java index 83061d1..18dc406 100644 --- a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/countJob/CountJobDetailController.java +++ b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/countJob/CountJobDetailController.java @@ -39,14 +39,14 @@ public class CountJobDetailController { @PostMapping("/create") @Operation(summary = "创建备件盘点任务子") - @PreAuthorize("@ss.hasPermission('countJobDetail::create')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::create')") public CommonResult create(@Valid @RequestBody CountJobDetailCreateReqVO createReqVO) { return success(Service.create(createReqVO)); } @PutMapping("/update") @Operation(summary = "更新备件盘点任务子") - @PreAuthorize("@ss.hasPermission('countJobDetail::update')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::update')") public CommonResult update(@Valid @RequestBody CountJobDetailUpdateReqVO updateReqVO) { int result = Service.update(updateReqVO); return success(result > 0); @@ -55,7 +55,7 @@ public class CountJobDetailController { @DeleteMapping("/delete") @Operation(summary = "删除备件盘点任务子") @Parameter(name = "id", description = "编号", required = true) - @PreAuthorize("@ss.hasPermission('countJobDetail::delete')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::delete')") public CommonResult delete(@RequestParam("id") Long id) { int result = Service.delete(id); return success(result > 0); @@ -64,7 +64,7 @@ public class CountJobDetailController { @GetMapping("/get") @Operation(summary = "获得备件盘点任务子") @Parameter(name = "id", description = "编号", required = true, example = "1024") - @PreAuthorize("@ss.hasPermission('countJobDetail::query')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::query')") public CommonResult get(@RequestParam("id") Long id) { CountJobDetailDO countJobDetailDO = Service.get(id); return success(CountJobDetailConvert.INSTANCE.convert(countJobDetailDO)); @@ -73,7 +73,7 @@ public class CountJobDetailController { @GetMapping("/list") @Operation(summary = "获得备件盘点任务子列表") @Parameter(name = "ids", description = "编号列表", required = true, example = "1024,2048") - @PreAuthorize("@ss.hasPermission('countJobDetail::query')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::query')") public CommonResult> getList(@RequestParam("ids") Collection ids) { List list = Service.getList(ids); return success(CountJobDetailConvert.INSTANCE.convertList(list)); @@ -81,7 +81,7 @@ public class CountJobDetailController { @GetMapping("/page") @Operation(summary = "获得备件盘点任务子分页") - @PreAuthorize("@ss.hasPermission('countJobDetail::query')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::query')") public CommonResult> getPage(@Valid CountJobDetailPageReqVO pageVO) { PageResult pageResult = Service.getPage(pageVO); return success(CountJobDetailConvert.INSTANCE.convertPage(pageResult)); @@ -89,7 +89,7 @@ public class CountJobDetailController { @GetMapping("/export-excel") @Operation(summary = "导出备件盘点任务子 Excel") - @PreAuthorize("@ss.hasPermission('countJobDetail::export')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::export')") @OperateLog(type = EXPORT) public void exportExcel(@Valid CountJobDetailExportReqVO exportReqVO, HttpServletResponse response) throws IOException { @@ -114,7 +114,7 @@ public class CountJobDetailController { @Parameter(name = "mode", description = "导入模式1更新2追加3覆盖", example = "1"), @Parameter(name = "updatePart", description = "部分更新,默认为 true", example = "true") }) - @PreAuthorize("@ss.hasPermission('countJobDetail::import')") + //@PreAuthorize("@ss.hasPermission('countJobDetail::import')") public CommonResult> importExcel(HttpServletResponse response, @RequestParam("file") MultipartFile file, @RequestParam(value = "mode") Integer mode,