<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ltgk.boat.mapper.DsEnterPortCatchCountryMapper">
    <resultMap id="BaseResultMap" type="com.ltgk.boat.domain.entity.DsEnterPortCatchCountry">
        <!--@mbg.generated-->
        <!--@Table ds_enter_port_catch_country-->
        <result column="catch_num" jdbcType="VARCHAR" property="catchNum"/>
        <result column="update_at" jdbcType="TIMESTAMP" property="updateAt"/>
        <result column="enter_id" jdbcType="VARCHAR" property="enterId"/>
        <result column="id" jdbcType="VARCHAR" property="id"/>
        <result column="area_code" jdbcType="VARCHAR" property="areaCode"/>
        <result column="catch_type" jdbcType="VARCHAR" property="catchType"/>
    </resultMap>
    <sql id="Base_Column_List">
        <!--@mbg.generated-->
        catch_num, update_at, enter_id, id, area_code, catch_type
    </sql>
    <insert id="insert" parameterType="com.ltgk.boat.domain.entity.DsEnterPortCatchCountry">
        <!--@mbg.generated-->
        insert into ds_enter_port_catch_country (catch_num, update_at, enter_id,
        id, area_code, catch_type
        )
        values (#{catchNum,jdbcType=VARCHAR}, #{updateAt,jdbcType=TIMESTAMP}, #{enterId,jdbcType=VARCHAR},
        #{id,jdbcType=VARCHAR}, #{areaCode,jdbcType=VARCHAR}, #{catchType,jdbcType=VARCHAR}
        )
    </insert>
    <insert id="insertSelective" parameterType="com.ltgk.boat.domain.entity.DsEnterPortCatchCountry">
        <!--@mbg.generated-->
        insert into ds_enter_port_catch_country
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="catchNum != null">
                catch_num,
            </if>
            <if test="updateAt != null">
                update_at,
            </if>
            <if test="enterId != null">
                enter_id,
            </if>
            <if test="id != null">
                id,
            </if>
            <if test="areaCode != null">
                area_code,
            </if>
            <if test="catchType != null">
                catch_type,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="catchNum != null">
                #{catchNum,jdbcType=VARCHAR},
            </if>
            <if test="updateAt != null">
                #{updateAt,jdbcType=TIMESTAMP},
            </if>
            <if test="enterId != null">
                #{enterId,jdbcType=VARCHAR},
            </if>
            <if test="id != null">
                #{id,jdbcType=VARCHAR},
            </if>
            <if test="areaCode != null">
                #{areaCode,jdbcType=VARCHAR},
            </if>
            <if test="catchType != null">
                #{catchType,jdbcType=VARCHAR},
            </if>
        </trim>
    </insert>
</mapper>