From e1cc0d03fadc2d251d36c0dc3650f75e830d5363 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 07 四月 2022 19:12:42 +0800 Subject: [PATCH] 功能完善 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMoneyExchangeRateRecordService.java | 62 ++++++++++++++++++++----------- 1 files changed, 40 insertions(+), 22 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMoneyExchangeRateRecordService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMoneyExchangeRateRecordService.java index 7dac8ea..2c18d54 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMoneyExchangeRateRecordService.java +++ b/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; + } -- Gitblit v1.8.0