记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
e4daae26
Commit
e4daae26
authored
Apr 12, 2022
by
GaoHu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exit
parent
fc811e58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
GoblinGoodsAnticipateValueParam.java
...ce/goblin/dto/manage/GoblinGoodsAnticipateValueParam.java
+4
-4
GoblinMongoUtils.java
...a/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinGoodsAnticipateValueParam.java
View file @
e4daae26
...
...
@@ -27,10 +27,10 @@ public class GoblinGoodsAnticipateValueParam{
@Min
(
value
=
1
,
message
=
"起始索引无效"
)
@NotNull
(
message
=
"起始索引无效"
)
private
Integer
pageNum
;
@ApiModelProperty
(
position
=
12
,
required
=
true
,
value
=
"每页显示记录数"
,
example
=
"20"
)
@Max
(
value
=
100
,
message
=
"显示记录数无效"
)
@NotNull
(
message
=
"显示记录数无效"
)
private
Integer
pageSize
;
//
@ApiModelProperty(position = 12, required = true, value = "每页显示记录数", example = "20")
//
@Max(value = 100, message = "显示记录数无效")
//
@NotNull(message = "显示记录数无效")
//
private Integer pageSize;
/**
* 预约名称
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
View file @
e4daae26
...
...
@@ -59,7 +59,7 @@ public class GoblinMongoUtils {
*/
public
HashMap
<
String
,
Object
>
getGoblinGoodsAnticipateValueVos
(
GoblinGoodsAnticipateValueParam
goblinGoodsAnticipateValueParam
)
{
HashMap
<
String
,
Object
>
info
=
CollectionUtil
.
mapStringObject
();
Pageable
pageable
=
PageRequest
.
of
(
goblinGoodsAnticipateValueParam
.
getPageNum
()
-
1
,
goblinGoodsAnticipateValueParam
.
getPageSize
()
,
Sort
.
by
(
Sort
.
Direction
.
DESC
,
"createdDate"
));
Pageable
pageable
=
PageRequest
.
of
(
goblinGoodsAnticipateValueParam
.
getPageNum
()
-
1
,
20
,
Sort
.
by
(
Sort
.
Direction
.
DESC
,
"createdDate"
));
Criteria
criteria
=
Criteria
.
where
(
"delTag"
).
is
(
0
);
if
(
StringUtils
.
isNotBlank
(
goblinGoodsAnticipateValueParam
.
getName
()))
{
criteria
=
criteria
.
and
(
"skuName"
).
is
(
goblinGoodsAnticipateValueParam
.
getName
());
...
...
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