Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
a9b0d89c
Commit
a9b0d89c
authored
Mar 18, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
94026498
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/appointment/ApiInsurantInfoDto.java
+1
-1
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/appointment/ApiPolicyholderInfoDto.java
+1
-1
No files found.
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/appointment/ApiInsurantInfoDto.java
View file @
a9b0d89c
...
...
@@ -50,7 +50,7 @@ public class ApiInsurantInfoDto {
* 姓名-中文
*/
// @NotBlank(message = "受保人-姓名(中文)不能为空", groups = GroupValid.NotSelf.class)
@Pattern
(
regexp
=
"^
[\u4e00-\u9fa5]{2,6}
$"
,
message
=
"受保人-姓名(中文)必须为2-6位汉字"
,
groups
=
GroupValid
.
NotSelf
.
class
)
@Pattern
(
regexp
=
"^
(|[\u4e00-\u9fa5]{2,6})
$"
,
message
=
"受保人-姓名(中文)必须为2-6位汉字"
,
groups
=
GroupValid
.
NotSelf
.
class
)
private
String
nameCn
;
/**
...
...
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/appointment/ApiPolicyholderInfoDto.java
View file @
a9b0d89c
...
...
@@ -43,7 +43,7 @@ public class ApiPolicyholderInfoDto {
* 姓名-中文
*/
// @NotBlank(message = "投保人-姓名(中文)不能为空")
@Pattern
(
regexp
=
"^
[\u4e00-\u9fa5]{2,6}$"
,
message
=
"投保人-姓名(中文)必须为2-6位汉字"
)
@Pattern
(
regexp
=
"^
(|[\u4e00-\u9fa5]{2,6})$"
,
message
=
"投保人-姓名(中文)必须为2-6位汉字"
)
private
String
nameCn
;
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment