diff --git a/esua-epdc/epdc-module/epdc-points/epdc-points-server/src/main/resources/mapper/PointsLogsDao.xml b/esua-epdc/epdc-module/epdc-points/epdc-points-server/src/main/resources/mapper/PointsLogsDao.xml
index 4412fde5..68fd2666 100755
--- a/esua-epdc/epdc-module/epdc-points/epdc-points-server/src/main/resources/mapper/PointsLogsDao.xml
+++ b/esua-epdc/epdc-module/epdc-points/epdc-points-server/src/main/resources/mapper/PointsLogsDao.xml
@@ -60,13 +60,13 @@
and OPERATION_TIME between date_add(now() , interval -1 hour ) and now()
- and OPERATION_TIME between date_add(now() , interval -1 day ) and now()
+ and date_format(OPERATION_TIME,'%d') = date_format(now(),'%d')
- and OPERATION_TIME between date_add(now() , interval -1 month ) and now()
+ and date_format(OPERATION_TIME,'%m') = date_format(now(),'%m')
- and OPERATION_TIME between date_add(now() , interval -1 year ) and now()
+ and date_format(OPERATION_TIME,'%Y') = date_format(now(),'%Y')
group by OPERATION_TYPE)a group by a.BEHAVIOR_CODE;