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
cb11c716
Commit
cb11c716
authored
Jun 24, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍品详情状态
parent
809cc4aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SpecialPerformanceServiceImpl.java
...h/wx/impl/distribution/SpecialPerformanceServiceImpl.java
+5
-5
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
...wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
+1
-1
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/impl/distribution/SpecialPerformanceServiceImpl.java
View file @
cb11c716
...
@@ -215,7 +215,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
...
@@ -215,7 +215,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
if
(
startTime
.
before
(
auctionConfig
.
getStartTime
())
&&
auctionConfig
.
getStartTime
().
after
(
now
))
{
if
(
startTime
.
before
(
auctionConfig
.
getStartTime
())
&&
auctionConfig
.
getStartTime
().
after
(
now
))
{
supplierItemVo
.
setState
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
supplierItemVo
.
setState
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
supplierItemVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getDes
());
supplierItemVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getDes
());
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
getEndTime
().
after
(
now
))
{
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
get
Real
EndTime
().
after
(
now
))
{
supplierItemVo
.
setState
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
supplierItemVo
.
setState
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
supplierItemVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getDes
());
supplierItemVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getDes
());
}
else
if
(
now
.
after
(
auctionConfig
.
getRealEndTime
()))
{
}
else
if
(
now
.
after
(
auctionConfig
.
getRealEndTime
()))
{
...
@@ -240,14 +240,14 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
...
@@ -240,14 +240,14 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
if
(
now
.
after
(
specialPerformance
.
getEndTime
()))
{
if
(
now
.
after
(
specialPerformance
.
getEndTime
()))
{
SpecialPerformance
updateDto
=
new
SpecialPerformance
();
SpecialPerformance
updateDto
=
new
SpecialPerformance
();
updateDto
.
setId
(
dto
.
getSpecialPerformanceId
());
updateDto
.
setId
(
dto
.
getSpecialPerformanceId
());
updateDto
.
setState
(
DistributionEnum
.
Auction
StateEnum
.
END
.
getCode
());
updateDto
.
setState
(
SpecialPerformanceEnum
.
StateEnum
.
END
.
getCode
());
updateDto
.
setUpdateTime
(
now
);
updateDto
.
setUpdateTime
(
now
);
specialPerformanceDao
.
update
(
updateDto
);
specialPerformanceDao
.
update
(
updateDto
);
resultMap
.
put
(
"state"
,
DistributionEnum
.
Auction
StateEnum
.
END
.
getCode
());
resultMap
.
put
(
"state"
,
SpecialPerformanceEnum
.
StateEnum
.
END
.
getCode
());
resultMap
.
put
(
"stateName"
,
DistributionEnum
.
Auction
StateEnum
.
END
.
getDes
());
resultMap
.
put
(
"stateName"
,
SpecialPerformanceEnum
.
StateEnum
.
END
.
getDes
());
}
else
{
}
else
{
resultMap
.
put
(
"state"
,
specialPerformance
.
getState
());
resultMap
.
put
(
"state"
,
specialPerformance
.
getState
());
resultMap
.
put
(
"stateName"
,
DistributionEnum
.
Auction
StateEnum
.
getNameByCode
(
specialPerformance
.
getState
()));
resultMap
.
put
(
"stateName"
,
SpecialPerformanceEnum
.
StateEnum
.
getNameByCode
(
specialPerformance
.
getState
()));
}
}
return
Result
.
success
(
resultMap
);
return
Result
.
success
(
resultMap
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
View file @
cb11c716
...
@@ -616,7 +616,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
...
@@ -616,7 +616,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
if
(
previewStartTime
.
before
(
auctionConfig
.
getStartTime
())
&&
auctionConfig
.
getStartTime
().
after
(
now
))
{
if
(
previewStartTime
.
before
(
auctionConfig
.
getStartTime
())
&&
auctionConfig
.
getStartTime
().
after
(
now
))
{
auctionDetailVo
.
setState
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
auctionDetailVo
.
setState
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
());
auctionDetailVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getDes
());
auctionDetailVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
PREVIEW
.
getDes
());
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
getEndTime
().
after
(
now
))
{
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
get
Real
EndTime
().
after
(
now
))
{
auctionDetailVo
.
setState
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
auctionDetailVo
.
setState
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
auctionDetailVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getDes
());
auctionDetailVo
.
setStateName
(
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getDes
());
}
else
if
(
now
.
after
(
realEndTime
))
{
}
else
if
(
now
.
after
(
realEndTime
))
{
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
View file @
cb11c716
...
@@ -209,14 +209,14 @@ public class SpecialPerformanceNoticeJob {
...
@@ -209,14 +209,14 @@ public class SpecialPerformanceNoticeJob {
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
());
}
}
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
getEndTime
().
after
(
now
))
{
}
else
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
get
Real
EndTime
().
after
(
now
))
{
//开始时间之后,结束时间之前,状态设置为拍卖中
//开始时间之后,结束时间之前,状态设置为拍卖中
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
())
{
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
())
{
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
}
}
}
}
}
else
if
(
auctionConfig
.
getState
().
intValue
()
==
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
}
else
if
(
auctionConfig
.
getState
().
intValue
()
==
AuctionEnum
.
StateEnum
.
PREVIEW
.
getCode
())
{
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
specialPerformance
.
get
EndTime
().
after
(
now
))
{
if
(
auctionConfig
.
getStartTime
().
before
(
now
)
&&
auctionConfig
.
getReal
EndTime
().
after
(
now
))
{
//开始时间之后,结束时间之前,状态设置为进行中
//开始时间之后,结束时间之前,状态设置为进行中
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
())
{
if
(
auctionConfig
.
getState
().
intValue
()
!=
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
())
{
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
AUCTIONING
.
getCode
());
auctionConfigDao
.
updateState
(
itemId
,
AuctionEnum
.
StateEnum
.
AUCTIONING
.
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