Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 91f4a25b
authored
Nov 02, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref(参数校验提示): 参数校验提示增加具体字段
1 parent
17d84931
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/param/BaseLocation.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/EngineerCode.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/EngineerOrderParam.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/BaseLocation.java
View file @
91f4a25
...
@@ -11,12 +11,12 @@ public class BaseLocation {
...
@@ -11,12 +11,12 @@ public class BaseLocation {
/**
/**
* 地址纬度
* 地址纬度
*/
*/
@NotNull
@NotNull
(
message
=
"地址纬度必填"
)
private
Double
latitude
;
private
Double
latitude
;
/**
/**
* 地址经度
* 地址经度
*/
*/
@NotNull
@NotNull
(
message
=
"地址经度必填"
)
private
Double
longitude
;
private
Double
longitude
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/param/EngineerCode.java
View file @
91f4a25
...
@@ -16,6 +16,6 @@ public class EngineerCode {
...
@@ -16,6 +16,6 @@ public class EngineerCode {
/**
/**
* 工程师工号
* 工程师工号
*/
*/
@NotBlank
@NotBlank
(
message
=
"工程师工号不能为空"
)
protected
String
engineerCode
;
protected
String
engineerCode
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/param/EngineerOrderParam.java
View file @
91f4a25
...
@@ -14,7 +14,7 @@ public class EngineerOrderParam {
...
@@ -14,7 +14,7 @@ public class EngineerOrderParam {
/**
/**
* 工程师工号
* 工程师工号
*/
*/
@NotBlank
@NotBlank
(
message
=
"工程师工号不能为空"
)
private
String
engineerCode
;
private
String
engineerCode
;
...
...
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