| | |
| | | @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(); |