From 3933bf4cfadd772bfc00b22321dc83ecc7056ef7 Mon Sep 17 00:00:00 2001 From: du <1725534722@qq.com> Date: Sat, 12 Oct 2024 18:21:48 +0800 Subject: [PATCH] bugfix --- .../src/main/resources/mapper/tcZz/netManage/ScreenMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/ScreenMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/ScreenMapper.xml index 5993d971..2763b39d 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/ScreenMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/ScreenMapper.xml @@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" FROM tc_qlzxxdsjtj WHERE - date_time >= DATE_SUB( CURDATE(), INTERVAL 6 MONTH ) + date_time >= DATE_SUB( DATE_FORMAT( CURDATE(), '%Y-%m-01' ), INTERVAL 6 MONTH ) AND date_time < DATE_FORMAT( CURDATE(), '%Y-%m-01' ) GROUP BY dateTime