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