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

Commit 8befb1c2 authored by 胡佳晨's avatar 胡佳晨

帮饼饼修改 我也不知道是啥,

parent 26abcd55
......@@ -59,7 +59,7 @@ public class GoblinMongoUtils {
/**
* 分页查询
*/
public HashMap<String, Object> getGoblinGoodsAnticipateValueVos(GoblinGoodsAnticipateValueParam goblinGoodsAnticipateValueParam,String uid) {
public HashMap<String, Object> getGoblinGoodsAnticipateValueVos(GoblinGoodsAnticipateValueParam goblinGoodsAnticipateValueParam, String uid) {
HashMap<String, Object> info = CollectionUtil.mapStringObject();
Pageable pageable = PageRequest.of(goblinGoodsAnticipateValueParam.getPageNum() - 1, 20, Sort.by(Sort.Direction.DESC, "createdDate"));
Criteria criteria = Criteria.where("delTag").is(0).and("uid").is(uid);
......@@ -165,6 +165,7 @@ public class GoblinMongoUtils {
mongoTemplate.remove(query, GoblinGoodAnticipateUserVo.class.getSimpleName()).getDeletedCount();
}
}
/**
* 添加预约中间表信息
*/
......@@ -492,7 +493,7 @@ public class GoblinMongoUtils {
Criteria criteria = Criteria.where("delFlg").is("0").and("storeId").is(filterParam.getStoreId()).and("marketId").exists(false);
if (null != filterParam.getSpuType()) {
if (0 == filterParam.getSpuType()) {
criteria.andOperator(Criteria.where("spuType").exists(false).orOperator(Criteria.where("spuType").is(0)));
criteria.orOperator(Criteria.where("spuType").exists(false), (Criteria.where("spuType").is(0)));
} else {
criteria.and("spuType").is(1);
}
......
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