提交 b9bbd978 authored 作者: 胡宁宁's avatar 胡宁宁

平衡运费可以平衡为负数

上级 fc91bed9
...@@ -1048,7 +1048,7 @@ public class OrderChildServiceImpl implements OrderChildService { ...@@ -1048,7 +1048,7 @@ public class OrderChildServiceImpl implements OrderChildService {
* 平衡司机冻结保证金 * 平衡司机冻结保证金
*/ */
public void paymentChangePlatformFee(String childNo,BigDecimal changeDeposite){ public void paymentChangePlatformFee(String childNo,BigDecimal changeDeposite){
if(changeDeposite.compareTo(BigDecimal.ZERO) ==1){ if(changeDeposite.compareTo(BigDecimal.ZERO) !=0){
PayPlatformFeeParam payPlatformFeeParam = new PayPlatformFeeParam(); PayPlatformFeeParam payPlatformFeeParam = new PayPlatformFeeParam();
payPlatformFeeParam.setTradeNo(childNo); payPlatformFeeParam.setTradeNo(childNo);
payPlatformFeeParam.setFigure(changeDeposite.intValue()); payPlatformFeeParam.setFigure(changeDeposite.intValue());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论