/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.user.comment.service;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.dto.ScoreDataDto;
import com.yami.shop.bean.model.PointsRecord;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.user.comment.model.UserScoreDetail;
import com.yami.shop.user.comment.model.UserScoreLog;
import io.swagger.models.auth.In;

/**
 * @author lhd
 * @date 2020-05-25 15:31:02
 */
public interface UserScoreDetailService extends IService<UserScoreDetail> {

    void updateExpireScoreDetail(DateTime dateTime);

    void updateLogAndDetail(Long orderId, String userId);

    ScoreDataDto doGetUserScore(String userId, Long channelId);

    IPage<PointsRecord> doGetScorePage(PageParam<PointsRecord> page, String userId, Long channelId);
}
