From 2fd4481d5927519f867c99e0b355ce326573ea68 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 31 三月 2026 10:07:47 +0800
Subject: [PATCH] 【丽水】患者满意度导出增加完成时间条件

---
 smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
index 637ff3d..a5ee81a 100644
--- a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -108,17 +108,11 @@
             <if test="orgid != null  and orgid != ''">
                 and orgid = #{orgid}
             </if>
-            <if test="createTime != null">
-                and create_time = #{createTime},
-            </if>
-            <if test="updateTime != null">
-                and update_time = #{updateTime},
-            </if>
             <if test="startTime != null">
-                AND date_format(update_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
+                AND date_format(create_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
             </if>
             <if test="endTime != null">
-                AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
+                AND date_format(create_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
             </if>
     </select>
 

--
Gitblit v1.9.3