lyhzzz 6 月之前
父节点
当前提交
5704b1e667
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

+ 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());