Authored by Lixiaodi

钱包表空值处理

@@ -473,6 +473,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { @@ -473,6 +473,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
473 swd.setIsBatch(0); 473 swd.setIsBatch(0);
474 swd.setCreateTime(TimeUtils.getTimeStampSecond()); 474 swd.setCreateTime(TimeUtils.getTimeStampSecond());
475 swd.setUpdateTime(0); 475 swd.setUpdateTime(0);
  476 + swd.setAttachValue("");
476 swd.setAvailAmount(BigDecimal.ZERO); 477 swd.setAvailAmount(BigDecimal.ZERO);
477 swd.setLockAmount(BigDecimal.ZERO); 478 swd.setLockAmount(BigDecimal.ZERO);
478 swd.setIsSet(1); 479 swd.setIsSet(1);
@@ -494,6 +495,10 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { @@ -494,6 +495,10 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
494 swd.setIsBatch(1); 495 swd.setIsBatch(1);
495 swd.setCreateTime(TimeUtils.getTimeStampSecond()); 496 swd.setCreateTime(TimeUtils.getTimeStampSecond());
496 swd.setUpdateTime(0); 497 swd.setUpdateTime(0);
  498 + swd.setAttachValue("");
  499 + swd.setAvailAmount(BigDecimal.ZERO);
  500 + swd.setLockAmount(BigDecimal.ZERO);
  501 + swd.setIsSet(0);
497 logger.info("增加保证金明细({}),bean={}", type.getName(), swd); 502 logger.info("增加保证金明细({}),bean={}", type.getName(), swd);
498 sellerWalletDetailMapper.insert(swd); 503 sellerWalletDetailMapper.insert(swd);
499 logger.info("增加保证金明细({}),bean={}", type.getName(), swd); 504 logger.info("增加保证金明细({}),bean={}", type.getName(), swd);