调整异常对象逐卡展示口径

This commit is contained in:
wkc
2026-03-25 17:16:15 +08:00
parent e957cdcc81
commit 54cd982603
6 changed files with 117 additions and 16 deletions

View File

@@ -440,8 +440,8 @@
when tr.object_type = 'STAFF_ID_CARD' then '员工对象'
else tr.object_type
end) as subtitle,
group_concat(distinct tr.reason_detail order by tr.rule_code asc separator '') as reasonDetail,
group_concat(distinct tr.rule_name order by tr.rule_code asc separator '、') as summary
max(tr.reason_detail) as reasonDetail,
max(tr.rule_name) as summary
from ccdi_bank_statement_tag_result tr
left join ccdi_base_staff staff
on tr.object_type = 'STAFF_ID_CARD'
@@ -461,8 +461,8 @@
and relation_scope.relation_cert_no = tr.object_key
)
)
group by coalesce(tr.object_key, tr.object_type)
order by title asc
group by coalesce(tr.object_key, tr.object_type), tr.rule_code
order by title asc, tr.rule_code asc
</select>
<select id="selectRiskCountSummaryByProjectId" resultType="map">