From db055d52d2a25b166a37b646a3c5dab8396a2355 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 26 九月 2020 18:48:03 +0800
Subject: [PATCH] 优化代码
---
service-user/src/main/java/com/java110/user/api/RentingPoolFlowApi.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/service-user/src/main/java/com/java110/user/api/RentingPoolFlowApi.java b/service-user/src/main/java/com/java110/user/api/RentingPoolFlowApi.java
index fb889f5..a25aeda 100644
--- a/service-user/src/main/java/com/java110/user/api/RentingPoolFlowApi.java
+++ b/service-user/src/main/java/com/java110/user/api/RentingPoolFlowApi.java
@@ -104,11 +104,15 @@
*/
@RequestMapping(value = "/queryRentingPoolFlow", method = RequestMethod.GET)
public ResponseEntity<String> queryRentingPoolFlow(@RequestParam(value = "communityId") String communityId,
+ @RequestParam(value = "rentingId") String rentingId,
+ @RequestParam(value = "state", required = false) String state,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
RentingPoolFlowDto rentingPoolFlowDto = new RentingPoolFlowDto();
rentingPoolFlowDto.setPage(page);
rentingPoolFlowDto.setRow(row);
+ rentingPoolFlowDto.setRentingId(rentingId);
+ rentingPoolFlowDto.setState(state);
rentingPoolFlowDto.setCommunityId(communityId);
return getRentingPoolFlowBMOImpl.get(rentingPoolFlowDto);
}
--
Gitblit v1.8.0