Commit 7f0639c9 by 章家宝

feat:后台修改过户资料如果未审核通过需要将状态改为待审核

1 parent 736c1479
......@@ -272,7 +272,10 @@ public class AuctionOrderController {
log.warn("后台代上传过户资料失败, 订单状态不正确, orderId: {}, orderState: {}", vo.getOrderId(), order.getOrderState());
return BaseResp.fail("订单状态不正确,仅待过户或已完成订单可修改过户资料");
}
if (order.getAuditState() != AuditState.AUDITED) {
// 设置为上传过户资料审核等待中
order.setAuditState(AuditState.UNAUDITED);
}
// 更新过户资料(保存但不触发审核)
if (vo.getNewPlateNumber() != null) {
order.setNewPlateNumber(vo.getNewPlateNumber());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!