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/SysPostMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
index e2df278..b7a9ac2 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -35,7 +35,8 @@
 
     <select id="selectPostList" parameterType="com.ruoyi.system.domain.SysPost" resultMap="SysPostResult">
         <include refid="selectPostVo"/>
-        <where>
+        WHERE 1=1
+
             <if test="postCode != null and postCode != ''">
                 AND post_code like concat('%', #{postCode}, '%')
             </if>
@@ -48,7 +49,7 @@
             <if test="postName != null and postName != ''">
                 AND post_name like concat('%', #{postName}, '%')
             </if>
-        </where>
+        
     </select>
 
     <select id="selectPostAll" resultMap="SysPostResult">

--
Gitblit v1.9.3