package com.yeshi.makemoney.app.service.inter.goldcorn;
|
|
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornConsumeRecord;
|
import com.yeshi.makemoney.app.exception.goldcorn.GoldCornConsumeRecordException;
|
import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornConsumeRecordQuery;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
|
public interface GoldCornConsumeRecordService {
|
|
/**
|
* 获取列表
|
* @param goldCornConsumeRecordQuery
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
public List<GoldCornConsumeRecord> list(GoldCornConsumeRecordQuery goldCornConsumeRecordQuery, int page, int pageSize) ;
|
|
/**
|
*
|
*/
|
public long count(GoldCornConsumeRecordQuery goldCornConsumeRecordQuery) ;
|
|
/**
|
*
|
*/
|
public GoldCornConsumeRecord get(String id) ;
|
|
/**
|
*
|
*/
|
public void add(GoldCornConsumeRecord goldCornConsumeRecord) throws GoldCornConsumeRecordException;
|
|
/**
|
*
|
*/
|
public void update(GoldCornConsumeRecord goldCornConsumeRecord) ;
|
|
/**
|
*
|
*/
|
public void delete(List<String> idList) ;
|
|
/**
|
* @author hxh
|
* @description 计算资金
|
* @date 18:06 2022/5/10
|
* @param: query
|
* @return java.math.BigDecimal
|
**/
|
public BigDecimal sumMoney(GoldCornConsumeRecordQuery query);
|
|
|
}
|