Joburgess 5 年之前
父節點
當前提交
eeac9ab7bb
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      edu-common/src/main/java/com/keao/edu/common/service/impl/BaseServiceImpl.java

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

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