| 
					
				 | 
			
			
				@@ -107,8 +107,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		LEFT JOIN mk_store_prom_type pt ON p.prom_type_id = pt.prom_type_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		LEFT JOIN third_merchant_biz tb ON s.third_party_merch_code = tb.third_party_merch_code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		WHERE 1=1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="name != null and name.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND name LIKE concat('%',#{name},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<if test="storeName != null and storeName.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			AND s.store_name LIKE concat('%',#{storeName},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<if test="storeId != null and storeId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			AND t.store_id = #{storeId} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -139,9 +139,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		LEFT JOIN mk_store_prom_type pt ON p.prom_type_id = pt.prom_type_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		LEFT JOIN third_merchant_biz tb ON s.third_party_merch_code = tb.third_party_merch_code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		WHERE 1=1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <if test="name != null and name.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AND name LIKE concat('%',#{name},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<if test="storeName != null and storeName.trim() != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			AND s.store_name LIKE concat('%',#{storeName},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<if test="storeId != null and storeId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			AND t.store_id = #{storeId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</if> 
			 |