huodongdong 6 years ago
parent
commit
e03a581e5a

+ 1 - 0
rankin-product-service/src/main/java/cn/rankin/productservice/service/app/ItemService.java

@@ -249,6 +249,7 @@ public class ItemService {
         MerchantProductTagRelation relation = new MerchantProductTagRelation();
         relation.setTagId(tagId);
         relation.setMerchantId(merchantId);
+        relation.setStatus(BaseStatusEnum.NORMAL);
         Long total = merchantProductTagRelationRepository.count(relation);
 
         Page<ItemVo> page = new Page(total, pageNo, pageSize);