fix: codes指向正确的表名和字段名
- prodtypeid: prodtype→product_category(db=product_management) - productid: textfield name→product_name(db=product_management) - 添加dbname支持跨库JOIN
This commit is contained in:
parent
842647da89
commit
d149f5d475
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user