lishihai
2024-07-03 91d7ca06128f996844aa7d2d691d083c944bdf1d
service/location_forms.go
@@ -27,7 +27,7 @@
      resp := new(response.LocationForms)
      resp.Amount = amount.Amount
      resp.LocationId = amount.LocationId
      resp.LocationName = amount.Location.Name
      resp.LocationName = amount.Location.JointName
      resp.ProduceId = amount.Product.ID
      resp.ProductName = amount.Product.Name
      resp.ProductTypeName = amount.ProductCategory.Name
@@ -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 {