Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
shuidi-product-change
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • shuidi-product-change
  • Issues
  • #199

Closed
Open
Created Jul 24, 2018 by 黄宽宽@huangkuankuanDeveloper

数据库加表

数据库:ucs

表名:trusted_goods

sql:

# 可信商家商品表
create table `trusted_goods`(
	`id` int(11) not null auto_increment,
	`company_name_digest` varchar(32) not null default '' comment '企业digest',
	`goods_name` varchar(255) not null default '' comment '商品名',
	`goods_img` varchar(255) not null default '' comment '商品封面图',
	`goods_p_cate` int(10) not null default 0 comment '商品一级分类编号(分类名是另外爬取的数据)',
	`goods_c_cate` int(10) not null default 0 comment '商品二级分类编号(分类名是另外爬取的数据)',
	`goods_num` int(10) not null default 0 comment '商品数量',
	`goods_price` decimal(10,2) DEFAULT NULL comment '商品价格',
	`goods_detail` text comment '商品介绍',
	`send_date` varchar(20) not null default '' comment '发货期限(用var类型的原因:原型上该字段填的面议)',
	`order_num` varchar(20) not null default '' comment '起订量(用var类型的原因:原型上该字段填的200套,描述单位不确定)',
	`status` tinyint(1) not null default 1 comment '状态:1待审,2审核通过,3不通过',
	`attach_msg` text comment '附加信息,审核不通过时必填',
	`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
	`last_update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE trusted_goods COMMENT = '可信商家-商品表';
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking