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-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/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} + + +