From c8fbd36e4c1e2cae4751b8130d62621e9f08beb7 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期四, 05 十二月 2024 14:52:49 +0800 Subject: [PATCH] 12.4 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/ShopMapper.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/ShopMapper.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/ShopMapper.java index 9255a70..be480ad 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/ShopMapper.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/ShopMapper.java @@ -4,6 +4,7 @@ import com.ruoyi.other.api.domain.Shop; import com.ruoyi.other.vo.NearbyShopVO; import com.ruoyi.other.vo.ShopDetailVO; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -17,7 +18,7 @@ */ public interface ShopMapper extends BaseMapper<Shop> { - List<NearbyShopVO> selectNearbyShopList(String longitude, String latitude); + List<NearbyShopVO> selectNearbyShopList(@Param("longitude") String longitude,@Param("latitude") String latitude); ShopDetailVO selectShopDetail(Integer shopId); -- Gitblit v1.7.1