|
@@ -178,6 +178,9 @@ public class AppUserCountDividendServiceImpl extends ServiceImpl<AppUserCountDiv
|
|
if(null == dividendList || dividendList.size() < 1){
|
|
if(null == dividendList || dividendList.size() < 1){
|
|
return HttpRet.fail("发放失败,不存在或已发放");
|
|
return HttpRet.fail("发放失败,不存在或已发放");
|
|
}
|
|
}
|
|
|
|
+ if(StringUtils.isNotBlank(userId) && dividendList.size() == 1 && dividendList.get(0).getDiamondCoin() < 1 && dividendList.get(0).getCoin() < 1){
|
|
|
|
+ return HttpRet.fail("发放失败,金额为0");
|
|
|
|
+ }
|
|
/*dividendList = dividendList.stream().filter(e->e.getStatus().intValue() == 0).collect(Collectors.toList());
|
|
/*dividendList = dividendList.stream().filter(e->e.getStatus().intValue() == 0).collect(Collectors.toList());
|
|
if(dividendList.size() < 1){
|
|
if(dividendList.size() < 1){
|
|
return HttpRet.fail("发放失败,不存在或已发放");
|
|
return HttpRet.fail("发放失败,不存在或已发放");
|