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