From d1c60ed1532901c7e0b69fcca6cb8d2adecd0e5a Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Tue, 7 Jan 2020 10:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A1=A8sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Data/update.sql b/Data/update.sql index 8f0ce3a30..5acdbc763 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -928,3 +928,20 @@ ALTER TABLE tab_partner ADD `payee_name` varchar(24) DEFAULT NULL COMMENT '收 ALTER TABLE tab_partner ADD `bank_account` varchar(32) DEFAULT NULL COMMENT '银行账号' AFTER `payee_name`; ALTER TABLE tab_partner ADD `opening_bank` varchar(128) DEFAULT NULL COMMENT '开户行' AFTER `bank_account`; +-- 推广公会归属管理 2020-1-1 刘伟文 +CREATE TABLE `tab_promote_belong` ( + `id` int(11) NOT NULL, + `promote_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广员id', + `verify_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '审核状态:0-待审核;1-审核通过;2-审核拒绝', + `company_belong` tinyint(1) NOT NULL DEFAULT '0' COMMENT '工会归属:0-内团;1-外团', + `company_relation` tinyint(1) NOT NULL DEFAULT '0' COMMENT '工会关系:0-自主开发及维护;1-只维护', + `remark` varchar(255) DEFAULT NULL COMMENT '备注', + `applicant_id` int(11) NOT NULL DEFAULT '0' COMMENT '申请人(后台管理员)id', + `approver_id` int(11) NOT NULL DEFAULT '0' COMMENT '确认人(后台管理员)id', + `applicant_time` int(11) DEFAULT '0' COMMENT '申请时间', + `verify_time` int(11) DEFAULT '0' COMMENT '审批时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='推广公会归属管理'; + + +