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 b9d3ed8c
authored
Mar 31, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 固定金额没有设置的时候,置为null
1 parent
f9653d43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AppraiseService.java
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AppraiseService.java
View file @
b9d3ed8
...
...
@@ -89,7 +89,7 @@ public class AppraiseService extends AbstractAuctionService {
throw
new
FieldException
(
"vehicleState"
,
vehicle
.
getVehicleState
(),
"该车辆已在拍卖中,不能评估定价。"
);
}
int
fixedCommissionSwitch
=
appraisePrice
.
getFixedCommissionSwitch
()
==
null
?
0
:
appraisePrice
.
getFixedCommissionSwitch
();
double
fixedCommission
=
fixedCommissionSwitch
==
1
?
appraisePrice
.
getFixedCommission
()
:
0
;
Double
fixedCommission
=
fixedCommissionSwitch
==
1
?
appraisePrice
.
getFixedCommission
()
:
null
;
vehicle
.
setStartingBidPrice
(
appraisePrice
.
getStartingBidPrice
());
vehicle
.
setReferencePrice
(
appraisePrice
.
getReferencePrice
());
vehicle
.
setReservePrice
(
appraisePrice
.
getReservePrice
());
...
...
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