mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-15 22:06:50 +08:00
增加排序
This commit is contained in:
@@ -128,10 +128,11 @@ public class StudyCourseESApi extends ApiBaseController{
|
||||
dto.setCourseType(sc.getCourseType());
|
||||
dto.setProgress(sc.getProgress()==null? 0:sc.getProgress().intValue());
|
||||
dto.setSource(2);//固定值,新系统
|
||||
//如果开始时间没有,就使用添加时间
|
||||
if(sc.getStartTime()!=null) {
|
||||
dto.setStartTime(sc.getStartTime().toEpochSecond(ZoneOffset.of("+8")));
|
||||
}else {
|
||||
dto.setStartTime(now.toEpochSecond(ZoneOffset.of("+8")));
|
||||
dto.setStartTime(sc.getAddTime().toEpochSecond(ZoneOffset.of("+8")));
|
||||
}
|
||||
dto.setStatus(sc.getStatus());
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user