浏览代码

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

zouxuan 5 年之前
父节点
当前提交
c94702e826
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      edu-common/src/main/java/com/keao/edu/common/service/impl/BaseServiceImpl.java

+ 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();
 			}