From 282e6dabf7296b4d949db3609d72b68fa3ec50d8 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 14 May 2020 16:11:26 +0800 Subject: [PATCH] modify baseEntity --- 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