From bf571eb0beb3ef176adcbe31ee87b35712f3ebf4 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Fri, 27 Feb 2026 17:32:58 +0800 Subject: [PATCH] =?UTF-8?q?refactor(report):=20=E6=9B=B4=E6=96=B0=E6=9C=88?= =?UTF-8?q?=E5=BA=A6=E7=94=9F=E4=BA=A7=E6=80=BB=E6=95=B0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 selectMonthProductionTotal 方法添加 ID 和返回类型定义 - 保持原有的生产计数统计逻辑不变 - 规范化 SQL 查询的 XML 配置结构 --- aucma-report/src/main/resources/mapper/report/Board4Mapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aucma-report/src/main/resources/mapper/report/Board4Mapper.xml b/aucma-report/src/main/resources/mapper/report/Board4Mapper.xml index c354912..4ed2986 100644 --- a/aucma-report/src/main/resources/mapper/report/Board4Mapper.xml +++ b/aucma-report/src/main/resources/mapper/report/Board4Mapper.xml @@ -38,7 +38,7 @@ GROUP BY device_code ) --> - /* 按天取“生产计数-当前日期生产总数”每台设备当日最新值,再汇总本月所有天 */ SELECT NVL(SUM(daily_val), 0) FROM (