whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/StationInfController.java
@@ -15,7 +15,7 @@
@RestController
@Api(tags = "站点管理")
@RequestMapping("StationInf")
public class StationInfController {
public class StationInfController extends BaseController{
    @Autowired
    private StationInfService service;
@@ -28,6 +28,12 @@
            , @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查询另外相同的机房")
@@ -65,6 +71,19 @@
        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() {