huodongdong преди 6 години
родител
ревизия
e03a581e5a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      rankin-product-service/src/main/java/cn/rankin/productservice/service/app/ItemService.java

+ 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);