From 648c10dbb4224f7f7a9f5ab01b6957ddd3816658 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 18 May 2020 09:51:38 +0800
Subject: [PATCH] modify mybatis interceptor

---
 src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java
index 1ce2e4d..bc04524 100644
--- a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java
+++ b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java
@@ -2,6 +2,7 @@
 
 import com.xcong.excoin.modules.test.dao.TestUserDao;
 import com.xcong.excoin.modules.test.entity.TestUserEntity;
+import com.xcong.excoin.modules.test.service.TestUserService;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.test.context.SpringBootTest;
 
@@ -30,4 +31,20 @@
 
     }
 
+    @Resource
+    TestUserService testUserService;
+
+    @Test
+    public void mybatisInterceptorTest() {
+        TestUserEntity testUser = new TestUserEntity();
+        testUser.setId(3L);
+        testUser.setAccount("123333345");
+        testUser.setName("hehe111");
+        testUser.setPassword("33333");
+
+        testUserDao.updateById(testUser);
+
+    }
+
+
 }

--
Gitblit v1.9.1