| 
					
				 | 
			
			
				@@ -639,12 +639,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fNetweightc != null ">and leg.f_netweightC = #{fNetweightc}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fGrossweightblc != null ">and leg.f_grossweightblc = #{fGrossweightblc}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fNetweightblc != null ">and leg.f_netweightblc = #{fNetweightblc}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="fCntrno != null  and fCntrno != ''">and leg.f_cntrno = #{fCntrno}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fStatus != null  and fStatus != ''">and leg.f_status = #{fStatus}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fWarehouseid != null ">and leg.f_warehouseid = #{fWarehouseid} </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fLocation != null and fLocation ==1 "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 and leg.f_warehouse_locationid = #{fWarehouseLocationid} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="fCntrno != null  and fCntrno != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and leg.f_cntrno  LIKE  concat('%', #{fCntrno}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="fLocalcntrno != null  and fLocalcntrno != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 and leg.f_localcntrno  LIKE  concat('%', #{fLocalcntrno}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 |