소스 검색

协议修改

wks 1 년 전
부모
커밋
64cb4a9951
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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();