From 8236752800e2b7a6013d05db30659f6450666bda Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Wed, 17 Apr 2024 14:25:20 +0800
Subject: [PATCH] 题目
---
src/main/java/org/springblade/modules/discuss/mapper/UserTopicsMapper.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/springblade/modules/discuss/mapper/UserTopicsMapper.xml b/src/main/java/org/springblade/modules/discuss/mapper/UserTopicsMapper.xml
index d0e3e6e..0948f0c 100644
--- a/src/main/java/org/springblade/modules/discuss/mapper/UserTopicsMapper.xml
+++ b/src/main/java/org/springblade/modules/discuss/mapper/UserTopicsMapper.xml
@@ -203,7 +203,7 @@
LEFT JOIN jczz_house jhs on jhs.house_code= jda.address_code
<where>
and jt.discuss_content != '议事规则'
- and jt.discuss_content != '管理规约'
+ and jt.discuss_content != '管理公约'
<if test="id != null ">and jut.id = #{id}</if>
<if test="name != null and name != ''">
and bu.name like concat('%',#{name},'%')
@@ -238,6 +238,8 @@
jh.building,
jh.house_name,
jh.district_name,
+ jut.create_time,
+ jh.area,
(
SELECT
group_concat( jt.id ) AS optionContent
@@ -253,7 +255,7 @@
FROM
jczz_house jh
LEFT JOIN jczz_household jhd ON jhd.house_code = jh.house_code
- AND jh.is_deleted = 0
+ AND jh.is_deleted = 0 jhd.relationship = 1
LEFT JOIN jczz_user_topics jut on jut.household_id = jhd.id
<where>
<if test="aoiCodeList != null and aoiCodeList.size() > 0">
@@ -263,6 +265,7 @@
</foreach>
</if>
</where>
+ GROUP BY id
</select>
--
Gitblit v1.9.3