From a5b282e1c85ea498377215e43ff475054bf2e4e2 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 18 May 2020 20:34:20 +0800
Subject: [PATCH] finish login interface and modify some issue
---
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