| | |
| | | @RestController |
| | | @RequestMapping("battTestData") |
| | | @Api(tags = "在线监测-历史数据管理") |
| | | public class BattTestDataInf2Controller { |
| | | public class BattTestDataInf2Controller extends BaseController{ |
| | | |
| | | @Autowired |
| | | private BattTestDataInf2Service service; |
| | |
| | | return new Response<PageInfo<BatttestdataInf>>().set(1,page); |
| | | } |
| | | |
| | | @DeleteMapping |
| | | @PostMapping("delete") |
| | | @ApiOperation(value = "删除") |
| | | public Response<Boolean> delete(@RequestParam Integer num, |
| | | @RequestParam Integer battGroupId, |
| | | @RequestParam Integer testRecordCount, |
| | | @RequestParam Integer testType){ |
| | | boolean res = service.delete(num,battGroupId,testRecordCount,testType); |
| | | return new Response<Boolean>().set(1,res); |
| | | return new Response<Boolean>().setII(1,res,null,"删除成功"); |
| | | } |
| | | |
| | | } |