| 
					
				 | 
			
			
				@@ -370,22 +370,22 @@ public class ProductStoreRelaServiceImpl implements ProductStoreRelaService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //        goods.setMarketPrice(productStoreRela.getMarketPrice()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //        goods.setId(goodsEntity.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //        goodsDao.update(goods); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ProductEntity product = productDao.queryObjectByGoodsIdAndStoreId(goodsId, storeId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(product == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            throw new RRException("该商品规格信息为空!请完善商品数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        productStoreRela.setProductId(product.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (Dict.orderBizType.item_11.getItem().equals(goodsEntity.getGoodsBizType())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // 添加商品规格 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            GoodsSpecificationEntity goodsSpecification = goodsSpecificationDao.queryByGoodsId(goodsEntity.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            goodsSpecification.setValue(productStoreRela.getSpecification()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            goodsSpecificationDao.update(goodsSpecification); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // 修改产品 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            product.setGoodsSpecificationIds(goodsSpecification.getId().toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            product.setGoodsSpecificationNameValue(goodsSpecification.getValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            productDao.update(product); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        ProductEntity product = productDao.queryObjectByGoodsIdAndStoreId(goodsId, storeId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        if(product == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            throw new RRException("该商品规格信息为空!请完善商品数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        productStoreRela.setProductId(product.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        if (Dict.orderBizType.item_11.getItem().equals(goodsEntity.getGoodsBizType())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            // 添加商品规格 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            GoodsSpecificationEntity goodsSpecification = goodsSpecificationDao.queryByGoodsId(goodsEntity.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            goodsSpecification.setValue(productStoreRela.getSpecification()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            goodsSpecificationDao.update(goodsSpecification); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            // 修改产品 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            product.setGoodsSpecificationIds(goodsSpecification.getId().toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            product.setGoodsSpecificationNameValue(goodsSpecification.getValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            productDao.update(product); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 修改商品参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<GoodsAttributeEntity> attributeEntityList = productStoreRela.getAttributeEntityList(); 
			 |