|
@@ -216,7 +216,7 @@ public class MerchantProductService {
|
|
|
}
|
|
|
|
|
|
List<Tag> tagList = tagRepository.findByIds(tagIdList);
|
|
|
- if (tagIdList.size() != tagIdList.size()) {
|
|
|
+ if (tagList.size() != tagIdList.size()) {
|
|
|
return APIResult.error(ProductServiceAPICode.error("存在错误的tag"));
|
|
|
}else {
|
|
|
merchantProductTagRelationService.updateByPid(productId, merchantId, tagIdList);
|