| | |
| | | private FileParamService paramService; |
| | | |
| | | |
| | | @ApiOperation(value = "解析xml文件") |
| | | @ApiOperation(value = "解析xml文件(传参一个文件)") |
| | | @GetMapping("getXmlValue") |
| | | public Response getXmlValue(@RequestParam String filePath){ |
| | | return paramService.getXmlValue(filePath); |
| | | } |
| | | |
| | | @ApiOperation(value = "解析xml文件(传参一个文件夹)") |
| | | @GetMapping("getXmlValueByPath") |
| | | public Response getXmlValueByPath(@RequestParam String filePath){ |
| | | return paramService.getXmlValueByPath(filePath); |
| | | } |
| | | |
| | | @ApiOperation("通过修改属性窗口值来修改文件值(传参对象)") |
| | |
| | | } |
| | | return paramService.updateXmlByParamMap(map,filePath); |
| | | } |
| | | |
| | | @ApiOperation("对比时下拉选择站点下挂在的文件信息") |
| | | @GetMapping("selectFileInStation") |
| | | public Response selectFileInStation(){ |
| | | return service.selectFileInStation(); |
| | | } |
| | | |
| | | } |