Bladeren bron

协议修改

wks 1 jaar geleden
bovenliggende
commit
64cb4a9951
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/main/java/com/ydtech/modules/protocol/entity/po/PtlAgreementAttribution.java

+ 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();