|
@@ -8,6 +8,8 @@ import com.fdkankan.scene.entity.SceneResourceCooperation;
|
|
|
import com.fdkankan.scene.mapper.ISceneResourceMapper;
|
|
|
import com.fdkankan.scene.service.ISceneResourceCooperationService;
|
|
|
import com.fdkankan.scene.service.ISceneResourceService;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.stream.Collectors;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -18,7 +20,7 @@ import org.springframework.stereotype.Service;
|
|
|
* 场景资源表 服务实现类
|
|
|
* </p>
|
|
|
*
|
|
|
- * @author
|
|
|
+ * @author
|
|
|
* @since 2022-07-18
|
|
|
*/
|
|
|
@Service
|
|
@@ -42,7 +44,7 @@ public class SceneResourceServiceImpl extends ServiceImpl<ISceneResourceMapper,
|
|
|
.collect(Collectors.toList());
|
|
|
}
|
|
|
if(CollUtil.isEmpty(sceneResourceIdList)){
|
|
|
- return null;
|
|
|
+ return new ArrayList<>();
|
|
|
}
|
|
|
|
|
|
return this.listByIds(sceneResourceIdList);
|