lyhzzz 5 months ago
parent
commit
5704b1e667

+ 2 - 0
src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

@@ -454,6 +454,8 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
                 if(!numList1.isEmpty()){
                     this.saveBatchByList(new ArrayList<>(numList1), userIds, type,"laser");
                 }
+            }else {
+                addList = this.saveBatchByList(new ArrayList<>(numList), userIds, type,sceneType);
             }
         }
         List<Long> collect3 = addList.stream().map(SceneCooperation::getUserId).collect(Collectors.toList());