| | |
| | | @RestController |
| | | @Api(tags = "站点管理") |
| | | @RequestMapping("StationInf") |
| | | public class StationInfController { |
| | | public class StationInfController extends BaseController{ |
| | | @Autowired |
| | | private StationInfService service; |
| | | |
| | |
| | | , @RequestParam(required = false) String nodeStation |
| | | , @RequestParam(required = false) String stationType) { |
| | | return service.searchStationAll(pageCurr, pageSize, stationName1, stationName2, stationName5, nodeStation, stationType); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询所有的机房信息(南京机房配置)") |
| | | @GetMapping("searchNjStationAll") |
| | | public Response searchNjStationAll() { |
| | | return service.searchNjStationAll(); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据stationId和togetherFlag查询另外相同的机房") |
| | |
| | | return service.deleteStation(stationId); |
| | | } |
| | | |
| | | @GetMapping("searchAllStationName") |
| | | @ApiOperation("查询站点名") |
| | | public Response searchAllStationName(@RequestParam(required = false) String stationName1,@RequestParam(required = false) String stationName2,@RequestParam(required = false) String stationName5){ |
| | | UserInf userInf = (UserInf) ActionUtil.getUser(); |
| | | return service.searchAllStationName(userInf.getUId().intValue(), stationName1, stationName2, stationName5); |
| | | } |
| | | |
| | | @GetMapping("getInfInStation") |
| | | @ApiOperation("获取站点下所有设备信息") |
| | | public Response getInfInStation(@RequestParam String stationId){ |
| | | return service.getInfInStation(stationId); |
| | | } |
| | | |
| | | @GetMapping("/searchAllStationName1") |
| | | @ApiOperation(value = "查询省") |
| | | public Response searchAllStationName1() { |