package com.ruoyi.chargingPile.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ruoyi.chargingPile.api.model.TParkingLot;
|
import com.ruoyi.chargingPile.api.query.TParkingLotQuery;
|
import com.ruoyi.chargingPile.api.vo.TParkingLotVO;
|
import com.ruoyi.common.core.web.page.PageInfo;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Set;
|
|
/**
|
* <p>
|
* 停车场 Mapper 接口
|
* </p>
|
*
|
* @author xiaochen
|
* @since 2024-08-06
|
*/
|
@Mapper
|
public interface TParkingLotMapper extends BaseMapper<TParkingLot> {
|
|
/**
|
* 查询停车场分页列表
|
* @param query
|
* @param pageInfo
|
* @return
|
*/
|
List<TParkingLotVO> pageList(@Param("query") TParkingLotQuery query, @Param("pageInfo")PageInfo<TParkingLotVO> pageInfo, @Param("siteIds") Set<Integer> siteIds);
|
|
/**
|
* 获取停车场列表
|
* @param name
|
* @param siteIds
|
* @return
|
*/
|
List<TParkingLotVO> getList(@Param("name")String name, @Param("siteIds")Set<Integer> siteIds);
|
|
}
|