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 bce5696c
authored
Aug 12, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:修改过户资料只有在待过户或者已完成可以修改
1 parent
a5991e04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 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 @
bce5696
...
@@ -253,23 +253,24 @@ public class AuctionOrderController {
...
@@ -253,23 +253,24 @@ public class AuctionOrderController {
/**
/**
* 后台代上传过户资料
* 后台代上传过户资料
* <p>
* <p>
* 仅当订单状态为待过户或
审核中
时可操作
* 仅当订单状态为待过户或
已完成
时可操作
* </p>
* </p>
*
*
* @param vo 请求参数
* @param vo 请求参数
* @return 更新后的订单
* @return 更新后的订单
*/
*/
@PostMapping
(
"proxyUploadTransferMaterials"
)
@PostMapping
(
"proxyUploadTransferMaterials"
)
@Operation
(
summary
=
"后台代上传过户资料"
,
description
=
"仅当订单状态为待过户或
审核中
时可操作"
)
@Operation
(
summary
=
"后台代上传过户资料"
,
description
=
"仅当订单状态为待过户或
已完成
时可操作"
)
public
BaseResp
<
AuctionOrder
>
proxyUploadTransferMaterials
(
@Valid
@RequestBody
ProxyUploadTransferMaterialsVO
vo
)
{
public
BaseResp
<
AuctionOrder
>
proxyUploadTransferMaterials
(
@Valid
@RequestBody
ProxyUploadTransferMaterialsVO
vo
)
{
log
.
info
(
"后台代上传过户资料, 请求参数: {}"
,
vo
);
log
.
info
(
"后台代上传过户资料, 请求参数: {}"
,
vo
);
try
{
try
{
AuctionOrder
order
=
auctionOrderService
.
getAuctionOrderById
(
vo
.
getOrderId
());
AuctionOrder
order
=
auctionOrderService
.
getAuctionOrderById
(
vo
.
getOrderId
());
// 校验订单状态
// 校验订单状态:仅待过户或已完成可修改
if
(
order
.
getOrderState
()
!=
AuctionOrder
.
OrderState
.
TRANSFERRING
)
{
if
(
order
.
getOrderState
()
!=
AuctionOrder
.
OrderState
.
TRANSFERRING
&&
order
.
getOrderState
()
!=
AuctionOrder
.
OrderState
.
COMPLETED
)
{
log
.
warn
(
"后台代上传过户资料失败, 订单状态不正确, orderId: {}, orderState: {}"
,
vo
.
getOrderId
(),
order
.
getOrderState
());
log
.
warn
(
"后台代上传过户资料失败, 订单状态不正确, orderId: {}, orderState: {}"
,
vo
.
getOrderId
(),
order
.
getOrderState
());
return
BaseResp
.
fail
(
"订单状态不正确,仅待过户
订单可上传
过户资料"
);
return
BaseResp
.
fail
(
"订单状态不正确,仅待过户
或已完成订单可修改
过户资料"
);
}
}
// 更新过户资料(保存但不触发审核)
// 更新过户资料(保存但不触发审核)
...
...
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