From a75164e62deeff05abc84b24c1938f1e2a3a3ed4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Jun 2026 16:11:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E8=B7=A8=E5=BA=93?= =?UTF-8?q?=E5=85=A8=E9=99=90=E5=AE=9A=E5=90=8D=E6=9F=A5=E8=AF=A2product?= =?UTF-8?q?=5Fmanagement=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/discount_setting/get_products_with_discount.dspy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/discount_setting/get_products_with_discount.dspy b/wwwroot/discount_setting/get_products_with_discount.dspy index 8fabdcd..91b64ab 100644 --- a/wwwroot/discount_setting/get_products_with_discount.dspy +++ b/wwwroot/discount_setting/get_products_with_discount.dspy @@ -26,8 +26,8 @@ SELECT dd.id as detail_id, dd.discount, dd.discountid -FROM product p -LEFT JOIN product_category pc ON p.category_id = pc.id +FROM product_management.product p +LEFT JOIN product_management.product_category pc ON p.category_id = pc.id LEFT JOIN discount_detail dd ON dd.productid = p.id AND dd.discountid = ${discountid}$ WHERE p.org_id = ${org_id}$ AND p.status = '1'