Authored by chenchao

Merge branch 'test6.8.5' of http://git.yoho.cn/ufo/yohoufo-fore into test6.8.5

@@ -24,5 +24,7 @@ public class SellerWallet { @@ -24,5 +24,7 @@ public class SellerWallet {
24 private Integer createTime; 24 private Integer createTime;
25 25
26 private Integer updateTime; 26 private Integer updateTime;
  27 +
  28 + private BigDecimal allAmount;
27 29
28 } 30 }
@@ -704,6 +704,9 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { @@ -704,6 +704,9 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
704 logger.info("增加钱包明细汇总记录,bean={}", swd); 704 logger.info("增加钱包明细汇总记录,bean={}", swd);
705 sellerWalletDetailMapper.insert(swd); 705 sellerWalletDetailMapper.insert(swd);
706 logger.info("增加钱包明细汇总记录成功,bean={}", swd); 706 logger.info("增加钱包明细汇总记录成功,bean={}", swd);
  707 +
  708 + // 设置当前总金额
  709 + sw.setAllAmount(swd.getAvailAmount().add(swd.getLockAmount()));
707 return sw; 710 return sw;
708 } 711 }
709 712