|  |  |  | @ -3,7 +3,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <mapper namespace="com.glxp.api.dao.inout.ReceiveDao"> | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterList" resultType="com.glxp.api.res.inout.ReceiveResponse"> | 
			
		
	
		
			
				
					|  |  |  |  |         select io.*, | 
			
		
	
		
			
				
					|  |  |  |  |                (select name from basic_bussiness_type bus where bus.action = io.billType) billTypeName, | 
			
		
	
		
			
				
					|  |  |  |  |                ( SELECT originName FROM basic_bustype_change bus WHERE bus.originAction = io.billType ) billTypeName, | 
			
		
	
		
			
				
					|  |  |  |  |                (select name from auth_dept ad where ad.code = io.deptCode)                deptName, | 
			
		
	
		
			
				
					|  |  |  |  |                (select name from auth_warehouse aw where aw.code = io.invCode)            invName, | 
			
		
	
		
			
				
					|  |  |  |  |                (select employeeName from auth_user au where au.id = io.createUser)        createUserName, | 
			
		
	
	
		
			
				
					|  |  |  | @ -16,6 +16,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="billType != null and billType != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND billType = #{billType} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="corpName != null and corpName != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ( SELECT NAME FROM auth_warehouse aw2 WHERE aw2.CODE = io.targetInvCode ) = #{corpName} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="billNo != null and billNo != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND billNo like concat('%', #{billNo}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |