From 3f07072284100f01c3f33841c14ffe1cf021714a Mon Sep 17 00:00:00 2001 From: liuguijing <123456> Date: Mon, 29 May 2023 17:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E6=9F=A5=E8=AF=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/shxy/xymanager_service/impl/LineServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LineServiceImpl.java b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LineServiceImpl.java index 551726d..f0285bf 100644 --- a/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LineServiceImpl.java +++ b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LineServiceImpl.java @@ -150,6 +150,9 @@ public class LineServiceImpl implements LineService { LineAndGtAndChannelListModel model = new LineAndGtAndChannelListModel(); Integer id = vo.getId(); Integer type = vo.getType(); + if (id.intValue() == 0) { + id = null; + } //查询所有 if (type == 1) { List list = dyLevelDao.selectAll(CommonStatus.EFFECTIVE.value());