From cd691116555808ade6dd63f55efe9c26c3abd265 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 4 Jul 2026 19:59:53 +0800 Subject: [PATCH] fix: add p.id to SELECT for sqlPaging default ORDER BY id --- wwwroot/discount_setting/get_products_with_discount.dspy | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/discount_setting/get_products_with_discount.dspy b/wwwroot/discount_setting/get_products_with_discount.dspy index 2ccee47..432b35e 100644 --- a/wwwroot/discount_setting/get_products_with_discount.dspy +++ b/wwwroot/discount_setting/get_products_with_discount.dspy @@ -19,6 +19,7 @@ ns['base_discountid'] = '_HeaX_-9nOg5kEW3qNVCg' sql = ''' SELECT + p.id, p.id as productid, p.product_code, p.product_name,