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