From 215485725d2aa0b17f7b0e965163ab13924fa1e4 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 31 八月 2023 13:45:57 +0800
Subject: [PATCH] 文档名称来源 修改

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionCycleController.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionCycleController.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionCycleController.java
index 1e7c08a..04cda53 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionCycleController.java
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionCycleController.java
@@ -382,8 +382,10 @@
         List<InspectionCycle> list = inspectionCycleService.lambdaQuery().eq(InspectionCycle::getCode, inspectionCycle.getCode()).eq(InspectionCycle::getVersionStatus, "2").list();
         for (InspectionCycle cycle : list) {
             cycle.setVersionStatus("3");
+            cycle.setLoseEfficacyTime(new Date());
             inspectionCycleService.updateById(cycle);
         }
+        inspectionCycle.setTakeEffectTime(new Date());
         boolean b = inspectionCycleService.updateById(inspectionCycle);
         if (b){
             return Result.OK("缂栬緫鎴愬姛!");

--
Gitblit v1.9.3