From b5e47a74ad88c453bf82fb8b870b69ac9d45503f Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 06 八月 2021 16:08:51 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 service-report/src/main/java/com/java110/report/api/ReportOweFeeApi.java |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/api/ReportOweFeeApi.java b/service-report/src/main/java/com/java110/report/api/ReportOweFeeApi.java
index af4bc04..3124fef 100644
--- a/service-report/src/main/java/com/java110/report/api/ReportOweFeeApi.java
+++ b/service-report/src/main/java/com/java110/report/api/ReportOweFeeApi.java
@@ -94,12 +94,16 @@
      */
     @RequestMapping(value = "/queryReportOweFee", method = RequestMethod.GET)
     public ResponseEntity<String> queryReportOweFee(@RequestParam(value = "communityId") String communityId,
-                                                    @RequestParam(value = "configIds",required = false) String configIds,
+                                                    @RequestParam(value = "configIds", required = false) String configIds,
+                                                    @RequestParam(value = "payObjType", required = false) String payObjType,
+                                                    @RequestParam(value = "num", required = false) String num,
                                                     @RequestParam(value = "page") int page,
                                                     @RequestParam(value = "row") int row) {
         ReportOweFeeDto reportOweFeeDto = new ReportOweFeeDto();
         reportOweFeeDto.setPage(page);
         reportOweFeeDto.setRow(row);
+        reportOweFeeDto.setPayerObjType(payObjType);
+        reportOweFeeDto.setPayerObjName(num);
         reportOweFeeDto.setCommunityId(communityId);
         if (!StringUtil.isEmpty(configIds)) {
             String[] tmpConfigIds = configIds.split(",");
@@ -107,4 +111,28 @@
         }
         return getReportOweFeeBMOImpl.get(reportOweFeeDto);
     }
+
+    /**
+     * 鏌ヨ鎵�鏈夋瑺璐逛俊鎭�
+     *
+     * @param communityId 灏忓尯ID
+     * @return
+     * @serviceCode /reportOweFee/queryReportAllOweFee
+     * @path /app/reportOweFee/queryReportAllOweFee
+     */
+    @RequestMapping(value = "/queryReportAllOweFee", method = RequestMethod.GET)
+    public ResponseEntity<String> queryReportAllOweFee(@RequestParam(value = "communityId") String communityId,
+                                                    @RequestParam(value = "configIds", required = false) String configIds,
+                                                    @RequestParam(value = "payObjType", required = false) String payObjType,
+                                                    @RequestParam(value = "num", required = false) String num) {
+        ReportOweFeeDto reportOweFeeDto = new ReportOweFeeDto();
+        reportOweFeeDto.setPayerObjType(payObjType);
+        reportOweFeeDto.setPayerObjName(num);
+        reportOweFeeDto.setCommunityId(communityId);
+        if (!StringUtil.isEmpty(configIds)) {
+            String[] tmpConfigIds = configIds.split(",");
+            reportOweFeeDto.setConfigIds(tmpConfigIds);
+        }
+        return getReportOweFeeBMOImpl.getAllFees(reportOweFeeDto);
+    }
 }

--
Gitblit v1.8.0