记得上下班打卡 | 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
b389ed4d
Commit
b389ed4d
authored
Apr 06, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单、商品列表分页10
parent
14ee9c80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GoblinNftGoodsAppServiceImpl.java
...ice/goblin/service/impl/GoblinNftGoodsAppServiceImpl.java
+1
-1
GoblinNftOrderAppServiceImpl.java
...ice/goblin/service/impl/GoblinNftOrderAppServiceImpl.java
+1
-1
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinNftGoodsAppServiceImpl.java
View file @
b389ed4d
...
@@ -44,7 +44,7 @@ public class GoblinNftGoodsAppServiceImpl implements IGoblinNftGoodsAppService {
...
@@ -44,7 +44,7 @@ public class GoblinNftGoodsAppServiceImpl implements IGoblinNftGoodsAppService {
@Override
@Override
public
ResponseDto
<
PagedResult
<
GoblinNftGoodsSkuListVo
>>
goodsList
(
int
page
)
{
public
ResponseDto
<
PagedResult
<
GoblinNftGoodsSkuListVo
>>
goodsList
(
int
page
)
{
int
size
=
2
0
;
int
size
=
1
0
;
//条件
//条件
Query
query
=
Query
.
query
(
Query
query
=
Query
.
query
(
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
).
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
).
and
(
"skuAppear"
).
is
(
"0"
)
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
).
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
).
and
(
"skuAppear"
).
is
(
"0"
)
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinNftOrderAppServiceImpl.java
View file @
b389ed4d
...
@@ -35,7 +35,7 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService {
...
@@ -35,7 +35,7 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService {
List
<
String
>
orderIds
;
List
<
String
>
orderIds
;
orderIds
=
redisUtils
.
getNftOrderList
(
uid
);
orderIds
=
redisUtils
.
getNftOrderList
(
uid
);
int
size
=
4
0
;
int
size
=
1
0
;
int
finalCount
=
orderIds
.
size
()
-
page
*
size
;
int
finalCount
=
orderIds
.
size
()
-
page
*
size
;
int
initCount
=
orderIds
.
size
()
-
(
page
-
1
)
*
size
-
1
;
int
initCount
=
orderIds
.
size
()
-
(
page
-
1
)
*
size
-
1
;
if
(
finalCount
<=
0
)
{
if
(
finalCount
<=
0
)
{
...
...
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