记得上下班打卡 | 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
e2a53e65
Commit
e2a53e65
authored
Apr 18, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFT上传声明状态|1-已声明才展示
parent
b186f89d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
GoblinNftJobServiceImpl.java
...ce/goblin/service/impl/inner/GoblinNftJobServiceImpl.java
+2
-0
GoblinRedisUtils.java
...a/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
+3
-0
GoblinNftOrderUtils.java
...om/liquidnet/service/order/utils/GoblinNftOrderUtils.java
+3
-0
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/inner/GoblinNftJobServiceImpl.java
View file @
e2a53e65
...
@@ -51,6 +51,7 @@ public class GoblinNftJobServiceImpl {
...
@@ -51,6 +51,7 @@ public class GoblinNftJobServiceImpl {
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
)
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
)
.
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
)
.
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
)
.
and
(
"skuAppear"
).
is
(
"0"
)
.
and
(
"skuAppear"
).
is
(
"0"
)
.
and
(
"upchain"
).
is
(
1
)
);
);
LocalDateTime
nowTime
=
LocalDateTime
.
now
();
LocalDateTime
nowTime
=
LocalDateTime
.
now
();
// 未开始的正序20个
// 未开始的正序20个
...
@@ -66,6 +67,7 @@ public class GoblinNftJobServiceImpl {
...
@@ -66,6 +67,7 @@ public class GoblinNftJobServiceImpl {
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
)
Criteria
.
where
(
"skuType"
).
is
(
1
).
and
(
"delFlg"
).
is
(
"0"
)
.
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
)
.
and
(
"status"
).
is
(
"3"
).
and
(
"shelvesStatus"
).
is
(
"3"
)
.
and
(
"skuAppear"
).
is
(
"0"
)
.
and
(
"skuAppear"
).
is
(
"0"
)
.
and
(
"upchain"
).
is
(
1
)
);
);
// 已开始的倒序80个
// 已开始的倒序80个
query2
.
addCriteria
(
Criteria
.
where
(
"saleStartTime"
).
lte
(
nowTime
));
query2
.
addCriteria
(
Criteria
.
where
(
"saleStartTime"
).
lte
(
nowTime
));
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
View file @
e2a53e65
...
@@ -1649,6 +1649,8 @@ public class GoblinRedisUtils {
...
@@ -1649,6 +1649,8 @@ public class GoblinRedisUtils {
* private String soldoutStatus 是否售罄[0-否|1-是];
* private String soldoutStatus 是否售罄[0-否|1-是];
*
*
* private String skuCanbuy 是否购买[0-否|1-是] 这个用来预览 前端自己判断;
* private String skuCanbuy 是否购买[0-否|1-是] 这个用来预览 前端自己判断;
*
* Integer upchain NFT上传声明状态[0-待上传|1-已声明|2-声明失败|9-声明中]
*/
*/
// 获取盲盒下藏品的库存 各种状态下不能算库存的排除掉
// 获取盲盒下藏品的库存 各种状态下不能算库存的排除掉
public
int
getSkuAllStatusStock
(
GoblinGoodsSkuInfoVo
info
)
{
public
int
getSkuAllStatusStock
(
GoblinGoodsSkuInfoVo
info
)
{
...
@@ -1672,6 +1674,7 @@ public class GoblinRedisUtils {
...
@@ -1672,6 +1674,7 @@ public class GoblinRedisUtils {
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
(
info
.
getSkuAppear
()
==
null
||
info
.
getSkuAppear
().
equals
(
"0"
))
&&
(
info
.
getSkuAppear
()
==
null
||
info
.
getSkuAppear
().
equals
(
"0"
))
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getUpchain
()
==
1
)
{
)
{
return
true
;
return
true
;
}
else
{
}
else
{
...
...
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/order/utils/GoblinNftOrderUtils.java
View file @
e2a53e65
...
@@ -345,6 +345,8 @@ public class GoblinNftOrderUtils {
...
@@ -345,6 +345,8 @@ public class GoblinNftOrderUtils {
* private String soldoutStatus 是否售罄[0-否|1-是];
* private String soldoutStatus 是否售罄[0-否|1-是];
*
*
* private String skuCanbuy 是否购买[0-否|1-是] 这个用来预览 前端自己判断;
* private String skuCanbuy 是否购买[0-否|1-是] 这个用来预览 前端自己判断;
*
* Integer upchain NFT上传声明状态[0-待上传|1-已声明|2-声明失败|9-声明中]
*/
*/
// 获取盲盒下藏品的库存 各种状态下不能算库存的排除掉
// 获取盲盒下藏品的库存 各种状态下不能算库存的排除掉
public
int
getSkuAllStatusStock
(
GoblinGoodsSkuInfoVo
info
)
{
public
int
getSkuAllStatusStock
(
GoblinGoodsSkuInfoVo
info
)
{
...
@@ -368,6 +370,7 @@ public class GoblinNftOrderUtils {
...
@@ -368,6 +370,7 @@ public class GoblinNftOrderUtils {
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
(
info
.
getSkuAppear
()
==
null
||
info
.
getSkuAppear
().
equals
(
"0"
))
&&
(
info
.
getSkuAppear
()
==
null
||
info
.
getSkuAppear
().
equals
(
"0"
))
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getUpchain
()
==
1
)
{
)
{
return
true
;
return
true
;
}
else
{
}
else
{
...
...
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