|  |  | @ -213,7 +213,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%') |  |  |  |                 AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="spec != '' and spec != null"> |  |  |  |             <if test="spec != '' and spec != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND tdi.spec = #{spec} |  |  |  |                 AND tdi.spec like concat('%', #{spec}, '%')) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="checkStatus != null"> |  |  |  |             <if test="checkStatus != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND tdi.status = #{checkStatus} |  |  |  |                 AND tdi.status = #{checkStatus} | 
			
		
	
	
		
		
			
				
					|  |  | @ -222,7 +222,16 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND tdi.customerId = #{customerId} |  |  |  |                 AND tdi.customerId = #{customerId} | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="registerNo != '' and registerNo != null"> |  |  |  |             <if test="registerNo != '' and registerNo != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND tdi.registerNo = #{registerNo} |  |  |  |                 AND tdi.registerNo like concat('%', #{registerNo}, '%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="keyWords != '' and keyWords != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND ( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                    tdi.sptm like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or tdi.code like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or tdi.ybbm like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or tdi.name like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or tdi.registerNo like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or tdi.spec like concat('%', #{keyWords}, '%')) | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |         order by tdi.createTime DESC |  |  |  |         order by tdi.createTime DESC | 
			
		
	
	
		
		
			
				
					|  |  | 
 |