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
11fb5908
Commit
11fb5908
authored
Apr 26, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zyj-fixbug1022884' into 'master'
fixbug1022884 See merge request rays/pcloud-book!676
parents
888c8283
c3126ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SelfPushBizImpl.java
...n/java/com/pcloud/book/push/biz/impl/SelfPushBizImpl.java
+4
-4
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/push/biz/impl/SelfPushBizImpl.java
View file @
11fb5908
...
@@ -721,12 +721,12 @@ public class SelfPushBizImpl implements SelfPushBiz {
...
@@ -721,12 +721,12 @@ public class SelfPushBizImpl implements SelfPushBiz {
for
(
SelfPushRecordDTO
dto:
recordList
)
{
for
(
SelfPushRecordDTO
dto:
recordList
)
{
String
realSendTime
=
""
;
String
realSendTime
=
""
;
if
(
dto
.
getPushType
()!=
null
&&
dto
.
getPushType
()==
1
){
if
(
dto
.
getPushType
()!=
null
&&
dto
.
getPushType
()==
1
){
realSendTime
=
DateUtils
.
formatDate
(
dto
.
getStartTime
(),
"yyyy-MM-dd"
)+
"至"
+
DateUtils
.
formatDate
(
dto
.
getEndTime
(),
"yyyy-MM-dd"
)+
"
;
"
;
realSendTime
=
DateUtils
.
formatDate
(
dto
.
getStartTime
(),
"yyyy-MM-dd"
)+
"至"
+
DateUtils
.
formatDate
(
dto
.
getEndTime
(),
"yyyy-MM-dd"
)+
"
;
"
;
realSendTime
=
realSendTime
+
"每天
;
"
+
dto
.
getPushSendTime
();
realSendTime
=
realSendTime
+
"每天
;
"
+
dto
.
getPushSendTime
();
dto
.
setRealSendTime
(
realSendTime
);
dto
.
setRealSendTime
(
realSendTime
);
}
else
if
(
dto
.
getPushType
()!=
null
&&
dto
.
getPushType
()==
2
){
}
else
if
(
dto
.
getPushType
()!=
null
&&
dto
.
getPushType
()==
2
){
String
weekDays
=
dto
.
getWeekDays
();
String
weekDays
=
dto
.
getWeekDays
();
realSendTime
=
DateUtils
.
formatDate
(
dto
.
getStartTime
(),
"yyyy-MM-dd"
)+
"至"
+
DateUtils
.
formatDate
(
dto
.
getEndTime
(),
"yyyy-MM-dd"
)+
"
;
"
;
realSendTime
=
DateUtils
.
formatDate
(
dto
.
getStartTime
(),
"yyyy-MM-dd"
)+
"至"
+
DateUtils
.
formatDate
(
dto
.
getEndTime
(),
"yyyy-MM-dd"
)+
"
;
"
;
if
(
weekDays
.
contains
(
"1"
)){
if
(
weekDays
.
contains
(
"1"
)){
weekDays
=
weekDays
.
replace
(
"1"
,
"周一"
);
weekDays
=
weekDays
.
replace
(
"1"
,
"周一"
);
}
}
...
@@ -749,7 +749,7 @@ public class SelfPushBizImpl implements SelfPushBiz {
...
@@ -749,7 +749,7 @@ public class SelfPushBizImpl implements SelfPushBiz {
weekDays
=
weekDays
.
replace
(
"7"
,
"周日"
);
weekDays
=
weekDays
.
replace
(
"7"
,
"周日"
);
}
}
realSendTime
=
realSendTime
+
weekDays
+
"
;
"
+
dto
.
getPushSendTime
();
realSendTime
=
realSendTime
+
weekDays
+
"
;
"
+
dto
.
getPushSendTime
();
dto
.
setRealSendTime
(
realSendTime
);
dto
.
setRealSendTime
(
realSendTime
);
}
else
{
}
else
{
if
(
null
!=
dto
.
getSendTime
()){
if
(
null
!=
dto
.
getSendTime
()){
...
...
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