Bladeren bron

报价 修改 跟单费计算 应收- 手续费 = 跟单费

785834757 3 maanden geleden
bovenliggende
commit
e214144c5e

+ 2 - 1
tenant/insurance/quotation-summary/src/main/java/com/jzg/quotation/summary/aop/aspect/QuoteVerificationAspect.java

@@ -395,7 +395,8 @@ public class QuoteVerificationAspect {
         // 计算各类费用并设置到订单对象
         setPayable.accept(insFeeOrders, payable);
         BigDecimal commission = taxablePremium.multiply(commissionRatio).setScale(5, RoundingMode.HALF_EVEN);
-        BigDecimal follow = taxablePremium.multiply(followRatio).setScale(5, RoundingMode.HALF_EVEN);
+        // 修改 应收-手续费 = 跟单费
+        BigDecimal follow = payable.subtract(commission);
         setCommission.accept(insFeeOrders, commission);
         setFollow.accept(insFeeOrders, follow);
         // modify by lipf, 2026年6月16日15:35:09  加投比例,不需要根据平台/私有进行1.06的计算