Commit 8a8eaece by xmh

对没有数据的情况做处理

1 parent 8ebff0ab
......@@ -67,7 +67,7 @@ public class ReidController {
SubTaskMapper mapper = (SubTaskMapper) subTaskService.getMapper();
List<String> personUnids = mapper.getPersonUnids(packId, status, page == null ? null : (page - 1) * size, size, annotatorId, countGTE, countLTE);
List<SubTaskVo> people = mapper.getPeople(packId, personUnids);
List<SubTaskVo> people = personUnids.size() == 0 ? Collections.emptyList() : mapper.getPeople(packId, personUnids);
LinkedHashMap<String, List<SubTaskVo>> temp = new LinkedHashMap<>();
Map<String, User> labelingMap = reidService.getRedissonClient().<String, User>getMap("labeling:" + packId).readAllMap();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!