package com.njcn.mapper.configuration;

import java.util.List;

import com.njcn.pojo.excelBody.SubStationExcelBody;
import org.apache.ibatis.annotations.Param;

import com.njcn.pojo.commons.device.SubInfo;
import com.njcn.pojo.configuration.SubStation;

import tk.mybatis.mapper.common.Mapper;

public interface SubStationMapper  extends Mapper<SubStation>{

	Long selectMaxIndex();

	List<SubStation> testName(@Param("name") String name, @Param("subIndex") Long subIndex, @Param("gdIndex") Long gdIndex);

	SubInfo getSubDetail(@Param("subIndex")Long subIndex);

	//获取该表所有数据，提供excel导出
    List<SubStationExcelBody> selectAllExcelData();
}
