资源简介

SpringBoot笔记(三)--- SpringBoot整合Mybatis连接数据库 源码

资源截图

代码片段和文件信息

package com.soon.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *@descriptions:
 *@author:xfh
 *createTime:2018-8-21下午5:36:54
 */
@SpringBootApplication
@MapperScan(“com.aaa.boot.*“)
public class MyDemo {
public static void main(String[] args) {
SpringApplication.run(MyDemo.class args);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-21 20:29  springboot-demo02\
     文件         727  2018-08-21 20:29  springboot-demo02\.classpath
     文件         569  2018-08-21 20:29  springboot-demo02\.project
     目录           0  2018-08-21 20:29  springboot-demo02\.settings\
     文件         250  2018-08-21 20:29  springboot-demo02\.settings\org.eclipse.core.resources.prefs
     文件         243  2018-08-21 20:29  springboot-demo02\.settings\org.eclipse.jdt.core.prefs
     文件          90  2018-08-21 20:29  springboot-demo02\.settings\org.eclipse.m2e.core.prefs
     文件        2819  2018-08-21 20:29  springboot-demo02\pom.xml
     目录           0  2018-08-21 20:29  springboot-demo02\src\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\
     文件         454  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\MyDemo.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\ctrl\
     文件        1099  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\ctrl\UserCtrl.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\dao\
     文件         339  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\dao\UserDao.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\domain\
     文件        1191  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\domain\UserDo.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\service\
     文件         248  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\service\UserService.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\service\impl\
     文件         612  2018-08-21 20:29  springboot-demo02\src\main\java\com\soon\boot\service\impl\UserServiceImpl.java
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\resources\
     文件         573  2018-08-21 20:29  springboot-demo02\src\main\resources\application.properties
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\resources\mybatis\
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\resources\mybatis\user\
     文件         390  2018-08-21 20:29  springboot-demo02\src\main\resources\mybatis\user\UserMapper.xml
     目录           0  2018-08-21 20:29  springboot-demo02\src\main\resources\templates\
............此处省略34个文件信息

评论

共有 条评论