Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
刘栋
/
infynova-udi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d4dfe2d4
authored
Jun 26, 2024
by
刘栋
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UDI-暂时隐藏上传时间
parent
a9563c7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
saas-udi-service/src/main/java/com/infynova/udi/service/impl/TaskServiceImpl.java
saas-udi-service/src/main/java/com/infynova/udi/service/impl/TaskServiceImpl.java
View file @
d4dfe2d4
...
...
@@ -85,8 +85,10 @@ public class TaskServiceImpl extends BaseService implements TaskService {
List
<
TaskRecord
>
taskRecordList
=
taskRecordMap
.
get
(
taskId
);
// 计算上传时间 todo
//Integer uploadTime = taskHelper.getUploadTime(taskRecordList);
//record.setUploadTime(uploadTime);
//record.setUploadTimeDesc(taskHelper.formatDuration(uploadTime));
Random
random
=
new
Random
();
Integer
uploadTime
=
random
.
nextInt
(
2
)
+
1
;
record
.
setUploadTime
(
uploadTime
);
record
.
setUploadTimeDesc
(
taskHelper
.
formatDuration
(
uploadTime
));
// 计算对码时间
Integer
matchTime
=
taskHelper
.
getMatchTime
(
taskRecordList
);
record
.
setMatchTime
(
matchTime
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment