From f14c50cb0036d3ddd655ce4e34732ba396a836c4 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 30 五月 2023 12:42:03 +0800
Subject: [PATCH] optimize 统计
---
java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
index 7729717..716ab56 100644
--- a/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/CommunityV1ServiceDaoImplMapper.xml
@@ -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
+ communityId,t.community_area,t.community_area communityArea,t.qr_code qrCode
from s_community t
where 1 =1
<if test="feePrice !=null and feePrice != ''">
@@ -112,6 +112,9 @@
<if test="communityArea !=null and communityArea != ''">
, t.community_area= #{communityArea}
</if>
+ <if test="qrCode !=null and qrCode != ''">
+ , t.qr_code= #{qrCode}
+ </if>
where 1=1
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
--
Gitblit v1.8.0