From bcd7d1c9222431f37a6579a72456b2edb8f02402 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期五, 07 三月 2025 10:54:38 +0800
Subject: [PATCH] art: 验收日期 与 下次三保日期计算关系
---
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
index e5492b7..fdd58e4 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
@@ -38,6 +38,7 @@
mdc_equipment_running_section
WHERE
equipment_id = #{ equipmentId }
+ AND status <![CDATA[ <> ]]> '22'
AND (start_long <= #{ endLong } AND end_long >= #{ startLong })
ORDER BY
start_time
@@ -162,5 +163,16 @@
</where>
</select>
+ <select id="getDataList" resultType="java.lang.Integer">
+ SELECT
+ status
+ FROM
+ mdc_equipment_running_section
+ WHERE
+ equipment_id = #{ equipmentId }
+ AND start_time > #{date}
+ AND status IS NOT NULL
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3