From 5a57e1438d4682d041933d88fbfa37cbc2e77919 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 14 May 2020 15:40:25 +0800 Subject: [PATCH] modify --- src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java | 14 ++++++++++++++ 1 files changed, 14 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..5756df4 100644 --- a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java +++ b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java @@ -30,4 +30,18 @@ } + @Test + public void mybatisInterceptorTest() { + TestUserEntity testUser = new TestUserEntity(); + testUser.setCreateBy("123"); + testUser.setCreateTime(new Date()); + testUser.setUpdateBy("123"); + testUser.setUpdateTime(new Date()); + testUser.setAccount("123333345"); + testUser.setName("hehe111"); + testUser.setPassword("33333"); + + testUserDao.insert(testUser); + } + } -- Gitblit v1.9.1