5fe3bd99 by 李希虎

添加合同类型

1 parent 739c76ab
...@@ -49,8 +49,9 @@ public class CreateDzzz { ...@@ -49,8 +49,9 @@ public class CreateDzzz {
49 eli.setYwh(bdc.getYwh()); 49 eli.setYwh(bdc.getYwh());
50 eli.setZsbs(bdc.getId()); 50 eli.setZsbs(bdc.getId());
51 //模板参数入库 51 //模板参数入库
52 Map<String, String> map = new HashMap<String, String>();
53
52 if(bdc.getBdcqzh().contains("证明")){ 54 if(bdc.getBdcqzh().contains("证明")){
53 Map<String, Object> map = new HashMap<String, Object>();
54 map.put("ewm","imageBase64"); 55 map.put("ewm","imageBase64");
55 map.put("djsj",bdc.getDbsj()); 56 map.put("djsj",bdc.getDbsj());
56 map.put("bdczmh",bdc.getBdcqzh()); 57 map.put("bdczmh",bdc.getBdcqzh());
...@@ -63,8 +64,8 @@ public class CreateDzzz { ...@@ -63,8 +64,8 @@ public class CreateDzzz {
63 map.put("fj",bdc.getFj()); 64 map.put("fj",bdc.getFj());
64 String param = JsonUtil.toJsonString(map); 65 String param = JsonUtil.toJsonString(map);
65 eli.setDocumentParam(param); 66 eli.setDocumentParam(param);
67 eli.setHtlx("1");
66 }else{ 68 }else{
67 Map<String, Object> map = new HashMap<String, Object>();
68 map.put("ewm","imageBase64"); 69 map.put("ewm","imageBase64");
69 map.put("djsj",bdc.getDbsj()); 70 map.put("djsj",bdc.getDbsj());
70 map.put("bdczmh",bdc.getBdcqzh()); 71 map.put("bdczmh",bdc.getBdcqzh());
...@@ -83,6 +84,7 @@ public class CreateDzzz { ...@@ -83,6 +84,7 @@ public class CreateDzzz {
83 map.put("syqx",bdc.getSyqx()); 84 map.put("syqx",bdc.getSyqx());
84 String param = JsonUtil.toJsonString(map); 85 String param = JsonUtil.toJsonString(map);
85 eli.setDocumentParam(param); 86 eli.setDocumentParam(param);
87 eli.setHtlx("2");
86 } 88 }
87 if(licenseInfoDao.selectZsbs(bdc.getId()).size() == 0 ){ 89 if(licenseInfoDao.selectZsbs(bdc.getId()).size() == 0 ){
88 licenseInfoDao.insert(eli); 90 licenseInfoDao.insert(eli);
......