|
|
@@ -629,7 +629,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
for (SceneVo vo : sceneVoPage.getRecords()) {
|
|
|
if (StringUtils.isNotBlank(vo.getNum())) {
|
|
|
List<User> userVos = cooMap.get(vo.getNum());
|
|
|
- if (userVos != null) {
|
|
|
+ if (userVos != null && !userVos.isEmpty()) {
|
|
|
List<Long> ids = userVos.stream().map(User::getId).collect(Collectors.toList());
|
|
|
List<String> userNameList = userVos.stream().map(User::getUserName).collect(Collectors.toList());
|
|
|
vo.setCooperationUserIdList(ids);
|