From c1d20b425b10e8ba59f102dd1ab413055883eed0 Mon Sep 17 00:00:00 2001 From: 彭雪彬 <1724387007@qq.com> Date: Mon, 14 Jul 2025 16:57:11 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/xin' into pxb --- oying-system/src/main/java/com/oying/modules/pc/store/mapper/StoreMapper.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/pc/store/mapper/StoreMapper.java b/oying-system/src/main/java/com/oying/modules/pc/store/mapper/StoreMapper.java index 15753c0..ae21034 100644 --- a/oying-system/src/main/java/com/oying/modules/pc/store/mapper/StoreMapper.java +++ b/oying-system/src/main/java/com/oying/modules/pc/store/mapper/StoreMapper.java @@ -3,10 +3,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.oying.modules.pc.store.domain.Store; import com.oying.modules.pc.search.domain.dto.NearbyStoreQueryCriteria; -import com.oying.modules.pc.store.domain.dto.StoreQueryCriteria; import com.oying.modules.pc.search.domain.dto.StoreSearchDto; +import com.oying.modules.pc.store.domain.Store; +import com.oying.modules.pc.store.domain.dto.StoreQueryCriteria; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -21,7 +21,7 @@ @Mapper public interface StoreMapper extends BaseMapper<Store> { - List<Store> selectStoreList(@Param("criteria") StoreQueryCriteria criteria, Page<Store> page); + IPage<Store> selectStoreList(@Param("criteria") StoreQueryCriteria criteria, Page<Store> page); List<Store> selectStoreList(@Param("criteria") StoreQueryCriteria criteria); @@ -31,4 +31,8 @@ IPage<StoreSearchDto> queryNearStoreWithProduct(@Param("criteria") NearbyStoreQueryCriteria criteria, Page<StoreSearchDto> page); + List<Long> queryStoreIds(@Param("criteria") StoreQueryCriteria criteria); + + List<Store> queryUserStores(@Param("userId") Long userId); + } -- Gitblit v1.9.3