...
|
...
|
@@ -708,6 +708,7 @@ public class PaymentServiceImpl implements IPaymentService { |
|
|
record.setPayType(payType);// 1:支付宝; 2:微信
|
|
|
record.setTradeType(2);//1:保证金;2:货款;3:补偿款
|
|
|
record.setIncomeOutcome(2);// 1:用户收入; 2:用户支出
|
|
|
record.setAmount(amount);
|
|
|
try {
|
|
|
JSONObject metavalue = JSON.parseObject(meta.getMetaValue());
|
|
|
BigDecimal rate = metavalue.getJSONObject("serviceFeeRate").getBigDecimal("payChannelRate");
|
...
|
...
|
@@ -716,7 +717,7 @@ public class PaymentServiceImpl implements IPaymentService { |
|
|
logger.error("PayRecordErr计费信息不完整, uid is {}, skup is {}, err is {}", uid, skup, e.getMessage());
|
|
|
return;
|
|
|
}
|
|
|
record.setAmount(amount);
|
|
|
|
|
|
record.setSystemAmount(amount);// 有货收入
|
|
|
record.setTradeStatus(100);
|
|
|
record.setCreateTime((int) (System.currentTimeMillis() / 1000));
|
...
|
...
|
|