From f8a28c04f6aa5eb10faf330d44987c878fc47692 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E9=B8=BF=E5=B1=95?= <18031053041@163.com>
Date: Wed, 17 Jun 2026 18:06:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=9F=A5=E8=AF=A2BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mapper/system/SysDictDataMapper.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mhd-modules/mhd-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/mhd-modules/mhd-system/src/main/resources/mapper/system/SysDictDataMapper.xml
index f5ab76083..4e2988ca2 100644
--- a/mhd-modules/mhd-system/src/main/resources/mapper/system/SysDictDataMapper.xml
+++ b/mhd-modules/mhd-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -43,12 +43,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND status = #{status}
-
-
-
-
-
-
+
+ AND organization_id = #{organizationId}
+
+
+ AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')
+
order by dict_sort asc