package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.charging.entity.ThirdPartyEquipmentInfo;
import com.zsElectric.boot.business.model.query.ThirdPartyEquipmentInfoQuery;
import com.zsElectric.boot.business.model.vo.ThirdPartyEquipmentInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 第三方充电设备信息Mapper接口
 *
 * @author system
 * @since 2025-12-11
 */
@Mapper
public interface ThirdPartyEquipmentInfoMapper extends BaseMapper<ThirdPartyEquipmentInfo> {

    /**
     * 分页查询充电桩信息（联表查询）
     *
     * @param page 分页对象
     * @param query 查询条件
     * @return 充电桩信息分页列表
     */
    IPage<ThirdPartyEquipmentInfoVO> selectEquipmentInfoPage(Page<ThirdPartyEquipmentInfoVO> page, @Param("query") ThirdPartyEquipmentInfoQuery query);
}
