|  | @@ -167,9 +167,9 @@ public interface FsStoreProductScrmMapper
 | 
	
		
			
				|  |  |      @Update("update fs_store_product_scrm set stock=stock-#{num}, sales=sales+#{num}" +
 | 
	
		
			
				|  |  |              " where product_id=#{productId} and stock >= #{num}")
 | 
	
		
			
				|  |  |      int decProductAttrStock(@Param("productId")Long productId, @Param("num")Integer cartNum);
 | 
	
		
			
				|  |  | -    @Update("update fs_store_product_scrm set stock=stock+#{num}, sales=sales-#{num}" +
 | 
	
		
			
				|  |  | +    @Update("update fs_store_product_scrm set stock=stock+#{num}, sales=sales-#{sales}" +
 | 
	
		
			
				|  |  |              " where product_id=#{productId}")
 | 
	
		
			
				|  |  | -    int incStockDecSales( @Param("num")Long num, @Param("productId")Long productId);
 | 
	
		
			
				|  |  | +    int incStockDecSales( @Param("num")Long num,@Param("sales") Long sales, @Param("productId")Long productId);
 | 
	
		
			
				|  |  |      @Select("select * from fs_store_product_scrm where is_del=0 and is_show=1 and  is_new=1 and is_display=1 order by sort desc limit #{count}")
 | 
	
		
			
				|  |  |      List<FsStoreProductListQueryVO> selectFsStoreProductNewQuery(int count);
 | 
	
		
			
				|  |  |      @Select("select * from fs_store_product_scrm where is_del=0 and is_show=1 and  is_hot=1 and is_display=1 order by sort desc limit #{count}")
 |