b2a21756 by 荆蔚杰

电子证照创建合同接口批量单一改造

1 parent 3e917084
...@@ -71,9 +71,9 @@ public class CreateContractRest { ...@@ -71,9 +71,9 @@ public class CreateContractRest {
71 // TODO: 2022/2/14/0014 获取模板参数json字符串,处理方式待定 71 // TODO: 2022/2/14/0014 获取模板参数json字符串,处理方式待定
72 String bdcqzsTemplateStr = waitForCreateContract.getDocumentParam(); 72 String bdcqzsTemplateStr = waitForCreateContract.getDocumentParam();
73 BdcqzsTemplate bdcqzsTemplate = JsonUtil.fromJson(bdcqzsTemplateStr, BdcqzsTemplate.class); 73 BdcqzsTemplate bdcqzsTemplate = JsonUtil.fromJson(bdcqzsTemplateStr, BdcqzsTemplate.class);
74 List<BdcqzsTemplate> templates = new ArrayList(){{ 74 List<BdcqzsTemplate> templates = new ArrayList<>();
75 add(bdcqzsTemplate); 75 templates.add(bdcqzsTemplate);
76 }}; 76
77 request.setDocumentParams(templates); 77 request.setDocumentParams(templates);
78 78
79 //提交参数入库 79 //提交参数入库
......