资源简介

springboot+mybatis plus整合案例,改改数据库直接启动

资源截图

代码片段和文件信息

package com.gasq.travel;

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

@MapperScan(“com.gasq.travel.mapper“)
@SpringBootApplication
public class TravelApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(TravelApplication.class args);
        System.out.println(“===================SpringBoot is Running!!===================“);
    }

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-14 14:52  gemini_travel\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\
     文件         123  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\.gitignore
     文件        7585  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\pom.xml
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\
     目录           0  2016-12-14 14:53  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\common\
     文件        2430  2016-12-14 14:53  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\common\CodeEnum.java
     文件         931  2016-12-14 14:53  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\common\CommonResultMsg.java
     文件        6698  2016-12-14 14:53  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\common\Result.java
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\config\
     文件        3180  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\config\MybatisPlusConfig.java
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\controller\
     目录           0  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\controller\base\
     文件        4010  2016-12-14 14:54  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\controller\base\baseController.java
     文件        1619  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\controller\StudentController.java
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\entity\
     文件         962  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\entity\Student.java
     目录           0  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\exception\
     目录           0  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\exception\base\
     文件         609  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\exception\base\baseException.java
     文件        2106  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\exception\ControllerException.java
     文件        2242  2016-12-14 14:55  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\exception\ServiceException.java
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\generator\
     文件        2035  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\generator\Generator_travel.java
     目录           0  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\log\
     文件         833  2016-12-12 11:24  gemini_travel\gemini-thirdparty-travel\src\main\java\com\gasq\travel\log\CustomLog.java
............此处省略22个文件信息

评论

共有 条评论