From d149f5d475147944ea1a748698396089796070fe Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 09:16:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20codes=E6=8C=87=E5=90=91=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=E8=A1=A8=E5=90=8D=E5=92=8C=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - prodtypeid: prodtype→product_category(db=product_management) - productid: textfield name→product_name(db=product_management) - 添加dbname支持跨库JOIN --- models/discount_detail.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/models/discount_detail.json b/models/discount_detail.json index f099dcc..6220722 100644 --- a/models/discount_detail.json +++ b/models/discount_detail.json @@ -77,15 +77,17 @@ }, { "field": "prodtypeid", - "table": "prodtype", + "dbname": "product_management", + "table": "product_category", "valuefield": "id", "textfield": "name" }, { "field": "productid", + "dbname": "product_management", "table": "product", "valuefield": "id", - "textfield": "name" + "textfield": "product_name" } ] }