whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/BattRealdataController.java
@@ -16,7 +16,7 @@
@Api(tags = "在线监测-实时监控")
@RestController
@RequestMapping("Batt_realdataAction")
public class BattRealdataController {
public class BattRealdataController extends BaseController{
    @Autowired
    private BattRealdataService service;
@@ -34,8 +34,20 @@
    @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(@RequestPart MultipartFile file) throws IOException {
        return service.aBEParse(file);
    }
    @ApiOperation(value = "FBO4815实时页面需要前一百比历史实时数据")
    @GetMapping("serchDate100")
    public Response serchDate100(@RequestParam int battGroupId) {
        return service.serchDate100(battGroupId);
    }
}