From f7318275c59227c9a86fac1cc11a79662ed9ac2d Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 7 Feb 2024 09:57:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=2081549=20=E4=BC=81=E6=A0=87=E5=A4=8D?= =?UTF-8?q?=E5=AE=A1=E6=B5=81=E7=A8=8B--=E8=AF=95=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E5=8F=91=E8=B5=B7=E5=A4=8D=E5=AE=A1=E3=80=81?= =?UTF-8?q?=E4=B8=89=E5=B9=B4=E5=AE=9A=E6=97=B6=E5=8F=91=E8=B5=B7=E5=A4=8D?= =?UTF-8?q?=E5=AE=A1=EF=BC=8C=E4=B8=A4=E4=B8=AA=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=B2=A1=E6=9C=89=E8=87=AA=E5=8A=A8=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../laws/system/service/impl/LawsContactManageServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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;