feat: 种子同步渠道报价提取 AI Skill
All checks were successful
Build and Deploy / deploy (push) Successful in 1m24s

补充 channelQuoteImport 场景技能,供更新买价失败 sheet 补齐使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zzh 2026-11-24 18:34:59 +08:00
parent 935f017f21
commit 443813a12b
2 changed files with 17 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,7 @@ public class AiSkillService : ApplicationService
public const string SceneItfxParameterMap = "itfxParameterMap";
public const string SceneServiceChannelPreScript = "serviceChannelPreScript";
public const string SceneSalesProductPreStorageScript = "salesProductPreStorageScript";
public const string SceneChannelQuoteImport = "channelQuoteImport";
public const string KeyPricePublish = "oms-sales-price-publish-risk";
public const string KeyAutoTriggerFormula = "oms-auto-trigger-formula";
@ -31,6 +32,7 @@ public class AiSkillService : ApplicationService
public const string KeyItfxCreateOrderMap = "itfx-create-order-map";
public const string KeyServiceChannelPreScript = "oms-service-channel-pre-script";
public const string KeySalesProductPreStorageScript = "oms-sales-product-pre-storage-script";
public const string KeyChannelQuoteExtract = "oms-channel-quote-extract";
private IAiSkillRepository AiSkillRepository => LazyServiceProvider.GetRequiredService<IAiSkillRepository>();
@ -216,6 +218,9 @@ public class AiSkillService : ApplicationService
[
new SeedDef(KeyPricePublish, ScenePricePublish, "销售产品价格发布风险",
"对比线上生效价与待发布价,输出中文风险报告", payload.Price, 10),
new SeedDef(KeyChannelQuoteExtract, SceneChannelQuoteImport, "渠道报价表提取",
"补齐本地规则未识别的报价 sheet(一口价 / 公斤+票费),供定价工作台更新买价",
payload.ChannelQuote, 15),
new SeedDef(KeyAutoTriggerFormula, SceneAutoTriggerFormula, "自动触发公式助手",
"根据中文描述生成可粘贴的自动触发公式(字段目录由前端追加)", payload.Formula, 20),
new SeedDef(KeyBillingConditionFormula, SceneBillingConditionFormula, "计费条件公式助手",
@ -266,5 +271,6 @@ public class AiSkillService : ApplicationService
public string ParameterMap { get; set; } = string.Empty;
public string PreScript { get; set; } = string.Empty;
public string PreStorageScript { get; set; } = string.Empty;
public string ChannelQuote { get; set; } = string.Empty;
}
}