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 c6c89541
authored
Aug 20, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.8.5' of
http://192.168.3.233:8090/usedCarAuction/aus
into v5.8.5
2 parents
8ad4c69e
0c0ce27e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
20 deletions
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionOrderController.java
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionOrderController.java
View file @
c6c8954
...
@@ -219,8 +219,8 @@ public class AuctionOrderController {
...
@@ -219,8 +219,8 @@ public class AuctionOrderController {
// 转换URL为FileInfo
// 转换URL为FileInfo
List
<
FileInfo
>
payVouchers
=
null
;
List
<
FileInfo
>
payVouchers
=
null
;
if
(
vo
.
getPayVouchers
()
!=
null
&&
!
vo
.
getPayVouchers
().
isEmpty
()
)
{
if
(
vo
.
getPayVouchers
()
!=
null
)
{
payVouchers
=
convertUrlsToFileInfos
(
vo
.
getPayVouchers
());
payVouchers
=
vo
.
getPayVouchers
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getPayVouchers
());
}
}
// 创建或更新OrderTransaction记录(与小程序端逻辑一致)
// 创建或更新OrderTransaction记录(与小程序端逻辑一致)
...
@@ -280,18 +280,10 @@ public class AuctionOrderController {
...
@@ -280,18 +280,10 @@ public class AuctionOrderController {
if
(
vo
.
getNewPlateNumber
()
!=
null
)
{
if
(
vo
.
getNewPlateNumber
()
!=
null
)
{
order
.
setNewPlateNumber
(
vo
.
getNewPlateNumber
());
order
.
setNewPlateNumber
(
vo
.
getNewPlateNumber
());
}
}
if
(
vo
.
getRegistrationCertificate
()
!=
null
&&
!
vo
.
getRegistrationCertificate
().
isEmpty
())
{
order
.
setRegistrationCertificate
(
vo
.
getRegistrationCertificate
()
==
null
||
vo
.
getRegistrationCertificate
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setRegistrationCertificate
(
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setVehicleLicense
(
vo
.
getVehicleLicense
()
==
null
||
vo
.
getVehicleLicense
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
order
.
setTransferInvoice
(
vo
.
getTransferInvoice
()
==
null
||
vo
.
getTransferInvoice
().
isEmpty
()
?
null
:
completeFileInfos
(
vo
.
getTransferInvoice
()));
if
(
vo
.
getVehicleLicense
()
!=
null
&&
!
vo
.
getVehicleLicense
().
isEmpty
())
{
order
.
setNewOwnerIdCard
(
vo
.
getNewOwnerIdCard
()
==
null
||
vo
.
getNewOwnerIdCard
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getNewOwnerIdCard
()));
order
.
setVehicleLicense
(
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
if
(
vo
.
getTransferInvoice
()
!=
null
&&
!
vo
.
getTransferInvoice
().
isEmpty
())
{
order
.
setTransferInvoice
(
completeFileInfos
(
vo
.
getTransferInvoice
()));
}
if
(
vo
.
getNewOwnerIdCard
()
!=
null
&&
!
vo
.
getNewOwnerIdCard
().
isEmpty
())
{
order
.
setNewOwnerIdCard
(
convertUrlsToFileInfos
(
vo
.
getNewOwnerIdCard
()));
}
auctionOrderService
.
updateAuctionOrder
(
order
);
auctionOrderService
.
updateAuctionOrder
(
order
);
...
@@ -324,12 +316,8 @@ public class AuctionOrderController {
...
@@ -324,12 +316,8 @@ public class AuctionOrderController {
}
}
// 更新车务资料
// 更新车务资料
if
(
vo
.
getRegistrationCertificate
()
!=
null
&&
!
vo
.
getRegistrationCertificate
().
isEmpty
())
{
order
.
setRegistrationCertificate
(
vo
.
getRegistrationCertificate
()
==
null
||
vo
.
getRegistrationCertificate
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setRegistrationCertificate
(
convertUrlsToFileInfos
(
vo
.
getRegistrationCertificate
()));
order
.
setVehicleLicense
(
vo
.
getVehicleLicense
()
==
null
||
vo
.
getVehicleLicense
().
isEmpty
()
?
null
:
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
if
(
vo
.
getVehicleLicense
()
!=
null
&&
!
vo
.
getVehicleLicense
().
isEmpty
())
{
order
.
setVehicleLicense
(
convertUrlsToFileInfos
(
vo
.
getVehicleLicense
()));
}
auctionOrderService
.
updateAuctionOrder
(
order
);
auctionOrderService
.
updateAuctionOrder
(
order
);
log
.
info
(
"更新车务资料成功, orderId: {}"
,
vo
.
getOrderId
());
log
.
info
(
"更新车务资料成功, orderId: {}"
,
vo
.
getOrderId
());
...
...
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