Merge remote-tracking branch 'origin/master'

pull/6/head
perry 2023-05-31 00:11:19 +08:00
commit 0dfbe4a2d4
1 changed files with 1 additions and 2 deletions

View File

@ -1393,8 +1393,7 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
if (StringUtils.equals("SUCCESS", result.getTradeState())) {
String outTradeNo = result.getOutTradeNo();
// 用户支付金额
Integer payerTotal1 = result.getAmount().getPayerTotal();
BigDecimal payerTotal = new BigDecimal(result.getAmount().getPayerTotal()).multiply(new BigDecimal("100"));
BigDecimal payerTotal = NumberUtil.div(result.getAmount().getPayerTotal() + "", "100", 2);
// 处理相关逻辑
if (outTradeNo.contains("MEMBER_")) {
log.info("WXPAY====会员===>");