From bd69e3e0b98260d297bcc88f9ab5c70be22f3ab9 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Tue, 17 Oct 2023 09:11:02 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E8=A7=A3=E5=86=B3=E6=97=A5=E5=B8=B8?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E4=BB=BB=E5=8A=A1=E7=94=9F=E6=88=90=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operational/maintenance/service/impl/MaintenanceServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/MaintenanceServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/MaintenanceServiceImpl.java index 77dd011..e93d73f 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/MaintenanceServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/MaintenanceServiceImpl.java @@ -320,6 +320,10 @@ public class MaintenanceServiceImpl implements MaintenanceService { taskEntity.setDisposer(userId.replaceAll("\\^", ",")); } else { log.info("计划ID为:{}未查询到排班记录", finalPlanEntity.getId()); + LambdaUpdateWrapper planQueryWrapper = Wrappers.lambdaUpdate() + .set(OperMaintenancePlanEntity::getCreateTaskTime, new Date()) + .eq(OperMaintenancePlanEntity::getId, finalPlanEntity.getId()); + maintenancePlanService.update(planQueryWrapper); return; } }