From bb5c9f74bcd20f299a514ad36ff47e6dd1dce7ae Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 04 十一月 2026 09:29:08 +0800
Subject: [PATCH] 【丽水】默认完成-下次补偿判断,上一次补偿方式是微信,状态是已领取,没选的填充默认选项,已完成

---
 ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 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..e374302 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -42,7 +42,7 @@
 
     <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>
@@ -54,10 +54,10 @@
             </if>
             <if test="guid != null and guid != ''">
                 AND guid = #{guid}
-            </if>          <if test="orgid != null and orgid != ''">
+            </if>
+            <if test="orgid != null and orgid != ''">
                 AND orgid = #{orgid}
             </if>
-        </where>
         order by dict_sort asc
     </select>
 

--
Gitblit v1.9.3