refactor(report): 更新月度生产总数查询方法

- 为 selectMonthProductionTotal 方法添加 ID 和返回类型定义
- 保持原有的生产计数统计逻辑不变
- 规范化 SQL 查询的 XML 配置结构
master
zangch@mesnac.com 9 hours ago
parent 1e301dfaf2
commit bf571eb0be

@ -38,7 +38,7 @@
GROUP BY device_code
)
</select> -->
<select>
<select id="selectMonthProductionTotal" resultType="java.lang.Long">
/* 按天取“生产计数-当前日期生产总数”每台设备当日最新值,再汇总本月所有天 */
SELECT NVL(SUM(daily_val), 0)
FROM (

Loading…
Cancel
Save