From 1024666b99a24bd7d5e4dc442d6b0c0319fa2f29 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期六, 17 七月 2021 22:56:48 +0800
Subject: [PATCH] 1、优化细节性问题2、优化采购细节问题

---
 service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java b/service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java
index 93b8522..a382013 100755
--- a/service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java
+++ b/service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java
@@ -216,8 +216,12 @@
         reportFeeMonthStatisticsDto.setRoomNum(roomNum);
         reportFeeMonthStatisticsDto.setConfigId(configId);
         reportFeeMonthStatisticsDto.setFeeTypeCd(feeTypeCd);
-        reportFeeMonthStatisticsDto.setStartTime(startTime);
-        reportFeeMonthStatisticsDto.setEndTime(endTime);
+        if (!StringUtil.isEmpty(startTime)) {
+            reportFeeMonthStatisticsDto.setStartTime(startTime + " 00:00:00");
+        }
+        if (!StringUtil.isEmpty(endTime)) {
+            reportFeeMonthStatisticsDto.setEndTime(endTime + " 23:59:59");
+        }
         return getReportFeeMonthStatisticsBMOImpl.queryFeeBreakdown(reportFeeMonthStatisticsDto);
     }
 
@@ -535,7 +539,7 @@
             @RequestParam(value = "communityId") String communityId,
             @RequestParam(value = "page") int page,
             @RequestParam(value = "row") int row
-            ) {
+    ) {
         RoomDto roomDto = new RoomDto();
         roomDto.setCommunityId(communityId);
         roomDto.setPage(page);

--
Gitblit v1.8.0