feat(sale): 更新变更单产品结构

- 在 ChangeProduct 结构中添加 BeforeSaleCount 字段- 重命名 SaleCount 为 AfterSaleCount(在实际代码中未更改字段名,仅在注释中体现)
- 更新结构体注释以反映新的字段变化
This commit is contained in:
守护自己的云 2025-07-30 14:49:03 +08:00
parent 2141ec63cd
commit d17d438407

View File

@ -14,11 +14,12 @@ type ArgsChangeAllSearch struct {
WorkflowId int64 // 审核id
}
type ChangeProduct struct {
Id int64 `json:"id"`
SaleProductID int64 `json:"saleProductID"`
SaleCount int64 `json:"saleCount"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
Id int64 `json:"id"`
SaleProductID int64 `json:"saleProductID"`
BeforeSaleCount int64 `json:"beforeSaleCount"`
SaleCount int64 `json:"saleCount"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
}
// All @TITLE 获取产品