From 03794a94bf11d8e1cefad551f98b6b1a86421f9b Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Thu, 7 Nov 2024 16:43:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=80=9A=E9=AB=98=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/system/count/SysMeetingnumController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysMeetingnumController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysMeetingnumController.java index 8476b7a..7b441a8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysMeetingnumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysMeetingnumController.java @@ -79,7 +79,7 @@ public class SysMeetingnumController extends BaseController { AtomicReference yAxis = new AtomicReference<>(0L); Integer count = new LambdaQueryChainWrapper<>(tdMeetingService.getBaseMapper()) .ge(TdMeeting::getMeetingTime, minDayTime) - .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingState,1).count(); + .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingState,'1').count(); if (Objects.isNull(count)) { count = 0; } @@ -88,7 +88,7 @@ public class SysMeetingnumController extends BaseController { AtomicReference yAxisW = new AtomicReference<>(0L); Integer countW = new LambdaQueryChainWrapper<>(tdMeetingService.getBaseMapper()) .ge(TdMeeting::getMeetingTime, minDayTime) - .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingState,0).count(); + .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingState,'0').count(); if (Objects.isNull(countW)) { countW = 0; } @@ -98,7 +98,7 @@ public class SysMeetingnumController extends BaseController { AtomicReference yAxisXs = new AtomicReference<>(0L); Integer countXs= new LambdaQueryChainWrapper<>(tdMeetingService.getBaseMapper()) .ge(TdMeeting::getMeetingTime, minDayTime) - .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingType,0).count(); + .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingType,'0').count(); if (Objects.isNull(countXs)) { countXs = 0; } @@ -108,7 +108,7 @@ public class SysMeetingnumController extends BaseController { AtomicReference yAxisXx = new AtomicReference<>(0L); Integer countXx= new LambdaQueryChainWrapper<>(tdMeetingService.getBaseMapper()) .ge(TdMeeting::getMeetingTime, minDayTime) - .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingType,1).count(); + .le(TdMeeting::getMeetingTime, maxDayTime).eq(TdMeeting::getMeetingType,'1').count(); if (Objects.isNull(countXx)) { countXx = 0; }