10号晚测完系统后代码

This commit is contained in:
hejinbo
2023-11-10 23:45:56 +08:00
parent f6b4d5aceb
commit dd856a7619
2 changed files with 6 additions and 5 deletions
@@ -1755,7 +1755,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
}
}
}
DeptIdentify deptIdentify1 = new DeptIdentify();
/*DeptIdentify deptIdentify1 = new DeptIdentify();
deptIdentify1.setSealStatus(1); // 印章状态为启用
//根据机构名称查询部门id
SysDept sysDept = new SysDept();
@@ -1772,8 +1772,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
String sealId = identify.getSealId();
sealIds.add(sealId);
}
}
EsignHttpResponse response3 = SignAward.createByFile(sealSignRecord, sealIds);
}*/
EsignHttpResponse response3 = SignAward.createByFile(sealSignRecord);
JSONObject jsonObject3 = JSONObject.parseObject(response3.getBody());
if (jsonObject3.getIntValue("code") == 0) {
//获取签署流程ID
@@ -147,7 +147,7 @@ public class SignAward {
* @return
* @throws EsignDemoException
*/
public static EsignHttpResponse createByFile(SealSignRecord sealSignRecord, List<String> sealIds) throws EsignDemoException {
public static EsignHttpResponse createByFile(SealSignRecord sealSignRecord) throws EsignDemoException {
String apiaddr = "/v3/sign-flow/create-by-file";
String fileId = sealSignRecord.getFileid();
@@ -167,6 +167,7 @@ public class SignAward {
String positionPageorg = sealSignRecord.getPositionPageorg();
double positionXorg = sealSignRecord.getPositionXorg();
double positionYorg = sealSignRecord.getPositionYorg();
String availableSealId = "209af82b-5f87-4e0a-b0d8-cc4923b6e652";
String jsonParm = "{\n" +
@@ -245,7 +246,7 @@ public class SignAward {
" \"freeMode\": false,\n" +
" \"availableSealIds\": [\n" +
" \"" + sealIds + "\"\n" +
" \"" + availableSealId + "\"\n" +
" ],\n" +