From c5d71879fd0e880ca1886a378126a69e878f2edf Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 10 Nov 2023 09:04:51 +0800
Subject: [PATCH] 场所数据处理和查询调整

---
 src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
index 370bfd5..3c49f26 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseMapper.xml
@@ -33,6 +33,7 @@
         <collection property="houseLabelVOList" javaType="java.util.List"
                     ofType="org.springblade.modules.house.vo.HouseLabelVO" autoMapping="true">
             <id property="id" column="cid"/>
+            <result property="remark" column="cremark"/>
         </collection>
     </resultMap>
 
@@ -45,7 +46,7 @@
     <select id="getHouseDetail" resultMap="houseAndHouseLabelMap">
         select
         jh.*,
-        jhl.id as cid,jhl.*
+        jhl.id as cid,jhl.*,jhl.remark as cremark
         from jczz_house jh
         left join jczz_house_label jhl on jh.house_code = jhl.house_code
         where jh.is_deleted = 0

--
Gitblit v1.9.3