1.更新sql语句
This commit is contained in:
parent
4c9ca48b37
commit
44bc6a6d71
|
@ -1,18 +1,7 @@
|
|||
CREATE TABLE `base_template` (
|
||||
`id` varchar(255) NOT NULL COMMENT '主键',
|
||||
`template_name` varchar(255) NULL DEFAULT NULL COMMENT '模板名称',
|
||||
`enable_mark` int(0) NULL DEFAULT NULL COMMENT '有效状态:1-有效;0无效',
|
||||
`creator_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`last_modify_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
INSERT INTO `base_template` VALUES ('1f0e7e01404eb4186b08d4d430fb4121', 'costCenter', 1, '2022-12-14 16:46:39', NULL);
|
||||
INSERT INTO `base_template` VALUES ('d98ad12ba55c00a047f09bc2a2808004', 'profitCenter', 1, '2022-12-14 17:07:01', NULL);
|
||||
|
||||
CREATE TABLE `base_chain` (
|
||||
`id` varchar(255) NOT NULL COMMENT '主键',
|
||||
`template_id` varchar(255) NULL DEFAULT NULL COMMENT '所属模板id',
|
||||
`main_chain_code` varchar(30) NULL DEFAULT NULL COMMENT '主链路编码',
|
||||
`chain_name` varchar(32) NULL DEFAULT NULL COMMENT '链路名称',
|
||||
`el_data` text NULL COMMENT '链路语句',
|
||||
`enable_mark` int(0) NULL DEFAULT NULL COMMENT '有效状态:1-有效;0无效',
|
||||
|
@ -22,32 +11,25 @@ CREATE TABLE `base_chain` (
|
|||
);
|
||||
|
||||
CREATE TABLE `base_data` (
|
||||
`id` varchar(255) NOT NULL,
|
||||
`id` varchar(255) NOT NULL COMMENT '主键',
|
||||
`template_id` varchar(255) NULL DEFAULT NULL COMMENT '所属模板id',
|
||||
`type` varchar(30) NULL DEFAULT NULL,
|
||||
`content` text NULL,
|
||||
`content_type` varchar(30) NULL DEFAULT NULL,
|
||||
`content_name` varchar(30) NULL DEFAULT NULL,
|
||||
`type` varchar(30) NULL DEFAULT NULL COMMENT '判断字段名',
|
||||
`content` text NULL COMMENT '判断字段内容',
|
||||
`content_type` varchar(30) NULL DEFAULT NULL COMMENT '内容类型',
|
||||
`content_name` varchar(30) NULL DEFAULT NULL COMMENT '判断内容字段名',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('3843512879501886', '1f0e7e01404eb4186b08d4d430fb4121', 'businessCategory', '[全货船业务, 进出岛仓干配]', 'List', 'businessCategoryList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('9047450688035130', '1f0e7e01404eb4186b08d4d430fb4121', 'businessType', '[货代, 报关, 船代, 散杂货]', 'List', 'businessTypeList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('5587514507650183', '1f0e7e01404eb4186b08d4d430fb4121', 'salesman', '[仓干配物流部(物流)]', 'List', 'salesmanList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('7203685907622705', '1f0e7e01404eb4186b08d4d430fb4121', 'sectionClassification', '[汇差, 手续费, 成本科目]', 'List', 'sectionClassificationList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('3927088550655742', 'd98ad12ba55c00a047f09bc2a2808004', 'businessCategory', '[运输业务, 全货船业务, 进出岛仓干配]', 'List', 'businessCategoryList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('5363457043311084', 'd98ad12ba55c00a047f09bc2a2808004', 'businessType', '[货代, 船代, 散杂货]', 'List', 'businessTypeList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('2790513253702116', 'd98ad12ba55c00a047f09bc2a2808004', 'salesman', '[仓干配物流部(物流)]', 'List', 'salesmanList');
|
||||
INSERT INTO `base_data`(`id`, `template_id`, `type`, `content`, `content_type`, `content_name`) VALUES ('0927941726325838', 'd98ad12ba55c00a047f09bc2a2808004', 'sectionClassification', '[银行科目, 预付科目, 预收科目]', 'List', 'sectionClassificationList');
|
||||
|
||||
|
||||
CREATE TABLE `base_node` (
|
||||
`id` varchar(255) NOT NULL COMMENT '主键',
|
||||
`node_id` varchar(32) NULL DEFAULT NULL COMMENT '节点在规则引擎中的Id',
|
||||
`template_id` varchar(255) NULL DEFAULT NULL COMMENT '所属模板id',
|
||||
`main_chain_code` varchar(30) NULL DEFAULT NULL COMMENT '主链路编码',
|
||||
`node_name` varchar(64) NULL DEFAULT NULL COMMENT '节点名称',
|
||||
`node_class` text NULL COMMENT '节点对应类名',
|
||||
`node_type` varchar(30) NULL DEFAULT NULL COMMENT '节点类型',
|
||||
`node_role` text NULL COMMENT '节点规则',
|
||||
`node_rule` text NULL COMMENT '节点规则',
|
||||
`node_content_id` varchar(255) NULL DEFAULT NULL COMMENT '节点对应输出节点id',
|
||||
`node_content` text NULL COMMENT '节点内容',
|
||||
`enable_mark` int(0) NULL DEFAULT NULL COMMENT '有效状态:1-有效;0无效',
|
||||
|
@ -56,7 +38,11 @@ CREATE TABLE `base_node` (
|
|||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CREATE TABLE `base_template` (
|
||||
`id` varchar(255) NOT NULL COMMENT '主键',
|
||||
`template_name` varchar(255) NULL DEFAULT NULL COMMENT '模板名称',
|
||||
`enable_mark` int(0) NULL DEFAULT NULL COMMENT '有效状态:1-有效;0无效',
|
||||
`creator_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`last_modify_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue