From 21ad7244723fd12c4fe278e5d735051cf5b8a0b5 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 06 Nov 2023 16:38:01 +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