From 155f70979af20ca520a55b89c6ec8cd46c43f8a5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 31 七月 2024 15:47:33 +0800 Subject: [PATCH] 产品流水表增加多单位存储 --- request/report_forms_request.go | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/request/report_forms_request.go b/request/report_forms_request.go index ca92133..b1b6a02 100644 --- a/request/report_forms_request.go +++ b/request/report_forms_request.go @@ -4,9 +4,10 @@ type GetInventoryForms struct { PageInfo - CategoryIds []int `json:"categoryIds"` //浜у搧绫诲瀷id - WarehouseCode string `json:"warehouseCode"` //浠撳簱缂╁啓 - KeyWord string `json:"keyWord"` //鎼滅储鏉′欢 + CategoryIds []int `json:"categoryIds"` //浜у搧绫诲瀷id + //WarehouseCode string `json:"warehouseCode"` //浠撳簱缂╁啓 + WarehouseId int `json:"warehouseId"` //浠撳簱ID + KeyWord string `json:"keyWord"` //鎼滅储鏉′欢 } type GetInventoryHistory struct { @@ -16,6 +17,8 @@ Unit string `json:"unit"` //鍗曚綅 KeyWord string `json:"keyWord"` //鎼滅储鏉′欢 BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` //鍩虹浣滀笟绫诲瀷 + WarehouseId string `json:"warehouseId"` // 浠撳簱ID + WarehouseCode string `json:"warehouseCode"` } type GetLocationForms struct { @@ -24,6 +27,7 @@ WareHouseCode string `json:"wareHouseCode"` ProductId string `json:"productId"` LocationId int `json:"locationId"` + LocationIds []int `json:"locationIds"` } type GetMonthStats struct { @@ -31,8 +35,13 @@ Keyword string `json:"keyword"` Date string `json:"date"` WarehouseID int `json:"warehouseID"` + Preload bool } type DoMonthStats struct { Token string `json:"token"` } + +type DoWarehouseMonthStats struct { + Token string `json:"token"` +} -- Gitblit v1.8.0