记得上下班打卡 | git大法好,push需谨慎

Commit e43c1097 authored by jiangxiulong's avatar jiangxiulong

盲盒不判断是否上链

parent 0a26b83e
...@@ -51,7 +51,8 @@ public class GoblinNftJobServiceImpl { ...@@ -51,7 +51,8 @@ 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) .orOperator(Criteria.where("unbox").is("0").and("upchain").is(1), Criteria.where("unbox").is("1"))
); );
LocalDateTime nowTime = LocalDateTime.now(); LocalDateTime nowTime = LocalDateTime.now();
// 未开始的正序20个 // 未开始的正序20个
...@@ -67,7 +68,7 @@ public class GoblinNftJobServiceImpl { ...@@ -67,7 +68,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) .orOperator(Criteria.where("unbox").is("0").and("upchain").is(1), Criteria.where("unbox").is("1"))
); );
// 已开始的倒序80个 // 已开始的倒序80个
query2.addCriteria(Criteria.where("saleStartTime").lte(nowTime)); query2.addCriteria(Criteria.where("saleStartTime").lte(nowTime));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment