|
@@ -82,6 +82,22 @@ public class EsignSignServiceImpl implements IEsignSignService {
|
|
|
JSONObject jsonObject = eSignHttpUtil.doPutGetJson(ESignUrl.ProcessStartUrl, json,flowId);
|
|
JSONObject jsonObject = eSignHttpUtil.doPutGetJson(ESignUrl.ProcessStartUrl, json,flowId);
|
|
|
return jsonObject.toJSONString();
|
|
return jsonObject.toJSONString();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @description: 设置静默签署
|
|
|
|
|
+ * @param: [accountId]
|
|
|
|
|
+ * @return: java.lang.String
|
|
|
|
|
+ * @author: qxm
|
|
|
|
|
+ * @date: 2020/10/29 17:18
|
|
|
|
|
+ */
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public String signAuth(String accountId) {
|
|
|
|
|
+ JSONObject json = new JSONObject();
|
|
|
|
|
+// json.put("flowId", flowId);
|
|
|
|
|
+ JSONObject jsonObject = eSignHttpUtil.doPostGetJson(ESignUrl.signAuthUrl, json,accountId);
|
|
|
|
|
+ return jsonObject.toJSONString();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @description: 查询签署人列表
|
|
* @description: 查询签署人列表
|
|
|
* @param: [flowId]
|
|
* @param: [flowId]
|
|
@@ -225,13 +241,13 @@ public class EsignSignServiceImpl implements IEsignSignService {
|
|
|
// 签署方信息
|
|
// 签署方信息
|
|
|
// 平台方
|
|
// 平台方
|
|
|
PosBeanInfo posBean1 = new PosBeanInfo("1", posX, posY); // 签署位置
|
|
PosBeanInfo posBean1 = new PosBeanInfo("1", posX, posY); // 签署位置
|
|
|
- SignfieldInfo signfield1 = new SignfieldInfo(true,"2", fileId, null, null, null, posBean1, null); // 签署区(签署主体是公司)
|
|
|
|
|
|
|
+ SignfieldInfo signfield1 = new SignfieldInfo(true, fileId, null, null, null, posBean1, null); // 签署区(签署主体是公司)
|
|
|
// SignfieldInfo signfield1 = new SignfieldInfo(false, fileId, null, null, null, posBean1, null); // 签署区(个人签署)
|
|
// SignfieldInfo signfield1 = new SignfieldInfo(false, fileId, null, null, null, posBean1, null); // 签署区(个人签署)
|
|
|
List<SignfieldInfo> signfields = new ArrayList<>();
|
|
List<SignfieldInfo> signfields = new ArrayList<>();
|
|
|
signfields.add(signfield1);
|
|
signfields.add(signfield1);
|
|
|
// SignerAccount signAccount = new SignerAccount(signerAccountId, signerAccountId);//签署方账号
|
|
// SignerAccount signAccount = new SignerAccount(signerAccountId, signerAccountId);//签署方账号
|
|
|
- SignerAccount signAccount = new SignerAccount(signerAccountId, authorizedAccountId);//签署方账号
|
|
|
|
|
- Signer signer1 = new Signer(true, 1, signAccount, signfields, null); // 签署方
|
|
|
|
|
|
|
+ SignerAccount signAccount = new SignerAccount(authorizedAccountId);//签署方账号
|
|
|
|
|
+ Signer signer1 = new Signer(false, 1, signAccount, signfields, null); // 签署方
|
|
|
// 用户方
|
|
// 用户方
|
|
|
// PosBeanInfo posBean2 = new PosBeanInfo("1", 200F, 100F); // 签署位置
|
|
// PosBeanInfo posBean2 = new PosBeanInfo("1", 200F, 100F); // 签署位置
|
|
|
// SignfieldInfo signfield2 = new SignfieldInfo(false, null, fileId, null, null, null, posBean2, null); // 签署区
|
|
// SignfieldInfo signfield2 = new SignfieldInfo(false, null, fileId, null, null, null, posBean2, null); // 签署区
|