From b2b5bdf6f42597e582da96aa56707e1f68d3936e Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 10 五月 2022 11:41:44 +0800
Subject: [PATCH] 优化 费用

---
 service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java b/service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java
index 04a8afc..8f4e592 100755
--- a/service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java
+++ b/service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java
@@ -7,7 +7,7 @@
 import com.java110.dto.report.ReportRoomDto;
 import com.java110.report.dao.IReportCommunityServiceDao;
 import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import com.java110.core.log.LoggerFactory;
 import org.springframework.stereotype.Service;
 
 import java.util.List;
@@ -75,10 +75,28 @@
     }
 
     @Override
-    public List<CommunityDto> getCommunitys(CommunityDto communityDto) {
+    public List<Map> getCommunitys(Map communityDto) {
         logger.debug("鏌ヨgetCommunitys淇℃伅 鍏ュ弬 info : {}", JSONObject.toJSONString(communityDto));
 
-        List<CommunityDto> communityDtos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.getCommunitys", communityDto);
+        List<Map> communityDtos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.getCommunitys", communityDto);
+
+        return communityDtos;
+    }
+
+    @Override
+    public List<Map> queryRoomStructures(Map info) {
+        logger.debug("鏌ヨqueryRoomStructures淇℃伅 鍏ュ弬 info : {}", JSONObject.toJSONString(info));
+
+        List<Map> communityDtos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryRoomStructures", info);
+
+        return communityDtos;
+    }
+
+    @Override
+    public List<Map> queryCarStructures(Map info) {
+        logger.debug("鏌ヨqueryCarStructures淇℃伅 鍏ュ弬 info : {}", JSONObject.toJSONString(info));
+
+        List<Map> communityDtos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryCarStructures", info);
 
         return communityDtos;
     }

--
Gitblit v1.8.0