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