From 160e150009b51a39fa95d9462c3798ba28d51a09 Mon Sep 17 00:00:00 2001 From: lxw <810412026@qq.com> Date: 星期二, 15 八月 2023 08:49:47 +0800 Subject: [PATCH] 审批页面修改 --- src/main/java/com/whyc/controller/StationInfController.java | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whyc/controller/StationInfController.java b/src/main/java/com/whyc/controller/StationInfController.java index 273b018..0997091 100644 --- a/src/main/java/com/whyc/controller/StationInfController.java +++ b/src/main/java/com/whyc/controller/StationInfController.java @@ -30,6 +30,12 @@ return service.searchStationAll(pageCurr, pageSize, stationName1, stationName2, stationName5, nodeStation, stationType); } + @ApiOperation(value = "鏍规嵁stationId鍜宼ogetherFlag鏌ヨ鍙﹀鐩稿悓鐨勬満鎴�") + @GetMapping("getTogetherFlagStationInf") + public Response getTogetherFlagStationInf(@RequestParam String stationId, @RequestParam int togetherFlag) { + return service.getTogetherFlagStationInf(stationId, togetherFlag); + } + @ApiOperation(value = "娣诲姞绔欑偣") @PostMapping("insertStation") public Response insertStation(@RequestBody StationInf stationInf) { @@ -40,8 +46,8 @@ @GetMapping("updateStation") public Response updateStation(@RequestParam(required = false) String nodeStation, @RequestParam(required = false) String stationType , @RequestParam(required = false) String stationLongitude, @RequestParam(required = false) String stationLatitude - , @RequestParam(required = false) String stationAddr, @RequestParam String stationId) { - return service.updateStation(nodeStation, stationType, stationLongitude, stationLatitude, stationAddr, stationId); + , @RequestParam(required = false) String stationAddr, @RequestParam int togetherFlag, @RequestParam String stationId) { + return service.updateStation(nodeStation, stationType, stationLongitude, stationLatitude, stationAddr, togetherFlag, stationId); } @ApiOperation(value = "缂栬緫鏈烘埧鍚�") @@ -49,8 +55,8 @@ public Response updateName(@RequestParam(required = false) String stationName, @RequestParam(required = false) String stationName1 , @RequestParam(required = false) String stationName2, @RequestParam(required = false) String stationName3 , @RequestParam(required = false) String stationName4, @RequestParam(required = false) String stationName5 - , @RequestParam String stationId) { - return service.updateName(stationName, stationName1, stationName2, stationName3, stationName4, stationName5, stationId); + , @RequestParam(required = false) String stationIdTogether, @RequestParam String stationId) { + return service.updateName(stationName, stationName1, stationName2, stationName3, stationName4, stationName5, stationIdTogether, stationId); } @ApiOperation(value = "鍒犻櫎鎬荤珯鐐�") @@ -133,4 +139,10 @@ public Response searStationType() { return service.searStationType(); } + + @GetMapping("getTogetherStations") + @ApiOperation(value = "娣诲姞鍏宠仈鏃朵笅鎷夋樉绀�") + public Response getTogetherStations(@RequestParam(required = false) String stationName1, @RequestParam(required = false) String stationName2, @RequestParam(required = false) String stationName5) { + return service.getTogetherStations(stationName1, stationName2, stationName5); + } } -- Gitblit v1.9.1