From aa5e1da9d689ed088b98708467f72aa7d0aa178a Mon Sep 17 00:00:00 2001 From: xueqingkun <xueqingkun@126.com> Date: Mon, 22 Jul 2024 14:49:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E8=B0=83=E6=95=B4=E5=9B=A0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9note=5Frecord=E8=A1=A8=E5=90=8D=E5=BC=95=E8=B5=B7?= =?UTF-8?q?=E7=9A=84sql=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/TripleInfoMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/TripleInfoMapper.xml b/src/main/resources/mapper/TripleInfoMapper.xml index 05c191c..f190f91 100644 --- a/src/main/resources/mapper/TripleInfoMapper.xml +++ b/src/main/resources/mapper/TripleInfoMapper.xml @@ -6,8 +6,8 @@ <select id="selectByIds" resultType="com.supervision.police.domain.TripleInfo"> select nr2.case_id as caseId, nr2.id as noteRecordsId, ti.* from triple_info ti - left join note_record nr on ti.note_record_id = nr.id - left join note_records nr2 on nr.note_records_id = nr2.id + left join note_record_split nr on ti.note_record_id = nr.id + left join note_record nr2 on nr.note_records_id = nr2.id where 1 = 1 <if test="ids != null and ids.size > 0"> and ti.id in