From 03a9cd21c1589e98978dc7296bb7fb48f1dcd7fe Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 17 五月 2024 16:13:45 +0800
Subject: [PATCH] feat:创建试卷时新增选择用户查询条件

---
 src/main/java/com/mindskip/xzs/service/impl/UserEventLogServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/impl/UserEventLogServiceImpl.java b/src/main/java/com/mindskip/xzs/service/impl/UserEventLogServiceImpl.java
index e4e8346..5819b72 100644
--- a/src/main/java/com/mindskip/xzs/service/impl/UserEventLogServiceImpl.java
+++ b/src/main/java/com/mindskip/xzs/service/impl/UserEventLogServiceImpl.java
@@ -40,10 +40,10 @@
 
 
     @Override
-    public List<Integer> selectMothCount() {
+    public List<Integer> selectMothCount(List<Integer> deptIds) {
         Date startTime = DateTimeUtil.getMonthStartDay();
         Date endTime = DateTimeUtil.getMonthEndDay();
-        List<KeyValue> mouthCount = userEventLogMapper.selectCountByDate(startTime, endTime);
+        List<KeyValue> mouthCount = userEventLogMapper.selectCountByDate(startTime, endTime, deptIds);
         List<String> mothStartToNowFormat = DateTimeUtil.MothStartToNowFormat();
         return mothStartToNowFormat.stream().map(md -> {
             KeyValue keyValue = mouthCount.stream().filter(kv -> kv.getName().equals(md)).findAny().orElse(null);

--
Gitblit v1.8.0