|
@@ -121,9 +121,6 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
for (String num : numList) {
|
|
|
List<User> users = byNumList.get(num);
|
|
|
List<Long> collect1 = users.stream().map(User::getId).collect(Collectors.toList());
|
|
|
- if(collect1.contains(userId)){
|
|
|
- continue;
|
|
|
- }
|
|
|
if("scene".equals(type)){
|
|
|
for (Long l : collect1) {
|
|
|
if(!userIds.contains(l)){
|
|
@@ -132,7 +129,9 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ if(collect1.contains(userId)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
SceneCooperation sceneCooperationEntity = new SceneCooperation();
|
|
|
sceneCooperationEntity.setUserId(userId);
|
|
|
sceneCooperationEntity.setSceneNum(num);
|