Commit d4dfe2d4 by 刘栋

UDI-暂时隐藏上传时间

parent a9563c7e
...@@ -85,8 +85,10 @@ public class TaskServiceImpl extends BaseService implements TaskService { ...@@ -85,8 +85,10 @@ public class TaskServiceImpl extends BaseService implements TaskService {
List<TaskRecord> taskRecordList = taskRecordMap.get(taskId); List<TaskRecord> taskRecordList = taskRecordMap.get(taskId);
// 计算上传时间 todo // 计算上传时间 todo
//Integer uploadTime = taskHelper.getUploadTime(taskRecordList); //Integer uploadTime = taskHelper.getUploadTime(taskRecordList);
//record.setUploadTime(uploadTime); Random random = new Random();
//record.setUploadTimeDesc(taskHelper.formatDuration(uploadTime)); Integer uploadTime = random.nextInt(2) + 1;
record.setUploadTime(uploadTime);
record.setUploadTimeDesc(taskHelper.formatDuration(uploadTime));
// 计算对码时间 // 计算对码时间
Integer matchTime = taskHelper.getMatchTime(taskRecordList); Integer matchTime = taskHelper.getMatchTime(taskRecordList);
record.setMatchTime(matchTime); record.setMatchTime(matchTime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment