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 d41ace62
authored
Apr 25, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:修复车牌号为空字符的判断
1 parent
381d83f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/service/VrAuditService.java
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/vo/VrAuditSaveReqVO.java
aus-vr-api/src/main/java/com/glsx/usedcar/controller/AgreementController.java
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/service/VrAuditService.java
View file @
d41ace6
...
...
@@ -361,8 +361,6 @@ public class VrAuditService {
entity
.
setSubmitTime
(
LocalDateTime
.
now
());
entity
.
setDraftStep
(
4
);
}
else
{
// 保存草稿:更新草稿步骤(取当前已到达的最大步骤)
entity
.
setStatus
(
VrAudit
.
PublishStatus
.
DRAFT
.
getValue
());
if
(
entity
.
getDraftStep
()
==
null
||
req
.
getStep
()
>
entity
.
getDraftStep
())
{
entity
.
setDraftStep
(
req
.
getStep
());
}
...
...
aus-core/src/main/java/com/glsx/usedcar/module/vrsystem/vo/VrAuditSaveReqVO.java
View file @
d41ace6
...
...
@@ -36,7 +36,6 @@ public class VrAuditSaveReqVO {
@Schema
(
description
=
"VIN车架号(17位字母数字)"
)
private
String
vin
;
@Pattern
(
regexp
=
"^[\\u4e00-\\u9fa5A-Z][A-Z0-9\\u4e00-\\u9fa5]{6,7}$"
,
message
=
"车牌号格式不正确"
)
@Schema
(
description
=
"车牌号(7-8位,非必填)"
)
private
String
licensePlate
;
...
...
aus-vr-api/src/main/java/com/glsx/usedcar/controller/AgreementController.java
View file @
d41ace6
...
...
@@ -2,6 +2,7 @@ package com.glsx.usedcar.controller;
import
com.glsx.usedcar.module.business.entity.Agreement
;
import
com.glsx.usedcar.module.business.service.AgreementService
;
import
com.glsx.usedcar.resp.BaseResp
;
import
jakarta.annotation.Resource
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
@@ -34,8 +35,8 @@ public class AgreementController {
* @return
*/
@GetMapping
(
"getAgreementByKey"
)
public
Agreement
getAgreementByKey
(
@RequestParam
Agreement
.
AgreementKey
agreementKey
)
{
return
agreementService
.
getAgreementByKey
(
agreementKey
);
public
BaseResp
<
Agreement
>
getAgreementByKey
(
@RequestParam
Agreement
.
AgreementKey
agreementKey
)
{
return
BaseResp
.
success
(
agreementService
.
getAgreementByKey
(
agreementKey
)
);
}
...
...
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