From 2461fb044c4da228628a6d79917a4a1d779ea7b5 Mon Sep 17 00:00:00 2001
From: IT-xiaoXiong <774495953@qq.com>
Date: Thu, 16 Dec 2021 13:02:39 +0800
Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90mybatis=E5=92=8C=E6=94=B9?=
=?UTF-8?q?=E9=80=A0maven?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 2 +-
test/mybatisTest/dao/ITestDAO.java | 15 +++++++++++
test/mybatisTest/entity/License.java | 16 ++++++++++++
web/WEB-INF/log4j.xml | 19 ++++++++++++++
web/WEB-INF/mapper/test-mapper/ITestDAO.xml | 7 +++++
web/WEB-INF/test-mybatis-config.xml | 29 +++++++++++++++++++++
6 files changed, 87 insertions(+), 1 deletion(-)
create mode 100644 test/mybatisTest/dao/ITestDAO.java
create mode 100644 test/mybatisTest/entity/License.java
create mode 100644 web/WEB-INF/log4j.xml
create mode 100644 web/WEB-INF/mapper/test-mapper/ITestDAO.xml
create mode 100644 web/WEB-INF/test-mybatis-config.xml
diff --git a/.gitignore b/.gitignore
index 67ee1af..8b3b348 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,7 +18,7 @@ log
classbeanLib/*
weaverLib/*
/web/**/*.properties
-/web/**/*.xml
+!/web/**/*.xml
/target
/classbean
.idea/
diff --git a/test/mybatisTest/dao/ITestDAO.java b/test/mybatisTest/dao/ITestDAO.java
new file mode 100644
index 0000000..ffb0f5e
--- /dev/null
+++ b/test/mybatisTest/dao/ITestDAO.java
@@ -0,0 +1,15 @@
+package mybatisTest.dao;
+
+import mybatisTest.entity.License;
+
+import java.util.Map;
+
+/**
+ * @author EBU7-dev1-ayh
+ * create 2021/12/14 0014 13:20
+ */
+
+
+public interface ITestDAO {
+ License selectOne();
+}
diff --git a/test/mybatisTest/entity/License.java b/test/mybatisTest/entity/License.java
new file mode 100644
index 0000000..3b1ea29
--- /dev/null
+++ b/test/mybatisTest/entity/License.java
@@ -0,0 +1,16 @@
+package mybatisTest.entity;
+
+import lombok.Data;
+
+/**
+ * @author EBU7-dev1-ayh
+ * create 2021/12/14 0014 16:31
+ */
+
+@Data
+public class License {
+ private String license;
+ private String companyName;
+ private String cVersion;
+ private String expireDate;
+}
diff --git a/web/WEB-INF/log4j.xml b/web/WEB-INF/log4j.xml
new file mode 100644
index 0000000..8f2459b
--- /dev/null
+++ b/web/WEB-INF/log4j.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/WEB-INF/mapper/test-mapper/ITestDAO.xml b/web/WEB-INF/mapper/test-mapper/ITestDAO.xml
new file mode 100644
index 0000000..62cafc1
--- /dev/null
+++ b/web/WEB-INF/mapper/test-mapper/ITestDAO.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/web/WEB-INF/test-mybatis-config.xml b/web/WEB-INF/test-mybatis-config.xml
new file mode 100644
index 0000000..07b8cd1
--- /dev/null
+++ b/web/WEB-INF/test-mybatis-config.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file