|  |  | @ -84,6 +84,17 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="batchNo != null and batchNo != ''"> |  |  |  |             <if test="batchNo != null and batchNo != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND a2.batchNo like concat('%', #{batchNo}, '%') |  |  |  |                 AND a2.batchNo like concat('%', #{batchNo}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if>ggxh | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="cpmctymc != null and cpmctymc != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND bp.cpmctymc like concat('%', #{cpmctymc}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="ggxh != null and ggxh != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND ( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 bp.ggxh LIKE concat('%', #{ggxh}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or  bp.bzgg  LIKE concat('%', #{ggxh}, '%')) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="prepnSpec != null and prepnSpec != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND bp.prepnSpec LIKE concat('%', #{prepnSpec}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="coName != null and coName != ''"> |  |  |  |             <if test="coName != null and coName != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND a2.coName like concat('%', #{coName}, '%') |  |  |  |                 AND a2.coName like concat('%', #{coName}, '%') | 
			
		
	
	
		
		
			
				
					|  |  | @ -97,6 +108,18 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     #{item} |  |  |  |                     #{item} | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </foreach> |  |  |  |                 </foreach> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="keyWords != '' and keyWords != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND ( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 a2.nameCode LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or a2.orderIdFk  LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or bp.bzgg LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or bp.prepnSpec LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or bp.cpmctymc LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or bp.ggxh LIKE concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or a2.batchNo like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or a2.certCode like concat('%', #{keyWords}, '%') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 or a2.manufacturer like concat('%', #{keyWords}, '%')) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </where> |  |  |  |         </where> | 
			
		
	
		
		
			
				
					
					|  |  |  |         group by a2.id |  |  |  |         group by a2.id | 
			
		
	
		
		
			
				
					
					|  |  |  |     </select> |  |  |  |     </select> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |