Files
qhmes/jeecg-boot/db/mes-xsl-manufacturer.sql
jiangxh a22a573c0d feat(xslmes): 停机分类与设备/工序基础资料菜单及权限完善
新增停机大类、停机类型 CRUD(含 Flyway 与独立 db 脚本);调整工序/设备分类/设备类型菜单归属与权限;同步厂家信息菜单脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 14:02:37 +08:00

19 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 仅建表 mes_xsl_manufacturer完整初始化厂家类别/是否有效字典菜单租户授权请执行 mes-xsl-manufacturer-menu-permission.sql
SET NAMES utf8mb4;
CREATE TABLE IF NOT EXISTS `mes_xsl_manufacturer` (
`id` varchar(32) NOT NULL COMMENT '主键',
`manufacturer_category` varchar(500) NOT NULL COMMENT '厂家类别字典xslmes_manufacturer_categorymold模具 capsule胶囊 equipment设备',
`manufacturer_name` varchar(500) NOT NULL COMMENT '厂家名称同租户未删除数据中唯一',
`valid_status` varchar(1) NOT NULL DEFAULT '0' COMMENT '是否有效字典xslmes_manufacturer_valid0有效1无效',
`tenant_id` int DEFAULT NULL COMMENT '租户',
`sys_org_code` varchar(500) DEFAULT NULL COMMENT '部门',
`create_by` varchar(500) DEFAULT NULL COMMENT '创建人',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(500) DEFAULT NULL COMMENT '更新人',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`del_flag` int DEFAULT '0' COMMENT '删除标记0正常1删除',
PRIMARY KEY (`id`),
KEY `idx_mxm_tenant_name` (`tenant_id`, `manufacturer_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='MES厂家信息';