From cf21e298163c8ac112eec85998c6f55285247ae2 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 27 May 2020 12:06:45 +0800 Subject: [PATCH] 20200527 代码提交 --- src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 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..df45836 100644 --- a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java +++ b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java @@ -1,7 +1,10 @@ package com.xcong.excoin; +import com.xcong.excoin.common.enumerates.CoinTypeEnum; +import com.xcong.excoin.common.enumerates.SymbolEnum; 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 +33,25 @@ } + @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); + + } + + @Test + public void enumTest() { + System.out.println(SymbolEnum.BCH.getValue()); + } + + } -- Gitblit v1.9.1