From 9c5aaac9b17e52a334ead62790f16d6d0613b93c Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 19 十二月 2025 10:57:33 +0800
Subject: [PATCH] 【丽水景宁】统计的地方没有时间的筛选条件,需要根据满意度完成时间进行筛选,例如筛选8月份的满意度调查数据
---
smartor/src/main/resources/mapper/smartor/PatMedOperationMapper.xml | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOperationMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOperationMapper.xml
index e673eac..aba4680 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedOperationMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedOperationMapper.xml
@@ -182,8 +182,14 @@
<if test="optypename != null and optypename != ''">
and optypename like concat('%', #{optypename}, '%')
</if>
- <if test="operatortime != null ">
- and operatortime = #{operatortime}
+ <!-- <if test="operatortime != null ">-->
+ <!-- and operatortime = #{operatortime}-->
+ <!-- </if>-->
+ <if test="beginTime != null ">and date_format(operatortime,'%y%m%d') >=
+ date_format(#{beginTime},'%y%m%d')
+ </if>
+ <if test="endTime != null ">and date_format(operatortime,'%y%m%d') <=
+ date_format(#{endTime},'%y%m%d')
</if>
<if test="opreqtime != null ">
and opreqtime = #{opreqtime}
--
Gitblit v1.9.3