|
|
|
@ -1732,7 +1732,7 @@ CREATE TABLE `5kcrm_crm_number_sequence` (
|
|
|
|
|
`status` int(2) NOT NULL DEFAULT '0' COMMENT '默认开启使用自动编号 1不使用',
|
|
|
|
|
`number_type` int(11) DEFAULT NULL COMMENT '编号规则类型',
|
|
|
|
|
PRIMARY KEY (`number_sequence_id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='编号规则';
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT=Dynamic COMMENT='编号规则';
|
|
|
|
|
|
|
|
|
|
INSERT INTO `5kcrm_crm_number_sequence` VALUES ('1', '0', '1', 'HT', null, null, null, null, '1607356800', '1', null, '0', '1');
|
|
|
|
|
INSERT INTO `5kcrm_crm_number_sequence` VALUES ('2', '1', '2', 'yyyyMMdd', null, null, null, null, '1607356800', '1', null, '0', '1');
|
|
|
|
@ -1750,7 +1750,6 @@ INSERT INTO `5kcrm_crm_number_sequence` VALUES ('12', '2', '3', '1', '1', '4', '
|
|
|
|
|
DROP TABLE IF EXISTS `5kcrm_crm_visit`;
|
|
|
|
|
CREATE TABLE `5kcrm_crm_visit` (
|
|
|
|
|
`visit_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '回访id',
|
|
|
|
|
`owner_user_id` int(11) NOT NULL COMMENT '负责人',
|
|
|
|
|
`owner_user_id` int(11) NOT NULL COMMENT '回访人',
|
|
|
|
|
`create_user_id` int(11) NOT NULL COMMENT '创建人id',
|
|
|
|
|
`customer_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户名称',
|
|
|
|
@ -1955,7 +1954,7 @@ CREATE TABLE `5kcrm_crm_receivables_file` (
|
|
|
|
|
`receivables_id` int(10) unsigned NOT NULL,
|
|
|
|
|
`file_id` int(10) unsigned NOT NULL,
|
|
|
|
|
PRIMARY KEY (`r_id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '回款附件表' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
INSERT INTO `5kcrm_crm_config` (`name`, `value`, `description`) VALUES ('activity_phrase', 'a:5:{i:0;s:18:\\\"电话无人接听\\\";i:1;s:15:\\\"客户无意向\\\";i:2;s:42:\\\"客户意向度适中,后续继续跟进\\\";i:3;s:42:\\\"客户意向度较强,成交几率较大\\\";i:4;s:3:\\\"312\\\";}', '跟进记录常用语');
|
|
|
|
|
INSERT INTO `5kcrm_crm_config` (`name`, `value`, `description`) VALUES ('visit_config', '1', '是否开启回访提醒:1开启;0不开启');
|
|
|
|
|