feat(lzwcai_mcpskills_analyzeOrder): 添加MCP技能分析订单模块

- 创建基于MCP协议的SQL查询执行服务器
- 实现从businessQueries.json动态生成查询工具功能
- 支持中文工具名称自动转换为拼音
- 配置详细操作日志记录(仅输出到文件,不干扰MCP通信)
- 添加订单延迟预警分析、工单进度跟踪、供应链风险预警等6个业务查询模板
- 提供完整的安装、使用和开发文档
This commit is contained in:
2026-01-08 00:31:22 +08:00
parent 053d98dffd
commit 2d2db5e866
73 changed files with 23927 additions and 56 deletions

107
sql/现有表.json Normal file
View File

@@ -0,0 +1,107 @@
[
{
"table_name": "dim_bom"
},
{
"table_name": "dim_contract"
},
{
"table_name": "dim_customer"
},
{
"table_name": "dim_equipment"
},
{
"table_name": "dim_operation"
},
{
"table_name": "dim_person"
},
{
"table_name": "dim_product"
},
{
"table_name": "dim_qc_reason"
},
{
"table_name": "dim_routing"
},
{
"table_name": "dim_supplier"
},
{
"table_name": "dim_warehouse"
},
{
"table_name": "fact_ap_payment"
},
{
"table_name": "fact_ar_receipt"
},
{
"table_name": "fact_cash_flow"
},
{
"table_name": "fact_commission"
},
{
"table_name": "fact_inventory_count"
},
{
"table_name": "fact_inventory_movement"
},
{
"table_name": "fact_inventory_transfer"
},
{
"table_name": "fact_invoice"
},
{
"table_name": "fact_labor_report"
},
{
"table_name": "fact_lead"
},
{
"table_name": "fact_operation_task"
},
{
"table_name": "fact_opportunity"
},
{
"table_name": "fact_production_plan"
},
{
"table_name": "fact_purchase_order"
},
{
"table_name": "fact_purchase_receipt"
},
{
"table_name": "fact_purchase_request"
},
{
"table_name": "fact_purchase_return"
},
{
"table_name": "fact_quality_inspection"
},
{
"table_name": "fact_sales_order"
},
{
"table_name": "fact_sales_return"
},
{
"table_name": "fact_sales_shipment"
},
{
"table_name": "fact_scrap"
},
{
"table_name": "fact_work_order"
},
{
"table_name": "fact_write_off"
}
]