From bae2fcf8a956d1f12902bc30fd6cc14687b5083d Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Wed, 27 Sep 2023 09:10:13 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E7=BA=BF=E4=B8=8B=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E7=A5=A8=E6=B5=81=E7=A8=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ticket/workTicket/service/impl/OfflineTicketServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java index 595a19d..03e7144 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java @@ -105,6 +105,8 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl updateWrapper = Wrappers.lambdaUpdate() .set(WorkTicketInfoEntity::getStatus, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_LICENSE.getStatus()) + .set(WorkTicketInfoEntity::getFlowStatus, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_LICENSE.getStatus()) + .set(WorkTicketInfoEntity::getFlowTaskName, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_LICENSE.getDescription()) .set(WorkTicketInfoEntity::getLicensor, AuthUtil.getUserId()) .set(WorkTicketInfoEntity::getLicenseTime, LocalDateTime.now()) .set(WorkTicketInfoEntity::getLicenseEndTime, dto.getLicenseEndTime()) @@ -134,6 +136,8 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl updateWrapper = Wrappers.lambdaUpdate() .set(WorkTicketInfoEntity::getStatus, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_END.getStatus()) + .set(WorkTicketInfoEntity::getFlowStatus, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_END.getStatus()) + .set(WorkTicketInfoEntity::getFlowTaskName, WorkTicketConstants.FirstWorkTicketStatusEnum.OFFLINE_END.getDescription()) .set(WorkTicketInfoEntity::getStepOperator, userName) .set(WorkTicketInfoEntity::getNextStepOperator, null) .eq(WorkTicketInfoEntity::getId, dto.getId());