feat(backend): 出入库编码搜索双路匹配+建单填快照;finance 趋势/日期区间;partner/product 拼音搜索

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
This commit is contained in:
wangjia
2026-07-02 22:27:13 +08:00
parent af56055eef
commit 9099c4af99
21 changed files with 610 additions and 39 deletions
+2
View File
@@ -299,6 +299,8 @@ func SetupTestDB() *gorm.DB {
shop_id INTEGER NOT NULL,
code TEXT,
name TEXT NOT NULL,
name_pinyin TEXT DEFAULT '',
name_initials TEXT DEFAULT '',
type TEXT DEFAULT 'supplier',
status TEXT NOT NULL DEFAULT 'enabled',
contact TEXT,