|  |  | @ -55,7 +55,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND ( |  |  |  |                 AND ( | 
			
		
	
		
		
			
				
					
					|  |  |  |                         bc.name like concat('%', #{keyWord}, '%') |  |  |  |                         bc.name like concat('%', #{keyWord}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 or io.remark like concat('%', #{keyWord}, '%') |  |  |  |                                 or io.remark like concat('%', #{keyWord}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |                 or io.fromInvCode like concat('%', #{keyWord}, '%')  ) |  |  |  |                                 or io.fromInvCode like concat('%', #{keyWord}, '%')) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="deptCode != null and deptCode != ''"> |  |  |  |             <if test="deptCode != null and deptCode != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND io.deptCode = #{deptCode} |  |  |  |                 AND io.deptCode = #{deptCode} | 
			
		
	
	
		
		
			
				
					|  |  | @ -75,6 +75,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="filterSelected != null and filterSelected == true"> |  |  |  |             <if test="filterSelected != null and filterSelected == true"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND io.preInSelected is null |  |  |  |                 AND io.preInSelected is null | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="filterSelected != null and filterSelected == false"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND io.preInSelected is not null | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |  |  |  |             <if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and |  |  |  |                 AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and | 
			
		
	
		
		
			
				
					
					|  |  |  |                         date_format(#{endTime}, '%Y-%m-%d') |  |  |  |                         date_format(#{endTime}, '%Y-%m-%d') | 
			
		
	
	
		
		
			
				
					|  |  | 
 |