|  |  |  | @ -41,12 +41,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |         bp.zczbhhzbapzbh, | 
			
		
	
		
			
				
					|  |  |  |  |         bp.nameCode, | 
			
		
	
		
			
				
					|  |  |  |  |         basic_corp.name supName, | 
			
		
	
		
			
				
					|  |  |  |  |                auth_warehouse.name invName | 
			
		
	
		
			
				
					|  |  |  |  |         auth_warehouse.name invName, | 
			
		
	
		
			
				
					|  |  |  |  |         bbt.name scanTypeName | 
			
		
	
		
			
				
					|  |  |  |  |         from inv_product_ration ip | 
			
		
	
		
			
				
					|  |  |  |  |         inner join basic_udirel on ip.relId = basic_udirel.id | 
			
		
	
		
			
				
					|  |  |  |  |         inner join basic_products bp on basic_udirel.uuid = bp.uuid | 
			
		
	
		
			
				
					|  |  |  |  |         left join basic_corp on ip.supId = basic_corp.erpId | 
			
		
	
		
			
				
					|  |  |  |  |         left join auth_warehouse on auth_warehouse.code = ip.curInvCode | 
			
		
	
		
			
				
					|  |  |  |  |         left join basic_bussiness_type bbt on ip.scanType = bbt.action | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             bp.diType = 1 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != null and cpmctymc != ''"> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |