| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageClassifyMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | |
| | | * @return |
| | | */ |
| | | ConvenientMerchantVO selectMerchantById(@Param("merchantId") Long merchantId); |
| | | |
| | | /** |
| | | * 获取社区下热门商家 |
| | | * |
| | | * @param page |
| | | * @param communityId |
| | | * @param currentMon |
| | | * @return |
| | | */ |
| | | IPage<ConvenientMerchantVO> getPopularMerchants(@Param("page") Page page, @Param("communityId") Long communityId, @Param("currentMon") String currentMon); |
| | | |
| | | /** |
| | | * 获取指定类型的商家 |
| | | * @param page |
| | | * @param pageClassifyMerchantDTO |
| | | * @param currentMon |
| | | * @return |
| | | */ |
| | | IPage<ConvenientMerchantVO> getClassifyMerchants(@Param("page") Page page, @Param("pageClassifyMerchantDTO") PageClassifyMerchantDTO pageClassifyMerchantDTO, @Param("currentMon") String currentMon); |
| | | } |