新增排水根据id查询

This commit is contained in:
admiin 2025-05-05 22:35:04 +08:00
parent 101796bff5
commit 606ce6e3f6

View File

@ -66,4 +66,11 @@ public class DicekePrecipitationController {
} }
} }
@Operation(summary = "根据id查询降水量信息")
@GetMapping("findPrecipitationById/{id}")
public Result findPrecipitationById(@PathVariable String id) {
DicekePrecipitation dicekePrecipitation = dicekePrecipitationService.getById(id);
return Result.successResult().data("precipitationById",dicekePrecipitation);
}
} }