mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-09 22:09:05 +00:00
fix 分账订单创建不全问题\调试
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user