From 5192514d752720aee365d11a210480158fda4aeb Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 09 六月 2025 13:22:13 +0800 Subject: [PATCH] 分段分析查询优化 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentStatisticalInfoServiceImpl.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentStatisticalInfoServiceImpl.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentStatisticalInfoServiceImpl.java index 02efd34..080bdbc 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentStatisticalInfoServiceImpl.java +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/service/impl/MdcEquipmentStatisticalInfoServiceImpl.java @@ -350,4 +350,9 @@ public MdcEquipmentStatisticalInfo findByEquIdAndMonth(String equipmentId, String month) { return this.baseMapper.findByEquIdAndMonth(equipmentId, month); } + + @Override + public List<MdcEquipmentStatisticalInfo> findMdcEquipmentStatisticalInfo(String equipmentId, String start, String end) { + return this.baseMapper.findMdcEquipmentStatisticalInfo(equipmentId, start.replaceAll("-", ""), end.replaceAll("-", "")); + } } -- Gitblit v1.9.3