Showing
1 changed file
with
29 additions
and
0 deletions
1 | +## 1.数据库(erp_supplier) | ||
2 | +### 1.1 店铺管理员(erp_supplier.shops_check) | ||
3 | +#### sql 脚本 | ||
4 | +```sql | ||
5 | +CREATE TABLE `shops_check` ( | ||
6 | + `shops_id` int(11) unsigned NOT NULL AUTO_INCREMENT, | ||
7 | + `shop_name` varchar(100) NOT NULL, | ||
8 | + `shop_domain` varchar(50) NOT NULL, | ||
9 | + `shop_relation` varchar(5000) DEFAULT NULL, | ||
10 | + `shop_nature` tinyint(4) unsigned NOT NULL DEFAULT '0', | ||
11 | + `shop_logo` varchar(200) DEFAULT NULL, | ||
12 | + `shop_intro` varchar(5000) DEFAULT NULL, | ||
13 | + `website_url` varchar(500) NOT NULL, | ||
14 | + `other_url` varchar(500) DEFAULT NULL, | ||
15 | + `shop_address` varchar(1000) DEFAULT NULL, | ||
16 | + `create_pid` int(11) unsigned DEFAULT '0', | ||
17 | + `shops_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1、单品店,2、多品店', | ||
18 | + `operation_status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '1 店铺未创建 2店铺已创建', | ||
19 | + `examine_status` tinyint(4) unsigned NOT NULL DEFAULT '0', | ||
20 | + `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 开启 0 关闭', | ||
21 | + `check_status` smallint(6) DEFAULT NULL COMMENT '100 暂存 200 待审核 300 审核通过 900 驳回', | ||
22 | + `is_read` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 未处理 2 已处理', | ||
23 | + `create_time` int(10) unsigned NOT NULL DEFAULT '0', | ||
24 | + `update_time` int(10) unsigned NOT NULL DEFAULT '0', | ||
25 | + PRIMARY KEY (`shops_id`) | ||
26 | +) ENGINE=InnoDB AUTO_INCREMENT=433 DEFAULT CHARSET=utf8; | ||
27 | + | ||
28 | +``` | ||
29 | +#### 说明:增加标识字段status 1表示正常记录 2表示已删除记录 ' |
-
Please register or login to post a comment