| | |
| | | } |
| | | |
| | | String guid = fmeService.calcArea(sjfl, id, wjlj); |
| | | if (StringUtils.isEmpty(guid)) { |
| | | ids.add(guid); |
| | | if (!StringUtils.isEmpty(guid)) { |
| | | ids.add(map.get("id").toString()); |
| | | rows++; |
| | | } |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | System.out.println(StringHelper.join(ids, ",")); |
| | | log.info(StringHelper.join(ids, ",")); |
| | | } |
| | | |
| | | return String.format("共处理了 %d 条记录", rows); |
| | |
| | | # 下载目录 |
| | | download: D:\LF\download |
| | | # 上传目录 |
| | | upload: E:\TaiRui\LF\upload |
| | | upload: D:\LF\upload |
| | | # 临时目录 |
| | | temp: D:\LF\temp |
| | | # 上传附件表 |
| | |
| | | <select id="selectMetaByType" resultType="java.util.Map"> |
| | | (select a.id, a.path, 'DOM' type from lf.sys_meta a |
| | | inner join lf.sys_dir b on a.dircode = b.code |
| | | where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '数字正射影像图' limit 1) |
| | | where a.area is null and a.type in ('img', 'tif', 'tiff') and b.name = '数字正射影像图') |
| | | union all |
| | | (select a.id, a.path, 'DEM' type from lf.sys_meta a |
| | | inner join lf.sys_dir b on a.dircode = b.code |
| | | where a.area is null and a.type in ('dem', 'tif', 'tiff') and b.name = '数字高程模型' limit 1) |
| | | where a.area is null and a.type in ('dem', 'tif', 'tiff') and b.name = '数字高程模型') |
| | | union all |
| | | (select id, path, 'OSGB' type from lf.sys_meta where area is null and type = 'osgb' limit 1) |
| | | (select id, path, 'OSGB' type from lf.sys_meta where area is null and type = 'osgb') |
| | | union all |
| | | (select id, path, 'LAS' type from lf.sys_meta where area is null and type = 'las' or type = 'laz' limit 1) |
| | | (select id, path, 'LAS' type from lf.sys_meta where area is null and (type = 'las' or type = 'laz')) |
| | | union all |
| | | (select id, path, 'IFC' type from lf.sys_meta where area is null and type = 'ifc' limit 1) |
| | | (select id, path, 'IFC' type from lf.sys_meta where area is null and type = 'ifc') |
| | | union all |
| | | (select id, path, 'FBX' type from lf.sys_meta where area is null and type = 'fbx' limit 1) |
| | | (select id, path, 'FBX' type from lf.sys_meta where area is null and type = 'fbx') |
| | | </select> |
| | | </mapper> |