Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
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 410af133
authored
Jul 21, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加参数判断
1 parent
0b153558
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/main/java/cn/com/glsx/app/modules/model/param/DeviceActiveSearch.java
src/main/java/cn/com/glsx/app/modules/model/param/DeviceActiveSearch.java
View file @
410af13
...
...
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
/**
...
...
@@ -19,13 +20,13 @@ public class DeviceActiveSearch extends BasicSearch {
* 查询开始时间
*/
@ApiModelProperty
(
"查询开始时间"
)
@Not
Null
(
message
=
"startTime不能为空"
)
@Not
Blank
(
message
=
"startTime不能为空"
)
String
startTime
;
/**
* 查询结束时间
*/
@ApiModelProperty
(
"查询结束时间"
)
@Not
Null
(
message
=
"endTime不能为空"
)
@Not
Blank
(
message
=
"endTime不能为空"
)
String
endTime
;
}
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