| 
					
				 | 
			
			
				@@ -133,11 +133,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		SELECT COUNT(*) FROM goods_procurement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<select id="getWithStockSurplusProcurement" resultMap="GoodsProcurement"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="getWithStockSurplusProcurement" resultMap="GoodsProcurement" useCache="false" flushCache="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		SELECT * FROM goods_procurement WHERE goods_id_ = #{goodsId} AND stock_count_>stock_sold_num_ ORDER BY create_time_ LIMIT 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<select id="getWithTaxStockSurplusProcurement" resultMap="GoodsProcurement"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<select id="getWithTaxStockSurplusProcurement" resultMap="GoodsProcurement" useCache="false" flushCache="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		SELECT * FROM goods_procurement WHERE goods_id_ = #{goodsId} AND tax_stock_count_>tax_stock_sold_num_ ORDER BY create_time_ LIMIT 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |