|  |  |  | @ -8,22 +8,22 @@ | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM thr_inv_products | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="inventoryCode != '' and inventoryCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryCode LIKE concat(#{inventoryCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryCode LIKE concat('%',#{inventoryCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="inventoryName != '' and inventoryName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryName LIKE concat(#{inventoryName},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryName LIKE concat('%',#{inventoryName},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="inventoryName != '' and inventoryName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryName LIKE concat(#{inventoryName},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND inventoryName LIKE concat('%',#{inventoryName},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="spec != '' and spec != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND spec LIKE concat(#{spec},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND spec LIKE concat('%',#{spec},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="registerCertNo != '' and registerCertNo != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND registerCertNo LIKE concat(#{registerCertNo},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND registerCertNo LIKE concat('%',#{registerCertNo},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="manufactory != '' and manufactory != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND manufactory = #{manufactory} | 
			
		
	
		
			
				
					|  |  |  |  |                 AND manufactory LIKE concat('%',#{manufactory},'%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         ORDER BY updateTime DESC | 
			
		
	
	
		
			
				
					|  |  |  | 
 |