admin
2022-04-07 e1cc0d03fadc2d251d36c0dc3650f75e830d5363
app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMoneyExchangeRateRecordService.java
@@ -2,9 +2,15 @@
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;
@@ -13,38 +19,50 @@
public interface GoldCornMoneyExchangeRateRecordService {
    /**
    * 获取列表
    * @param goldCornMoneyExchangeRateRecordQuery
    * @param page
    * @param pageSize
    * @return
    */
    public List<GoldCornMoneyExchangeRateRecord> list(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery, int page, int pageSize) ;
     * 获取列表
     *
     * @param goldCornMoneyExchangeRateRecordQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<GoldCornMoneyExchangeRateRecord> list(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery, int page, int pageSize);
    /**
    *
    */
    public long count(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery) ;
     *
     */
    public long count(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery);
    /**
    *
    */
    public GoldCornMoneyExchangeRateRecord get(String id) ;
     *
     */
    public GoldCornMoneyExchangeRateRecord get(String id);
    /**
    *
    */
    public void add(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord)  throws Exception;
     *
     */
    public void add(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord) throws Exception;
    /**
    *
    */
    public void update(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord) ;
     *
     */
    public void update(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord);
    /**
    *
    */
    public void delete(List<String> idList) ;
     *
     */
    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;
}