From 03dcc05067d46487eac0c65b9fdeb6436c6e7311 Mon Sep 17 00:00:00 2001
From: cgf <2156125618@qq.com>
Date: 星期四, 11 九月 2025 18:48:19 +0800
Subject: [PATCH] 小区添加接管日期以及对初始化时间进行限制2025/09/11

---
 java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml
index 6023a13..195c11d 100755
--- a/java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml
@@ -82,9 +82,9 @@
     <!-- 淇濆瓨灏忓尯淇℃伅鑷� instance琛ㄤ腑 add by wuxw 2018-07-03 -->
     <insert id="saveCommunityInfoInstance" parameterType="Map">
         insert into s_community(community_id, b_id, name, address, city_code, nearby_landmarks, map_x, map_y, status_cd,
-                                state, community_area, tel)
+                                state, community_area, tel, take_time)
         values (#{community_id}, #{b_id}, #{name}, #{address}, #{city_code}, #{nearby_landmarks}, #{map_x}, #{map_y},
-                '0', #{state}, #{communityArea}, #{tel})
+                '0', #{state}, #{communityArea}, #{tel}, #{takeTime})
     </insert>
 
     <!-- 淇濆瓨灏忓尯灞炴�т俊鎭埌 instance add by wuxw 2018-07-03 -->
@@ -111,7 +111,7 @@
 
     <!-- 鏌ヨ灏忓尯淇℃伅 add by wuxw 2018-07-03 -->
     <select id="getCommunityInfo" parameterType="Map" resultType="Map">
-        select s.community_id,s.b_id,s.name,s.address,s.city_code,s.nearby_landmarks,s.map_x,s.map_y,s.status_cd,s.state
+        select s.community_id,s.b_id,s.name,s.address,s.city_code,s.nearby_landmarks,s.map_x,s.map_y,s.status_cd,s.state, s.take_time
         from s_community s
         where 1=1
         <if test="statusCd != null and statusCd != ''">
@@ -209,6 +209,9 @@
         </if>
         <if test="tel != null and tel != ''">
             ,s.tel = #{tel}
+        </if>
+        <if test="takeTime !=null and takeTime != ''">
+            , t.take_time= #{takeTime}
         </if>
         <if test="communityArea != null and communityArea != ''">
             ,s.community_area = #{communityArea}
@@ -474,7 +477,7 @@
         t.map_x,t.map_x mapX,t.state,td.name stateName,ca.area_code areaCode,ca.area_name areaName,
         ca.parent_area_code parentAreaCode,ca.parent_area_name parentAreaName,
         t.community_area communityArea,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.fee_price,t.fee_price
-        feePrice,t.qr_code qrCode,t.create_time createTime,s.name storeName,s.store_id storeId
+        feePrice,t.qr_code qrCode,t.create_time createTime,s.name storeName,s.store_id storeId, t.take_time, t.take_time takeTime
         from s_community t
         left join city_area ca on t.city_code = ca.area_code and ca.status_cd = '0'
         left join s_community_member cm on t.community_id = cm.community_id and cm.member_type_cd = '390001200002' and cm.status_cd = '0'
@@ -624,7 +627,8 @@
         ca.parent_area_name cityName,
         ca1.parent_area_name provName,
         sc.community_area communityArea,
-        sc.qr_code qrCode
+        sc.qr_code qrCode,
+        sc.take_time takeTime
         FROM
         s_community sc,
         s_community_member scm,

--
Gitblit v1.8.0