|
@@ -4,6 +4,7 @@ import java.util.List;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.chelvc.cloud.vehicle.api.dto.MerchantDTO;
|
|
|
+import com.chelvc.cloud.vehicle.api.param.MerchantQueryParam;
|
|
|
import com.chelvc.cloud.vehicle.api.param.NearbyQueryParam;
|
|
|
import com.chelvc.cloud.vehicle.api.param.PointQueryParam;
|
|
|
import com.chelvc.cloud.vehicle.server.entity.Merchant;
|
|
@@ -35,4 +36,12 @@ public interface MerchantMapper extends BaseMapper<Merchant> {
|
|
|
* @return 商家信息列表
|
|
|
*/
|
|
|
List<MerchantDTO> listNearbyMerchants(@Param("param") NearbyQueryParam param, @Param("size") int size);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询商家
|
|
|
+ *
|
|
|
+ * @param param 查询参数
|
|
|
+ * @return 商家信息列表
|
|
|
+ */
|
|
|
+ List<MerchantDTO> listSimpleMerchants(MerchantQueryParam param);
|
|
|
}
|