package com.sonic.bear.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sonic.bear.domain.entity.UserCommonlyUsedLog;

import java.util.List;

/**
 * @author coder
 */
public interface UserCommonlyUsedLogService extends IService<UserCommonlyUsedLog> {


    /**
     * 添加数据
     * @param userId
     * @param dataType
     * @param dataValue
     */
    void addData(Long userId, Integer dataType, String dataValue);

    /**
     * 查询数据
     * @param userIdList
     * @param dataValueList
     * @return
     */
    List<UserCommonlyUsedLog> queryData(List<Long> userIdList, List<String> dataValueList);

}
