| | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.services.Ld9.Ld9testdataService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @RequestMapping("ld9TestData") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "ld9TestData接口") |
| | | public class Ld9testdataController{ |
| | | |
| | | @Resource |
| | |
| | | |
| | | //历史数据查询 |
| | | @GetMapping("byCondition") |
| | | @ApiOperation(notes = "Table 'db_ld9_testdata.tb_ld9testdata_0' doesn't exist",value="历史数据查询") |
| | | public ServiceModel serchByCondition(@RequestBody Ld9testdata ld9) { |
| | | // Ld9testdata ld9=ActionUtil.getGson().fromJson(json, Ld9testdata.class); |
| | | ServiceModel model=service.serchByCondition(ld9); |
| | |
| | | } |
| | | //查询某次测试下电池组节数放电情况 |
| | | @GetMapping("byInfo") |
| | | @ApiOperation(notes = "",value="查询某次测试下电池组节数放电情况") |
| | | public ServiceModel serchByInfo(@RequestBody Ld9testdata ld9) { |
| | | // Ld9testdata ld9=ActionUtil.getGson().fromJson(json, Ld9testdata.class); |
| | | ServiceModel model=service.serchByInfo(ld9); |