Jelajahi Sumber

Merge branch 'master' of http://git.dayaedu.com/yonge/edu-saas

zouxuan 5 tahun lalu
induk
melakukan
c94702e826

+ 0 - 9
edu-common/src/main/java/com/keao/edu/common/service/impl/BaseServiceImpl.java

@@ -155,9 +155,6 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
 			if(ps!=null){
 				ps.close();
 			}
-			if(null!=connection){
-				connection.close();
-			}
 			if(sqlSession!=null){
 				sqlSession.close();
 			}
@@ -220,9 +217,6 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
 			if(ps!=null){
 				ps.close();
 			}
-			if(null!=connection){
-				connection.close();
-			}
 			if(sqlSession!=null){
 				sqlSession.close();
 			}
@@ -255,9 +249,6 @@ public abstract class BaseServiceImpl<PK extends Serializable, T> implements Bas
 			if(ps!=null){
 				ps.close();
 			}
-			if(null!=connection){
-				connection.close();
-			}
 			if(sqlSession!=null){
 				sqlSession.close();
 			}