From 40299443ed9ed000a268da0906a1a948eeaf390e Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期五, 16 五月 2025 15:23:52 +0800 Subject: [PATCH] 下拉查询电源 --- src/main/java/com/whyc/controller/ConditionController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ConditionController.java b/src/main/java/com/whyc/controller/ConditionController.java index bfc8e29..50af51a 100644 --- a/src/main/java/com/whyc/controller/ConditionController.java +++ b/src/main/java/com/whyc/controller/ConditionController.java @@ -48,6 +48,14 @@ return stationInfService.getStationByUid(uinf.getId(),provice,city,country); } + @ApiOperation("鑾峰彇绔欑偣涓嬬殑鐢垫簮(涓嬫媺)") + @GetMapping("getPowerByUid") + public Response getPowerByUid(@RequestParam(required = false) String provice,@RequestParam(required = false) String city + ,@RequestParam(required = false) String country,@RequestParam(required = false) String stationName) { + User uinf= ActionUtil.getUser(); + return stationInfService.getPowerByUid(uinf.getId(),provice,city,country,stationName); + } + @ApiOperation(value = "褰撳墠鐢ㄦ埛鎵�鍦ㄥ寘鏈虹粍涓嬫墍鏈夌殑鐢ㄦ埛(涓嬫媺)") @GetMapping("getBaojiUserByUid") -- Gitblit v1.9.1