add h2 and save user info to db

This commit is contained in:
许晓东
2021-09-06 16:48:21 +08:00
parent b25cb13373
commit dbd9906bc6
13 changed files with 242 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
package com.xuxd.kafka.console.dao;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
/**
* kafka-console-ui.
*
* @author xuxd
* @date 2021-09-06 15:14:09
**/
@SpringBootTest
public class KafkaUserMapperTest {
@Autowired
private KafkaUserMapper userMapper;
@Test
public void testSelect() {
userMapper.selectList(null).forEach(System.out::println);
}
}