|
|
@@ -387,7 +387,8 @@ public class StoreIncomeDetailsRecordServiceImpl extends ServiceImpl<StoreIncome
|
|
|
//当前时间-3天大于创建时间
|
|
|
wrapper.between(StoreIncomeDetailsRecord::getCreatedTime, DateUtils.calcDays(new Date(), -27), DateUtils.calcDays(new Date(), -4))
|
|
|
//未绑定提现记录的
|
|
|
- .isNull(StoreIncomeDetailsRecord::getCashOutId);
|
|
|
+ .isNull(StoreIncomeDetailsRecord::getCashOutId)
|
|
|
+ .eq(StoreIncomeDetailsRecord::getStoreId, storeId);
|
|
|
List<StoreIncomeDetailsRecord> list = this.list(wrapper);
|
|
|
int cashOutMoney = 0;
|
|
|
cashOutMoney += list.stream().mapToInt(StoreIncomeDetailsRecord::getMoney).sum();
|