| | |
| | | import com.lf.server.entity.data.VerEntity; |
| | | import com.lf.server.entity.sys.DepEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.all.BaseUploadService; |
| | | import com.lf.server.service.data.DirService; |
| | | import com.lf.server.service.data.FmeService; |
| | | import com.lf.server.service.data.MetaService; |
| | | import com.lf.server.service.data.VerService; |
| | | import com.lf.server.service.sys.DepService; |
| | |
| | | |
| | | @Autowired |
| | | MetaService metaService; |
| | | |
| | | @Autowired |
| | | FmeService fmeService; |
| | | |
| | | @Autowired |
| | | protected TokenService tokenService; |
| | |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询数据有效性") |
| | | @GetMapping(value = "/selectDataValid") |
| | | public ResponseMsg<Object> selectDataValid(HttpServletRequest req) { |
| | | try { |
| | | String taskGuid = StringHelper.getGuid(); |
| | | String xmmc = "西气东输四线天然气管道工程(吐鲁番-中卫)(00116BT02)"; |
| | | // 测量专业|勘察专业|地灾专业|洞库专业 |
| | | String sjzy = "测量专业"; |
| | | String filePath = "D:\\Project\\Data\\LF\\temp\\20230106135746\\数学基础检查.zip"; |
| | | |
| | | String rs = fmeService.checkMath(taskGuid, xmmc, sjzy, filePath, req); |
| | | if (StringHelper.isEmpty(rs)) { |
| | | return fail("检查失败"); |
| | | } |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |