Commit 17dd553c by 涂亚平

没有看视频的人也要写登录登出数据

1 parent 2308be45
......@@ -140,7 +140,7 @@ public class RenSheJuJob {
}
@Scheduled(cron = "0 50 23 * * ?")
@Scheduled(cron = "0 40 23 * * ?")
@Transactional(rollbackFor = Exception.class)
public void cancelLogin() {
......
......@@ -41,7 +41,7 @@ public class WarningJob {
/**
* POST-2:班级基本信息信息采集接口
*/
@Scheduled(cron = "0 0 21 * * ?")
@Scheduled(cron = "0 0 23 * * ?")
public void classBaseInfo() throws IOException {
if ("prod".equals(env)) {
......
......@@ -115,7 +115,7 @@ public class CourseContentServiceImpl extends ServiceImpl<CourseContentMapper, C
String totalLengthTmp = MathUtil.secToTime(totalLength);
//总时长(分钟)
String totalMinute = MathUtil.ceilSecond(totalLength);
String totalMinute = MathUtil.floorSecond(totalLength);
exportClassContentVOS.stream().forEach(x -> {
x.setTotalLength(totalLengthTmp);
x.setTotalMinute(totalMinute);
......
......@@ -189,8 +189,8 @@ public class RenSheJuServiceImpl implements RenSheJuService {
List<ChapterList3> chapterList3s = renSheJuMapper.dailyStudyRecords(dailyStudyInfoVO.getMemberId(), dailyStudyInfoVO.getDownCode(), loginRecords.get(i).getCreateDate().toString().replace("T", " "), loginOutRecords.get(i).getCreateDate().toString().replace("T", " "));
if (chapterList3s.size() > 0) {
loginList.setChapterList(chapterList3s);
loginLists.add(loginList);
}
loginLists.add(loginList);
}
classHourBasic.setLoginList(loginLists);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!