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