| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | private Response addCompare(@RequestBody List<BattCompare> list){ |
| | | return service.addCompare(list); |
| | | } |
| | | |
| | | @ApiOperation(value = "天一电厂3D前100比历史数据") |
| | | @GetMapping("serchDate100") |
| | | public Response serchDate100() { |
| | | return service.serchDate100(); |
| | | } |
| | | |
| | | @ApiOperation(value = "读取电池组对应关系") |
| | | @GetMapping("getCompare") |
| | | public Response getCompare() { |
| | | return service.getCompare(); |
| | | } |
| | | } |