From 7e3a731b960455b16016c3c4e2e727caa8190bb0 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 01 六月 2020 12:03:04 +0800
Subject: [PATCH] 优化查询小区多条是报错问题

---
 CommunityService/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CommunityService/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java b/CommunityService/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
index 832592e..2b3fc36 100644
--- a/CommunityService/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
+++ b/CommunityService/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
@@ -362,9 +362,9 @@
         if (businessCommunityMembers == null || businessCommunityMembers.size() == 0) {
             return null;
         }
-        if (businessCommunityMembers.size() > 1) {
-            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "鏍规嵁鏉′欢鏌ヨ鏈夊鏉℃暟鎹�,鏁版嵁寮傚父锛岃妫�鏌ワ細businessCommunityMember锛�" + JSONObject.toJSONString(info));
-        }
+//        if (businessCommunityMembers.size() > 1) {
+//            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "鏍规嵁鏉′欢鏌ヨ鏈夊鏉℃暟鎹�,鏁版嵁寮傚父锛岃妫�鏌ワ細businessCommunityMember锛�" + JSONObject.toJSONString(info));
+//        }
 
         return businessCommunityMembers;
     }

--
Gitblit v1.8.0