| | |
| | | import com.whyc.service.FBOTestDataService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.junit.Test; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | List<FBOTestData> list = service.getList(battGroupId,testRecordCount); |
| | | return new Response<List<FBOTestData>>().set(1,list); |
| | | } |
| | | |
| | | @GetMapping("getMonCuntBytestRecordCount") |
| | | @ApiOperation(value = "根据放电记录编号查询这次充放电中有多少单体") |
| | | public Response getMonCuntBytestRecordCount(@RequestParam int battGroupId,@RequestParam int testRecordCount){ |
| | | int monCount = service.getMonCuntBytestRecordCount(battGroupId,testRecordCount); |
| | | return new Response().set(1,monCount); |
| | | } |
| | | } |