diff --git a/src/main/java/com/dispose/manager/impl/DisposeTaskManagerImpl.java b/src/main/java/com/dispose/manager/impl/DisposeTaskManagerImpl.java index 6b9c2824..0b9abde6 100644 --- a/src/main/java/com/dispose/manager/impl/DisposeTaskManagerImpl.java +++ b/src/main/java/com/dispose/manager/impl/DisposeTaskManagerImpl.java @@ -138,6 +138,10 @@ public class DisposeTaskManagerImpl implements DisposeTaskManager { pageInfo = new PageInfo<>(preList); + if(taskId.size() == 0){ + return new MulReturnType<>(pageInfo, new ArrayList<>()); + } + List taskList = new ArrayList<>(disposeTaskMapper.selectByIdSet(taskId)); return new MulReturnType<>(pageInfo, taskList);