From ce3420676d9ccf4a2bdf87aeb7ad1494b5e5d26c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 09 四月 2022 14:42:26 +0800 Subject: [PATCH] 图片上传与邀请图完善 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/money/ExtractService.java | 42 ++++++++++++++++++++++++++++++------------ 1 files changed, 30 insertions(+), 12 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/money/ExtractService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/money/ExtractService.java index 50d9516..d8ef79a 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/money/ExtractService.java +++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/money/ExtractService.java @@ -1,20 +1,15 @@ package com.yeshi.makemoney.app.service.inter.money; -import java.lang.Exception; -import javax.annotation.Resource; -import java.util.Date; - import com.ks.lib.common.exception.ParamsException; import com.yeshi.makemoney.app.dto.mq.ExtractTransferResultMQMsg; +import com.yeshi.makemoney.app.entity.money.Extract; import com.yeshi.makemoney.app.exception.money.ExtractException; import com.yeshi.makemoney.app.exception.money.UserMoneyBalanceException; -import org.yeshi.utils.bean.BeanUtil; - -import java.util.List; - -import com.yeshi.makemoney.app.entity.money.Extract; -import com.yeshi.makemoney.app.service.inter.money.ExtractService; import com.yeshi.makemoney.app.service.query.money.ExtractQuery; + +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; public interface ExtractService { @@ -77,13 +72,36 @@ /** - * @author hxh + * @return void + * @author hxh * @description 澶勭悊鎻愮幇缁撴灉 * @date 18:27 2022/4/1 * @param: msg - * @return void **/ public void processExtractResult(ExtractTransferResultMQMsg msg) throws ParamsException; + /** + * @return int + * @author hxh + * @description 灏忎簬鏌愪釜閲戦鐨勬彁鐜版鏁� + * @date 14:23 2022/4/8 + * @param: uid + * @param: money + * @param: stateList + **/ + public long countByMaxMoney(Long uid, BigDecimal money, List<Integer> stateList, Date minCreateTime); + + /** + * @return boolean + * @author hxh + * @description 鐢ㄦ埛鏄惁鍙互鎻愮幇灏忛噾棰� + * @date 15:02 2022/4/8 + * @param: uid + * @param: maxNewerCount + * @param: date + **/ + public boolean canExtractLittleMoney(Long uid, int maxNewerCount, Date date); + + } -- Gitblit v1.8.0