Revert "Revert "货款提成0的显示0%""
This reverts commit cbb3821f.
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -76,7 +76,7 @@ public final class SellerOrderConvertor { | @@ -76,7 +76,7 @@ public final class SellerOrderConvertor { | ||
76 | String payPercent = (feeRateExists = (serviceFeeRate=computeResult.getServiceFeeRate()) != null) ? serviceFeeRate.getPayChannelPercent() : ""; | 76 | String payPercent = (feeRateExists = (serviceFeeRate=computeResult.getServiceFeeRate()) != null) ? serviceFeeRate.getPayChannelPercent() : ""; |
77 | BigDecimal goodsPaymentRate; | 77 | BigDecimal goodsPaymentRate; |
78 | String goodsPaymentRatePercent = ""; | 78 | String goodsPaymentRatePercent = ""; |
79 | - if (feeRateExists && (goodsPaymentRate=serviceFeeRate.getGoodsPaymentRate()) != null && goodsPaymentRate.compareTo(BigDecimal.ZERO) > 0){ | 79 | + if (feeRateExists && (goodsPaymentRate=serviceFeeRate.getGoodsPaymentRate()) != null && goodsPaymentRate.compareTo(BigDecimal.ZERO) >= 0){ |
80 | goodsPaymentRatePercent = MathUtils.convert2Percent(goodsPaymentRate); | 80 | goodsPaymentRatePercent = MathUtils.convert2Percent(goodsPaymentRate); |
81 | }else{ | 81 | }else{ |
82 | Map<String,String> tipsConfig = tipsConfigSupplier.get(); | 82 | Map<String,String> tipsConfig = tipsConfigSupplier.get(); |
-
Please register or login to post a comment