From cc80962a0adaccb58d9b5fce5310438795373eec Mon Sep 17 00:00:00 2001 From: tyty Date: Thu, 28 Sep 2023 11:26:55 +0800 Subject: [PATCH] =?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} + + +