|  |  | @ -23,6 +23,12 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="batchNo != '' and batchNo != null"> |  |  |  |             <if test="batchNo != '' and batchNo != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 and `batchNo` = #{batchNo} |  |  |  |                 and `batchNo` = #{batchNo} | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="traceType != '' and traceType != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 and trd.traceType = #{traceType} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="traceSource != '' and traceSource != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 and traceSource = #{traceSource} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
		
		
			
				
					
					|  |  |  | </mapper> |  |  |  | </mapper> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |