package incheon.uis.usf.mapper;

import java.util.List;

import org.egovframe.rte.psl.dataaccess.mapper.Mapper;

import incheon.com.config.annotation.MainDB;
import incheon.uis.usf.model.SwlPipeA;
import org.apache.ibatis.annotations.Param;


@org.egovframe.rte.psl.dataaccess.mapper.Mapper @incheon.com.config.annotation.MainDB public interface SwlPipeAMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swl_pipe_a
	 * @mbg.generated
	 */
//	int deleteByPrimaryKey(@Param("gid") Long gid, @Param("idn") Integer idn);
	int deleteByPrimaryKey(@Param("gid") Long gid);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swl_pipe_a
	 * @mbg.generated
	 */
	int insert(SwlPipeA row);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swl_pipe_a
	 * @mbg.generated
	 */
//	SwlPipeA selectByPrimaryKey(@Param("gid") Long gid, @Param("idn") Integer idn);
	SwlPipeA selectByPrimaryKey(@Param("gid") Long gid);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swl_pipe_a
	 * @mbg.generated
	 */
	List<SwlPipeA> selectAll();

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swl_pipe_a
	 * @mbg.generated
	 */
	int updateByPrimaryKey(SwlPipeA row);
}