Qchen 2 éve
szülő
commit
35f7a0326c

+ 2 - 2
src/main/java/com/ydtech/modules/inv/service/impl/InvReceivableServiceImpl.java

@@ -678,7 +678,7 @@ public class InvReceivableServiceImpl implements InvReceivableService {
 
 
         //选择类型为含税类型时 应收金额 = 含税保费 * 应收比例
-        if (invSource.getInvSourceType().equals("inclusive")) {
+        if (invSource.getInvSourceType().equals("platform")) {
             //处理应收金额
             invSource.setReceivable(invSource.getJqPremiumTax().multiply(invSource.getJqReceivableRatio())
                     .add(invSource.getSyPremiumTax().multiply(invSource.getSyReceivableRatio())
@@ -689,7 +689,7 @@ public class InvReceivableServiceImpl implements InvReceivableService {
         }
 
         //选择类型为不含税类型时 应收金额 = (不含税保费 * 手续费)+ (不含税保费 * 非跟单比例)
-        if (invSource.getInvSourceType().equals("exclusive")) {
+        if (invSource.getInvSourceType().equals("privately")) {
             //应收金额
             invSource.setReceivable(invSource.getPremium().add(invSource.getNonCopying()));