From ecc7b5494a99361d5ae855e13fb16a5ac7d4be9c Mon Sep 17 00:00:00 2001 From: shaoyong Date: Thu, 18 Jan 2024 16:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E6=8A=A5=E5=91=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/QcCheckReportInventoryController.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckReportInventoryController.java b/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckReportInventoryController.java index eed07714..1239b341 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckReportInventoryController.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckReportInventoryController.java @@ -39,7 +39,7 @@ public class QcCheckReportInventoryController extends BaseController { /** * 查询来料检验列表 */ - @RequiresPermissions("quality:incomeReport:list") + @RequiresPermissions("quality:inventoryReport:list") @GetMapping("/list") public TableDataInfo list(QcCheckReportIncome qcCheckReportIncome) { @@ -66,7 +66,7 @@ public class QcCheckReportInventoryController extends BaseController { /** * 导出来料检验列表 */ - @RequiresPermissions("quality:incomeReport:export") + @RequiresPermissions("quality:inventoryReport:export") @Log(title = "来料检验", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, QcCheckReportIncome qcCheckReportIncome) { @@ -94,7 +94,7 @@ public class QcCheckReportInventoryController extends BaseController { /** * 获取来料检验详细信息 */ - @RequiresPermissions("quality:incomeReport:query") + @RequiresPermissions("quality:inventoryReport:query") @GetMapping(value = "/{recordId}") public AjaxResult getInfo(@PathVariable("recordId") String recordId) { return success(qcCheckReportInventoryService.selectQcCheckReportIncomeByRecordId(recordId)); @@ -103,7 +103,6 @@ public class QcCheckReportInventoryController extends BaseController { /** * 新增来料检验 */ - @RequiresPermissions("quality:incomeReport:add") @Log(title = "来料检验", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody QcCheckReportIncome qcCheckReportIncome) { @@ -117,7 +116,6 @@ public class QcCheckReportInventoryController extends BaseController { /** * 修改来料检验 */ - @RequiresPermissions("quality:incomeReport:edit") @Log(title = "来料检验", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody QcCheckReportIncome qcCheckReportIncome) { @@ -127,7 +125,6 @@ public class QcCheckReportInventoryController extends BaseController { /** * 删除来料检验 */ - @RequiresPermissions("quality:incomeReport:remove") @Log(title = "来料检验", businessType = BusinessType.DELETE) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable String[] recordIds) {