Skip to content

springBoot+mybatis+durid+mysql/psotgres/oracle+Thymeleaf+log4j+logback

Notifications You must be signed in to change notification settings

sunhaoyue/Mysql_springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mysql_springboot

标准依赖

<modelVersion>4.0.0</modelVersion>
<groupId>com.boot</groupId>
<artifactId>testSpringBoot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>testSpringBoot</name>
<packaging>jar</packaging>
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.5.9.RELEASE</version>
    <relativePath/>
</parent>
<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    
    <!-- mybatis依赖 -->
    <dependency>
        <groupId>org.mybatis.spring.boot</groupId>
        <artifactId>mybatis-spring-boot-starter</artifactId>
        <version>1.3.1</version>
    </dependency>
    
    <!-- 引入thymelaf 则不需要引入web依赖,若不需要thymelaf则需要添加spring-boot-starter-web -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-thymeleaf</artifactId>
    </dependency>
    
    <!-- mysql依赖 -->
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
    </dependency>
    
     <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
    </dependency>
</dependencies>
<build>
<plugins>
    <!-- 要使生成的jar可运行,需要加入此插件 -->
    <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
    </plugin>
</plugins>

二、资源加载视图图例

1、登录界面 Image text 2、get所有数据展示 Image text 3、按照条件查询展示 Image text 4、div错误显示页面 Image text 5、Ureport报表 http://localhost:8088/Mysql_springboot/ureport/designer Image text 6、title小标题浏览器 Image text 7、PageHelper+mybaits分页查询 Image text 8、钉钉免登录 Image text

About

springBoot+mybatis+durid+mysql/psotgres/oracle+Thymeleaf+log4j+logback

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages