java110 5 年 前
コミット
67756c2a4a
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java

+ 2 - 2
service-report/src/main/java/com/java110/report/api/ReportFeeMonthStatisticsApi.java

@@ -138,8 +138,8 @@ public class ReportFeeMonthStatisticsApi {
         reportFeeMonthStatisticsDto.setUnitNum(unitNum);
         reportFeeMonthStatisticsDto.setRoomId(roomId);
         reportFeeMonthStatisticsDto.setRoomNum(roomNum);
-        reportFeeMonthStatisticsDto.setStartTime(StringUtil.isEmpty(startTime) ? "" : startTime + "-01");
-        reportFeeMonthStatisticsDto.setEndTime(StringUtil.isEmpty(endTime) ? "" : endTime + "-01");
+        reportFeeMonthStatisticsDto.setStartTime(StringUtil.isEmpty(startTime) ? null : startTime + "-01");
+        reportFeeMonthStatisticsDto.setEndTime(StringUtil.isEmpty(endTime) ? null : endTime + "-01");
         return getReportFeeMonthStatisticsBMOImpl.queryReportFeeSummary(reportFeeMonthStatisticsDto);
     }