chore: sync baseline SQL and graphify for item templates.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ea5bddb1dc
commit
bb81170b89
12 files changed
+31365
-25666
No files matched your search
@@ -13010,6 +13010,29 @@ INSERT INTO `biz_qc_item_param` (`id`, `item_source`, `item_id`, `param_name`, `
|
||||
INSERT INTO `biz_qc_item_param` (`id`, `item_source`, `item_id`, `param_name`, `param_code`, `param_unit`, `param_type`, `options`, `default_value`, `required_flag`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('FC14191F2EAF4BA8A0AB195544DCF88D', 'third_party', 'F0618DF7529546F597D01908ACC1B270', 'EB病毒衣壳抗原IgG抗体化学发光', '', NULL, 'text', NULL, NULL, '0', 'zkxw', 0, NULL, 'd3000000000000000000000000000001', 'b13c2be2-4e71-11f1-9f47-00163e3bdd96', '2026-06-18 13:28:39', 'd3000000000000000000000000000001', '2026-06-26 04:02:28', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for biz_qc_inspection_item_template
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `biz_qc_inspection_item_template`;
|
||||
CREATE TABLE `biz_qc_inspection_item_template` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID',
|
||||
`template_name` varchar(200) NOT NULL COMMENT '模版名称',
|
||||
`lab_item_ids` varchar(2000) NOT NULL DEFAULT '' COMMENT '实验室项目ID逗号分隔',
|
||||
`third_party_item_ids` varchar(2000) NOT NULL DEFAULT '' COMMENT '第三方项目ID逗号分隔',
|
||||
`status` char(1) NOT NULL DEFAULT '1' COMMENT '1启用 0停用',
|
||||
`tenant_no` varchar(64) NOT NULL DEFAULT 'zkxw' COMMENT '租户编号',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
|
||||
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
|
||||
`create_time` datetime NOT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
|
||||
`update_time` datetime NOT NULL COMMENT '更新时间',
|
||||
`del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_qc_iit_tenant_status` (`tenant_no`,`del_flag`,`status`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='质检检测项目模版';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for biz_qc_lab_test_item
|
||||
-- ----------------------------
|
||||
@@ -41007,6 +41030,12 @@ INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `co
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000002', '样本接收', 'QCM00000000000000000000000000001', 'C', 'sample-reception', '/quality-inspection/sample-reception/index', 'biz:sampleReception:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-23 19:36:03', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000003', '接收检查项配置', 'QCB00000000000000000000000000001', 'C', 'sample-reception-check-item', '/quality-inspection/sample-reception-check-item/index', 'biz:sampleReceptionCheckItem:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-13 19:40:28', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000006', '质检项目管理', 'QCB00000000000000000000000000001', 'C', 'lab-test-item', '/quality-inspection/lab-test-item/index', 'biz:qcLabTestItem:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-13 19:40:28', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('95300000000000000000000000000001', '检测项目模版', 'QCB00000000000000000000000000001', 'C', 'inspection-item-template', '/quality-inspection/inspection-item-template/index', 'biz:qcInspectionItemTemplate:list', 1, '1', '1', 'zkxw', 5, '质检基础信息:检测项目模版主数据', NULL, '', '2026-08-17 12:00:00', NULL, '2026-08-17 12:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('95300000000000000000000000000002', '检测项目模版查询', '95300000000000000000000000000001', 'F', '', '', 'biz:qcInspectionItemTemplate:list', 1, '0', '1', 'zkxw', 1, '检测项目模版列表查询', NULL, '', '2026-08-17 12:00:00', NULL, '2026-08-17 12:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('95300000000000000000000000000003', '检测项目模版新增', '95300000000000000000000000000001', 'F', '', '', 'biz:qcInspectionItemTemplate:add', 1, '0', '1', 'zkxw', 2, '检测项目模版新增', NULL, '', '2026-08-17 12:00:00', NULL, '2026-08-17 12:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('95300000000000000000000000000004', '检测项目模版修改', '95300000000000000000000000000001', 'F', '', '', 'biz:qcInspectionItemTemplate:edit', 1, '0', '1', 'zkxw', 3, '检测项目模版修改(含启停)', NULL, '', '2026-08-17 12:00:00', NULL, '2026-08-17 12:00:00', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('95300000000000000000000000000005', '检测项目模版删除', '95300000000000000000000000000001', 'F', '', '', 'biz:qcInspectionItemTemplate:remove', 1, '0', '1', 'zkxw', 4, '检测项目模版删除', NULL, '', '2026-08-17 12:00:00', NULL, '2026-08-17 12:00:00', 0);
|
||||
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000007', '质检工单', 'QCM00000000000000000000000000001', 'C', 'qc-work-order', '/quality-inspection/qc-work-order/index', 'biz:qcWorkOrder:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-13 19:40:28', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000009', '质检物料库', 'QCB00000000000000000000000000001', 'C', 'qc-material', '/quality-inspection/qc-material/index', 'biz:qcMaterial:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-13 19:40:28', 0);
|
||||
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('70000000000000000000000000000011', '入库放行审核', 'CEL00000000000000000000000000001', 'C', 'storage-release-review', '/quality-inspection/storage-release-review/index', 'biz:storageReleaseReview:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', '2026-06-13 19:40:28', NULL, '2026-06-13 19:40:28', 0);
|
||||
|
||||
Reference in new issue
Block a user