Authored by Lixiaodi

钱包表空值处理

... ... @@ -473,6 +473,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
swd.setIsBatch(0);
swd.setCreateTime(TimeUtils.getTimeStampSecond());
swd.setUpdateTime(0);
swd.setAttachValue("");
swd.setAvailAmount(BigDecimal.ZERO);
swd.setLockAmount(BigDecimal.ZERO);
swd.setIsSet(1);
... ... @@ -494,6 +495,10 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
swd.setIsBatch(1);
swd.setCreateTime(TimeUtils.getTimeStampSecond());
swd.setUpdateTime(0);
swd.setAttachValue("");
swd.setAvailAmount(BigDecimal.ZERO);
swd.setLockAmount(BigDecimal.ZERO);
swd.setIsSet(0);
logger.info("增加保证金明细({}),bean={}", type.getName(), swd);
sellerWalletDetailMapper.insert(swd);
logger.info("增加保证金明细({}),bean={}", type.getName(), swd);
... ...