Update
This commit is contained in:
1 parent
41f1a7dbe4
commit
e7964c58c8
13 files changed
+1215
-24
No files matched your search
@@ -1317,6 +1317,7 @@ func (s *Service) GetProcessedProduct(ctx context.Context, companyID, id uuid.UU
|
||||
COALESCE(p.meta_title, '') AS meta_title,
|
||||
COALESCE(p.meta_description, '') AS meta_description,
|
||||
p.status, p.processing_origin, p.attributes, p.processed_attributes, r.gtin, r.mapped_data,
|
||||
r.feed_field_sources,
|
||||
COALESCE(p.feed_id, r.feed_id) AS feed_id,
|
||||
f.name AS feed_name,
|
||||
f.last_synced_at AS feed_last_synced_at,
|
||||
@@ -1339,6 +1340,7 @@ func (s *Service) GetProcessedProduct(ctx context.Context, companyID, id uuid.UU
|
||||
"description", "original_description", "processed_name", "processed_description",
|
||||
"meta_title", "meta_description",
|
||||
"status", "processing_origin", "attributes", "processed_attributes", "gtin", "mapped_data",
|
||||
"feed_field_sources",
|
||||
"feed_id", "feed_name", "feed_last_synced_at", "raw_updated_at",
|
||||
"has_processed_name", "has_processed_description", "has_attributes", "has_processed_attributes",
|
||||
"has_eprel",
|
||||
@@ -1378,6 +1380,7 @@ func (s *Service) GetRawProduct(ctx context.Context, companyID, id uuid.UUID) (m
|
||||
'{}'::jsonb AS processed_attributes,
|
||||
rp.gtin,
|
||||
rp.mapped_data,
|
||||
rp.feed_field_sources,
|
||||
rp.feed_id,
|
||||
f.name AS feed_name,
|
||||
f.last_synced_at AS feed_last_synced_at,
|
||||
@@ -1401,6 +1404,7 @@ func (s *Service) GetRawProduct(ctx context.Context, companyID, id uuid.UUID) (m
|
||||
"id", "product_id", "name", "category", "category_name", "category_unique_id",
|
||||
"description", "processed_name", "processed_description",
|
||||
"status", "attributes", "processed_attributes", "gtin", "mapped_data",
|
||||
"feed_field_sources",
|
||||
"feed_id", "feed_name", "feed_last_synced_at", "raw_updated_at",
|
||||
"has_processed_name", "has_processed_description", "has_attributes", "has_processed_attributes",
|
||||
"has_eprel",
|
||||
|
||||
Reference in new issue
Block a user