1. 修复因优化字段名导致的异常错误

topo_dev
xueqingkun 10 months ago
parent d048da12fe
commit 42d9366236

@ -43,11 +43,11 @@
</select> </select>
<select id="getAtomicDetail" resultType="com.supervision.police.dto.AtomicIndexDTO"> <select id="getAtomicDetail" resultType="com.supervision.police.dto.AtomicIndexDTO">
select mai.name as indexName, select mai.name as indexName,
case when mar.atomic_result = '1' then 'true' else 'false' end as indexResult, case when mar.atomic_result = '1' then 'true' else 'false' end as indexResult,
concat(nr.question, nr.answer) as record concat(nrs.question, nrs.answer) as record
from model_atomic_result mar from model_atomic_result mar
left join model_atomic_index mai on mar.atomic_id = mai.id left join model_atomic_index mai on mar.atomic_id = mai.id
left join note_record nr on mar.record_id = nr.id left join note_record_split nrs on mar.record_id = nrs.id
where mar.case_id = #{caseId} and mar.atomic_id in where mar.case_id = #{caseId} and mar.atomic_id in
<foreach collection="atomicIds" item="item" open="(" close=")" separator=","> <foreach collection="atomicIds" item="item" open="(" close=")" separator=",">
#{item} #{item}

Loading…
Cancel
Save