|  |  | @ -419,7 +419,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <select id="selectUploadOrder" resultType="com.glxp.api.res.inout.IoOrderResponse"> |  |  |  |     <select id="selectUploadOrder" resultType="com.glxp.api.res.inout.IoOrderResponse"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         select io.*,ioul.result, |  |  |  |         select io.*, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                ioul.result, | 
			
		
	
		
		
			
				
					
					|  |  |  |                (select name from basic_bussiness_type bus where bus.action = io.action) billTypeName, |  |  |  |                (select name from basic_bussiness_type bus where bus.action = io.action) billTypeName, | 
			
		
	
		
		
			
				
					
					|  |  |  |                (select name from auth_dept ad where ad.code = io.deptCode)              deptName, |  |  |  |                (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 name from auth_warehouse aw where aw.code = io.invCode)          invName, | 
			
		
	
	
		
		
			
				
					|  |  | @ -520,8 +521,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                      LEFT JOIN basic_bussiness_type ON io_order.action = basic_bussiness_type.action |  |  |  |                      LEFT JOIN basic_bussiness_type ON io_order.action = basic_bussiness_type.action | 
			
		
	
		
		
			
				
					
					|  |  |  |         WHERE basic_bussiness_type.inStock = 1 |  |  |  |         WHERE basic_bussiness_type.inStock = 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |           and io_order.`status` = 7 |  |  |  |           and io_order.`status` = 7 | 
			
		
	
		
		
			
				
					
					|  |  |  |           AND date_format(io_order.updateTime, '%Y-%m-%d') between date_format(#{lastData}, '%Y-%m-%d') and |  |  |  |           AND date_format(io_order.updateTime, '%Y-%m-%d') between date_format(#{firstData}, '%Y-%m-%d') and date_format(#{lastData}, '%Y-%m-%d') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 date_format(#{firstData}, '%Y-%m-%d') |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |