| | |
| | | --delete from lf.sys_meta where name='勘探点地层表.xlsx'; |
| | | select * from lf.sys_meta where |
| | | type = 'tif' or type = 'tiff' or lower(name) in ('平面图索引文件.xlsx', '穿跨越地形图.dwg', '中线成果表.xlsx', '离散点.xlsx', '控制点.xlsx', '地面线.xlsx') |
| | | |
| | | |
| | | select * from lf.sys_apply order by id desc; |
| | | select * from lf.sys_flow order by id desc; |
| | | select * from lf.sys_meta where id in (1411, 1412, 8, 2140); |
| | | select * from lf.sys_meta order by id; |
| | | |
| | | |
| | | |
| | |
| | | ZipFile zip = Zip4jHelper.createZipFile(zipFile, pwd); |
| | | ZipParameters params = Zip4jHelper.getZipParams(true); |
| | | addMetaFiles(zip, params, list); |
| | | zip.addFolder(new File(gdbPath), params); |
| | | addAnnex(zip, params, annexMap); |
| | | if (dataMap.size() > 0) { |
| | | zip.addFolder(new File(gdbPath), params); |
| | | addAnnex(zip, params, annexMap); |
| | | } |
| | | |
| | | String dbPwd = Md5Helper.reverse(Md5Helper.generate(pwd)); |
| | | DownloadEntity de = getDownloadEntity(ue, zipFile, dbPwd); |
| | |
| | | private void queryData(Map<String, List<String>> tabs, Map<String, List<?>> dataMap, Map<String, List<AttachEntity>> annexMap) { |
| | | for (String tab : tabs.keySet()) { |
| | | try { |
| | | String entity = tab.split(StaticData.POINT)[1].replace("_", ""); |
| | | String entity = tab.toLowerCase().replace("_", "").split("\\.")[1]; //tab.split(StaticData.POINT)[1].replace("_", ""); |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(entity); |
| | | if (null == baseMapper) { |
| | | continue; |