From dbcc9f8992c97b84aa6ae0a381c807ba6239ae2c Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期四, 15 五月 2025 16:47:08 +0800 Subject: [PATCH] 【UPDATE】刷新BOM、库存、工艺路线数据缓存接口增加刷新钣金子单数据 --- aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsGasPipingPlanController.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsGasPipingPlanController.java b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsGasPipingPlanController.java index aa886be..d0e914d 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsGasPipingPlanController.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsGasPipingPlanController.java @@ -144,9 +144,11 @@ { return toAjax(apsGasPipingPlanService.deleteApsGasPipingPlanByIds(ids)); } + /** * 姘斾綋绠¤矾璁″垝瀵煎叆 */ + @RequiresPermissions("gasPiping:import") @PostMapping("/importData") public AjaxResult importData(MultipartFile file) throws Exception { ExcelUtil<ApsGasPipingPlanTemp> util = new ExcelUtil<ApsGasPipingPlanTemp>(ApsGasPipingPlanTemp.class); @@ -198,8 +200,9 @@ * @Author: wwj * @Date: 2025/4/9 */ - @GetMapping("/confirmGasPiping") - public AjaxResult confirmGasPiping(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { + @RequiresPermissions("gasPiping:confirm") + @PostMapping("/confirmGasPiping") + public AjaxResult confirmGasPiping(@RequestBody ApsGasPipingPlanTemp apsGasPipingPlanTemp) { return toAjax(apsGasPipingPlanService.confirmGasPiping(apsGasPipingPlanTemp)); } } -- Gitblit v1.9.3