From 48d955d5a58018a0f2f996bee21033f9dbd56929 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Sun, 4 Feb 2024 12:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=A0=87=E8=80=83=E6=A0=B8=E5=85=B3?= =?UTF-8?q?=E4=BA=8E=E6=88=91=E7=9A=84=E8=80=83=E6=A0=B8=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml index d7809f059..61d509e46 100644 --- a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml +++ b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml @@ -70,10 +70,10 @@ LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id AND sc.is_deleted = 0 WHERE si.assess_dept = #{params.deptId} AND si.is_deleted = 0 - AND date_format(si.create_time,'%y%m%d%') >= date_format(#{params.startTime},'%y%m%d%') + AND si.create_time >= #{params.startTime} - AND date_format(si.create_time,'%y%m%d%') <= date_format(#{params.endTime},'%y%m%d%') + AND si.create_time <= #{params.endTime}