From 6de15528a3ba8f9c87d9aaffe895e69fdcdc9026 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 十月 2026 21:28:43 +0800
Subject: [PATCH] fix(system): 修复用户导入「覆盖」分支不可达,导入测试对齐新模板列

---
 yudao-module-mes/src/test/resources/sql/create_tables.sql |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/yudao-module-mes/src/test/resources/sql/create_tables.sql b/yudao-module-mes/src/test/resources/sql/create_tables.sql
index 203b99a..a766f59 100644
--- a/yudao-module-mes/src/test/resources/sql/create_tables.sql
+++ b/yudao-module-mes/src/test/resources/sql/create_tables.sql
@@ -543,10 +543,15 @@
     "name" varchar(255) DEFAULT NULL,
     "iqc_id" bigint DEFAULT NULL,
     "notice_id" bigint DEFAULT NULL,
+    "notice_code" varchar(64) DEFAULT NULL,
     "vendor_id" bigint DEFAULT NULL,
+    "vendor_name" varchar(128) DEFAULT NULL,
     "purchase_order_code" varchar(64) DEFAULT NULL,
+    "purchase_order_id" bigint DEFAULT NULL,
     "receipt_date" timestamp DEFAULT NULL,
     "status" tinyint NOT NULL DEFAULT 0,
+    "process_instance_id" varchar(64) DEFAULT NULL,
+    "process_definition_key" varchar(64) DEFAULT NULL,
     "remark" varchar(500) DEFAULT NULL,
     "creator" varchar(64) DEFAULT '',
     "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,

--
Gitblit v1.9.3