diff --git a/laws-modules/src/main/java/com/jero/modules/laws/system/service/impl/LawsContactManageServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/system/service/impl/LawsContactManageServiceImpl.java index f456e3bf..d552472c 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/system/service/impl/LawsContactManageServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/system/service/impl/LawsContactManageServiceImpl.java @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.StringUtils; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.jero.common.constant.enums.YesOrNoEnum; import com.jero.common.exception.JeroBootException; import com.jero.common.system.query.QueryGenerator; import com.jero.modules.laws.system.entity.LawsContactManage; @@ -200,6 +201,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl wrapper = new LambdaQueryWrapper<>(); wrapper.eq(LawsContactManage::getDepartId, deptId); + wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue()); List list = list(wrapper); if (list == null || list.isEmpty()) { return null; @@ -220,6 +222,7 @@ public class LawsContactManageServiceImpl extends ServiceImpl wrapper = new LambdaQueryWrapper<>(); wrapper.eq(LawsContactManage::getDepartId, deptId); + wrapper.eq(LawsContactManage::getDelFlag, YesOrNoEnum.NO.getValue()); List list = list(wrapper); if (list == null || list.isEmpty()) { return null;