From 2c80e14e6debac0d75711bffbe11ef3d53d92172 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Tue, 11 Mar 2025 22:00:10 +0800 Subject: [PATCH] =?UTF-8?q?refactor(coal):=20=E4=BF=AE=E6=AD=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=B8=BB=E8=A1=A8=E6=95=B0=E6=8D=AE=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 CoalWashingDailyAnalysisController 中的 updateKfItems 方法重命名为 updateMain - 此修改提高了代码的可读性和一致性,确保方法命名与功能更加匹配 --- .../controller/CoalWashingDailyAnalysisController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/controller/CoalWashingDailyAnalysisController.java b/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/controller/CoalWashingDailyAnalysisController.java index 7b606b71..69b4460b 100644 --- a/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/controller/CoalWashingDailyAnalysisController.java +++ b/src/main/java/cn/lihongjie/coal/coalWashingDailyAnalysis/controller/CoalWashingDailyAnalysisController.java @@ -63,7 +63,7 @@ public class CoalWashingDailyAnalysisController extends BaseController { @PostMapping("/updateMain") @SysLog(action = "编辑") public CoalWashingDailyAnalysisDto updateMain(@RequestBody UpdateCoalWashingDailyAnalysisDto dto) { - return this.service.updateKfItems(dto); + return this.service.updateMain(dto); } @PostMapping("/delete")