From 4f5133a1aa9ae7842fa808be6d082a036e408f12 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 02 七月 2026 17:09:20 +0800
Subject: [PATCH] 采购退货时,对应批次库存已被销售发货出去一批(比如销售发货时,选择的采购入库的批次库存,剩下38个,但采购退货时,可退货数量还是显示150个。)

---
 doc/create_table_process_route.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/create_table_process_route.sql b/doc/create_table_process_route.sql
index 9bc08ec..4a453f8 100644
--- a/doc/create_table_process_route.sql
+++ b/doc/create_table_process_route.sql
@@ -3,7 +3,7 @@
 create table process_route
 (
     id          bigint auto_increment primary key,
-    product_id  bigint       not null default 0 comment '浜у搧id',
+    product_model_id  bigint       not null default 0 comment '浜у搧id',
     description varchar(255) not null default '' comment '鎻忚堪',
     tenant_id   bigint       not null comment '绉熸埛id',
     create_time datetime     null comment '褰曞叆鏃堕棿',

--
Gitblit v1.9.3