whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/StationInfController.java
@@ -71,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() {