package com.fs.his.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fs.his.domain.FsPromotionalActiveLog;
import com.fs.his.vo.FsPromotionalActiveStatVO;

import java.util.List;
import java.util.Map;

public interface IFsPromotionalActiveLogService extends IService<FsPromotionalActiveLog> {

    /**
     * 记录用户点击行为
     */
    void saveClickActionLog(Long activeId, Long userId, Integer type, Integer productType, Long resourceId);

    /**
     * 活动行为统计
     */
    List<FsPromotionalActiveStatVO> getPromotionalActiveLogStatByMap(Map<String, Object> params);
}
