| | |
| | | |
| | | select * from lf.sys_dir; |
| | | select * from lf.sys_meta_new; |
| | | insert into lf.sys_meta_new (name,dirid) value ('项目WBS导出.xlsx',57); |
| | | insert into lf.sys_meta_new (name,dirid) value ('00116BT02-CR001#ESV-DW-0001 封面.pdf',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('00116BT02-CR001#ESV-DW-0001(大河沿河穿越地形图).pdf',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('00116BT02-CR001#ESV-IN-0001(资料图纸目录).pdf',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('1类.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) value ('2类.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) value ('易燃易爆.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) value ('',63); |
| | | insert into lf.sys_meta_new (name,dirid) values ('项目WBS导出.xlsx',57); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-DW-0101 封面.docx',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-DW-0101(大河沿河穿越地形图)0.dwg',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-DW-0101(大河沿河穿越地形图)0.dwl',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-DW-0101(大河沿河穿越地形图)0.dwl2',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-DW-0101(大河沿河穿越纵断面图)0.dwg',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('00116BT02-CR001#ESV-IN-0101(资料图纸目录).doc',62); |
| | | insert into lf.sys_meta_new (name,dirid) values ('1类.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) values ('2类.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) values ('易燃易爆.gdb.zip',74); |
| | | insert into lf.sys_meta_new (name,dirid) values ('地面线.xlsx',64); |
| | | insert into lf.sys_meta_new (name,dirid) values ('控制点.xlsx',64); |
| | | insert into lf.sys_meta_new (name,dirid) values ('离散点.xlsx',64); |
| | | insert into lf.sys_meta_new (name,dirid) values ('平面图索引文件.xlsx',64); |
| | | insert into lf.sys_meta_new (name,dirid) values ('中线成果表.xlsx',64); |
| | | |
| | | update lf.sys_meta_new set depid=1,type='file',path='2\'||name,sizes=1; |
| | | |
| | | |
| | | |
| | |
| | | protected FmeService fmeService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询栅格检查") |
| | | @GetMapping(value = "/selectCheckDom") |
| | | public ResponseMsg<Object> selectCheckDom(HttpServletRequest req) { |
| | | try { |
| | | FmeReqEntity fme = new FmeReqEntity(); |
| | | fme.name = StringHelper.getGuid(); |
| | | fme.xmmc = "西气东输四线天然气管道工程(吐鲁番-中卫)(00116BT02)"; |
| | | fme.sjzy = "测量专业"; |
| | | fme.zipPath = "D:\\Project\\Data\\LF\\temp\\20230106135746\\栅格检查.zip"; |
| | | fme.coordinateSystem = "CGCS2000/GK3d-93E_FME"; |
| | | fme.imgResolution = 0.2; |
| | | |
| | | String rs = fmeService.checkDom(fme, req); |
| | | if (StringHelper.isEmpty(rs)) { |
| | | return fail("检查失败"); |
| | | } |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询数学基础检查") |
| | | @GetMapping(value = "/selectCheckMath") |
| | | public ResponseMsg<Object> selectCheckMath(HttpServletRequest req) { |
| | |
| | | * 地灾数据类型:崩塌治理 | 不稳定斜坡治理 | 地面塌陷治理 | 高陡边坡治理 | 泥石流治理 | 水毁治理 | 滑坡治理 | NO |
| | | */ |
| | | public String diZaiType; |
| | | |
| | | /** |
| | | * 坐标系:EPSG:4326 |
| | | */ |
| | | public String coordinateSystem; |
| | | |
| | | /** |
| | | * 影像分辨率(默认0.2m) |
| | | */ |
| | | public double imgResolution = 0.2; |
| | | } |
| | |
| | | /** |
| | | * 1.OSGB检查:.osgb + *倾斜摄影*.xls/.xlsx |
| | | */ |
| | | public void checkOsgb(String path) { |
| | | public void checkOsgb(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 2.表格数据检查:.xls/.xlsx(排除元数据) |
| | | */ |
| | | public void checkXls() { |
| | | public void checkXls(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 3.点云检查:.laz + *激光点云*.xls/.xlsx |
| | | */ |
| | | public void checkLaz() { |
| | | public void checkLaz(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 4.高程检查:.tif/.prj/.tfw/.tif.ovr + *地形图*.dwg |
| | | */ |
| | | public void checkDem() { |
| | | public void checkDem(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 5.属性检查:*dlg*.gdb + *地形图*.dwg |
| | | */ |
| | | public void checkAttrs() { |
| | | public void checkAttrs(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 6.拓扑检查:*地形图*.dwg |
| | | */ |
| | | public void checkTopology() { |
| | | public void checkTopology(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 7.图面整饰检查:.dwg |
| | | */ |
| | | public void checkDecorate() { |
| | | public void checkDecorate(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 8.原点检查:*剖面图*.dwg |
| | | */ |
| | | public void checkOrigin() { |
| | | public void checkOrigin(FmeReqEntity fme, HttpServletRequest req) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 9.栅格检查:.tif/.prj/.tfw/.tif.ovr + .xls/.xlsx |
| | | */ |
| | | public void checkDom() { |
| | | public String checkDom(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A7成果质检_栅格检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("SJZY", fme.sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_CoordinateSystem", fme.coordinateSystem)); |
| | | list.add(new NameValueEntity("DMYX_FBL", fme.imgResolution)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | |
| | | List<NameValueEntity> list = new ArrayList<>(); |
| | | list.add(new NameValueEntity("_name", guid)); |
| | | list.add(new NameValueEntity("_priority", 100)); |
| | | list.add(new NameValueEntity("_terminate_on_error", true)); |
| | | list.add(new NameValueEntity("_terminate_on_error", false)); |
| | | list.add(new NameValueEntity("IID", "")); |
| | | list.add(new NameValueEntity("FANOUT_DIR", "$(OrgResultStorage)")); |
| | | list.add(new NameValueEntity("IID_JL", "$(OrgUserStorage)\\质检配置文件\\IID记录表.xlsx")); |