|
@@ -619,10 +619,6 @@ public class ThemisCacheServiceImpl implements ThemisCacheService {
|
|
SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
Long startTime = sdf2.parse(current + " 00:00:00").getTime();
|
|
Long startTime = sdf2.parse(current + " 00:00:00").getTime();
|
|
Long endTime = sdf2.parse(current + " 23:59:59").getTime();
|
|
Long endTime = sdf2.parse(current + " 23:59:59").getTime();
|
|
-// List<TEExamActivity> teExamActivityList = teExamActivityService.list(new QueryWrapper<TEExamActivity>().lambda()
|
|
|
|
-// .and(w -> w.ge(TEExamActivity::getStartTime, startTime).le(TEExamActivity::getStartTime, endTime))
|
|
|
|
-// .or(w -> w.le(TEExamActivity::getStartTime, startTime).ge(TEExamActivity::getFinishTime, endTime))
|
|
|
|
-// .eq(TEExamActivity::getEnable, 1));
|
|
|
|
List<TEExamActivity> teExamActivityList = teExamActivityService.findCurrentExamActivity(startTime, endTime);
|
|
List<TEExamActivity> teExamActivityList = teExamActivityService.findCurrentExamActivity(startTime, endTime);
|
|
//统计当天00:00:00~23:59:59可以进行的考试批次、场次、考场编码信息
|
|
//统计当天00:00:00~23:59:59可以进行的考试批次、场次、考场编码信息
|
|
if (!CollectionUtils.isEmpty(teExamActivityList)) {
|
|
if (!CollectionUtils.isEmpty(teExamActivityList)) {
|