From ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 10:49:10 +0800
Subject: [PATCH] 【市一】调整mapper获取ordid

---
 ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
index 8c4c61f..b6af70b 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -42,7 +42,8 @@
 
     <select id="selectDictDataList" parameterType="SysDictData" resultMap="SysDictDataResult">
         <include refid="selectDictDataVo"/>
-        <where>
+        WHERE 1=1
+
             <if test="dictType != null and dictType != ''">
                 AND dict_type = #{dictType}
             </if>
@@ -57,7 +58,7 @@
             </if>          <if test="orgid != null and orgid != ''">
                 AND orgid = #{orgid}
             </if>
-        </where>
+        
         order by dict_sort asc
     </select>
 

--
Gitblit v1.9.3