| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.ReportBattDTO; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.service.BattTestInfDataService; |
| | | import com.whyc.service.BattTestInfService; |
| | | import com.whyc.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @RestController |
| | | @Api(tags = "电池组充放电记录") |
| | |
| | | Response res=dataService.getTDataHis(binfId,testRecordCount); |
| | | return res; |
| | | } |
| | | |
| | | |
| | | @PostMapping("searchGroupAssess") |
| | | @ApiOperation(value = "蓄电池组后评估") |
| | | public Response searchByCondition(@RequestParam int pageNum,@RequestParam int pageSize, @RequestBody ReportBattDTO tinf) { |
| | | return service.searchGroupAssess(pageNum,pageSize,tinf,1001); |
| | | } |
| | | |
| | | |
| | | @PostMapping("searchMonNumAssess") |
| | | @ApiOperation(value = "电池单体性能评估") |
| | | public Response searchMonNumAssess(@RequestParam int binfId,@RequestParam int monNum){ |
| | | return service.searchMonNumAssess(binfId,monNum); |
| | | } |
| | | |
| | | } |