diff --git a/cash-api/product-server/src/main/java/com/czg/controller/admin/ProductController.java b/cash-api/product-server/src/main/java/com/czg/controller/admin/ProductController.java index 26a410ac2..7614b2077 100644 --- a/cash-api/product-server/src/main/java/com/czg/controller/admin/ProductController.java +++ b/cash-api/product-server/src/main/java/com/czg/controller/admin/ProductController.java @@ -72,7 +72,7 @@ public class ProductController { @OperationLog("ๅ•†ๅ“-ๅˆ—่กจ") //@SaAdminCheckPermission("product:list") public CzgResult> getProductList(ProductDTO param) { - Long shopId = StpKit.USER.getShopId(0L); + Long shopId = StpKit.USER.getShopId(); param.setShopId(shopId); List productList = productService.getProductCacheList(param); productService.refreshProductStock(param, productList); diff --git a/cash-service/market-service/src/main/resources/mapper/MkDiscountActivityMapper.xml b/cash-service/market-service/src/main/resources/mapper/MkDiscountActivityMapper.xml index b28270ed2..ed624f0f9 100644 --- a/cash-service/market-service/src/main/resources/mapper/MkDiscountActivityMapper.xml +++ b/cash-service/market-service/src/main/resources/mapper/MkDiscountActivityMapper.xml @@ -11,9 +11,9 @@ AND is_del = 0 AND status = 2 AND NOW() BETWEEN valid_start_time AND valid_end_time -# AND (use_time_type = 'all' OR + ORDER BY sort DESC, update_time DESC, create_time DESC