package com.fdkankan.ucenter.mapper;

import com.fdkankan.ucenter.entity.SceneCooperation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fdkankan.ucenter.vo.response.SceneNumVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-07-04
 */
@Mapper
public interface ISceneCooperationMapper extends BaseMapper<SceneCooperation> {

    Long getCooperationScenePlusNum(@Param("userId")Long userId,  @Param("sceneSource")List<Integer> sceneSourceList);

    Long getCooperationSceneProNum(@Param("userId") Long userId, @Param("sceneSource")List<Integer> sceneSourceList);
    List<SceneNumVo> getGroupCooperationSceneProNum(@Param("userId")Long userId);

    List<SceneNumVo> getGroupCooperationScenePlusNum(@Param("userId") Long userId);
}
