From 3e4ef41ffacd7f5fda2e81c3810cd11a6375b83c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 15 六月 2020 16:32:35 +0800
Subject: [PATCH] 好单库转链支持

---
 fanli/src/main/java/com/yeshi/fanli/dao/brand/BrandShopCaheDao.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/brand/BrandShopCaheDao.java b/fanli/src/main/java/com/yeshi/fanli/dao/brand/BrandShopCaheDao.java
index 73c5bd2..fb05451 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/brand/BrandShopCaheDao.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/brand/BrandShopCaheDao.java
@@ -63,7 +63,7 @@
 	 */
 	public void removeByBrandId(Long brandId) {
 		Query query = new Query();
-		query.addCriteria(Criteria.where("brandId").lt(brandId));
+		query.addCriteria(Criteria.where("brandId").is(brandId));
         mongoTemplate.remove(query, BrandShopCahe.class);
 	}
 	

--
Gitblit v1.8.0