# springboot-mybatis示例 **Repository Path**: geng_w/springboot-mybatis-example ## Basic Information - **Project Name**: springboot-mybatis示例 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-11 - **Last Updated**: 2021-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-mybatis示例 #### 介绍 一个可用的springboot+mybatis的demo演示 #### 软件版本 java 1.8 spring-boot 2.4.0 #### 创建数据库和数据表 -- ---------------------------- -- Table structure for tb_user -- ---------------------------- DROP TABLE IF EXISTS `tb_user`; CREATE TABLE `tb_user` ( `id` int(11) NOT NULL, `username` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tb_user -- ---------------------------- INSERT INTO `tb_user` VALUES ('1', 'laowang', '112233'); INSERT INTO `tb_user` VALUES ('2', 'laoli', '123456'); #### 访问http://localhost:8081/user/findAll