fix 分账订单创建不全问题\调试

This commit is contained in:
DaxPay
2024-05-28 20:58:03 +08:00
parent 05b11fe495
commit a773c520d1
7 changed files with 60 additions and 45 deletions

View File

@@ -53,6 +53,8 @@ public class CashierService {
PayParam payParam = new PayParam();
payParam.setBizOrderNo(param.getBizOrderNo());
payParam.setAllocation(param.getAllocation());
// 如果为分账, 则设置为默认分账
payParam.setAutoAllocation(param.getAllocation());
int amount = param.getAmount()
.multiply(BigDecimal.valueOf(100))
.intValue();