feat(db): H001 改名 S001,新增 S002(空库存版)
S001: 含完整入库/出库/库存历史数据 S002: 基础数据相同(商品/供应商/仓库),入库/出库/库存均为空,模拟新门店 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -112,10 +112,10 @@ func main() {
|
||||
// ═══════════════════════════════════════════════════
|
||||
// 门店
|
||||
// ═══════════════════════════════════════════════════
|
||||
shop := upsert(db, &model.Shop{}, "code = ?", "H001", func() any {
|
||||
shop := upsert(db, &model.Shop{}, "code = ?", "S001", func() any {
|
||||
return &model.Shop{
|
||||
Name: "测试酒库门店",
|
||||
Code: "H001",
|
||||
Code: "S001",
|
||||
Address: "北京市朝阳区酒仙桥路甲1号",
|
||||
Phone: "010-12345678",
|
||||
ManagerName: "张三",
|
||||
|
||||
Reference in New Issue
Block a user