From 43296f350403dd0bd1b601f7261ea64a4a4546c0 Mon Sep 17 00:00:00 2001 From: yubaolee Date: Wed, 22 May 2024 20:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/pro/devnew.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) 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; + + ```