From ebf4b72af820750b3207b7bee6881252b79eed31 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 23 十二月 2025 11:25:52 +0800
Subject: [PATCH] 【市一】微信公众号-增加中文乱码处理

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
index 2f08750..6619965 100644
--- a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -108,6 +108,12 @@
             <if test="orgid != null  and orgid != ''">
                 and orgid = #{orgid}
             </if>
+            <if test="startTime != null">
+                AND date_format(update_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')
+            </if>
         </where>
     </select>
 

--
Gitblit v1.9.3