mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-18 23:36:52 +08:00
组织数据和员工数据导出
This commit is contained in:
@@ -137,11 +137,15 @@ public class StudyCourseTask {
|
|||||||
String courseContentId = parts[5];
|
String courseContentId = parts[5];
|
||||||
String studyItemId = parts[7];
|
String studyItemId = parts[7];
|
||||||
// 7. 获取存储的时间点(示例逻辑)
|
// 7. 获取存储的时间点(示例逻辑)
|
||||||
|
|
||||||
String redisValue = redisTemplate.opsForValue().get(redisKey);
|
String redisValue = redisTemplate.opsForValue().get(redisKey);
|
||||||
|
// redisValue = 60&20&2025-07-22T16:51:40
|
||||||
log.info("-定时任务 saveStudyCourseItemLastTime ---redisValue = " + redisValue);
|
log.info("-定时任务 saveStudyCourseItemLastTime ---redisValue = " + redisValue);
|
||||||
if (redisValue == null) continue;
|
if (redisValue == null) continue;
|
||||||
String[] partValues = redisValue.split("&");
|
String[] partValues = redisValue.split("&");
|
||||||
|
// studyVideoTtime=60
|
||||||
int studyVideoTtime = Integer.parseInt(partValues[0]);
|
int studyVideoTtime = Integer.parseInt(partValues[0]);
|
||||||
|
// appendtime=20
|
||||||
int appendtime = Integer.parseInt(partValues[1]);
|
int appendtime = Integer.parseInt(partValues[1]);
|
||||||
LocalDateTime timestamp = null;
|
LocalDateTime timestamp = null;
|
||||||
if (partValues.length >= 2){
|
if (partValues.length >= 2){
|
||||||
|
|||||||
Reference in New Issue
Block a user