From 1bb7c948d6887ff1b75a74904573f6e09b6770d0 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 17 Jun 2026 17:35:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20codes=E6=AE=B5cond=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=94=B9=E7=94=A8parentid=E6=9B=BF=E4=BB=A3id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/product.json | 6 +++--- models/product_category.json | 6 +++--- models/product_type_config.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/models/product.json b/models/product.json index b3b8aad..d9ecca5 100644 --- a/models/product.json +++ b/models/product.json @@ -185,21 +185,21 @@ "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='product_status'" + "cond": "parentid='product_status'" }, { "field": "price_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='product_price_type'" + "cond": "parentid='product_price_type'" }, { "field": "product_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='product_type'" + "cond": "parentid='product_type'" } ] } \ No newline at end of file diff --git a/models/product_category.json b/models/product_category.json index 5cacaa6..def11da 100644 --- a/models/product_category.json +++ b/models/product_category.json @@ -139,21 +139,21 @@ "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='has_product_flg'" + "cond": "parentid='has_product_flg'" }, { "field": "status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='product_category_status'" + "cond": "parentid='product_category_status'" }, { "field": "product_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='product_type'" + "cond": "parentid='product_type'" } ] } \ No newline at end of file diff --git a/models/product_type_config.json b/models/product_type_config.json index cb387bf..4b27a00 100644 --- a/models/product_type_config.json +++ b/models/product_type_config.json @@ -116,7 +116,7 @@ "table": "appcodes_kv", "valuefield": "k", "textfield": "v", - "cond": "id='enabled_flg'" + "cond": "parentid='enabled_flg'" } ] } \ No newline at end of file