|
@@ -77,6 +77,7 @@ public class ESignContractServiceImpl implements SignPlatformService, SignAccoun
|
|
@Transactional
|
|
@Transactional
|
|
public ContractSignOutput signContract(ContractSignInput signInput) {
|
|
public ContractSignOutput signContract(ContractSignInput signInput) {
|
|
log.info("进入E签宝合同签署流程,业务场景:{},签署失效时长:{}hour", signInput.getBizScene(), signInput.getSignValidTime());
|
|
log.info("进入E签宝合同签署流程,业务场景:{},签署失效时长:{}hour", signInput.getBizScene(), signInput.getSignValidTime());
|
|
|
|
+ ESignTokenHelper.getTokenData();
|
|
ContractSignOutput output = new ContractSignOutput();
|
|
ContractSignOutput output = new ContractSignOutput();
|
|
// 获取e签宝账号信息: 先统一创建账号,有任意创建失败则fail fast
|
|
// 获取e签宝账号信息: 先统一创建账号,有任意创建失败则fail fast
|
|
Map<String, String> accountMap = getAccountMap(signInput.getSigneInfoList());
|
|
Map<String, String> accountMap = getAccountMap(signInput.getSigneInfoList());
|
|
@@ -255,7 +256,6 @@ public class ESignContractServiceImpl implements SignPlatformService, SignAccoun
|
|
boolean autoArchive = null == signInput.getAutoArchive() || signInput.getAutoArchive();// 是否自动归档, 默认true
|
|
boolean autoArchive = null == signInput.getAutoArchive() || signInput.getAutoArchive();// 是否自动归档, 默认true
|
|
ESignContractProcess process = new ESignContractProcess(autoArchive, signInput.getBizScene(), null, null,
|
|
ESignContractProcess process = new ESignContractProcess(autoArchive, signInput.getBizScene(), null, null,
|
|
signValidityDate.toInstant(ZoneOffset.of("+8")).toEpochMilli(), null, null, configInfo);
|
|
signValidityDate.toInstant(ZoneOffset.of("+8")).toEpochMilli(), null, null, configInfo);
|
|
- ESignTokenHelper.getTokenData();
|
|
|
|
String flowId = ESignRequest.creatESignFlow(process);
|
|
String flowId = ESignRequest.creatESignFlow(process);
|
|
ESignFlow esignFlow = ESignFlow.builder().bizSysId(signInput.getBizSysId()).flowId(flowId)
|
|
ESignFlow esignFlow = ESignFlow.builder().bizSysId(signInput.getBizSysId()).flowId(flowId)
|
|
.scene(signInput.getBizScene()).expiredTime(signValidityDate).bizType(signInput.getBizType())
|
|
.scene(signInput.getBizScene()).expiredTime(signValidityDate).bizType(signInput.getBizType())
|