| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.StationDto; |
| | | import com.whyc.dto.Statistic.StationStic; |
| | | import com.whyc.pojo.db_station.StationInf; |
| | | import com.whyc.pojo.db_user.User; |
| | | import com.whyc.service.StationInfService; |
| | |
| | | User uinf= ActionUtil.getUser(); |
| | | return service.getLeftStation(uinf.getId()); |
| | | } |
| | | /* |
| | | @ApiOperation(value = "添加机房") |
| | | @PostMapping("addStatiaon") |
| | | public Response addStatiaon(@RequestBody StationInf sinf){ |
| | | return service.addStatiaon(sinf); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除机房") |
| | | @GetMapping("delStatiaon") |
| | | public Response delStatiaon(@RequestParam Integer stationId){ |
| | | return service.delStatiaon(stationId); |
| | | } |
| | | |
| | | @ApiOperation(value = "修改机房") |
| | | @PostMapping("updateStatiaon") |
| | | public Response updateStatiaon(@RequestBody StationInf sinf){ |
| | | return service.updateStatiaon(sinf); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询机房") |
| | | @PostMapping("getStatiaon") |
| | | public Response getStatiaon(@RequestBody StationDto dto){ |
| | | return service.getStatiaon(dto); |
| | | }*/ |
| | | |
| | | } |