From 79b33a5c97602b082dfdf8b96cd28a8015ad3b8b Mon Sep 17 00:00:00 2001 From: 喻健 <喻健@Admin> Date: 星期三, 19 十二月 2018 16:38:39 +0800 Subject: [PATCH] 调整商品详情中,淘宝喜欢数据为空时不再系统取默认数据 --- fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java index eb7eba4..8e51262 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityFactoryServiceImpl.java @@ -253,11 +253,7 @@ } } - List<String> strList = new ArrayList<String>(); - for (Long id : auctionIdList) { - strList.add(id + ""); - } - List<TaoBaoGoodsBrief> existList = taoBaoGoodsBriefRecordMapper.queryGoodsByAuctionId(strList); + List<TaoBaoGoodsBrief> existList = taoBaoGoodsBriefRecordMapper.queryByAuctionIdList(auctionIdList); List<QualityFactory> addList = new ArrayList<QualityFactory>(); List<LabelGoods> addLabelList = new ArrayList<LabelGoods>(); -- Gitblit v1.8.0