Commit 155b74a9 authored by hcing's avatar hcing

fix(amos-boot-module-tcm-api): 修复查询公司列表时未过滤删除的公司

- 在 RiskReportMapper.xml 文件中添加 is_deleted = false 条件 -确保查询结果只包含未删除的公司
parent adbc881f
......@@ -20,6 +20,7 @@
FROM
privilege_company
<where>
is_deleted = false
<if test="companyName != null and companyName != ''">
AND company_name LIKE CONCAT('%', TRIM(#{companyName}), '%')
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment