From 6ac527e204fbcf9bc62f280eb925cddab291fe5b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 25 May 2020 11:01:07 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/chonggaoxiao/new_excoin

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

diff --git a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java
index 5756df4..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,18 +33,25 @@
 
     }
 
+    @Resource
+    TestUserService testUserService;
+
     @Test
     public void mybatisInterceptorTest() {
         TestUserEntity testUser = new TestUserEntity();
-        testUser.setCreateBy("123");
-        testUser.setCreateTime(new Date());
-        testUser.setUpdateBy("123");
-        testUser.setUpdateTime(new Date());
+        testUser.setId(3L);
         testUser.setAccount("123333345");
         testUser.setName("hehe111");
         testUser.setPassword("33333");
 
-        testUserDao.insert(testUser);
+        testUserDao.updateById(testUser);
+
     }
 
+    @Test
+    public void enumTest() {
+        System.out.println(SymbolEnum.BCH.getValue());
+    }
+
+
 }

--
Gitblit v1.9.1