package incheon.uis.usf.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.usf.model.SwtChdhD;


@org.egovframe.rte.psl.dataaccess.mapper.Mapper @incheon.com.config.annotation.MainDB public interface SwtChdhDMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swt_chdh_d
	 * @mbg.generated
	 */
//	int deleteByPrimaryKey(@Param("gid") Long gid, @Param("mngt") String mngt, @Param("cntno") String cntno);
	int deleteByPrimaryKey(@Param("gid") Long gid);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swt_chdh_d
	 * @mbg.generated
	 */
	int insert(SwtChdhD row);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swt_chdh_d
	 * @mbg.generated
	 */
//	SwtChdhD selectByPrimaryKey(@Param("gid") Long gid, @Param("mngt") String mngt, @Param("cntno") String cntno);
	SwtChdhD selectByPrimaryKey(@Param("gid") Long gid);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swt_chdh_d
	 * @mbg.generated
	 */
	List<SwtChdhD> selectAll();

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table icgis.swt_chdh_d
	 * @mbg.generated
	 */
	int updateByPrimaryKey(SwtChdhD row);
}