wks 1 år sedan
förälder
incheckning
64cb4a9951

+ 2 - 2
src/main/java/com/ydtech/modules/protocol/entity/po/PtlAgreementAttribution.java

@@ -87,8 +87,8 @@ public class PtlAgreementAttribution implements Serializable {
         this.password = ptlAgreementAttributionDto.getPassword();
     }
 
-    public PtlAgreementAttribution(String agreementId, PtlInsAttributionTemplate ptlInsAttributionTemplate) {
-        this.id = agreementId;
+    public PtlAgreementAttribution(PtlInsAttributionTemplate ptlInsAttributionTemplate) {
+        this.id = ptlInsAttributionTemplate.getId();
         this.insCompanyId = ptlInsAttributionTemplate.getInsCompanyId();
         this.insCompanyName = ptlInsAttributionTemplate.getInsCompanyName();
         this.templateId = ptlInsAttributionTemplate.getId();