|
|
@@ -403,6 +403,7 @@ public class HlwPaymentDetailServiceImpl extends ServiceImpl<HlwPaymentDetailMap
|
|
|
for (HlwPaymentDetail hlwPaymentDetail : list) {
|
|
|
// 查询用户当日付款金额总和
|
|
|
Double currentUserDailyAmount = baseMapper.getCurrentUserDailyAmount(hlwPaymentDetail.getIdcardNumber());
|
|
|
+ currentUserDailyAmount = businessAccountUtils.add(currentUserDailyAmount, hlwPaymentDetail.getNetPayment());
|
|
|
// 比较double大小
|
|
|
BigDecimal data = BigDecimal.valueOf(currentUserDailyAmount);
|
|
|
if (bigDailyLimit.compareTo(data) == -1) {
|
|
|
@@ -419,6 +420,7 @@ public class HlwPaymentDetailServiceImpl extends ServiceImpl<HlwPaymentDetailMap
|
|
|
for (HlwPaymentDetail hlwPaymentDetail : list) {
|
|
|
// 查询用户当月付款金额总和
|
|
|
Double currentUserMonthlyAmount = baseMapper.getCurrentUserMonthlyAmount(hlwPaymentDetail.getIdcardNumber());
|
|
|
+ currentUserMonthlyAmount = businessAccountUtils.add(currentUserMonthlyAmount, hlwPaymentDetail.getNetPayment());
|
|
|
// 比较double大小
|
|
|
BigDecimal data = BigDecimal.valueOf(currentUserMonthlyAmount);
|
|
|
if (bigMonthlyLimit.compareTo(data) == -1) {
|