b2a21756 by 荆蔚杰

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

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