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

132
sql/dim_warehouse.json Normal file
View File

@@ -0,0 +1,132 @@
[
{
"warehouse_id": 2,
"warehouse_code": "WH001",
"warehouse_name": "淑珍市仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "10/12/2025 07:16:46.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "25/12/2025 19:16:27.-1f+00"
},
{
"warehouse_id": 3,
"warehouse_code": "WH002",
"warehouse_name": "强市仓库",
"warehouse_type": "成品仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "13/12/2025 20:58:57.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "25/12/2025 19:16:27.-1f+00"
},
{
"warehouse_id": 4,
"warehouse_code": "WH003",
"warehouse_name": "秀兰县仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "13/12/2025 22:49:34.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "25/12/2025 19:16:27.-1f+00"
},
{
"warehouse_id": 5,
"warehouse_code": "WH004",
"warehouse_name": "太原县仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "15/12/2025 19:11:19.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "25/12/2025 19:16:27.-1f+00"
},
{
"warehouse_id": 6,
"warehouse_code": "WH005",
"warehouse_name": "宇市仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "7/12/2025 22:34:16.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "25/12/2025 19:16:27.-1f+00"
},
{
"warehouse_id": 7,
"warehouse_code": "WH001",
"warehouse_name": "杰市仓库",
"warehouse_type": "成品仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "24/12/2025 19:41:23.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "26/12/2025 05:36:09.-1f+00"
},
{
"warehouse_id": 8,
"warehouse_code": "WH002",
"warehouse_name": "宇市仓库",
"warehouse_type": "成品仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "4/12/2025 02:48:58.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "26/12/2025 05:36:09.-1f+00"
},
{
"warehouse_id": 9,
"warehouse_code": "WH003",
"warehouse_name": "海口市仓库",
"warehouse_type": "成品仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "26/12/2025 10:22:29.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "26/12/2025 05:36:09.-1f+00"
},
{
"warehouse_id": 10,
"warehouse_code": "WH004",
"warehouse_name": "鹏市仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "4/12/2025 22:55:06.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "26/12/2025 05:36:09.-1f+00"
},
{
"warehouse_id": 11,
"warehouse_code": "WH005",
"warehouse_name": "斌市仓库",
"warehouse_type": "原料仓",
"status": "ENABLED",
"address": null,
"source_system": null,
"row_valid_from": "10/12/2025 09:23:32.-1f+00",
"row_valid_to": "31/12/9999 15:59:59+00",
"is_current": "t",
"last_updated_utc": "26/12/2025 05:36:09.-1f+00"
}
]