| | |
| | | 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; |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | @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()); |
| | | } |
| | | |
| | | |
| | | } |