package com.yeshi.fanli.service.inter.user.integral;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.integral.IntegralDetail;
|
import com.yeshi.fanli.vo.integral.IntegralDetailVO;
|
|
public interface IntegralDetailService {
|
|
/**
|
* 积分明细
|
* @param uid
|
* @param detailId
|
* @param maxTime
|
* @return
|
*/
|
public List<IntegralDetailVO> listDetailForClient(Long uid, Long detailId, Date maxTime, Integer type);
|
|
/**
|
* 明细统计
|
* @param uid
|
* @param detailId
|
* @param maxTime
|
* @return
|
*/
|
public long countDetailForClient(Long uid, Long detailId, Date maxTime, Integer type);
|
|
/**
|
*
|
* @param record
|
*/
|
public void insertSelective(IntegralDetail record);
|
|
|
/**
|
* 唯一值查询
|
* @param uniqueKey
|
* @return
|
*/
|
public IntegralDetail getDetailByUniqueKey(String uniqueKey);
|
|
/**
|
* 查询历史到账金币
|
* @param uid
|
* @return
|
*/
|
public BigDecimal getCumulativeMoney(Long uid);
|
|
/**
|
* 统计当日新增
|
* @param preDay
|
* @return
|
*/
|
public Long countNewAddByDate(String preDay);
|
|
/**
|
* 列表查询
|
* @param start
|
* @param count
|
* @param key
|
* @return
|
*/
|
public List<IntegralDetail> listQuery(long start, int count, String key);
|
|
|
public long countQuery(String key);
|
|
/**
|
* 统计用户消耗金币数量
|
* @param uid
|
* @return
|
*/
|
public long sumUseGoldCoin(Long uid);
|
|
}
|