|
|
@@ -66,7 +66,6 @@ import com.uas.platform.b2c.prod.product.brand.dao.BrandDao;
|
|
|
import com.uas.platform.b2c.prod.product.brand.modal.Brand;
|
|
|
import com.uas.platform.b2c.prod.product.common.service.CreateNumberService;
|
|
|
import com.uas.platform.b2c.prod.product.component.dao.ComponentDao;
|
|
|
-import com.uas.platform.b2c.prod.product.component.dao.ComponentGoodsDao;
|
|
|
import com.uas.platform.b2c.prod.product.component.modal.Component;
|
|
|
import com.uas.platform.b2c.prod.product.kind.dao.KindInfoDao;
|
|
|
import com.uas.platform.b2c.prod.product.kind.model.Kind;
|
|
|
@@ -4144,7 +4143,7 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
String secondName = kindInfo.getNameCn();
|
|
|
if ("PCB材料".equals(secondName) || "PCB耗材".equals(secondName) || "PCB设备".equals(secondName)) {
|
|
|
if (kindInfo.getIsLeaf().equals(Constant.YES)) {
|
|
|
- List<Goods> goods = ComponentGoodsDao goodsDao.findByKindNameCnAndBrandIsNotNull(kindInfo.getNameCn());
|
|
|
+ List<Goods> goods = goodsDao.findByKindNameCnAndBrandIsNotNull(kindInfo.getNameCn());
|
|
|
if (CollectionUtils.isNotEmpty(goods)) {
|
|
|
map.put(kindInfo.getNameCn(), goods);
|
|
|
}
|