Browse Source

如果是空机场,则不返回数据

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
d1fc3dd009
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java

+ 3
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java View File

@@ -233,6 +233,9 @@ public class MissionServiceImpl extends BaseServiceImpl<ThMissionMapper, ThMissi
}

private Map<Integer, String> getUserNameMap(List<ThMission> records) {
if(records.size()==0){
return new HashMap<>();
}
Map<Integer,String> userName=new HashMap<>();
Set<Integer> userId=new HashSet<>();
records.forEach(thMission -> {

Loading…
Cancel
Save