fix(sys-dic-tree): 修复字典树查询状态过滤问题
- 在字典树查询中添加状态过滤条件 a.status = 0 - 确保只返回状态为可用的数据记录 - 修复了可能导致无效数据被查询到的逻辑缺陷
This commit is contained in:
@@ -15,5 +15,6 @@
|
||||
sys_dic_tree b
|
||||
WHERE
|
||||
b.pids LIKE concat('%',#{id},'%') and a.id = b.pid)
|
||||
AND a.status = 0
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user