| | |
| | | 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(notes = "searchByCondition ", value = "蓄电池组后评估") |
| | | public Response searchByCondition(@RequestParam int pageNum,@RequestParam int pageSize, @RequestBody ReportBattDTO tinf) { |
| | | //UserInf userInf = ActionUtil.getUser(); |
| | | return service.searchGroupAssess(pageNum,pageSize,tinf,1001); |
| | | } |
| | | } |