fix: codes指向正确的表名和字段名

- prodtypeid: prodtype→product_category(db=product_management)
- productid: textfield name→product_name(db=product_management)
- 添加dbname支持跨库JOIN
This commit is contained in:
Hermes Agent 2026-06-24 09:16:43 +08:00
parent 842647da89
commit d149f5d475

View File

@ -77,15 +77,17 @@
}, },
{ {
"field": "prodtypeid", "field": "prodtypeid",
"table": "prodtype", "dbname": "product_management",
"table": "product_category",
"valuefield": "id", "valuefield": "id",
"textfield": "name" "textfield": "name"
}, },
{ {
"field": "productid", "field": "productid",
"dbname": "product_management",
"table": "product", "table": "product",
"valuefield": "id", "valuefield": "id",
"textfield": "name" "textfield": "product_name"
} }
] ]
} }