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

Commit d60f064e authored by zhengfuxin's avatar zhengfuxin

修改查询。

parent 096fc3c1
...@@ -506,7 +506,7 @@ public class GoblinFrontServiceImpl implements GoblinFrontService { ...@@ -506,7 +506,7 @@ public class GoblinFrontServiceImpl implements GoblinFrontService {
} }
// //
Query query = new Query(); Query query = new Query();
query.addCriteria(Criteria.where("storeId").is(storeId).and("spuAppear").is("0").and("delFlg").is("0").and("shelvesStatus").is("3")); query.addCriteria(Criteria.where("storeId").is(storeId).and("spuAppear").is("0").and("delFlg").is("0").and("shelvesStatus").is("3").and("marketId").is(null));
if(StringUtil.isNotBlank(categoryId)){ if(StringUtil.isNotBlank(categoryId)){
query.addCriteria(new Criteria().orOperator( query.addCriteria(new Criteria().orOperator(
Criteria.where("storeCateFid").is(categoryId), Criteria.where("storeCateFid").is(categoryId),
......
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