|
@@ -644,7 +644,7 @@ public class AppUserCountTask {
|
|
|
//查询是否有该时间段以外的开奖
|
|
|
int count = appGameBettingService.selectBettingCount(userId,beginDate,endDate);
|
|
|
//资产为0 则充值两倍流水条件设为已作废
|
|
|
- if(null != appUser && appUser.getDiamondCoin().doubleValue() < 1 && count < 1){
|
|
|
+ if(null != appUser && appUser.getDiamondCoin().doubleValue() <= 0 && count < 1){
|
|
|
//更新为已满足提现
|
|
|
// userChargeList.forEach(e->{
|
|
|
/*FinTranRecord updateTran = new FinTranRecord();
|
|
@@ -659,7 +659,7 @@ public class AppUserCountTask {
|
|
|
}else{
|
|
|
//查询本次充值到下次充值期间资产除去返佣后是否已归零
|
|
|
double amount = finTranRecordService.sumUserRechareTran(userId,beginDate,endDate);
|
|
|
- if(amount < 1 && count < 1){
|
|
|
+ if(amount <= 0 && count < 1){
|
|
|
/* FinTranRecord updateTran = new FinTranRecord();
|
|
|
updateTran.setId(tranRecord.getId());
|
|
|
updateTran.setWithdrawFlag(2);
|