mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
add command normalize data seed standar and price adjustment stocks
This commit is contained in:
@@ -773,7 +773,7 @@ func (s *repportService) GetMarketing(c *fiber.Ctx, params *validation.Marketing
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
hppByDelivery := buildMarketingHppByDelivery(c.Context(), s.HppSvc, attributionRows)
|
||||
hppByDelivery := buildMarketingHppByDelivery(c.Context(), s.HppV2Svc, attributionRows)
|
||||
categoryByDelivery := buildMarketingCategoryByDelivery(deliveryProducts, attributionRows)
|
||||
|
||||
items := dto.ToMarketingReportItems(deliveryProducts, hppByDelivery, categoryByDelivery, agingMap)
|
||||
@@ -782,7 +782,7 @@ func (s *repportService) GetMarketing(c *fiber.Ctx, params *validation.Marketing
|
||||
|
||||
func buildMarketingHppByDelivery(
|
||||
ctx context.Context,
|
||||
hppSvc approvalService.HppService,
|
||||
hppSvc approvalService.HppV2Service,
|
||||
attributionRows []commonRepo.MarketingDeliveryAttributionRow,
|
||||
) map[uint]float64 {
|
||||
if len(attributionRows) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user