From 5090ce8bd8437e1f48b6498265531bb7ecb94474 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期三, 26 十一月 2025 13:07:23 +0800
Subject: [PATCH] 修复即时库存不可用库存显示总理(数据库视图需单独修改

---
 version/db/sql_index.sql |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/version/db/sql_index.sql b/version/db/sql_index.sql
index e69de29..eec279c 100644
--- a/version/db/sql_index.sql
+++ b/version/db/sql_index.sql
@@ -0,0 +1,3 @@
+# sys_config
+CREATE INDEX idx_config_flag ON sys_config(flag);
+CREATE INDEX idx_config_deleted_flag ON sys_config(deleted, flag);
\ No newline at end of file

--
Gitblit v1.9.1