|  | @@ -138,6 +138,10 @@ public class GoodsServiceImpl implements GoodsService {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // 添加商品
 | 
	
		
			
				|  |  | +        if (Dict.orderBizType.item_02.getItem().equals(goods.getGoodsBizType())
 | 
	
		
			
				|  |  | +                || Dict.orderBizType.item_10.getItem().equals(goods.getGoodsBizType())) {
 | 
	
		
			
				|  |  | +            goods.setIsHot(0);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          goods.setAttributeCategory(categoryDao.queryObject(goods.getCategoryId()).getParentId());
 | 
	
		
			
				|  |  |          goods.setAddTime(new Date());
 | 
	
		
			
				|  |  |          goods.setIsDelete(0);
 | 
	
	
		
			
				|  | @@ -258,6 +262,10 @@ public class GoodsServiceImpl implements GoodsService {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // 修改商品
 | 
	
		
			
				|  |  | +        if (Dict.orderBizType.item_02.getItem().equals(goods.getGoodsBizType())
 | 
	
		
			
				|  |  | +                || Dict.orderBizType.item_10.getItem().equals(goods.getGoodsBizType())) {
 | 
	
		
			
				|  |  | +            goods.setIsHot(0);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          goods.setAttributeCategory(categoryDao.queryObject(goods.getCategoryId()).getParentId());
 | 
	
		
			
				|  |  |          goods.setIsDelete(0);
 | 
	
		
			
				|  |  |          goods.setIsNew(0);
 |