From dc600db1211ba96302c2f75b4dd224512aad89cf Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 19 一月 2024 15:32:09 +0800 Subject: [PATCH] 修改bug --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java index 293a40c..a2a14b7 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java @@ -131,7 +131,7 @@ @PostMapping("/getShopHFTXSubMchId") public R<ShopAuthenticationHftxVo> getShopHFTXSubMchId(@RequestBody Long shopId){ ShopAuthenticationHftx shopAuthenticationHftx = shopAuthenticationHftxService.getOne(new QueryWrapper<ShopAuthenticationHftx>() - .eq("isDelete", 0).eq("shop_id", shopId)); + .eq("is_delete", 0).eq("shop_id", shopId)); ShopAuthenticationHftxVo vo = new ShopAuthenticationHftxVo(); BeanUtils.copyProperties(shopAuthenticationHftx, vo); return R.ok(vo, ""); @@ -390,4 +390,31 @@ return R.ok(userTaskMsgVoList); } + + + /** + * @description + * @author jqs + * @date 2023/8/10 23:01 + * @param cityCodes + * @return R<List<Long>> + */ + @PostMapping("/listShopByCityCode") + public R<List<Shop>> listShopByCityCode(@RequestBody List<String> cityCodes){ + List<Shop> shopIdList = shopService.listShopByCityCode(cityCodes); + return R.ok(shopIdList); + } + + + /** + * @description + * @author jqs + * @date 2023/8/10 23:01 + * @return R<List<Long>> + */ + @PostMapping("/listShopByIds") + public R<List<Shop>> listShopByIds(@RequestBody List<String> ids){ + List<Shop> shopIdList = shopService.listByIds(ids); + return R.ok(shopIdList); + } } -- Gitblit v1.7.1