|
@@ -644,7 +644,7 @@ public class AppUserCountTask {
|
|
|
|
|
|
int count = appGameBettingService.selectBettingCount(userId,beginDate,endDate);
|
|
|
|
|
|
- if(null != appUser && appUser.getDiamondCoin().doubleValue() < 1 && count < 1){
|
|
|
+ if(null != appUser && appUser.getDiamondCoin().doubleValue() <= 0 && count < 1){
|
|
|
|
|
|
|
|
|
|
|
@@ -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){
|
|
|
|
|
|
updateTran.setId(tranRecord.getId());
|
|
|
updateTran.setWithdrawFlag(2);
|