| | |
| | | @Api(tags = "在线监测-实时监控") |
| | | @RestController |
| | | @RequestMapping("Batt_realdataAction") |
| | | public class BattRealdataController { |
| | | public class BattRealdataController extends BaseController{ |
| | | @Autowired |
| | | private BattRealdataService service; |
| | | |
| | |
| | | |
| | | @ApiOperation("excel解析") |
| | | @PostMapping("excelParse") |
| | | public Response excelParse(@RequestParam MultipartFile file) throws IOException, InvalidFormatException { |
| | | public Response excelParse(@RequestPart MultipartFile file) throws IOException, InvalidFormatException { |
| | | return service.excelParse(file); |
| | | } |
| | | |
| | | @ApiOperation("ABE文件解析") |
| | | @PostMapping("ABEParse") |
| | | public Response aBEParse(@RequestParam MultipartFile file) throws IOException { |
| | | public Response aBEParse(@RequestPart MultipartFile file) throws IOException { |
| | | return service.aBEParse(file); |
| | | } |
| | | |
| | |
| | | public Response serchDate100(@RequestParam int battGroupId) { |
| | | return service.serchDate100(battGroupId); |
| | | } |
| | | |
| | | } |