From 80c8e74c7428329f06d1aa3b70b95b46da732b0a Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 27 六月 2024 20:09:03 +0800 Subject: [PATCH] 保存库存结算时间点重启定时任务 --- request/product_request.go | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/request/product_request.go b/request/product_request.go index 8402959..e9e10a1 100644 --- a/request/product_request.go +++ b/request/product_request.go @@ -60,3 +60,12 @@ ProductId string `gorm:"column:product_id"` TotalAmount decimal.Decimal `gorm:"column:total_amount"` } + +type UnitDict struct { + Name string `gorm:"unique;type:varchar(191);not null;comment:鍚嶇О" json:"name"` + IsDefault bool `gorm:"type:tinyint(1);comment:鏄惁榛樿" json:"isDefault"` +} + +type SaveUnitDict struct { + Data []*UnitDict `json:"data"` +} -- Gitblit v1.8.0