|
|
@@ -252,7 +252,8 @@ public class InformServiceImpl extends ServiceImpl<InformMapper, Inform> impleme
|
|
|
InformUserQueryBo informUserQueryBo = new InformUserQueryBo();
|
|
|
informUserQueryBo.setInformId(informVo.getInformId());
|
|
|
List<Long> userId = new ArrayList<>();
|
|
|
- for (InformUserVo informUserVo : iInformUserService.queryUserList(informUserQueryBo)) {
|
|
|
+ List<InformUserVo> list = iInformUserService.queryUserList(informUserQueryBo);
|
|
|
+ for (InformUserVo informUserVo : list) {
|
|
|
userId.add(informUserVo.getUserId());
|
|
|
}
|
|
|
//初始化需要得到的数组
|
|
|
@@ -263,7 +264,7 @@ public class InformServiceImpl extends ServiceImpl<InformMapper, Inform> impleme
|
|
|
array[i] = userId.get(i);
|
|
|
}
|
|
|
informVo.setUserId(array);
|
|
|
-
|
|
|
+ break;
|
|
|
}
|
|
|
return informVos;
|
|
|
}
|