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/CommunityV1ServiceDaoImplMapper.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
index b5addc5..7f73523 100644
--- a/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
@@ -8,9 +8,9 @@
     <!-- 淇濆瓨灏忓尯绠$悊淇℃伅 add by wuxw 2018-07-03 -->
     <insert id="saveCommunityInfo" parameterType="Map">
         insert into s_community(
-        fee_price,address,city_code,map_y,pay_fee_month,map_x,nearby_landmarks,name,tel,state,community_id,community_area
+        fee_price,address,city_code,map_y,pay_fee_month,map_x,nearby_landmarks,name,tel,state,community_id,community_area,take_time
         ) values (
-        #{feePrice},#{address},#{cityCode},#{mapY},#{payFeeMonth},#{mapX},#{nearbyLandmarks},#{name},#{tel},#{state},#{communityId},#{communityArea}
+        #{feePrice},#{address},#{cityCode},#{mapY},#{payFeeMonth},#{mapX},#{nearbyLandmarks},#{name},#{tel},#{state},#{communityId},#{communityArea},#{takeTime}
         )
     </insert>
 
@@ -20,7 +20,7 @@
         select t.fee_price,t.fee_price feePrice,t.address,t.city_code,t.city_code cityCode,t.status_cd,t.status_cd
         statusCd,t.map_y,t.map_y mapY,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.map_x,t.map_x
         mapX,t.nearby_landmarks,t.nearby_landmarks nearbyLandmarks,t.name,t.tel,t.state,t.community_id,t.community_id
-        communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode
+        communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode,t.take_time, t.take_time takeTime
         from s_community t
         where 1 =1
         <if test="feePrice !=null and feePrice != ''">
@@ -121,6 +121,9 @@
         <if test="qrCode !=null and qrCode != ''">
             , t.qr_code= #{qrCode}
         </if>
+        <if test="takeTime !=null and takeTime != ''">
+            , t.take_time= #{takeTime}
+        </if>
         where 1=1
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}
@@ -185,7 +188,7 @@
         select t.fee_price,t.fee_price feePrice,t.address,t.city_code,t.city_code cityCode,t.status_cd,t.status_cd
         statusCd,t.map_y,t.map_y mapY,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.map_x,t.map_x
         mapX,t.nearby_landmarks,t.nearby_landmarks nearbyLandmarks,t.name,t.tel,t.state,t.community_id,t.community_id
-        communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode,cm.member_id storeId
+        communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode,cm.member_id storeId,t.take_time, t.take_time takeTime
         from s_community t
         left join s_community_member cm on t.community_id = cm.community_id and cm.member_type_cd = '390001200002'
         where 1 =1

--
Gitblit v1.8.0