diff --git a/README.md b/README.md index 86794a6..ed717f2 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ +前端代码地址:https://gitee.com/kutangguo/ktg-mes-ui + + + 欢迎交流沟通: QQ:411641505 @@ -51,7 +55,8 @@ PDA: - 仓储 - 生产 +完整功能清单及简介请参照doc->设计文档->功能设计->《功能清单.xml》 ### 安装部署 -请参照doc文件夹下的《实施文档》 \ No newline at end of file +请参照doc->实施文档 \ No newline at end of file diff --git a/doc/设计文档/功能设计/功能清单.xlsx b/doc/设计文档/功能设计/功能清单.xlsx index f092823..c86942e 100644 Binary files a/doc/设计文档/功能设计/功能清单.xlsx and b/doc/设计文档/功能设计/功能清单.xlsx differ diff --git a/doc/设计文档/数据库设计/mes-md.sql b/doc/设计文档/数据库设计/mes-md.sql index 56f7bbc..66b231a 100644 --- a/doc/设计文档/数据库设计/mes-md.sql +++ b/doc/设计文档/数据库设计/mes-md.sql @@ -157,7 +157,7 @@ create table md_client ( ) engine=innodb auto_increment=200 comment = '客户表'; -- ---------------------------- --- 4、单位表 +-- 6、单位表 -- ---------------------------- drop table if exists md_unit_measure; create table md_unit_measure ( @@ -179,3 +179,36 @@ create table md_unit_measure ( update_time datetime comment '更新时间', primary key (measure_id) ) engine=innodb auto_increment=200 comment = '单位表'; + + +-- ---------------------------- +-- 7、车间表 +-- ---------------------------- +drop table if exists md_workshop; +create table md_workshop ( + workshop_id bigint(20) not null auto_increment comment '车间ID', + workshop_code varchar(64) not null comment '车间编码', + workshop_name varchar(255) not null comment '车间名称', + area double(12,2) default 'Y' not null comment '面积', + charge varchar(64) comment '负责人', + enable_flag char(1) default 'Y' not null comment '是否启用', + remark varchar(500) default '' comment '备注', + attr1 varchar(64) default null comment '预留字段1', + attr2 varchar(255) default null comment '预留字段2', + attr3 int(11) default 0 comment '预留字段3', + attr4 int(11) default 0 comment '预留字段4', + create_by varchar(64) default '' comment '创建者', + create_time datetime comment '创建时间', + update_by varchar(64) default '' comment '更新者', + update_time datetime comment '更新时间', + primary key (workshop_id) +) engine=innodb auto_increment=200 comment = '车间表'; + + + + + + + + + diff --git a/doc/设计文档/数据库设计/mes-wm.sql b/doc/设计文档/数据库设计/mes-wm.sql new file mode 100644 index 0000000..16e112c --- /dev/null +++ b/doc/设计文档/数据库设计/mes-wm.sql @@ -0,0 +1,48 @@ +-- ---------------------------- +-- 1、仓库表 +-- ---------------------------- +drop table if exists wm_warehouse; +create table wm_warehouse ( + warehouse_id bigint(20) not null auto_increment comment '仓库ID', + warehouse_code varchar(64) not null comment '仓库编码', + warehouse_name varchar(255) not null comment '仓库名称', + location varchar(500) comment '位置', + area double(12,2) comment '面积', + charge varchar(64) comment '负责人', + remark varchar(500) default '' comment '备注', + attr1 varchar(64) default null comment '预留字段1', + attr2 varchar(255) default null comment '预留字段2', + attr3 int(11) default 0 comment '预留字段3', + attr4 int(11) default 0 comment '预留字段4', + create_by varchar(64) default '' comment '创建者', + create_time datetime comment '创建时间', + update_by varchar(64) default '' comment '更新者', + update_time datetime comment '更新时间', + primary key (warehouse_id) +) engine=innodb auto_increment=200 comment = '仓库表'; + + +-- ---------------------------- +-- 2、库区表 +-- ---------------------------- +drop table if exists wm_storage_location; +create table wm_storage_location ( + location_id bigint(20) not null auto_increment comment '库区ID', + location_code varchar(64) not null comment '库区编码', + location_name varchar(255) not null comment '库区名称', + warehouse_id bigint(20) not null comment '仓库ID', + area double(12,2) comment '面积', + remark varchar(500) default '' comment '备注', + attr1 varchar(64) default null comment '预留字段1', + attr2 varchar(255) default null comment '预留字段2', + attr3 int(11) default 0 comment '预留字段3', + attr4 int(11) default 0 comment '预留字段4', + create_by varchar(64) default '' comment '创建者', + create_time datetime comment '创建时间', + update_by varchar(64) default '' comment '更新者', + update_time datetime comment '更新时间', + primary key (location_id) +) engine=innodb auto_increment=200 comment = '库区表'; + + + diff --git a/doc/设计文档/数据库设计/数据库设计.xlsx b/doc/设计文档/数据库设计/数据库设计.xlsx index 82696db..24d08c1 100644 Binary files a/doc/设计文档/数据库设计/数据库设计.xlsx and b/doc/设计文档/数据库设计/数据库设计.xlsx differ