request/report_forms_request.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
service/location_forms.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
request/report_forms_request.go
@@ -24,6 +24,7 @@ WareHouseCode string `json:"wareHouseCode"` ProductId string `json:"productId"` LocationId int `json:"locationId"` LocationIds []int `json:"locationIds"` } type GetMonthStats struct { service/location_forms.go
@@ -46,7 +46,7 @@ } func (slf *LocationFormsService) BuildSearch(params request.GetLocationForms) (search *models.LocationProductAmountSearch, err error) { ids := make([]int, 0) ids := params.LocationIds if params.LocationId != 0 { ids = append(ids, params.LocationId) } else {