From 910c7ea28e9ff141bdc0a49030a9bbd91fe145a7 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Tue, 10 Nov 2020 14:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/gridpersonnel/impl/GridPersonnelServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java b/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java index 0e001c8..42963e1 100644 --- a/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java +++ b/src/main/java/com/cm/inspection/service/gridpersonnel/impl/GridPersonnelServiceImpl.java @@ -315,6 +315,9 @@ public class GridPersonnelServiceImpl extends BaseService implements IGridPerson userIdsSB.append(userId); userIds.add(userId); } + if (userIds.isEmpty()) { + return; + } // 账号信息 Map params = getHashMap(2); params.put("userIds", userIdsSB.toString());