package com.cyksj.mapper.corp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.CorpInteractiveRadarUserRecord;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/*
 *项目名: netflix
 *文件名: CorpInteractiveRadarUserRecordMapper
 *创建者: JavaZou
 *创建时间:2023/8/4 18:31
 */
public interface CorpInteractiveRadarUserRecordMapper extends BaseMapper<CorpInteractiveRadarUserRecord> {

	@Select("select count(*) clickNum,count(distinct user_id) clickUserNum from corp_interactive_radar_user_record where radar_id = #{radarId}")
	Map<String, Long> selectClickRecord(Long radarId);
}
