|
|
@@ -542,11 +542,17 @@ public class ContractUtil {
|
|
|
dto.setCompanySignerId(hwElectronicContract.getFirstPartyAccountId());
|
|
|
//是否自动归档 1-自动归档,2-不自动归档,默认 1- 自动归档(合同结束)
|
|
|
dto.setAutoArchive(1);
|
|
|
- //定位方式(1-关键字 /2-坐标) 针对企业自动签署,采用关键字定位
|
|
|
+ //定位方式(1-关键字 /2-坐标) 针对企业自动签署,采用坐标定位
|
|
|
dto.setLocateMethod(2);
|
|
|
- //关键字
|
|
|
+ /**
|
|
|
+ * 关键字
|
|
|
+ */
|
|
|
// dto.setLocateKey("甲方(盖章)");
|
|
|
- //坐标
|
|
|
+// //关键字策略 0:所有关键字签章 (默认); 1:第一个关键字签章 ; 2:最后一个关键字签章;
|
|
|
+// dto.setKeywordStrategy(2);
|
|
|
+ /**
|
|
|
+ * 坐标
|
|
|
+ */
|
|
|
/**
|
|
|
* 查询模板控件
|
|
|
*/
|
|
|
@@ -584,7 +590,6 @@ public class ContractUtil {
|
|
|
list.add(searchLocationDTO);
|
|
|
dto.setLocateCoordinates(list);
|
|
|
}
|
|
|
- dto.setKeywordStrategy(2);
|
|
|
//交易号 保证唯一性,最大 32 位
|
|
|
String transactionNo = getTransactionNo(hwElectronicContract.getSecondPartyAccountId());
|
|
|
dto.setTransactionNo(transactionNo);
|