From 33ceaa13a6c7c7be1b6d5c90ca05ca3e4bef0e11 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 31 八月 2023 10:15:23 +0800
Subject: [PATCH] 增加生效失效时间

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionCycleMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionCycleMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionCycleMapper.xml
index 4e84bbf..ecb67cd 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionCycleMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/InspectionCycleMapper.xml
@@ -20,8 +20,10 @@
         t1.arrange_way arrangeWay,
         t1.audit_status auditStatus,
         t1.first_inspection_time as firstInspectionTime,
-        DATE_FORMAT(t1.first_inspection_time, '%Y-%m-%d') firstInspectionTime1,
-        DATE_FORMAT(t1.first_inspection_time, '%h:%i:%s') firstInspectionTime2,
+        t1.take_effect_time as takeEffectTime,
+        t1.lose_efficacy_time as loseEfficacyTime,
+        CONVERT(  VARCHAR(100), t1.first_inspection_time, 23 ) firstInspectionTime1,
+        CONVERT(  VARCHAR(100), t1.first_inspection_time, 8 ) firstInspectionTime2,
         t1.lead_time leadTime,
         t1.effective_time effectiveTime,
         t2.item_text cycleUnitName,

--
Gitblit v1.9.3