diff --git a/docs/pro/devnew.md b/docs/pro/devnew.md index 9558e7d5..913a8c9d 100644 --- a/docs/pro/devnew.md +++ b/docs/pro/devnew.md @@ -49,17 +49,21 @@ initCfg() { -- mysql示例 create table stock ( - createtime datetime not null comment '操作时间', - status int not null comment '出库/入库', - price decimal(10, 1) not null comment '产品单价', - number int not null comment '产品数量', - name text not null comment '产品名称', - orgid varchar(50) null comment '组织ID', - user varchar(50) not null comment '操作人', - viewable varchar(50) not null comment '可见范围', - id varchar(50) not null comment '数据ID' - primary key + Id varchar(50) not null comment '数据ID' + primary key, + Name text not null comment '产品名称', + Number int not null comment '产品数量', + Price decimal(10, 1) not null comment '产品单价', + Status int not null comment '出库/入库', + Viewable varchar(50) not null comment '可见范围', + User varchar(50) not null comment '操作人', + Time datetime not null comment '操作时间', + OrgId varchar(50) null comment '组织ID' ) + comment '出入库信息表' charset = utf8 + row_format = COMPACT; + + ```