diff --git a/internal/domain/workflow/hyt/product_upload.go b/internal/domain/workflow/hyt/product_upload.go index fca3aec..cc9ab70 100644 --- a/internal/domain/workflow/hyt/product_upload.go +++ b/internal/domain/workflow/hyt/product_upload.go @@ -139,6 +139,9 @@ func (o *productUpload) buildWorkflow(ctx context.Context) (compose.Runnable[*Pr if ingestData.TaxRate == "" { return nil, errors.New("税率不能为空") } + if ingestData.SupplierPrice == "" { + return nil, errors.New("供应商报价不能为空") + } state.IngestData = &ingestData state.SupplierName = ingestData.SupplierName