|  |  |  | @ -50,12 +50,10 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterListInv" resultType="com.glxp.api.res.inout.IoOrderInvoiceResponse"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT ic.*, | 
			
		
	
		
			
				
					|  |  |  |  |                (select cpmctymc from basic_products where basic_products.uuid = bu.uuid GROUP BY	basic_products.uuid) cpmctymc, | 
			
		
	
		
			
				
					|  |  |  |  |                (select ggxh from basic_products where basic_products.uuid = bu.uuid GROUP BY	basic_products.uuid)     ggxh | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT ic.*,cpmctymc,ggxh | 
			
		
	
		
			
				
					|  |  |  |  |         FROM io_order_invoice ic | 
			
		
	
		
			
				
					|  |  |  |  |                      LEFT JOIN basic_udirel bu ON bu.id = ic.bindRlFk | 
			
		
	
		
			
				
					|  |  |  |  |                      LEFT JOIN basic_products bp ON bu.uuid = bp.uuid | 
			
		
	
		
			
				
					|  |  |  |  |         LEFT JOIN basic_udirel bu ON bu.id = ic.bindRlFk | 
			
		
	
		
			
				
					|  |  |  |  |         LEFT JOIN basic_products bp ON bu.uuid = bp.uuid | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="orderIdFk != null and orderIdFk != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ic.orderIdFk = #{orderIdFk} | 
			
		
	
	
		
			
				
					|  |  |  | 
 |