Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
3e6f04fe
Commit
3e6f04fe
authored
Feb 23, 2020
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一下
parent
60f05888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
PersonalStageBizImpl.java
...oud/book/personalstage/biz/impl/PersonalStageBizImpl.java
+4
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/personalstage/biz/impl/PersonalStageBizImpl.java
View file @
3e6f04fe
...
@@ -387,15 +387,17 @@ public class PersonalStageBizImpl implements PersonalStageBiz {
...
@@ -387,15 +387,17 @@ public class PersonalStageBizImpl implements PersonalStageBiz {
//下一个延时
//下一个延时
List
<
PersonalStageWakeup
>
wakeups
=
personalStageWakeupDao
.
getListByPersonalStageId
(
personalStageId
);
List
<
PersonalStageWakeup
>
wakeups
=
personalStageWakeupDao
.
getListByPersonalStageId
(
personalStageId
);
int
i
=
0
;
int
i
=
0
;
PersonalStageWakeup
currentWakeup
=
null
;
for
(
PersonalStageWakeup
wakeup:
wakeups
){
for
(
PersonalStageWakeup
wakeup:
wakeups
){
i
=
i
+
1
;
i
=
i
+
1
;
if
(
currentWakeupId
.
equals
(
wakeup
.
getId
())){
if
(
currentWakeupId
.
equals
(
wakeup
.
getId
())){
currentWakeup
=
wakeup
;
break
;
break
;
}
}
}
}
if
(
i
>
0
&&
i
<
wakeups
.
size
()){
if
(
currentWakeup
!=
null
&&
i
>
0
&&
i
<
wakeups
.
size
()){
PersonalStageWakeup
nextWakeup
=
wakeups
.
get
(
i
);
PersonalStageWakeup
nextWakeup
=
wakeups
.
get
(
i
);
Integer
time
=
nextWakeup
.
getToStageStartTime
()*
60
*
1000
-
dto
.
getTimeout
()
;
Integer
time
=
(
nextWakeup
.
getToStageStartTime
()-
currentWakeup
.
getToStageStartTime
())*
60
*
1000
;
WakeupDelayDTO
wakeupDelayDTONew
=
new
WakeupDelayDTO
();
WakeupDelayDTO
wakeupDelayDTONew
=
new
WakeupDelayDTO
();
wakeupDelayDTONew
.
setPersonalStageWakeupId
(
nextWakeup
.
getId
());
wakeupDelayDTONew
.
setPersonalStageWakeupId
(
nextWakeup
.
getId
());
wakeupDelayDTONew
.
setRobotId
(
robotId
);
wakeupDelayDTONew
.
setRobotId
(
robotId
);
...
...
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