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 1/3] =?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()); From 6402a849c5cd7928d7ef316d38b5a12b45fb18ad Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Thu, 28 Sep 2023 09:46:41 +0800 Subject: [PATCH 2/3] =?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=E9=A2=84=E8=A7=88=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzims/operational/feign/IAccessTaskClient.java | 1 - .../workTicket/service/impl/OfflineTicketServiceImpl.java | 1 + .../workTicket/service/impl/WorkTicketInfoServiceImpl.java | 13 ++++++------- .../ticket/workTicket/wrapper/WorkTicketInfoWrapper.java | 12 ++++-------- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/feign/IAccessTaskClient.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/feign/IAccessTaskClient.java index 9455567..d723454 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/feign/IAccessTaskClient.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/feign/IAccessTaskClient.java @@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestParam; /** * @author hx */ -@Repository @FeignClient( value = OperationalConstants.APP_NAME ) 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 03e7144..774fc57 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 @@ -71,6 +71,7 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl Date: Thu, 28 Sep 2023 11:26:55 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8E=92=E7=8F=AD=E8=AE=A1=E5=88=92bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../duty/entity/ImsDutyMainPersonEntity.java | 2 - .../operational/duty/mapper/ImsDutyMainMapper.java | 4 +- .../operational/duty/mapper/ImsDutyMainMapper.xml | 10 +- .../duty/service/impl/ImsDutyMainServiceImpl.java | 2652 ++++++++++---------- 4 files changed, 1348 insertions(+), 1320 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/duty/entity/ImsDutyMainPersonEntity.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/duty/entity/ImsDutyMainPersonEntity.java index cf335e5..42f0ffa 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/duty/entity/ImsDutyMainPersonEntity.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/duty/entity/ImsDutyMainPersonEntity.java @@ -1,6 +1,5 @@ package com.hnac.hzims.operational.duty.entity; -import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; @@ -65,7 +64,6 @@ public class ImsDutyMainPersonEntity extends TenantEntity { /** * 值班班组名称 */ - @TableField(exist=false) @ApiModelProperty(value = "值班班组名称") private String dutyGroupName; /** diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.java index c1878e1..bd42089 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.java @@ -1,10 +1,9 @@ package com.hnac.hzims.operational.duty.mapper; +import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; import com.hnac.hzims.operational.duty.vo.*; -import io.swagger.annotations.Api; import org.apache.ibatis.annotations.Param; import org.springblade.core.datascope.annotation.UserDataAuth; -import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper; import java.util.List; @@ -40,6 +39,7 @@ public interface ImsDutyMainMapper extends UserDataScopeBaseMapper list); void deleteDate(String date); @UserDataAuth diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.xml b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.xml index 4aa2676..0e8f2f6 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.xml +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/mapper/ImsDutyMainMapper.xml @@ -47,7 +47,15 @@ and id !=#{id} - + + delete from hz_ims_duty_main where is_deleted = 0 + + and id in + + #{item} + + +