| | |
| | | protected FmeService fmeService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询图面整饰检查") |
| | | @GetMapping(value = "/selectCheckDecorate") |
| | | public ResponseMsg<Object> selectCheckDecorate(HttpServletRequest req) { |
| | | try { |
| | | FmeReqEntity fme = new FmeReqEntity(); |
| | | fme.name = StringHelper.getGuid(); |
| | | fme.xmmc = "西气东输四线天然气管道工程(吐鲁番-中卫)(00116BT02)"; |
| | | fme.zipPath = "D:\\Project\\Data\\LF\\temp\\20230106135746\\图面整饰检查.zip"; |
| | | fme.xlsList = "D:\\Project\\Data\\LF\\temp\\20230106135746\\文件清单.xlsx"; |
| | | |
| | | String rs = fmeService.checkDecorate(fme, req); |
| | | if (StringHelper.isEmpty(rs)) { |
| | | return fail("检查失败"); |
| | | } |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询原点检查") |
| | | @GetMapping(value = "/selectCheckOrigin") |
| | | public ResponseMsg<Object> selectCheckOrigin(HttpServletRequest req) { |
| | | try { |
| | | FmeReqEntity fme = new FmeReqEntity(); |
| | | fme.name = StringHelper.getGuid(); |
| | | fme.xmmc = "西气东输四线天然气管道工程(吐鲁番-中卫)(00116BT02)"; |
| | | fme.zipPath = "D:\\Project\\Data\\LF\\temp\\20230106135746\\原点检查.zip"; |
| | | |
| | | String rs = fmeService.checkOrigin(fme, req); |
| | | if (StringHelper.isEmpty(rs)) { |
| | | return fail("检查失败"); |
| | | } |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询栅格检查") |
| | | @GetMapping(value = "/selectCheckDom") |
| | | public ResponseMsg<Object> selectCheckDom(HttpServletRequest req) { |