初始化绩效考评系统

This commit is contained in:
lsy
2017-10-12 22:13:16 +08:00
parent 7176661fdb
commit 05dea87a5e
15 changed files with 214 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
target/
!.mvn/wrapper/maven-wrapper.jar
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/
+57
View File
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>performance-appraisal</artifactId>
<packaging>jar</packaging>
<name>performance-appraisal</name>
<description>performance-appraisal</description>
<parent>
<groupId>com.micro.fast</groupId>
<artifactId>micro-fast</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.micro.fast</groupId>
<artifactId>boot-starter-ssm</artifactId>
<version>${micro.fast.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!--生成mybatis dao 层 sql mapper的插件-->
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<configuration>
<verbose>true</verbose>
<overwrite>true</overwrite>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1,15 @@
package com.micro.fast.pa;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan(basePackages = {"com.micro.fast.pa.dao"})
public class PerformanceAppraisalApplication {
public static void main(String[] args) {
SpringApplication.run(PerformanceAppraisalApplication.class, args);
}
}
@@ -0,0 +1,7 @@
/**
* micro-fast pa common
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.common;
@@ -0,0 +1,7 @@
/**
* micro-fast pa controller
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.controller;
@@ -0,0 +1,7 @@
/**
* micro-fast pa dao
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.dao;
@@ -0,0 +1,7 @@
/**
* micro-fast pa pojo
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.pojo;
@@ -0,0 +1,7 @@
/**
* micro-fast pa service impl
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.service.impl;
@@ -0,0 +1,7 @@
/**
* micro-fast pa service
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.service;
@@ -0,0 +1,7 @@
/**
* micro-fast pa util
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.util;
@@ -0,0 +1,7 @@
/**
* micro-fast cms vo
* @author lishouyu
* @version 1.0
* @since 1.0
*/
package com.micro.fast.pa.vo;
+43
View File
@@ -0,0 +1,43 @@
spring:
application:
name: pa
http:
multipart:
max-file-size: 10MB
max-request-size: 20MB
enabled: true
mvc:
view:
suffix: .html
freemarker:
check-template-location: true
template-loader-path: classpath:/templates
content-type: text/html
cache: false
suffix: .html
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
server:
port: 8080
tomcat:
uri-encoding: utf-8
# --------------------------
# 自定义的配置参数
# --------------------------
#数据库连接配置类,这些参数是必须传入的
jdbc:
master:
username: root
password: hfAhyoTu3UKAfmy27/RNKQ==
url: jdbc:mysql://127.0.0.1:3306/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=true
driverClass: com.mysql.jdbc.Driver
mybatis:
typeAliasesPackage: com.micro.fast.pa.pojo
mappers: classpath:/mappers/*.xml
pageHelperProperties:
- dialect:mysql
# --------------------------
# /自定义的配置参数
# --------------------------
+3
View File
@@ -0,0 +1,3 @@
spring:
profiles:
active: dev
@@ -0,0 +1,16 @@
package com.micro.fast.pa;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class PerformanceAppraisalApplicationTests {
@Test
public void contextLoads() {
}
}