Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
61b7ac77
Commit
61b7ac77
authored
Jun 24, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动刷新状态
parent
ff17aa7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
.../java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
+2
-2
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
View file @
61b7ac77
...
@@ -172,7 +172,7 @@ public class SpecialPerformanceNoticeJob {
...
@@ -172,7 +172,7 @@ public class SpecialPerformanceNoticeJob {
}
else
if
(
specialPerformance
.
getState
().
intValue
()
==
SpecialPerformanceEnum
.
StateEnum
.
NOT_START
.
getCode
())
{
}
else
if
(
specialPerformance
.
getState
().
intValue
()
==
SpecialPerformanceEnum
.
StateEnum
.
NOT_START
.
getCode
())
{
//未开始的专场判断是否需要改为预展中,开始时间提前一天预展
//未开始的专场判断是否需要改为预展中,开始时间提前一天预展
//设置为预展中
//设置为预展中
if
(
startTime
.
after
(
specialPerformance
.
getStartTime
())
&&
specialPerformance
.
getStartTime
().
after
(
now
))
{
if
(
startTime
.
before
(
specialPerformance
.
getStartTime
())
&&
specialPerformance
.
getStartTime
().
after
(
now
))
{
if
(
specialPerformance
.
getState
().
intValue
()
!=
SpecialPerformanceEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
if
(
specialPerformance
.
getState
().
intValue
()
!=
SpecialPerformanceEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
specialPerformanceDao
.
updateState
(
specialPerformance
.
getId
(),
SpecialPerformanceEnum
.
StateEnum
.
PREVIEW
.
getCode
());
specialPerformanceDao
.
updateState
(
specialPerformance
.
getId
(),
SpecialPerformanceEnum
.
StateEnum
.
PREVIEW
.
getCode
());
}
}
...
@@ -205,7 +205,7 @@ public class SpecialPerformanceNoticeJob {
...
@@ -205,7 +205,7 @@ public class SpecialPerformanceNoticeJob {
AuctionConfig
auctionConfig
=
auctionConfigDao
.
findByItemId
(
itemId
);
AuctionConfig
auctionConfig
=
auctionConfigDao
.
findByItemId
(
itemId
);
if
(
auctionConfig
.
getState
().
intValue
()
==
AuctionEnum
.
StateEnum
.
WAIT_ON_SALE
.
getCode
())
{
if
(
auctionConfig
.
getState
().
intValue
()
==
AuctionEnum
.
StateEnum
.
WAIT_ON_SALE
.
getCode
())
{
//待上架的拍品判断是否需要改为预展中,开始时间提前一天预展
//待上架的拍品判断是否需要改为预展中,开始时间提前一天预展
if
(
auctionConfig
.
getStartTime
().
after
(
startTime
)
&&
auctionConfig
.
getStartTime
().
before
(
now
))
{
if
(
startTime
.
before
(
auctionConfig
.
getStartTime
())
&&
auctionConfig
.
getStartTime
().
after
(
now
))
{
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
}
}
...
...
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