注释
This commit is contained in:
@@ -72,7 +72,7 @@ public class ProductController {
|
|||||||
@OperationLog("商品-列表")
|
@OperationLog("商品-列表")
|
||||||
//@SaAdminCheckPermission("product:list")
|
//@SaAdminCheckPermission("product:list")
|
||||||
public CzgResult<List<ProductDTO>> getProductList(ProductDTO param) {
|
public CzgResult<List<ProductDTO>> getProductList(ProductDTO param) {
|
||||||
Long shopId = StpKit.USER.getShopId(0L);
|
Long shopId = StpKit.USER.getShopId();
|
||||||
param.setShopId(shopId);
|
param.setShopId(shopId);
|
||||||
List<ProductDTO> productList = productService.getProductCacheList(param);
|
List<ProductDTO> productList = productService.getProductCacheList(param);
|
||||||
productService.refreshProductStock(param, productList);
|
productService.refreshProductStock(param, productList);
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
AND is_del = 0
|
AND is_del = 0
|
||||||
AND status = 2
|
AND status = 2
|
||||||
AND NOW() BETWEEN valid_start_time AND valid_end_time
|
AND NOW() BETWEEN valid_start_time AND valid_end_time
|
||||||
# AND (use_time_type = 'all' OR
|
<!-- AND (use_time_type = 'all' OR
|
||||||
# (use_time_type = 'custom' AND TIME(NOW()) BETWEEN use_start_time AND use_end_time))
|
# (use_time_type = 'custom' AND TIME(NOW()) BETWEEN use_start_time AND use_end_time))
|
||||||
# AND use_days LIKE CONCAT('%', #{useDay}, '%')
|
# AND use_days LIKE CONCAT('%', #{useDay}, '%') -->
|
||||||
ORDER BY sort DESC,
|
ORDER BY sort DESC,
|
||||||
update_time DESC,
|
update_time DESC,
|
||||||
create_time DESC
|
create_time DESC
|
||||||
|
|||||||
Reference in New Issue
Block a user