Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
com.hdp.customerservice
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文胜
com.hdp.customerservice
Commits
4138ae13
Commit
4138ae13
authored
Jun 17, 2015
by
刘文胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
9ab6492f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
161 additions
and
0 deletions
+161
-0
customerservice.sql
src/main/resources/customerservice.sql
+161
-0
No files found.
src/main/resources/customerservice.sql
0 → 100644
View file @
4138ae13
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50621
Source Host : localhost:3306
Source Database : customerservice
Target Server Type : MYSQL
Target Server Version : 50621
File Encoding : 65001
Date: 2015-06-17 18:04:26
*/
SET
FOREIGN_KEY_CHECKS
=
0
;
-- ----------------------------
-- Table structure for `pi_customerservice_history`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_history`
;
CREATE
TABLE
`pi_customerservice_history`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`openid`
varchar
(
64
)
NOT
NULL
,
`workid`
bigint
(
20
)
NOT
NULL
,
`content`
text
,
`type`
int
(
1
)
NOT
NULL
,
`year`
int
(
4
)
NOT
NULL
,
`month`
int
(
2
)
NOT
NULL
,
`day`
int
(
2
)
NOT
NULL
,
`createat`
datetime
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_history
-- ----------------------------
-- ----------------------------
-- Table structure for `pi_customerservice_member`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_member`
;
CREATE
TABLE
`pi_customerservice_member`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`appid`
varchar
(
128
)
NOT
NULL
,
`ent_code`
int
(
11
)
NOT
NULL
,
`openid`
varchar
(
32
)
NOT
NULL
,
`headimg`
varchar
(
512
)
DEFAULT
NULL
,
`nickname`
varchar
(
128
)
DEFAULT
NULL
,
`country`
varchar
(
64
)
DEFAULT
NULL
,
`province`
varchar
(
64
)
DEFAULT
NULL
,
`city`
varchar
(
64
)
DEFAULT
NULL
,
`groupid`
int
(
11
)
DEFAULT
NULL
,
`language`
varchar
(
32
)
DEFAULT
NULL
,
`sex`
int
(
11
)
DEFAULT
NULL
,
`subscribe`
int
(
11
)
DEFAULT
NULL
,
`subscribe_time`
datetime
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_member
-- ----------------------------
INSERT
INTO
`pi_customerservice_member`
VALUES
(
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'1'
,
'2015-06-17 13:41:36'
);
-- ----------------------------
-- Table structure for `pi_customerservice_member_tag`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_member_tag`
;
CREATE
TABLE
`pi_customerservice_member_tag`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`workid`
bigint
(
20
)
NOT
NULL
,
`mid`
bigint
(
20
)
NOT
NULL
,
`tag`
varchar
(
16
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_member_tag
-- ----------------------------
-- ----------------------------
-- Table structure for `pi_customerservice_reception_history`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_reception_history`
;
CREATE
TABLE
`pi_customerservice_reception_history`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`workid`
bigint
(
20
)
NOT
NULL
,
`mid`
bigint
(
20
)
NOT
NULL
,
`year`
int
(
4
)
NOT
NULL
,
`month`
int
(
2
)
NOT
NULL
,
`day`
int
(
2
)
NOT
NULL
,
`createat`
date
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_reception_history
-- ----------------------------
-- ----------------------------
-- Table structure for `pi_customerservice_reception_setting`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_reception_setting`
;
CREATE
TABLE
`pi_customerservice_reception_setting`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`workid`
bigint
(
20
)
NOT
NULL
,
`mid`
bigint
(
20
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_reception_setting
-- ----------------------------
-- ----------------------------
-- Table structure for `pi_customerservice_work_weight_setting`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_work_weight_setting`
;
CREATE
TABLE
`pi_customerservice_work_weight_setting`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`workid`
bigint
(
20
)
NOT
NULL
,
`weight`
int
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_work_weight_setting
-- ----------------------------
-- ----------------------------
-- Table structure for `pi_customerservice_works`
-- ----------------------------
DROP
TABLE
IF
EXISTS
`pi_customerservice_works`
;
CREATE
TABLE
`pi_customerservice_works`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`ent_code`
int
(
11
)
NOT
NULL
,
`username`
varchar
(
128
)
NOT
NULL
,
`pwd`
varchar
(
128
)
NOT
NULL
,
`nickname`
varchar
(
128
)
DEFAULT
NULL
,
`headimg`
varchar
(
512
)
DEFAULT
NULL
,
`status`
int
(
1
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
9
DEFAULT
CHARSET
=
utf8
;
-- ----------------------------
-- Records of pi_customerservice_works
-- ----------------------------
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'1'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'2'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'3'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'4'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'5'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'6'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'7'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
INSERT
INTO
`pi_customerservice_works`
VALUES
(
'8'
,
'11111'
,
'111111'
,
'222222222222222'
,
null
,
null
,
'1'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment