|  | @@ -184,7 +184,7 @@
 | 
	
		
			
				|  |  |  		(
 | 
	
		
			
				|  |  |  		select cInvCode,isnull(cFree1,'') as cColor,comcode as cCode,isnull(iSQuantity,iquantity) as iQuantity,iUnitCost as iPrice
 | 
	
		
			
				|  |  |  		from rdrecords11 where
 | 
	
		
			
				|  |  | -		trim(comcode) not like CONCAT(#{code},'%') and comcode not like '%样%'
 | 
	
		
			
				|  |  | +		trim(comcode) not like CONCAT(#{code},'%')
 | 
	
		
			
				|  |  |  		and (cInvCode+isnull(cFree1,'')+isnull(cbatch,'') in (
 | 
	
		
			
				|  |  |  			select b.cinvcode+isnull(b.cfree1,'')+isnull(b.cbatch,'') from RdRecords01 b
 | 
	
		
			
				|  |  |  			inner join PO_Podetails  c on b.iposid=c.id
 |