| | |
| | | /* |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.ReportBattDTO; |
| | |
| | | |
| | | @RestController |
| | | @Api(tags = "电池组充放电记录") |
| | | @RequestMapping("tinf") |
| | | @RequestMapping("battTestInf") |
| | | public class BattTestInfController { |
| | | @Autowired |
| | | private BattTestInfService service; |
| | | @Autowired |
| | | private BattTestInfDataService dataService; |
| | | |
| | | @ApiOperation("查询充放电记录") |
| | | @GetMapping("getTinfHis") |
| | | public Response getTinfHis(@RequestParam int binfId |
| | | @ApiOperation("查询分页-电池组的充放电记录") |
| | | @GetMapping("getPageByBattGroupId") |
| | | public Response getPageByBattGroupId(@RequestParam int battGroupId |
| | | , @RequestParam int pageNum, @RequestParam int pageSize){ |
| | | Response res=service.getTinfHis(binfId,pageNum,pageSize); |
| | | return res; |
| | | return service.getPageByBattGroupId(battGroupId,pageNum,pageSize); |
| | | } |
| | | |
| | | @ApiOperation("根据充放电记录查询单体放电历史详情") |
| | | @GetMapping("getTDataHis") |
| | | public Response getTDataHis(@RequestParam int binfId,@RequestParam int testRecordCount){ |
| | | Response res=dataService.getTDataHis(binfId,testRecordCount); |
| | | //根据充放电记录查询单体放电历史详情 |
| | | @ApiOperation("查询单次放电记录详情") |
| | | @GetMapping("getByBattGroupIdAndTestRecordCount") |
| | | public Response getByBattGroupIdAndTestRecordCount(@RequestParam int battGroupId,@RequestParam int testRecordCount){ |
| | | Response res=dataService.getByBattGroupIdAndTestRecordCount(battGroupId,testRecordCount); |
| | | return res; |
| | | } |
| | | |
| | | |
| | | @PostMapping("searchGroupAssess") |
| | | /*@PostMapping("searchGroupAssess") |
| | | @ApiOperation(value = "蓄电池组后评估") |
| | | public Response searchByCondition(@RequestParam int pageNum,@RequestParam int pageSize, @RequestBody ReportBattDTO tinf) { |
| | | return service.searchGroupAssess(pageNum,pageSize,tinf,1001); |
| | |
| | | @ApiOperation(value = "电池单体性能评估") |
| | | public Response searchMonNumAssess(@RequestParam int binfId,@RequestParam int monNum){ |
| | | return service.searchMonNumAssess(binfId,monNum); |
| | | } |
| | | }*/ |
| | | |
| | | }*/ |
| | | } |