Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
7877d743
Commit
7877d743
authored
Sep 05, 2021
by
季圣华
Browse files
更新sql
parent
5ffed191
Changes
1
Show whitespace changes
Inline
Side-by-side
jshERP-boot/docs/jsh_erp.sql
View file @
7877d743
...
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50704
File Encoding : 65001
Date: 2021-0
7-28 01:03:33
Date: 2021-0
9-05 21:08:09
*/
SET FOREIGN_KEY_CHECKS=0;
...
...
@@ -68,7 +68,7 @@ CREATE TABLE `jsh_account_head` (
-- ----------------------------
-- Records of jsh_account_head
-- ----------------------------
INSERT
INTO
`jsh_account_head`
VALUES
(
'118'
,
'收入'
,
'58'
,
'16'
,
'63'
,
'55.000000'
,
null
,
'55.000000'
,
'17'
,
'SR00000000643'
,
'2021-06-02 00:24:49'
,
null
,
null
,
'
0
'
,
'63'
,
'0'
);
INSERT INTO `jsh_account_head` VALUES ('118', '收入', '58', '16', '63', '55.000000', null, '55.000000', '17', 'SR00000000643', '2021-06-02 00:24:49', null, null, '
1
', '63', '0');
INSERT INTO `jsh_account_head` VALUES ('119', '支出', '68', '16', '63', '66.000000', null, '66.000000', '17', 'ZC00000000644', '2021-06-02 00:25:01', null, null, '0', '63', '0');
INSERT INTO `jsh_account_head` VALUES ('122', '转账', null, '17', '63', '11.000000', null, '11.000000', '17', 'ZZ00000000647', '2021-06-02 00:25:32', null, null, '0', '63', '0');
INSERT INTO `jsh_account_head` VALUES ('124', '收预付款', '60', '17', '63', '80.000000', '0.000000', '80.000000', null, 'SYF00000000649', '2021-07-06 23:43:48', null, null, '0', '63', '0');
...
...
@@ -182,7 +182,7 @@ INSERT INTO `jsh_depot_head` VALUES ('262', '出库', '销售', 'XSCK00000000634
INSERT INTO `jsh_depot_head` VALUES ('263', '入库', '销售退货', 'XSTH00000000635', 'XSTH00000000635', '2021-06-02 00:23:12', '2021-06-02 00:23:05', '71', '63', '17', '-22.000000', '-22.000000', '现付', null, null, null, '', '', '', '0.000000', '0.000000', '22.000000', '0.000000', '0', null, '63', '0');
INSERT INTO `jsh_depot_head` VALUES ('264', '出库', '零售', 'LSCK00000000636', 'LSCK00000000636', '2021-06-02 00:23:21', '2021-06-02 00:23:14', '60', '63', '17', '22.000000', '22.000000', '现付', null, null, null, null, null, null, null, null, null, null, '0', null, '63', '0');
INSERT INTO `jsh_depot_head` VALUES ('265', '入库', '零售退货', 'LSTH00000000637', 'LSTH00000000637', '2021-06-02 00:23:29', '2021-06-02 00:23:23', '60', '63', '17', '-22.000000', '-22.000000', '现付', null, null, null, null, null, null, null, null, null, null, '0', null, '63', '0');
INSERT
INTO
`jsh_depot_head`
VALUES
(
'266'
,
'入库'
,
'其它'
,
'QTRK00000000638'
,
'QTRK00000000638'
,
'2021-06-02 00:23:48'
,
'2021-06-02 00:23:36'
,
'57'
,
'63'
,
null
,
null
,
'55.000000'
,
'现付'
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
'
0
'
,
null
,
'63'
,
'0'
);
INSERT INTO `jsh_depot_head` VALUES ('266', '入库', '其它', 'QTRK00000000638', 'QTRK00000000638', '2021-06-02 00:23:48', '2021-06-02 00:23:36', '57', '63', null, null, '55.000000', '现付', null, null, null, null, null, null, null, null, null, null, '
1
', null, '63', '0');
INSERT INTO `jsh_depot_head` VALUES ('267', '出库', '其它', 'QTCK00000000639', 'QTCK00000000639', '2021-06-02 00:23:59', '2021-06-02 00:23:50', '58', '63', null, null, '30.000000', '现付', null, null, null, null, null, null, null, null, null, null, '0', null, '63', '0');
INSERT INTO `jsh_depot_head` VALUES ('268', '出库', '调拨', 'DBCK00000000640', 'DBCK00000000640', '2021-06-02 00:24:09', '2021-06-02 00:24:00', null, '63', null, null, '11.000000', '现付', null, null, null, null, null, null, null, null, null, null, '0', null, '63', '0');
INSERT INTO `jsh_depot_head` VALUES ('269', '其它', '组装单', 'ZZD00000000641', 'ZZD00000000641', '2021-06-02 00:24:29', '2021-06-02 00:24:11', null, '63', null, null, '0.000000', '现付', null, null, null, null, null, null, null, null, null, null, '0', null, '63', '0');
...
...
@@ -369,12 +369,11 @@ CREATE TABLE `jsh_log` (
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
PRIMARY KEY (`id`),
KEY `FKF2696AA13E226853` (`user_id`)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
75
36
DEFAULT
CHARSET
=
utf8
COMMENT
=
'操作日志'
;
) ENGINE=InnoDB AUTO_INCREMENT=75
57
DEFAULT CHARSET=utf8 COMMENT='操作日志';
-- ----------------------------
-- Records of jsh_log
-- ----------------------------
INSERT
INTO
`jsh_log`
VALUES
(
'7530'
,
'63'
,
'用户'
,
'127.0.0.1/127.0.0.1'
,
'2021-07-22 22:54:31'
,
'0'
,
'登录jsh'
,
'63'
);
-- ----------------------------
-- Table structure for jsh_material
...
...
@@ -915,7 +914,7 @@ CREATE TABLE `jsh_user_business` (
-- ----------------------------
-- Records of jsh_user_business
-- ----------------------------
INSERT
INTO
`jsh_user_business`
VALUES
(
'5'
,
'RoleFunctions'
,
'4'
,
'[2
25
][2
10
][211][
32][241
][33][199][
38][
242][41][200][2
39
][2
01
][202][40][232][233][
44][
197][203][204][205][206][212][
198][
246][207][208][209][226][227][228][229][59][235][237][244][22][23][220][240][24][25][217][218][26][194][195][31][1][1
3
][14][243][15][234][16][18][236][245][24
7
][
2
1]'
,
'[{
\"
funId
\"
:13,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:14,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:243,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:234,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:16,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:18,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:236,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:245,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:22,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:23,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:220,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:240,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:247,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:25,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:217,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:218,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:26,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:194,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:195,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:31,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:241,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:33,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:199,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:242,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:41,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:200,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:210,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:211,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:197,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:203,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:204,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:205,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:206,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:212,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:201,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:202,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:40,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:232,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:233,
\"
btnStr
\"
:
\"
1,2
\"
}]'
,
'0'
);
INSERT INTO `jsh_user_business` VALUES ('5', 'RoleFunctions', '4', '[2
10
][2
25
][211][
241][32
][33][199][242][
38][
41][200][2
01
][2
39
][202][40][232][233][197][
44][
203][204][205][206][212][246][207][208][209][226][227][228][229][59][235][237][244][22][
21][
23][220][240][24
7
][25][
24][
217][218][26][194][195][31][1
3
][1][14][243][15][234][16][18][236][245][24
8
][1
98
]', '[{\"funId\":13,\"btnStr\":\"1\"},{\"funId\":14,\"btnStr\":\"1\"},{\"funId\":243,\"btnStr\":\"1\"},{\"funId\":234,\"btnStr\":\"1\"},{\"funId\":16,\"btnStr\":\"1\"},{\"funId\":18,\"btnStr\":\"1\"},{\"funId\":236,\"btnStr\":\"1\"},{\"funId\":245,\"btnStr\":\"1\"},{\"funId\":22,\"btnStr\":\"1\"},{\"funId\":23,\"btnStr\":\"1\"},{\"funId\":220,\"btnStr\":\"1\"},{\"funId\":240,\"btnStr\":\"1\"},{\"funId\":247,\"btnStr\":\"1\"},{\"funId\":25,\"btnStr\":\"1\"},{\"funId\":217,\"btnStr\":\"1\"},{\"funId\":218,\"btnStr\":\"1\"},{\"funId\":26,\"btnStr\":\"1\"},{\"funId\":194,\"btnStr\":\"1\"},{\"funId\":195,\"btnStr\":\"1\"},{\"funId\":31,\"btnStr\":\"1\"},{\"funId\":241,\"btnStr\":\"1,2
,7
\"},{\"funId\":33,\"btnStr\":\"1,2
,7
\"},{\"funId\":199,\"btnStr\":\"1,2
,7
\"},{\"funId\":242,\"btnStr\":\"1,2
,7
\"},{\"funId\":41,\"btnStr\":\"1,2
,7
\"},{\"funId\":200,\"btnStr\":\"1,2
,7
\"},{\"funId\":210,\"btnStr\":\"1,2
,7
\"},{\"funId\":211,\"btnStr\":\"1,2
,7
\"},{\"funId\":197,\"btnStr\":\"1
,7,2
\"},{\"funId\":203,\"btnStr\":\"1
,7,2
\"},{\"funId\":204,\"btnStr\":\"1
,7,2
\"},{\"funId\":205,\"btnStr\":\"1
,7,2
\"},{\"funId\":206,\"btnStr\":\"1
,2,7
\"},{\"funId\":212,\"btnStr\":\"1
,7,2
\"},{\"funId\":201,\"btnStr\":\"1,2
,7
\"},{\"funId\":202,\"btnStr\":\"1,2
,7
\"},{\"funId\":40,\"btnStr\":\"1,2
,7
\"},{\"funId\":232,\"btnStr\":\"1,2
,7
\"},{\"funId\":233,\"btnStr\":\"1,2
,7
\"}]', '0');
INSERT INTO `jsh_user_business` VALUES ('6', 'RoleFunctions', '5', '[22][23][25][26][194][195][31][33][200][201][41][199][202]', null, '0');
INSERT INTO `jsh_user_business` VALUES ('7', 'RoleFunctions', '6', '[22][23][220][240][25][217][218][26][194][195][31][59][207][208][209][226][227][228][229][235][237][210][211][241][33][199][242][41][200][201][202][40][232][233][197][203][204][205][206][212]', '[{\"funId\":\"33\",\"btnStr\":\"4\"}]', '0');
INSERT INTO `jsh_user_business` VALUES ('9', 'RoleFunctions', '7', '[168][13][12][16][14][15][189][18][19][132]', null, '0');
...
...
@@ -939,7 +938,7 @@ INSERT INTO `jsh_user_business` VALUES ('27', 'UserCustomer', '63', '[58]', null
INSERT INTO `jsh_user_business` VALUES ('28', 'UserDepot', '96', '[7]', null, '0');
INSERT INTO `jsh_user_business` VALUES ('29', 'UserRole', '96', '[6]', null, '0');
INSERT INTO `jsh_user_business` VALUES ('30', 'UserRole', '113', '[10]', null, '0');
INSERT
INTO
`jsh_user_business`
VALUES
(
'32'
,
'RoleFunctions'
,
'10'
,
'[2
25
][2
10
][211][
32][241
][33][199][
38][
242][41][200][2
39
][2
01
][202][40][232][233][
44][
197][203][204][205][206][212][
198][
246][207][208][209][226][227][228][229][59][235][237][244][2
1
][2
2
][23][220][240][247][2
4
][2
5
][217][218][26][194][195][31][13][14][243][15][234]'
,
'[{
\"
funId
\"
:13,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:14,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:243,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:234,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:22,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:23,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:220,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:240,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:247,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:25,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:217,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:218,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:26,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:194,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:195,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:31,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:241,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:33,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:199,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:242,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:41,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:200,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:210,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:211,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:197,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:203,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:204,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:205,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:206,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:212,
\"
btnStr
\"
:
\"
1
\"
},{
\"
funId
\"
:201,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:202,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:40,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:232,
\"
btnStr
\"
:
\"
1,2
\"
},{
\"
funId
\"
:233,
\"
btnStr
\"
:
\"
1,2
\"
}]'
,
'0'
);
INSERT INTO `jsh_user_business` VALUES ('32', 'RoleFunctions', '10', '[2
10
][2
25
][211][
241][32
][33][199][242][
38][
41][200][2
01
][2
39
][202][40][232][233][197][
44][
203][204][205][206][212][246][207][208][209][226][227][228][229][59][235][237][244][2
2
][2
1
][23][220][240][247][2
5
][2
4
][217][218][26][194][195][31][13][14][243][15][234]
[248][198]
', '[{\"funId\":13,\"btnStr\":\"1\"},{\"funId\":14,\"btnStr\":\"1\"},{\"funId\":243,\"btnStr\":\"1\"},{\"funId\":234,\"btnStr\":\"1\"},{\"funId\":22,\"btnStr\":\"1\"},{\"funId\":23,\"btnStr\":\"1\"},{\"funId\":220,\"btnStr\":\"1\"},{\"funId\":240,\"btnStr\":\"1\"},{\"funId\":247,\"btnStr\":\"1\"},{\"funId\":25,\"btnStr\":\"1\"},{\"funId\":217,\"btnStr\":\"1\"},{\"funId\":218,\"btnStr\":\"1\"},{\"funId\":26,\"btnStr\":\"1\"},{\"funId\":194,\"btnStr\":\"1\"},{\"funId\":195,\"btnStr\":\"1\"},{\"funId\":31,\"btnStr\":\"1\"},{\"funId\":241,\"btnStr\":\"1,2
,7
\"},{\"funId\":33,\"btnStr\":\"1,2
,7
\"},{\"funId\":199,\"btnStr\":\"1,
7,
2\"},{\"funId\":242,\"btnStr\":\"1,2
,7
\"},{\"funId\":41,\"btnStr\":\"1,2
,7
\"},{\"funId\":200,\"btnStr\":\"1,2
,7
\"},{\"funId\":210,\"btnStr\":\"1,2
,7
\"},{\"funId\":211,\"btnStr\":\"1,2
,7
\"},{\"funId\":197,\"btnStr\":\"1
,2,7
\"},{\"funId\":203,\"btnStr\":\"1
,7,2
\"},{\"funId\":204,\"btnStr\":\"1
,7,2
\"},{\"funId\":205,\"btnStr\":\"1
,2,7
\"},{\"funId\":206,\"btnStr\":\"1
,7,2
\"},{\"funId\":212,\"btnStr\":\"1
,2,7
\"},{\"funId\":201,\"btnStr\":\"1,2
,7
\"},{\"funId\":202,\"btnStr\":\"1,2
,7
\"},{\"funId\":40,\"btnStr\":\"1,2
,7
\"},{\"funId\":232,\"btnStr\":\"1,2
,7
\"},{\"funId\":233,\"btnStr\":\"1,2
,7
\"}]', '0');
INSERT INTO `jsh_user_business` VALUES ('34', 'UserRole', '115', '[10]', null, '0');
INSERT INTO `jsh_user_business` VALUES ('35', 'UserRole', '117', '[10]', null, '0');
INSERT INTO `jsh_user_business` VALUES ('36', 'UserDepot', '117', '[8][9]', null, '0');
...
...
Write
Preview
Supports
Markdown
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