|
@@ -832,7 +832,7 @@ public class PurchaseContractServiceImpl implements PurchaseContractService {
|
|
|
contractSignInfo.setSingleSigner(signer);
|
|
|
List<ContractSeal> sealInfoList = new ArrayList<>();
|
|
|
ContractSeal companySeal = new ContractSeal();
|
|
|
- companySeal.setKeyword(ESignConstant.KEYWORD_COMPANY);
|
|
|
+ companySeal.setKeywords(Collections.singletonList(ESignConstant.KEYWORD_COMPANY));
|
|
|
companySeal.setSealIdType(ESignConstant.CRED_ORG_USCC);
|
|
|
companySeal.setSealName(enterprise.getName());
|
|
|
companySeal.setSealIdNo(enterprise.getCertNo());
|
|
@@ -895,12 +895,11 @@ public class PurchaseContractServiceImpl implements PurchaseContractService {
|
|
|
private List<ContractSeal> getContractSeals(SignPartyInfo signPartyInfo, String companySignKeyword,
|
|
|
String personalSignKeyword) {
|
|
|
boolean autoSign = CollUtil.isNotEmpty(contractConfigProperties.getESignSealIdMap())
|
|
|
- && contractConfigProperties.getESignSealIdMap()
|
|
|
- .containsKey(signPartyInfo.getEnterpriseCertNo());
|
|
|
+ && contractConfigProperties.getESignSealIdMap().containsKey(signPartyInfo.getEnterpriseCertNo());
|
|
|
List<ContractSeal> sealInfoList = new ArrayList<>();
|
|
|
ContractSeal companySeal = new ContractSeal();
|
|
|
companySeal.setAutoSign(autoSign);
|
|
|
- companySeal.setKeyword(companySignKeyword);
|
|
|
+ companySeal.setKeywords(Collections.singletonList(companySignKeyword));
|
|
|
companySeal.setSealIdType(ESignConstant.CRED_ORG_USCC);
|
|
|
companySeal.setSealName(signPartyInfo.getEnterpriseName());
|
|
|
companySeal.setSealIdNo(signPartyInfo.getEnterpriseCertNo());
|
|
@@ -915,7 +914,7 @@ public class PurchaseContractServiceImpl implements PurchaseContractService {
|
|
|
companySeal.setSigner(signer);
|
|
|
ContractSeal legalSeal = new ContractSeal();
|
|
|
legalSeal.setSigner(signer);
|
|
|
- legalSeal.setKeyword(personalSignKeyword);
|
|
|
+ legalSeal.setKeywords(Collections.singletonList(personalSignKeyword));
|
|
|
legalSeal.setWithTime(true);
|
|
|
sealInfoList.add(legalSeal);
|
|
|
}
|