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());