From b56c3c0f1bc87935a8b59f6ee39f78b4796250ff Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 06 十一月 2024 15:01:02 +0800 Subject: [PATCH] 修改前台页面对应的后台效果,新增学习记录的自然时间差 --- exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentService.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentService.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentService.java index 1bc0f2b..aaed8fd 100644 --- a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentService.java +++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentService.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.exam.institutionalaccess.entity.ThStudent; import com.gkhy.exam.institutionalaccess.model.vo.ThStatisticStudentVO; +import org.springframework.scheduling.annotation.Async; import java.util.List; @@ -11,8 +12,11 @@ ThStudent getByIdcard(String idcard); List<ThStudent> getByIdcards(List<String> idcards); + //@Async("SocketTaskExecutor") + Integer updateBatch(List<ThStudent> updateStudentList); - int updateByIdcard(List<ThStudent> updateStudentList); + //@Async("SocketTaskExecutor") + Integer insertBatch(List<ThStudent> saveSudentList); - + List<ThStudent> getNameByIdcards(List<String> idcards); } -- Gitblit v1.9.2