43 lines
1.2 KiB
Java
43 lines
1.2 KiB
Java
package com.jzo2o.foundations.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.jzo2o.api.foundations.dto.response.ServeAggregationResDTO;
|
|
import com.jzo2o.foundations.model.domain.Serve;
|
|
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
|
|
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;
|
|
import com.jzo2o.foundations.model.dto.response.ServeResDTO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* Mapper 接口
|
|
* </p>
|
|
* @author itcast
|
|
* @since 2023-07-03
|
|
*/
|
|
public interface ServeMapper extends BaseMapper<Serve> {
|
|
/**
|
|
* 区域服务查询
|
|
* @param regionId 区域id
|
|
*/
|
|
List<ServeResDTO> queryServeListByRegionId(@Param("regionId") Long regionId);
|
|
|
|
/**
|
|
* 区域服务图标查询
|
|
* @param regionId 区域id
|
|
*/
|
|
List<ServeCategoryResDTO> queryServeIconListByRegionId(@Param("regionId") Long regionId);
|
|
|
|
/**
|
|
* 区域热门服务查询
|
|
* @param regionId 区域id
|
|
*/
|
|
List<ServeAggregationSimpleResDTO> queryHotServeListByRegionId(Long regionId);
|
|
|
|
/**
|
|
* 查询指定id的服务信息
|
|
*/
|
|
ServeAggregationResDTO getServeAggregationById(Long id);
|
|
} |