✏️ 正在编辑: 153.sql
路径:
/srv/systems_dir/yuppiecred-lidernegocios/data/database/153.sql
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
CREATE TABLE IF NOT EXISTS `tb_atendimento_corretor` ( `id` int(11) NOT NULL AUTO_INCREMENT, `data_cadastro` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `corretor_id` int(11) NOT NULL, `usuario_atendimento` int(11) NOT NULL, `data_ligacao` date DEFAULT NULL, `motivo_ligacao` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `descricao` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `data_proximo_contato` date DEFAULT NULL, `gerente_comercial_id` int(11) DEFAULT NULL, `status_resolucao_id` int(11) NOT NULL, `excluido` tinyint(2) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `corretor_id` (`corretor_id`,`gerente_comercial_id`), KEY `usuario_atendimento` (`usuario_atendimento`), KEY `status_resolucao_id` (`status_resolucao_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO `tb_tipos` (`descricao`, `tipo`, `codigo`, `parent_id`, `bloquear`, `excluido`) VALUES ('Falta de produção', 'MOTIVO_LIGACAO', '1', NULL, 1, 0), ('Pós-venda', 'MOTIVO_LIGACAO', '2', NULL, 1, 0), ('Retorno', 'MOTIVO_LIGACAO', '3', NULL, 1, 0);
💾 保存文件
← 返回文件管理器