wks преди 1 година
родител
ревизия
9ee05aa4df
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/ydtech/modules/protocol/service/impl/PtlInsAttributionTemplateServiceImpl.java

+ 1 - 1
src/main/java/com/ydtech/modules/protocol/service/impl/PtlInsAttributionTemplateServiceImpl.java

@@ -169,7 +169,7 @@ public class PtlInsAttributionTemplateServiceImpl extends ServiceImpl<PtlInsAttr
                     .eq(PtlInsAttributionTemplate::getApiType, ptlInsAttributionTemplateVo.getApiType())
                     .one();
             AssertionUtils.isEmpty(ptlInsAttributionTemplate, "保险公司归属信息模板查询失败");
-            ptlAgreementAttribution = new PtlAgreementAttribution(ptlInsAttributionTemplateVo.getAgreementId(), ptlInsAttributionTemplate);
+            ptlAgreementAttribution = new PtlAgreementAttribution( ptlInsAttributionTemplate);
         }
         return HttpResult.ok(ptlAgreementAttribution);
     }