|  |  |  | @ -46,47 +46,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="billNo != '' and billNo != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND billNo LIKE concat('%', | 
			
		
	
		
			
				
					|  |  |  |  |                                        #{billNo} | 
			
		
	
		
			
				
					|  |  |  |  |                 , | 
			
		
	
		
			
				
					|  |  |  |  |                                        '%' | 
			
		
	
		
			
				
					|  |  |  |  |                 ) | 
			
		
	
		
			
				
					|  |  |  |  |                 AND billNo LIKE concat('%', #{billNo},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="workplaceName != '' and workplaceName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND workplaceName | 
			
		
	
		
			
				
					|  |  |  |  |                     LIKE | 
			
		
	
		
			
				
					|  |  |  |  |                     concat | 
			
		
	
		
			
				
					|  |  |  |  |                         ( | 
			
		
	
		
			
				
					|  |  |  |  |                             '%' | 
			
		
	
		
			
				
					|  |  |  |  |                         , | 
			
		
	
		
			
				
					|  |  |  |  |                             #{workplaceName} | 
			
		
	
		
			
				
					|  |  |  |  |                         , | 
			
		
	
		
			
				
					|  |  |  |  |                             '%' | 
			
		
	
		
			
				
					|  |  |  |  |                         ) | 
			
		
	
		
			
				
					|  |  |  |  |                 AND workplaceName LIKE concat('%', #{workplaceName} ,'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="fromCorp != '' and fromCorp != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ( | 
			
		
	
		
			
				
					|  |  |  |  |                             fromCorp | 
			
		
	
		
			
				
					|  |  |  |  |                             LIKE | 
			
		
	
		
			
				
					|  |  |  |  |                             concat | 
			
		
	
		
			
				
					|  |  |  |  |                                 ( | 
			
		
	
		
			
				
					|  |  |  |  |                                     '%' | 
			
		
	
		
			
				
					|  |  |  |  |                                 , | 
			
		
	
		
			
				
					|  |  |  |  |                                     #{fromCorp} | 
			
		
	
		
			
				
					|  |  |  |  |                                 , | 
			
		
	
		
			
				
					|  |  |  |  |                                     '%' | 
			
		
	
		
			
				
					|  |  |  |  |                                 ) | 
			
		
	
		
			
				
					|  |  |  |  |                         or | 
			
		
	
		
			
				
					|  |  |  |  |                             fromCorpName | 
			
		
	
		
			
				
					|  |  |  |  |                                 LIKE | 
			
		
	
		
			
				
					|  |  |  |  |                             concat | 
			
		
	
		
			
				
					|  |  |  |  |                                 ( | 
			
		
	
		
			
				
					|  |  |  |  |                                     '%' | 
			
		
	
		
			
				
					|  |  |  |  |                                 , | 
			
		
	
		
			
				
					|  |  |  |  |                                     #{fromCorp} | 
			
		
	
		
			
				
					|  |  |  |  |                                 , | 
			
		
	
		
			
				
					|  |  |  |  |                                     '%' | 
			
		
	
		
			
				
					|  |  |  |  |                                 ) | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ( fromCorp LIKE concat( '%' ,  #{fromCorp} ,  '%') | 
			
		
	
		
			
				
					|  |  |  |  |                 or fromCorpName LIKE concat( '%',#{fromCorp},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 ) | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="fromType != '' and fromType != null"> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |