From b3ed5823f971c04e5f814711a49c9baf7cdf54b9 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期四, 15 五月 2025 14:59:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlanManagementController.java | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsPlanManagementController.java b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlanManagementController.java similarity index 85% rename from aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsPlanManagementController.java rename to aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlanManagementController.java index f8ec4e4..9f9439e 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsPlanManagementController.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlanManagementController.java @@ -1,4 +1,4 @@ -package com.aps.core.controller; +package com.aps.core.controller.mainPlan; import com.aps.common.core.utils.poi.ExcelUtil; import com.aps.common.core.web.controller.BaseController; @@ -50,7 +50,7 @@ */ @Operation(summary = "瀵煎嚭璁″垝绠$悊鍒楄〃", description = "瀵煎嚭") // @RequiresPermissions("aps:management:export") - @Log(title = "璁″垝绠$悊", businessType = BusinessType.EXPORT) + @Log(title = "瀵煎嚭璁″垝绠$悊鍒楄〃", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, ApsPlanManagement apsPlanManagement) { @@ -75,11 +75,12 @@ */ @Operation(summary = "鏂板璁″垝绠$悊", description = "鍗曚釜鏂板") // @RequiresPermissions("aps:management:add") - @Log(title = "璁″垝绠$悊", businessType = BusinessType.INSERT) + @Log(title = "鏂板璁″垝绠$悊", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody ApsPlanManagement apsPlanManagement) { - return toAjax(apsPlanManagementService.insertApsPlanManagement(apsPlanManagement)); + apsPlanManagementService.insertApsPlanManagement(apsPlanManagement); + return toAjax(true); } /** @@ -100,11 +101,12 @@ */ @Operation(summary = "淇敼璁″垝绠$悊", description = "鍗曚釜淇敼") // @RequiresPermissions("aps:management:edit") - @Log(title = "璁″垝绠$悊", businessType = BusinessType.UPDATE) + @Log(title = "淇敼璁″垝绠$悊", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody ApsPlanManagement apsPlanManagement) { - return toAjax(apsPlanManagementService.updateApsPlanManagement(apsPlanManagement)); + apsPlanManagementService.updateApsPlanManagement(apsPlanManagement); + return toAjax(true); } /** @@ -112,10 +114,11 @@ */ @Operation(summary = "鍒犻櫎璁″垝绠$悊", description = "鎵归噺鍒犻櫎") // @RequiresPermissions("aps:management:remove") - @Log(title = "璁″垝绠$悊", businessType = BusinessType.DELETE) + @Log(title = "鍒犻櫎璁″垝绠$悊", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(apsPlanManagementService.deleteApsPlanManagementByIds(ids)); + apsPlanManagementService.deleteApsPlanManagementByIds(ids); + return toAjax(true); } } -- Gitblit v1.9.3