package com.yeshi.makemoney.app.service.inter.goldcorn;
|
|
import java.lang.Exception;
|
import javax.annotation.Resource;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.ks.lib.common.exception.ParamsException;
|
import com.yeshi.makemoney.app.entity.SystemEnum;
|
import org.yeshi.utils.bean.BeanUtil;
|
|
import java.util.List;
|
|
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornMoneyExchangeRateRecord;
|
import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornMoneyExchangeRateRecordService;
|
import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornMoneyExchangeRateRecordQuery;
|
|
|
public interface GoldCornMoneyExchangeRateRecordService {
|
|
/**
|
* 获取列表
|
*
|
* @param goldCornMoneyExchangeRateRecordQuery
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
public List<GoldCornMoneyExchangeRateRecord> list(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery, int page, int pageSize);
|
|
/**
|
*
|
*/
|
public long count(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery);
|
|
/**
|
*
|
*/
|
public GoldCornMoneyExchangeRateRecord get(String id);
|
|
/**
|
*
|
*/
|
public void add(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord) throws Exception;
|
|
/**
|
*
|
*/
|
public void update(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord);
|
|
/**
|
*
|
*/
|
public void delete(List<String> idList);
|
|
|
/**
|
* @return BigDecimal
|
* @author hxh
|
* @description 获取汇率
|
* @date 13:52 2022/4/7
|
* @param: day
|
* @param system
|
* @param: time
|
**/
|
public BigDecimal getRate(String day, SystemEnum system, Date time) throws ParamsException;
|
|
}
|