1.代客下单 扫码支付记录不准确修复
This commit is contained in:
parent
09252dda7c
commit
50e0f09be8
|
|
@ -510,7 +510,7 @@ public class TbPayServiceImpl implements TbPayService {
|
||||||
flow.setBizName("余额支付");
|
flow.setBizName("余额支付");
|
||||||
flow.setType("-");
|
flow.setType("-");
|
||||||
flow.setAmount(payMount);
|
flow.setAmount(payMount);
|
||||||
flow.setBalance(user.getAmount());
|
flow.setBalance(user.getAmount().subtract(payMount));
|
||||||
flow.setCreateTime(DateUtil.date().toTimestamp());
|
flow.setCreateTime(DateUtil.date().toTimestamp());
|
||||||
flow.setIsReturn("0");
|
flow.setIsReturn("0");
|
||||||
shopUserFlowMapper.insert(flow);
|
shopUserFlowMapper.insert(flow);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue