From 9d2c4af54f0c8ce498bf00216825192cee21dab4 Mon Sep 17 00:00:00 2001 From: "defeng.wang" Date: Tue, 23 Apr 2019 10:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=87=86=E5=A4=87=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dalgen/abssqrTables/COLL_ORG.xml | 189 +++++++++++++++++++++++++++++++ dalgen/config.xml | 102 +++++++++++++++++ dalgen/config/config.xml | 2 +- mybatis-maven-plugin.iml | 10 +- pom.xml | 41 ++++--- 5 files changed, 317 insertions(+), 27 deletions(-) create mode 100644 dalgen/abssqrTables/COLL_ORG.xml create mode 100644 dalgen/config.xml diff --git a/dalgen/abssqrTables/COLL_ORG.xml b/dalgen/abssqrTables/COLL_ORG.xml new file mode 100644 index 0000000..3c8588e --- /dev/null +++ b/dalgen/abssqrTables/COLL_ORG.xml @@ -0,0 +1,189 @@ + + + + + + ID,API_KEY,STATUS,ORG_CODE,ORG_NAME + ,ORG_TYPE,SECRET_KEY,GMT_CREATE,GMT_MODIFIED + + + + + sf.ID,sf.API_KEY,sf.STATUS,sf.ORG_CODE,sf.ORG_NAME + ,sf.ORG_TYPE,sf.SECRET_KEY,sf.GMT_CREATE,sf.GMT_MODIFIED + + + + + SELECT + LAST_INSERT_ID() + + + + + + + + INSERT INTO coll_org( + ID + ,API_KEY + ,STATUS + ,ORG_CODE + ,ORG_NAME + ,ORG_TYPE + ,SECRET_KEY + ,GMT_CREATE + ,GMT_MODIFIED + )VALUES + + ( + null + , #{item.apiKey,jdbcType=VARCHAR} + , #{item.status,jdbcType=VARCHAR} + , #{item.orgCode,jdbcType=VARCHAR} + , #{item.orgName,jdbcType=VARCHAR} + , #{item.orgType,jdbcType=VARCHAR} + , #{item.secretKey,jdbcType=VARCHAR} + , now() + , now() + ) + + + + + + + + + + SELECT * + FROM coll_org + WHERE + + + + + + + + + + + + + + SELECT * + FROM coll_org + WHERE + + + + + + + + + + + + + + SELECT * + FROM coll_org + WHERE + + + + + + + + SELECT * + FROM coll_org + WHERE + + + + + +
diff --git a/dalgen/config.xml b/dalgen/config.xml new file mode 100644 index 0000000..7b7dbbb --- /dev/null +++ b/dalgen/config.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dalgen/config/config.xml b/dalgen/config/config.xml index d267009..de6d71d 100644 --- a/dalgen/config/config.xml +++ b/dalgen/config/config.xml @@ -95,7 +95,7 @@ - + diff --git a/mybatis-maven-plugin.iml b/mybatis-maven-plugin.iml index 21ad38d..f26e155 100644 --- a/mybatis-maven-plugin.iml +++ b/mybatis-maven-plugin.iml @@ -24,7 +24,8 @@ - + + @@ -58,17 +59,16 @@ - - + - + - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index cfb6195..eab9cc5 100644 --- a/pom.xml +++ b/pom.xml @@ -9,17 +9,16 @@ maven-plugin ${project.groupId}:${project.artifactId} - 1.2.6.2 + 1.2.4.0 https://gitee.com/bangis/mybatis.generator mybatis generator mapper.xml mapper.java dao.java do.java paging map list 2017 - org.springframework.boot - spring-boot-starter-parent - 1.5.8.RELEASE - + org.sonatype.oss + oss-parent + 7 @@ -50,14 +49,12 @@ - central - central - http://dev.maven.abssqr.cn/repository/maven-releases/ + releases + https://oss.sonatype.org/service/local/staging/deploy/maven2/ - snapshot - snapshot - http://dev.maven.abssqr.cn/repository/maven-snapshots + snapshots + https://oss.sonatype.org/content/repositories/snapshots/ @@ -145,15 +142,15 @@ - - - - - - - - - + + + + + + + + + maven-antrun-plugin @@ -210,9 +207,11 @@ cn.dalgen.plugins mybatis-maven-plugin - 1.2.6.1 + 1.2.4.0 srcTmp + false + dalgen/template -- Gitee