Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
iCodingStar committed Mar 20, 2018
1 parent 4bf7c47 commit 6785b72
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
public interface Checkcontroller {

@ModelAttribute
public void checksesion(HttpSession session);
void checksesion(HttpSession session);
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* 该类将持有通过Configurer加载的所有属性
*
* @author Xiaolong Zuo
* @author ShiXing
* @since 1.0.0
*/
public class ConfigurerPropertiesHolder {
Expand Down
1 change: 1 addition & 0 deletions ldms-dao/src/main/resources/data/student.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ SET FOREIGN_KEY_CHECKS=0;
-- Table structure for student
-- ----------------------------
DROP TABLE IF EXISTS `student`;

CREATE TABLE `student` (
`id` varchar(20) NOT NULL,
`name` varchar(20) NOT NULL,
Expand Down
4 changes: 3 additions & 1 deletion ldms-dao/src/main/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* DBMS name: MySQL 5.0 */
/* Created on: 2016/5/18 10:38:35 */
/*==============================================================*/
USE ldms;

DROP TABLE IF EXISTS device;

Expand Down Expand Up @@ -207,4 +208,5 @@ ALTER TABLE project_order
ADD CONSTRAINT FK_P_O FOREIGN KEY (pro_id)
REFERENCES project (id)
ON DELETE RESTRICT
ON UPDATE RESTRICT;
ON UPDATE RESTRICT;

4 changes: 2 additions & 2 deletions ldms-dao/src/main/resources/star-jdbc.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
driverClassName=com.mysql.jdbc.Driver
jdbcUrl=jdbc:mysql://localhost:3306/ldms?useUnicode=true&characterEncoding=utf8
jdbcUrl=jdbc:mysql://localhost:3306/ldms?useUnicode=true&characterEncoding=utf8&createDatabaseIfNotExist=true
jdbcUsername=root
jdbcPassword=coding
jdbcPassword=123456
maxActive=20
initialSize=10
maxWait=2000
Expand Down

0 comments on commit 6785b72

Please sign in to comment.