|  | @ -1,6 +1,6 @@
 | 
	
		
			
				|  |  | package com.yihu.mysql.query;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.yihu.utils.context.SpringContext;
 | 
	
		
			
				|  |  | import com.yihu.utils.context.SpringContextUtils;
 | 
	
		
			
				|  |  | import org.hibernate.Query;
 | 
	
		
			
				|  |  | import org.hibernate.Session;
 | 
	
		
			
				|  |  | import org.springframework.beans.BeanUtils;
 | 
	
	
		
			
				|  | @ -209,11 +209,11 @@ public abstract class BaseJpaService<T, R extends CrudRepository> {
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public JpaRepository getJpaRepository(){
 | 
	
		
			
				|  |  |         return (JpaRepository) SpringContext.getService(repoClass);
 | 
	
		
			
				|  |  |         return (JpaRepository) SpringContextUtils.getService(repoClass);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public R getRepository() {
 | 
	
		
			
				|  |  |         return SpringContext.getService(repoClass);
 | 
	
		
			
				|  |  |         return SpringContextUtils.getService(repoClass);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public Session currentSession() {
 |