...
|
...
|
@@ -165,6 +165,10 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
swd.setIsSet(1);
|
|
|
MerchantOrderAttachInfo att = new MerchantOrderAttachInfo();
|
|
|
att.setPayment(orderInfo.getPayment());
|
|
|
if (att != null) {
|
|
|
att.setType(SellerWalletDetail.Type.RE_CHARGE.getValue());
|
|
|
att.setTypeName(SellerWalletDetail.Type.RE_CHARGE.getName());
|
|
|
}
|
|
|
swd.setAttachValue(att==null?"":JSON.toJSONString(att));
|
|
|
logger.info("充值后,处理增加钱包明细,bean={}", swd);
|
|
|
sellerWalletDetailMapper.insert(swd);
|
...
|
...
|
@@ -573,6 +577,10 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
swd.setCreateTime(TimeUtils.getTimeStampSecond());
|
|
|
swd.setUpdateTime(0);
|
|
|
//////////////////////////
|
|
|
if (attach != null) {
|
|
|
attach.setType(type.getValue());
|
|
|
attach.setTypeName(type.getName());
|
|
|
}
|
|
|
swd.setAttachValue(attach==null?"":JSON.toJSONString(attach));
|
|
|
swd.setAvailAmount(availAmount == null ? beforeAvailAmount : beforeAvailAmount.add(availAmount));
|
|
|
swd.setLockAmount(lockAmount == null ? beforeLockAmount : beforeLockAmount.add(lockAmount));
|
...
|
...
|
|