|  |  | @ -131,10 +131,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         <where> |  |  |  |         <where> | 
			
		
	
		
		
			
				
					
					|  |  |  |             basic_products.diType=1 |  |  |  |             basic_products.diType=1 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_products.cpmctymc = #{cpmctymc} |  |  |  |                 AND basic_products.cpmctymc like concat('%',#{cpmctymc},'%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="productsName != null and productsName != ''"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 AND basic_products.cpmctymc like concat('%',#{productsName},'%') | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="nameCode != '' and nameCode != null"> |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_products.nameCode = #{nameCode} |  |  |  |                 AND basic_products.nameCode like concat('%',#{nameCode},'%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="relIdFk != '' and relIdFk != null"> |  |  |  |             <if test="relIdFk != '' and relIdFk != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_prein_product.relIdFk = #{relIdFk} |  |  |  |                 AND inv_prein_product.relIdFk = #{relIdFk} | 
			
		
	
	
		
		
			
				
					|  |  | @ -147,10 +150,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="ggxh != '' and ggxh != null"> |  |  |  |             <if test="ggxh != '' and ggxh != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND basic_products.ggxh = #{ggxh} |  |  |  |                 AND basic_products.ggxh = concat('%',#{ggxh},'%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="batchNo != '' and batchNo != null"> |  |  |  |             <if test="batchNo != '' and batchNo != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_prein_product.batchNo = #{batchNo} |  |  |  |                 AND inv_prein_product.batchNo like concat('%',#{batchNo},'%') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </if> |  |  |  |             </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="productionDate != '' and productionDate != null"> |  |  |  |             <if test="productionDate != '' and productionDate != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AND inv_prein_product.productionDate = #{productionDate} |  |  |  |                 AND inv_prein_product.productionDate = #{productionDate} | 
			
		
	
	
		
		
			
				
					|  |  | 
 |