package com.njcn.device.pq.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.njcn.device.pq.pojo.param.PqSubstationExpendParam;
import com.njcn.device.pq.pojo.po.PqSubstationExpend;
import com.njcn.device.pq.pojo.vo.PqSubstationExpendVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PqSubstationExpendMapper extends BaseMapper<PqSubstationExpend> {

    Page<PqSubstationExpendVO> pageJoin(IPage<PqSubstationExpendVO> page, @Param("param") PqSubstationExpendParam param);

    PqSubstationExpendVO getByIdVO(@Param("id") String id);

    List<PqSubstationExpendVO> listVO();

    List<PqSubstationExpend> selectSyncData();
}