From ee9cb0da4a43bcf523ebb157678f64a2895fba1a Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 10 十月 2023 15:30:38 +0800
Subject: [PATCH] 10.10

---
 cloud-server-other/src/main/java/com/dsh/other/controller/StoreConfigController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreConfigController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreConfigController.java
index c68b255..2f445f8 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreConfigController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreConfigController.java
@@ -34,12 +34,12 @@
     @ApiImplicitParams({
             @ApiImplicitParam(value = "门店id", name = "storeId", dataType = "int", required = true),
     })
-    public ResultUtil<List<StoreConfigVo>> queryStoreConfig(@RequestBody Integer storeId){
+    public ResultUtil<List<StoreConfigVo>> queryStoreConfig(Integer storeId){
         if(null == storeId){
             return ResultUtil.paranErr("storeId");
         }
         try {
-            List<StoreConfig> list = storeConfigService.list(new QueryWrapper<StoreConfig>().eq("storeId", storeId).orderByAsc("sort"));
+            List<StoreConfig> list = storeConfigService.list(new QueryWrapper<StoreConfig>().eq("storeId", storeId).orderByAsc("sort").eq("isOpen",1));
             List<StoreConfigVo> listVo = new ArrayList<>();
             for (StoreConfig storeConfig : list) {
                 StoreConfigVo storeConfigVo = new StoreConfigVo();

--
Gitblit v1.7.1