diff --git a/src/resources/doc/sys_user.sql b/src/resources/doc/sys_user.sql new file mode 100644 index 0000000..2724ae7 --- /dev/null +++ b/src/resources/doc/sys_user.sql @@ -0,0 +1,41 @@ +/* + Navicat Premium Data Transfer + + Source Server : mysql-localhost + Source Server Type : MySQL + Source Server Version : 50616 + Source Host : localhost + Source Database : mybatis-plus + + Target Server Type : MySQL + Target Server Version : 50616 + File Encoding : utf-8 + + Date: 06/25/2017 20:53:49 PM +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for `sys_user` +-- ---------------------------- +DROP TABLE IF EXISTS `sys_user`; +CREATE TABLE `sys_user` ( + `id` bigint(20) NOT NULL COMMENT '用户ID', + `name` varchar(50) DEFAULT NULL COMMENT '用户名', + `age` int(3) DEFAULT NULL COMMENT '用户年龄', + `type` int(1) DEFAULT '0' COMMENT '0、禁用 1、正常, 如果使用tinyint(1),mysql连接没加tinyInt1isBit=false,默认mysql驱动会把值转成boolean', + `ctime` datetime DEFAULT NULL COMMENT '自定义填充的创建时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统用户表'; + +-- ---------------------------- +-- Records of `sys_user` +-- ---------------------------- +BEGIN; +INSERT INTO `sys_user`(id,name,age,ctime,type) VALUES ('784972358981328902', 'Tom', '24', '2017-06-25 20:53:33', '1'); +INSERT INTO `sys_user`(id,name,age,ctime,type) VALUES ('784972358981328903', 'Jammy', '21', '2017-06-25 20:53:37', '1'); +COMMIT; + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/src/resources/mapper/BisaibaomingDao.xml b/src/resources/mapper/BisaibaomingDao.xml new file mode 100644 index 0000000..93a8372 --- /dev/null +++ b/src/resources/mapper/BisaibaomingDao.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/BisaixiangmuDao.xml b/src/resources/mapper/BisaixiangmuDao.xml new file mode 100644 index 0000000..14f2067 --- /dev/null +++ b/src/resources/mapper/BisaixiangmuDao.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/BisaixinxiDao.xml b/src/resources/mapper/BisaixinxiDao.xml new file mode 100644 index 0000000..135d503 --- /dev/null +++ b/src/resources/mapper/BisaixinxiDao.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/CaipanyuanDao.xml b/src/resources/mapper/CaipanyuanDao.xml new file mode 100644 index 0000000..cb3a2bc --- /dev/null +++ b/src/resources/mapper/CaipanyuanDao.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/CommonDao.xml b/src/resources/mapper/CommonDao.xml new file mode 100644 index 0000000..3faca7b --- /dev/null +++ b/src/resources/mapper/CommonDao.xml @@ -0,0 +1,56 @@ + + + + + + + + + + UPDATE ${table} set sfsh=#{sfsh} where id=#{id} + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/ConfigDao.xml b/src/resources/mapper/ConfigDao.xml new file mode 100644 index 0000000..21e8863 --- /dev/null +++ b/src/resources/mapper/ConfigDao.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/resources/mapper/DuiyuanDao.xml b/src/resources/mapper/DuiyuanDao.xml new file mode 100644 index 0000000..50bc199 --- /dev/null +++ b/src/resources/mapper/DuiyuanDao.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/NewsDao.xml b/src/resources/mapper/NewsDao.xml new file mode 100644 index 0000000..d91ef69 --- /dev/null +++ b/src/resources/mapper/NewsDao.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/QiquanxinxiDao.xml b/src/resources/mapper/QiquanxinxiDao.xml new file mode 100644 index 0000000..dd50045 --- /dev/null +++ b/src/resources/mapper/QiquanxinxiDao.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/SaiqianbianpaiDao.xml b/src/resources/mapper/SaiqianbianpaiDao.xml new file mode 100644 index 0000000..4791002 --- /dev/null +++ b/src/resources/mapper/SaiqianbianpaiDao.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/SaiqiantongzhiDao.xml b/src/resources/mapper/SaiqiantongzhiDao.xml new file mode 100644 index 0000000..9533e22 --- /dev/null +++ b/src/resources/mapper/SaiqiantongzhiDao.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/SaishichengjiDao.xml b/src/resources/mapper/SaishichengjiDao.xml new file mode 100644 index 0000000..1953da9 --- /dev/null +++ b/src/resources/mapper/SaishichengjiDao.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/SaizhongxinxiDao.xml b/src/resources/mapper/SaizhongxinxiDao.xml new file mode 100644 index 0000000..7809138 --- /dev/null +++ b/src/resources/mapper/SaizhongxinxiDao.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/TeshuduiyuanDao.xml b/src/resources/mapper/TeshuduiyuanDao.xml new file mode 100644 index 0000000..fb72a00 --- /dev/null +++ b/src/resources/mapper/TeshuduiyuanDao.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/TokenDao.xml b/src/resources/mapper/TokenDao.xml new file mode 100644 index 0000000..7dc0e2e --- /dev/null +++ b/src/resources/mapper/TokenDao.xml @@ -0,0 +1,13 @@ + + + + + + + + \ No newline at end of file diff --git a/src/resources/mapper/UserDao.xml b/src/resources/mapper/UserDao.xml new file mode 100644 index 0000000..98a7a8c --- /dev/null +++ b/src/resources/mapper/UserDao.xml @@ -0,0 +1,13 @@ + + + + + + + + \ No newline at end of file