1. 调整因修改note_record表名引起的sql变更

topo_dev
xueqingkun 9 months ago
parent 6ae8570861
commit aa5e1da9d6

@ -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

Loading…
Cancel
Save