From af356adf49b6efcaac36d59f86d086a221b91faa Mon Sep 17 00:00:00 2001 From: lijianlin Date: Tue, 21 Oct 2025 13:33:08 +0800 Subject: [PATCH] =?UTF-8?q?10-21=20=E5=8D=95=E5=9C=B0=E5=8C=BA=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=97=A5=E6=9C=9F=E7=AD=9B=E9=80=89=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/WorkBenchMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/WorkBenchMapper.xml b/src/main/resources/mapper/WorkBenchMapper.xml index a545fbf..c319ab5 100644 --- a/src/main/resources/mapper/WorkBenchMapper.xml +++ b/src/main/resources/mapper/WorkBenchMapper.xml @@ -146,7 +146,7 @@ current_datetime as currentDate from statistics where market=#{market} and DATE(current_datetime) >= #{startDate} - AND DATE(current_datetime) < #{endDate} + AND DATE(current_datetime) <= #{endDate} order by current_datetime desc @@ -164,7 +164,7 @@ from statistics where market = #{market} and current_datetime >= #{startDate} - and current_datetime < #{endDate} + and current_datetime <= #{endDate} group by month order by month