Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 29054e6f
authored
Apr 23, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:删除重复代码
1 parent
09803e79
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/service/VrAuditService.java
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/service/VrAuditService.java
View file @
29054e6
...
@@ -857,15 +857,11 @@ public class VrAuditService {
...
@@ -857,15 +857,11 @@ public class VrAuditService {
else
if
(
auctionVehicleState
==
AuctionVehicle
.
AuctionState
.
UNSOLD
)
{
else
if
(
auctionVehicleState
==
AuctionVehicle
.
AuctionState
.
UNSOLD
)
{
newStatus
=
VrAudit
.
PublishStatus
.
UNSOLD
.
getValue
();
newStatus
=
VrAudit
.
PublishStatus
.
UNSOLD
.
getValue
();
}
}
// 规则4:车辆状态为待拍卖 → 待拍卖
// 规则4:车辆状态为拍卖相关状态 → 拍卖中
else
if
(
vehicleState
==
VehicleState
.
PRICED
)
{
newStatus
=
VrAudit
.
PublishStatus
.
WAIT_AUCTION
.
getValue
();
}
// 规则5:车辆状态为拍卖相关状态 → 拍卖中
else
if
(
AUCTIONING_VEHICLE_STATES
.
contains
(
vehicleState
))
{
else
if
(
AUCTIONING_VEHICLE_STATES
.
contains
(
vehicleState
))
{
newStatus
=
VrAudit
.
PublishStatus
.
AUCTIONING
.
getValue
();
newStatus
=
VrAudit
.
PublishStatus
.
AUCTIONING
.
getValue
();
}
}
// 规则
6
: 待拍卖相关状态 → 待拍卖
// 规则
5
: 待拍卖相关状态 → 待拍卖
else
if
(
WAITING_AUCTION_STATES
.
contains
(
vehicleState
))
{
else
if
(
WAITING_AUCTION_STATES
.
contains
(
vehicleState
))
{
newStatus
=
VrAudit
.
PublishStatus
.
WAIT_AUCTION
.
getValue
();
newStatus
=
VrAudit
.
PublishStatus
.
WAIT_AUCTION
.
getValue
();
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment