diff --git a/pom.xml b/pom.xml
index 382c316..b17a103 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,116 +1,112 @@
-
-
- 4.0.0
-
-
- ecology-weaver
-
- ecology-weaver
-
- E9
-
- war
-
- ecology本地开发环境
-
-
-
- ecology 本地开发环境E9
-
-
-
-
-
- aiyh
-
- aiYouHong
-
- youhong.ai@weaver.com.cn
-
- https://gitee.com/it-xiaoxiong
-
-
- 二开
-
-
- 泛微-昂泰
-
- https://www.e-cology.com.cn/
-
-
-
-
-
-
-
-
- UTF-8
- UTF-8
- 1.8
- 1.8
- 1.8
- 1.18.22
- 5.7.12
- 2.16.0
-
-
-
-
-
-
-
- org.projectlombok
- lombok
- ${lombok.version}
- provided
-
-
-
- cn.hutool
- hutool-all
- ${hutool.version}
-
-
-
- com.drewnoakes
- metadata-extractor
- ${metadata-extractor.version}
-
-
-
- junit
- junit
- 4.12
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- 8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 4.0.0
+
+
+ ecology-weaver
+
+ ecology-weaver
+
+ E9
+
+ war
+
+ ecology本地开发环境
+
+
+
+ ecology 本地开发环境E9
+
+
+
+
+
+ aiyh
+
+ aiYouHong
+
+ youhong.ai@weaver.com.cn
+
+ https://gitee.com/it-xiaoxiong
+
+
+ 二开
+
+
+ 泛微-昂泰
+
+ https://www.e-cology.com.cn/
+
+
+
+
+
+
+
+
+ mybatisTest/mapper
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+ 1.18.22
+ 5.7.12
+ 2.16.0
+
+
+
+
+
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+ provided
+
+
+
+ cn.hutool
+ hutool-all
+ ${hutool.version}
+
+
+
+ com.drewnoakes
+ metadata-extractor
+ ${metadata-extractor.version}
+
+
+
+ junit
+ junit
+ 4.12
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.3.2
+
+
+ 8
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/mybatisTest/MybatisTest.java b/test/mybatisTest/MybatisTest.java
index 4c3dc04..1708e0d 100644
--- a/test/mybatisTest/MybatisTest.java
+++ b/test/mybatisTest/MybatisTest.java
@@ -2,8 +2,8 @@ package mybatisTest;
import aiyh.utils.MybatisUtil;
import baseTest.BaseTest;
-import mybatisTest.dao.ITestDAO;
import mybatisTest.entity.License;
+import mybatisTest.mapper.ITestMapper;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
@@ -27,7 +27,7 @@ public class MybatisTest extends BaseTest {
Reader resourceAsReader = Resources.getResourceAsReader("WEB-INF/test-mybatis-config.xml");
SqlSessionFactory build = new SqlSessionFactoryBuilder().build(resourceAsReader);
session = build.openSession();
- ITestDAO mapper = session.getMapper(ITestDAO.class);
+ ITestMapper mapper = session.getMapper(ITestMapper.class);
// Map map = mapper.selectOne();
// System.err.println(map);
session.close();
@@ -36,7 +36,7 @@ public class MybatisTest extends BaseTest {
@Test
public void test(){
SqlSessionManager sessionManager = MybatisUtil.getSessionManager("test-mybatis-config.xml");
- ITestDAO mapper = sessionManager.getMapper(ITestDAO.class);
+ ITestMapper mapper = sessionManager.getMapper(ITestMapper.class);
License license = mapper.selectOne();
System.out.println(license);
}
diff --git a/test/mybatisTest/dao/ITestDAO.java b/test/mybatisTest/dao/ITestDAO.java
deleted file mode 100644
index ffb0f5e..0000000
--- a/test/mybatisTest/dao/ITestDAO.java
+++ /dev/null
@@ -1,15 +0,0 @@
-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/mapper/ITestMapper.java b/test/mybatisTest/mapper/ITestMapper.java
new file mode 100644
index 0000000..34f04b0
--- /dev/null
+++ b/test/mybatisTest/mapper/ITestMapper.java
@@ -0,0 +1,12 @@
+package mybatisTest.mapper;
+
+import mybatisTest.entity.License;
+
+/**
+ * @author @author EBU7-dev1-ay
+ * create 2021/12/16 0016 13:33
+ */
+
+public interface ITestMapper {
+ License selectOne();
+}
diff --git a/test/mybatisTest/mapper/ITestMapper.xml b/test/mybatisTest/mapper/ITestMapper.xml
new file mode 100644
index 0000000..c982b38
--- /dev/null
+++ b/test/mybatisTest/mapper/ITestMapper.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/web/WEB-INF/test-mybatis-config.xml b/web/WEB-INF/test-mybatis-config.xml
index 07b8cd1..710930d 100644
--- a/web/WEB-INF/test-mybatis-config.xml
+++ b/web/WEB-INF/test-mybatis-config.xml
@@ -24,6 +24,7 @@
-
+
+
\ No newline at end of file