From bd53f9ba9b22901674c9530bce366a44a628e02e Mon Sep 17 00:00:00 2001 From: qi_liang Date: Thu, 8 Nov 2018 11:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=92=8C=E5=AE=8C=E5=96=84?= =?UTF-8?q?=20DRUID=E9=85=8D=E7=BD=AE=E5=92=8C=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 23 +-- src/main/java/com/lq/api/vo/SysFileVo.java | 3 + .../com/lq/api/web/SysFileController.java | 18 ++- .../lq/cms/aspectJ/SysUserServiceAspectj.java | 4 +- src/main/java/com/lq/cms/vo/BasePageVo.java | 10 +- .../lq/code/interceptor/PageInteceptor.java | 5 +- src/main/java/com/lq/code/util/BeanUtil.java | 28 ++-- src/main/java/com/lq/code/util/CastUtil.java | 148 ++++++++++++++++++ .../java/com/lq/code/util/Collectiontil.java | 31 ++++ src/main/java/com/lq/code/util/FileUtil.java | 2 + src/main/java/com/lq/code/util/PropsUtil.java | 113 +++++++++++++ .../java/com/lq/code/util/jdbc/JdbcUtils.java | 13 +- .../lq/code/util/sql/AbstractDbBuiler.java | 4 +- .../com/lq/code/util/sql/MysqlBuilder.java | 6 +- .../com/lq/code/util/sql/OracleBuiler.java | 6 +- .../com/lq/code/util/sql/PageInterface.java | 19 +++ .../java/com/lq/code/util/sql/SqlUtil.java | 5 + src/main/resources/dev/jdbc.properties | 9 +- src/main/resources/spring-mvc-config.xml | 3 +- src/main/resources/spring-mybatis-config.xml | 35 +++-- 20 files changed, 423 insertions(+), 62 deletions(-) create mode 100644 src/main/java/com/lq/code/util/CastUtil.java create mode 100644 src/main/java/com/lq/code/util/Collectiontil.java create mode 100644 src/main/java/com/lq/code/util/PropsUtil.java create mode 100644 src/main/java/com/lq/code/util/sql/PageInterface.java diff --git a/pom.xml b/pom.xml index 93b9ac9..8327df1 100644 --- a/pom.xml +++ b/pom.xml @@ -160,6 +160,18 @@ spring-aop ${spring.version} + + + org.springframework + spring-context-support + ${spring.version} + + + + org.springframework + spring-test + ${spring.version} + org.aspectj @@ -172,17 +184,7 @@ 1.7.3 - - org.springframework - spring-context-support - ${spring.version} - - - org.springframework - spring-test - ${spring.version} - org.mybatis @@ -214,6 +216,7 @@ commons-dbcp 1.2.2 + - - - - - - + + + + + + + + + - + + + + + + + + - + + + - + + +