All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.penging.tms.common.repository.TmsProdMastLogEntityMapper.xml Maven / Gradle / Ivy

There is a newer version: 1.0.v201602292337
Show newest version
<?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.penging.tms.common.repository.TmsProdMastLogEntityMapper" >
  <resultMap id="BaseResultMap" type="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    <id column="cod_id" property="codId" jdbcType="BIGINT" />
    <result column="cod_prod_no" property="codProdNo" jdbcType="VARCHAR" />
    <result column="cod_template_no" property="codTemplateNo" jdbcType="VARCHAR" />
    <result column="cod_extern_prod_no" property="codExternProdNo" jdbcType="VARCHAR" />
    <result column="cod_orig_prod_no" property="codOrigProdNo" jdbcType="VARCHAR" />
    <result column="cod_ivmt_no" property="codIvmtNo" jdbcType="VARCHAR" />
    <result column="txt_prod_source" property="txtProdSource" jdbcType="VARCHAR" />
    <result column="cod_prod_unit" property="codProdUnit" jdbcType="INTEGER" />
    <result column="amt_prod" property="amtProd" jdbcType="DECIMAL" />
    <result column="amt_prod_rest" property="amtProdRest" jdbcType="DECIMAL" />
    <result column="amt_per_unit" property="amtPerUnit" jdbcType="DECIMAL" />
    <result column="cod_number_unit" property="codNumberUnit" jdbcType="INTEGER" />
    <result column="cod_prod_rest_unit" property="codProdRestUnit" jdbcType="INTEGER" />
    <result column="amt_prod_break" property="amtProdBreak" jdbcType="DECIMAL" />
    <result column="cod_prod_currency" property="codProdCurrency" jdbcType="CHAR" />
    <result column="cod_prod_category" property="codProdCategory" jdbcType="INTEGER" />
    <result column="cod_prod_status" property="codProdStatus" jdbcType="INTEGER" />
    <result column="cod_prod_support" property="codProdSupport" jdbcType="INTEGER" />
    <result column="cod_holder_no" property="codHolderNo" jdbcType="VARCHAR" />
    <result column="txt_holder_name" property="txtHolderName" jdbcType="VARCHAR" />
    <result column="dat_plan_start" property="datPlanStart" jdbcType="TIMESTAMP" />
    <result column="dat_plan_end" property="datPlanEnd" jdbcType="TIMESTAMP" />
    <result column="dat_acctual_start" property="datAcctualStart" jdbcType="TIMESTAMP" />
    <result column="dat_acctual_end" property="datAcctualEnd" jdbcType="TIMESTAMP" />
    <result column="cod_prod_search_term" property="codProdSearchTerm" jdbcType="INTEGER" />
    <result column="cod_stop_type" property="codStopType" jdbcType="INTEGER" />
    <result column="txt_tag" property="txtTag" jdbcType="VARCHAR" />
    <result column="cod_proc_mantissa" property="codProcMantissa" jdbcType="INTEGER" />
    <result column="flg_transfer_allow" property="flgTransferAllow" jdbcType="CHAR" />
    <result column="cod_coupon_allow" property="codCouponAllow" jdbcType="INTEGER" />
    <result column="ctr_trsf_ratio_max" property="ctrTrsfRatioMax" jdbcType="DECIMAL" />
    <result column="ctr_trsf_ratio_min" property="ctrTrsfRatioMin" jdbcType="DECIMAL" />
    <result column="ctr_ratio_min_limit" property="ctrRatioMinLimit" jdbcType="DECIMAL" />
    <result column="ctr_ratio_max_limit" property="ctrRatioMaxLimit" jdbcType="DECIMAL" />
    <result column="amt_ivmt_min" property="amtIvmtMin" jdbcType="DECIMAL" />
    <result column="amt_ivmt_max" property="amtIvmtMax" jdbcType="DECIMAL" />
    <result column="dat_reserve_start" property="datReserveStart" jdbcType="TIMESTAMP" />
    <result column="dat_reserve_end" property="datReserveEnd" jdbcType="TIMESTAMP" />
    <result column="amt_reserve_max" property="amtReserveMax" jdbcType="DECIMAL" />
    <result column="amt_reserve_cust_limit" property="amtReserveCustLimit" jdbcType="DECIMAL" />
    <result column="dat_auto_start" property="datAutoStart" jdbcType="TIMESTAMP" />
    <result column="dat_auto_end" property="datAutoEnd" jdbcType="TIMESTAMP" />
    <result column="dat_vip_start" property="datVipStart" jdbcType="TIMESTAMP" />
    <result column="dat_vip_end" property="datVipEnd" jdbcType="TIMESTAMP" />
    <result column="amt_vip_max" property="amtVipMax" jdbcType="DECIMAL" />
    <result column="amt_vip_cust_limit" property="amtVipCustLimit" jdbcType="DECIMAL" />
    <result column="dat_trsf_start" property="datTrsfStart" jdbcType="TIMESTAMP" />
    <result column="dat_trsf_end" property="datTrsfEnd" jdbcType="TIMESTAMP" />
    <result column="cod_apply_user_type" property="codApplyUserType" jdbcType="INTEGER" />
    <result column="flg_specify_users" property="flgSpecifyUsers" jdbcType="CHAR" />
    <result column="dat_show" property="datShow" jdbcType="TIMESTAMP" />
    <result column="cod_annual_rate" property="codAnnualRate" jdbcType="DECIMAL" />
    <result column="amt_prod_profit" property="amtProdProfit" jdbcType="DECIMAL" />
    <result column="amt_prod_charge" property="amtProdCharge" jdbcType="DECIMAL" />
    <result column="cod_comp_today" property="codCompToday" jdbcType="INTEGER" />
    <result column="cod_comp_totally" property="codCompTotally" jdbcType="INTEGER" />
    <result column="dat_last_process" property="datLastProcess" jdbcType="TIMESTAMP" />
    <result column="dat_next_process" property="datNextProcess" jdbcType="TIMESTAMP" />
    <result column="dat_last_charge" property="datLastCharge" jdbcType="TIMESTAMP" />
    <result column="dat_next_charge" property="datNextCharge" jdbcType="TIMESTAMP" />
    <result column="flg_principalization" property="flgPrincipalization" jdbcType="CHAR" />
    <result column="dat_create" property="datCreate" jdbcType="TIMESTAMP" />
    <result column="cod_create_user" property="codCreateUser" jdbcType="VARCHAR" />
    <result column="cod_create_org" property="codCreateOrg" jdbcType="VARCHAR" />
    <result column="dat_modify" property="datModify" jdbcType="TIMESTAMP" />
    <result column="cod_modify_user" property="codModifyUser" jdbcType="VARCHAR" />
    <result column="cod_modify_org" property="codModifyOrg" jdbcType="VARCHAR" />
    <result column="ctr_update_srlno" property="ctrUpdateSrlno" jdbcType="INTEGER" />
    <result column="amt_adjust" property="amtAdjust" jdbcType="DECIMAL" />
    <result column="cod_adjust_ratio" property="codAdjustRatio" jdbcType="DECIMAL" />
    <result column="cod_break_hold_no" property="codBreakHoldNo" jdbcType="VARCHAR" />
    <result column="cod_acct_guarantee" property="codAcctGuarantee" jdbcType="VARCHAR" />
    <result column="cod_profit_method" property="codProfitMethod" jdbcType="INTEGER" />
    <result column="flg_disburse" property="flgDisburse" jdbcType="CHAR" />
  </resultMap>
  <resultMap id="ResultMapWithBLOBs" type="com.penging.tms.common.entity.TmsProdMastLogEntity" extends="BaseResultMap" >
    <result column="txt_specify_users" property="txtSpecifyUsers" jdbcType="LONGVARCHAR" />
    <result column="txt_prod_info" property="txtProdInfo" jdbcType="LONGVARCHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    cod_id, cod_prod_no, cod_template_no, cod_extern_prod_no, cod_orig_prod_no, cod_ivmt_no, 
    txt_prod_source, cod_prod_unit, amt_prod, amt_prod_rest, amt_per_unit, cod_number_unit, 
    cod_prod_rest_unit, amt_prod_break, cod_prod_currency, cod_prod_category, cod_prod_status, 
    cod_prod_support, cod_holder_no, txt_holder_name, dat_plan_start, dat_plan_end, dat_acctual_start, 
    dat_acctual_end, cod_prod_search_term, cod_stop_type, txt_tag, cod_proc_mantissa, 
    flg_transfer_allow, cod_coupon_allow, ctr_trsf_ratio_max, ctr_trsf_ratio_min, ctr_ratio_min_limit, 
    ctr_ratio_max_limit, amt_ivmt_min, amt_ivmt_max, dat_reserve_start, dat_reserve_end, 
    amt_reserve_max, amt_reserve_cust_limit, dat_auto_start, dat_auto_end, dat_vip_start, 
    dat_vip_end, amt_vip_max, amt_vip_cust_limit, dat_trsf_start, dat_trsf_end, cod_apply_user_type, 
    flg_specify_users, dat_show, cod_annual_rate, amt_prod_profit, amt_prod_charge, cod_comp_today, 
    cod_comp_totally, dat_last_process, dat_next_process, dat_last_charge, dat_next_charge, 
    flg_principalization, dat_create, cod_create_user, cod_create_org, dat_modify, cod_modify_user, 
    cod_modify_org, ctr_update_srlno, amt_adjust, cod_adjust_ratio, cod_break_hold_no, 
    cod_acct_guarantee, cod_profit_method, flg_disburse
  </sql>
  <sql id="Blob_Column_List" >
    txt_specify_users, txt_prod_info
  </sql>
  <select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Long" >
    select 
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from tms_prod_mast_log
    where cod_id = #{codId,jdbcType=BIGINT}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
    delete from tms_prod_mast_log
    where cod_id = #{codId,jdbcType=BIGINT}
  </delete>
  <insert id="insert" parameterType="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    insert into tms_prod_mast_log (cod_id, cod_prod_no, cod_template_no, 
      cod_extern_prod_no, cod_orig_prod_no, cod_ivmt_no, 
      txt_prod_source, cod_prod_unit, amt_prod, 
      amt_prod_rest, amt_per_unit, cod_number_unit, 
      cod_prod_rest_unit, amt_prod_break, cod_prod_currency, 
      cod_prod_category, cod_prod_status, cod_prod_support, 
      cod_holder_no, txt_holder_name, dat_plan_start, 
      dat_plan_end, dat_acctual_start, dat_acctual_end, 
      cod_prod_search_term, cod_stop_type, txt_tag, 
      cod_proc_mantissa, flg_transfer_allow, cod_coupon_allow, 
      ctr_trsf_ratio_max, ctr_trsf_ratio_min, ctr_ratio_min_limit, 
      ctr_ratio_max_limit, amt_ivmt_min, amt_ivmt_max, 
      dat_reserve_start, dat_reserve_end, amt_reserve_max, 
      amt_reserve_cust_limit, dat_auto_start, dat_auto_end, 
      dat_vip_start, dat_vip_end, amt_vip_max, 
      amt_vip_cust_limit, dat_trsf_start, dat_trsf_end, 
      cod_apply_user_type, flg_specify_users, dat_show, 
      cod_annual_rate, amt_prod_profit, amt_prod_charge, 
      cod_comp_today, cod_comp_totally, dat_last_process, 
      dat_next_process, dat_last_charge, dat_next_charge, 
      flg_principalization, dat_create, cod_create_user, 
      cod_create_org, dat_modify, cod_modify_user, 
      cod_modify_org, ctr_update_srlno, amt_adjust, 
      cod_adjust_ratio, cod_break_hold_no, cod_acct_guarantee, 
      cod_profit_method, flg_disburse, txt_specify_users, 
      txt_prod_info)
    values (#{codId,jdbcType=BIGINT}, #{codProdNo,jdbcType=VARCHAR}, #{codTemplateNo,jdbcType=VARCHAR}, 
      #{codExternProdNo,jdbcType=VARCHAR}, #{codOrigProdNo,jdbcType=VARCHAR}, #{codIvmtNo,jdbcType=VARCHAR}, 
      #{txtProdSource,jdbcType=VARCHAR}, #{codProdUnit,jdbcType=INTEGER}, #{amtProd,jdbcType=DECIMAL}, 
      #{amtProdRest,jdbcType=DECIMAL}, #{amtPerUnit,jdbcType=DECIMAL}, #{codNumberUnit,jdbcType=INTEGER}, 
      #{codProdRestUnit,jdbcType=INTEGER}, #{amtProdBreak,jdbcType=DECIMAL}, #{codProdCurrency,jdbcType=CHAR}, 
      #{codProdCategory,jdbcType=INTEGER}, #{codProdStatus,jdbcType=INTEGER}, #{codProdSupport,jdbcType=INTEGER}, 
      #{codHolderNo,jdbcType=VARCHAR}, #{txtHolderName,jdbcType=VARCHAR}, #{datPlanStart,jdbcType=TIMESTAMP}, 
      #{datPlanEnd,jdbcType=TIMESTAMP}, #{datAcctualStart,jdbcType=TIMESTAMP}, #{datAcctualEnd,jdbcType=TIMESTAMP}, 
      #{codProdSearchTerm,jdbcType=INTEGER}, #{codStopType,jdbcType=INTEGER}, #{txtTag,jdbcType=VARCHAR}, 
      #{codProcMantissa,jdbcType=INTEGER}, #{flgTransferAllow,jdbcType=CHAR}, #{codCouponAllow,jdbcType=INTEGER}, 
      #{ctrTrsfRatioMax,jdbcType=DECIMAL}, #{ctrTrsfRatioMin,jdbcType=DECIMAL}, #{ctrRatioMinLimit,jdbcType=DECIMAL}, 
      #{ctrRatioMaxLimit,jdbcType=DECIMAL}, #{amtIvmtMin,jdbcType=DECIMAL}, #{amtIvmtMax,jdbcType=DECIMAL}, 
      #{datReserveStart,jdbcType=TIMESTAMP}, #{datReserveEnd,jdbcType=TIMESTAMP}, #{amtReserveMax,jdbcType=DECIMAL}, 
      #{amtReserveCustLimit,jdbcType=DECIMAL}, #{datAutoStart,jdbcType=TIMESTAMP}, #{datAutoEnd,jdbcType=TIMESTAMP}, 
      #{datVipStart,jdbcType=TIMESTAMP}, #{datVipEnd,jdbcType=TIMESTAMP}, #{amtVipMax,jdbcType=DECIMAL}, 
      #{amtVipCustLimit,jdbcType=DECIMAL}, #{datTrsfStart,jdbcType=TIMESTAMP}, #{datTrsfEnd,jdbcType=TIMESTAMP}, 
      #{codApplyUserType,jdbcType=INTEGER}, #{flgSpecifyUsers,jdbcType=CHAR}, #{datShow,jdbcType=TIMESTAMP}, 
      #{codAnnualRate,jdbcType=DECIMAL}, #{amtProdProfit,jdbcType=DECIMAL}, #{amtProdCharge,jdbcType=DECIMAL}, 
      #{codCompToday,jdbcType=INTEGER}, #{codCompTotally,jdbcType=INTEGER}, #{datLastProcess,jdbcType=TIMESTAMP}, 
      #{datNextProcess,jdbcType=TIMESTAMP}, #{datLastCharge,jdbcType=TIMESTAMP}, #{datNextCharge,jdbcType=TIMESTAMP}, 
      #{flgPrincipalization,jdbcType=CHAR}, #{datCreate,jdbcType=TIMESTAMP}, #{codCreateUser,jdbcType=VARCHAR}, 
      #{codCreateOrg,jdbcType=VARCHAR}, #{datModify,jdbcType=TIMESTAMP}, #{codModifyUser,jdbcType=VARCHAR}, 
      #{codModifyOrg,jdbcType=VARCHAR}, #{ctrUpdateSrlno,jdbcType=INTEGER}, #{amtAdjust,jdbcType=DECIMAL}, 
      #{codAdjustRatio,jdbcType=DECIMAL}, #{codBreakHoldNo,jdbcType=VARCHAR}, #{codAcctGuarantee,jdbcType=VARCHAR}, 
      #{codProfitMethod,jdbcType=INTEGER}, #{flgDisburse,jdbcType=CHAR}, #{txtSpecifyUsers,jdbcType=LONGVARCHAR}, 
      #{txtProdInfo,jdbcType=LONGVARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    insert into tms_prod_mast_log
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="codId != null" >
        cod_id,
      </if>
      <if test="codProdNo != null" >
        cod_prod_no,
      </if>
      <if test="codTemplateNo != null" >
        cod_template_no,
      </if>
      <if test="codExternProdNo != null" >
        cod_extern_prod_no,
      </if>
      <if test="codOrigProdNo != null" >
        cod_orig_prod_no,
      </if>
      <if test="codIvmtNo != null" >
        cod_ivmt_no,
      </if>
      <if test="txtProdSource != null" >
        txt_prod_source,
      </if>
      <if test="codProdUnit != null" >
        cod_prod_unit,
      </if>
      <if test="amtProd != null" >
        amt_prod,
      </if>
      <if test="amtProdRest != null" >
        amt_prod_rest,
      </if>
      <if test="amtPerUnit != null" >
        amt_per_unit,
      </if>
      <if test="codNumberUnit != null" >
        cod_number_unit,
      </if>
      <if test="codProdRestUnit != null" >
        cod_prod_rest_unit,
      </if>
      <if test="amtProdBreak != null" >
        amt_prod_break,
      </if>
      <if test="codProdCurrency != null" >
        cod_prod_currency,
      </if>
      <if test="codProdCategory != null" >
        cod_prod_category,
      </if>
      <if test="codProdStatus != null" >
        cod_prod_status,
      </if>
      <if test="codProdSupport != null" >
        cod_prod_support,
      </if>
      <if test="codHolderNo != null" >
        cod_holder_no,
      </if>
      <if test="txtHolderName != null" >
        txt_holder_name,
      </if>
      <if test="datPlanStart != null" >
        dat_plan_start,
      </if>
      <if test="datPlanEnd != null" >
        dat_plan_end,
      </if>
      <if test="datAcctualStart != null" >
        dat_acctual_start,
      </if>
      <if test="datAcctualEnd != null" >
        dat_acctual_end,
      </if>
      <if test="codProdSearchTerm != null" >
        cod_prod_search_term,
      </if>
      <if test="codStopType != null" >
        cod_stop_type,
      </if>
      <if test="txtTag != null" >
        txt_tag,
      </if>
      <if test="codProcMantissa != null" >
        cod_proc_mantissa,
      </if>
      <if test="flgTransferAllow != null" >
        flg_transfer_allow,
      </if>
      <if test="codCouponAllow != null" >
        cod_coupon_allow,
      </if>
      <if test="ctrTrsfRatioMax != null" >
        ctr_trsf_ratio_max,
      </if>
      <if test="ctrTrsfRatioMin != null" >
        ctr_trsf_ratio_min,
      </if>
      <if test="ctrRatioMinLimit != null" >
        ctr_ratio_min_limit,
      </if>
      <if test="ctrRatioMaxLimit != null" >
        ctr_ratio_max_limit,
      </if>
      <if test="amtIvmtMin != null" >
        amt_ivmt_min,
      </if>
      <if test="amtIvmtMax != null" >
        amt_ivmt_max,
      </if>
      <if test="datReserveStart != null" >
        dat_reserve_start,
      </if>
      <if test="datReserveEnd != null" >
        dat_reserve_end,
      </if>
      <if test="amtReserveMax != null" >
        amt_reserve_max,
      </if>
      <if test="amtReserveCustLimit != null" >
        amt_reserve_cust_limit,
      </if>
      <if test="datAutoStart != null" >
        dat_auto_start,
      </if>
      <if test="datAutoEnd != null" >
        dat_auto_end,
      </if>
      <if test="datVipStart != null" >
        dat_vip_start,
      </if>
      <if test="datVipEnd != null" >
        dat_vip_end,
      </if>
      <if test="amtVipMax != null" >
        amt_vip_max,
      </if>
      <if test="amtVipCustLimit != null" >
        amt_vip_cust_limit,
      </if>
      <if test="datTrsfStart != null" >
        dat_trsf_start,
      </if>
      <if test="datTrsfEnd != null" >
        dat_trsf_end,
      </if>
      <if test="codApplyUserType != null" >
        cod_apply_user_type,
      </if>
      <if test="flgSpecifyUsers != null" >
        flg_specify_users,
      </if>
      <if test="datShow != null" >
        dat_show,
      </if>
      <if test="codAnnualRate != null" >
        cod_annual_rate,
      </if>
      <if test="amtProdProfit != null" >
        amt_prod_profit,
      </if>
      <if test="amtProdCharge != null" >
        amt_prod_charge,
      </if>
      <if test="codCompToday != null" >
        cod_comp_today,
      </if>
      <if test="codCompTotally != null" >
        cod_comp_totally,
      </if>
      <if test="datLastProcess != null" >
        dat_last_process,
      </if>
      <if test="datNextProcess != null" >
        dat_next_process,
      </if>
      <if test="datLastCharge != null" >
        dat_last_charge,
      </if>
      <if test="datNextCharge != null" >
        dat_next_charge,
      </if>
      <if test="flgPrincipalization != null" >
        flg_principalization,
      </if>
      <if test="datCreate != null" >
        dat_create,
      </if>
      <if test="codCreateUser != null" >
        cod_create_user,
      </if>
      <if test="codCreateOrg != null" >
        cod_create_org,
      </if>
      <if test="datModify != null" >
        dat_modify,
      </if>
      <if test="codModifyUser != null" >
        cod_modify_user,
      </if>
      <if test="codModifyOrg != null" >
        cod_modify_org,
      </if>
      <if test="ctrUpdateSrlno != null" >
        ctr_update_srlno,
      </if>
      <if test="amtAdjust != null" >
        amt_adjust,
      </if>
      <if test="codAdjustRatio != null" >
        cod_adjust_ratio,
      </if>
      <if test="codBreakHoldNo != null" >
        cod_break_hold_no,
      </if>
      <if test="codAcctGuarantee != null" >
        cod_acct_guarantee,
      </if>
      <if test="codProfitMethod != null" >
        cod_profit_method,
      </if>
      <if test="flgDisburse != null" >
        flg_disburse,
      </if>
      <if test="txtSpecifyUsers != null" >
        txt_specify_users,
      </if>
      <if test="txtProdInfo != null" >
        txt_prod_info,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="codId != null" >
        #{codId,jdbcType=BIGINT},
      </if>
      <if test="codProdNo != null" >
        #{codProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codTemplateNo != null" >
        #{codTemplateNo,jdbcType=VARCHAR},
      </if>
      <if test="codExternProdNo != null" >
        #{codExternProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codOrigProdNo != null" >
        #{codOrigProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codIvmtNo != null" >
        #{codIvmtNo,jdbcType=VARCHAR},
      </if>
      <if test="txtProdSource != null" >
        #{txtProdSource,jdbcType=VARCHAR},
      </if>
      <if test="codProdUnit != null" >
        #{codProdUnit,jdbcType=INTEGER},
      </if>
      <if test="amtProd != null" >
        #{amtProd,jdbcType=DECIMAL},
      </if>
      <if test="amtProdRest != null" >
        #{amtProdRest,jdbcType=DECIMAL},
      </if>
      <if test="amtPerUnit != null" >
        #{amtPerUnit,jdbcType=DECIMAL},
      </if>
      <if test="codNumberUnit != null" >
        #{codNumberUnit,jdbcType=INTEGER},
      </if>
      <if test="codProdRestUnit != null" >
        #{codProdRestUnit,jdbcType=INTEGER},
      </if>
      <if test="amtProdBreak != null" >
        #{amtProdBreak,jdbcType=DECIMAL},
      </if>
      <if test="codProdCurrency != null" >
        #{codProdCurrency,jdbcType=CHAR},
      </if>
      <if test="codProdCategory != null" >
        #{codProdCategory,jdbcType=INTEGER},
      </if>
      <if test="codProdStatus != null" >
        #{codProdStatus,jdbcType=INTEGER},
      </if>
      <if test="codProdSupport != null" >
        #{codProdSupport,jdbcType=INTEGER},
      </if>
      <if test="codHolderNo != null" >
        #{codHolderNo,jdbcType=VARCHAR},
      </if>
      <if test="txtHolderName != null" >
        #{txtHolderName,jdbcType=VARCHAR},
      </if>
      <if test="datPlanStart != null" >
        #{datPlanStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datPlanEnd != null" >
        #{datPlanEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="datAcctualStart != null" >
        #{datAcctualStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datAcctualEnd != null" >
        #{datAcctualEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="codProdSearchTerm != null" >
        #{codProdSearchTerm,jdbcType=INTEGER},
      </if>
      <if test="codStopType != null" >
        #{codStopType,jdbcType=INTEGER},
      </if>
      <if test="txtTag != null" >
        #{txtTag,jdbcType=VARCHAR},
      </if>
      <if test="codProcMantissa != null" >
        #{codProcMantissa,jdbcType=INTEGER},
      </if>
      <if test="flgTransferAllow != null" >
        #{flgTransferAllow,jdbcType=CHAR},
      </if>
      <if test="codCouponAllow != null" >
        #{codCouponAllow,jdbcType=INTEGER},
      </if>
      <if test="ctrTrsfRatioMax != null" >
        #{ctrTrsfRatioMax,jdbcType=DECIMAL},
      </if>
      <if test="ctrTrsfRatioMin != null" >
        #{ctrTrsfRatioMin,jdbcType=DECIMAL},
      </if>
      <if test="ctrRatioMinLimit != null" >
        #{ctrRatioMinLimit,jdbcType=DECIMAL},
      </if>
      <if test="ctrRatioMaxLimit != null" >
        #{ctrRatioMaxLimit,jdbcType=DECIMAL},
      </if>
      <if test="amtIvmtMin != null" >
        #{amtIvmtMin,jdbcType=DECIMAL},
      </if>
      <if test="amtIvmtMax != null" >
        #{amtIvmtMax,jdbcType=DECIMAL},
      </if>
      <if test="datReserveStart != null" >
        #{datReserveStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datReserveEnd != null" >
        #{datReserveEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="amtReserveMax != null" >
        #{amtReserveMax,jdbcType=DECIMAL},
      </if>
      <if test="amtReserveCustLimit != null" >
        #{amtReserveCustLimit,jdbcType=DECIMAL},
      </if>
      <if test="datAutoStart != null" >
        #{datAutoStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datAutoEnd != null" >
        #{datAutoEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="datVipStart != null" >
        #{datVipStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datVipEnd != null" >
        #{datVipEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="amtVipMax != null" >
        #{amtVipMax,jdbcType=DECIMAL},
      </if>
      <if test="amtVipCustLimit != null" >
        #{amtVipCustLimit,jdbcType=DECIMAL},
      </if>
      <if test="datTrsfStart != null" >
        #{datTrsfStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datTrsfEnd != null" >
        #{datTrsfEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="codApplyUserType != null" >
        #{codApplyUserType,jdbcType=INTEGER},
      </if>
      <if test="flgSpecifyUsers != null" >
        #{flgSpecifyUsers,jdbcType=CHAR},
      </if>
      <if test="datShow != null" >
        #{datShow,jdbcType=TIMESTAMP},
      </if>
      <if test="codAnnualRate != null" >
        #{codAnnualRate,jdbcType=DECIMAL},
      </if>
      <if test="amtProdProfit != null" >
        #{amtProdProfit,jdbcType=DECIMAL},
      </if>
      <if test="amtProdCharge != null" >
        #{amtProdCharge,jdbcType=DECIMAL},
      </if>
      <if test="codCompToday != null" >
        #{codCompToday,jdbcType=INTEGER},
      </if>
      <if test="codCompTotally != null" >
        #{codCompTotally,jdbcType=INTEGER},
      </if>
      <if test="datLastProcess != null" >
        #{datLastProcess,jdbcType=TIMESTAMP},
      </if>
      <if test="datNextProcess != null" >
        #{datNextProcess,jdbcType=TIMESTAMP},
      </if>
      <if test="datLastCharge != null" >
        #{datLastCharge,jdbcType=TIMESTAMP},
      </if>
      <if test="datNextCharge != null" >
        #{datNextCharge,jdbcType=TIMESTAMP},
      </if>
      <if test="flgPrincipalization != null" >
        #{flgPrincipalization,jdbcType=CHAR},
      </if>
      <if test="datCreate != null" >
        #{datCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="codCreateUser != null" >
        #{codCreateUser,jdbcType=VARCHAR},
      </if>
      <if test="codCreateOrg != null" >
        #{codCreateOrg,jdbcType=VARCHAR},
      </if>
      <if test="datModify != null" >
        #{datModify,jdbcType=TIMESTAMP},
      </if>
      <if test="codModifyUser != null" >
        #{codModifyUser,jdbcType=VARCHAR},
      </if>
      <if test="codModifyOrg != null" >
        #{codModifyOrg,jdbcType=VARCHAR},
      </if>
      <if test="ctrUpdateSrlno != null" >
        #{ctrUpdateSrlno,jdbcType=INTEGER},
      </if>
      <if test="amtAdjust != null" >
        #{amtAdjust,jdbcType=DECIMAL},
      </if>
      <if test="codAdjustRatio != null" >
        #{codAdjustRatio,jdbcType=DECIMAL},
      </if>
      <if test="codBreakHoldNo != null" >
        #{codBreakHoldNo,jdbcType=VARCHAR},
      </if>
      <if test="codAcctGuarantee != null" >
        #{codAcctGuarantee,jdbcType=VARCHAR},
      </if>
      <if test="codProfitMethod != null" >
        #{codProfitMethod,jdbcType=INTEGER},
      </if>
      <if test="flgDisburse != null" >
        #{flgDisburse,jdbcType=CHAR},
      </if>
      <if test="txtSpecifyUsers != null" >
        #{txtSpecifyUsers,jdbcType=LONGVARCHAR},
      </if>
      <if test="txtProdInfo != null" >
        #{txtProdInfo,jdbcType=LONGVARCHAR},
      </if>
    </trim>
  </insert>
  <update id="updateByPrimaryKeySelective" parameterType="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    update tms_prod_mast_log
    <set >
      <if test="codProdNo != null" >
        cod_prod_no = #{codProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codTemplateNo != null" >
        cod_template_no = #{codTemplateNo,jdbcType=VARCHAR},
      </if>
      <if test="codExternProdNo != null" >
        cod_extern_prod_no = #{codExternProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codOrigProdNo != null" >
        cod_orig_prod_no = #{codOrigProdNo,jdbcType=VARCHAR},
      </if>
      <if test="codIvmtNo != null" >
        cod_ivmt_no = #{codIvmtNo,jdbcType=VARCHAR},
      </if>
      <if test="txtProdSource != null" >
        txt_prod_source = #{txtProdSource,jdbcType=VARCHAR},
      </if>
      <if test="codProdUnit != null" >
        cod_prod_unit = #{codProdUnit,jdbcType=INTEGER},
      </if>
      <if test="amtProd != null" >
        amt_prod = #{amtProd,jdbcType=DECIMAL},
      </if>
      <if test="amtProdRest != null" >
        amt_prod_rest = #{amtProdRest,jdbcType=DECIMAL},
      </if>
      <if test="amtPerUnit != null" >
        amt_per_unit = #{amtPerUnit,jdbcType=DECIMAL},
      </if>
      <if test="codNumberUnit != null" >
        cod_number_unit = #{codNumberUnit,jdbcType=INTEGER},
      </if>
      <if test="codProdRestUnit != null" >
        cod_prod_rest_unit = #{codProdRestUnit,jdbcType=INTEGER},
      </if>
      <if test="amtProdBreak != null" >
        amt_prod_break = #{amtProdBreak,jdbcType=DECIMAL},
      </if>
      <if test="codProdCurrency != null" >
        cod_prod_currency = #{codProdCurrency,jdbcType=CHAR},
      </if>
      <if test="codProdCategory != null" >
        cod_prod_category = #{codProdCategory,jdbcType=INTEGER},
      </if>
      <if test="codProdStatus != null" >
        cod_prod_status = #{codProdStatus,jdbcType=INTEGER},
      </if>
      <if test="codProdSupport != null" >
        cod_prod_support = #{codProdSupport,jdbcType=INTEGER},
      </if>
      <if test="codHolderNo != null" >
        cod_holder_no = #{codHolderNo,jdbcType=VARCHAR},
      </if>
      <if test="txtHolderName != null" >
        txt_holder_name = #{txtHolderName,jdbcType=VARCHAR},
      </if>
      <if test="datPlanStart != null" >
        dat_plan_start = #{datPlanStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datPlanEnd != null" >
        dat_plan_end = #{datPlanEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="datAcctualStart != null" >
        dat_acctual_start = #{datAcctualStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datAcctualEnd != null" >
        dat_acctual_end = #{datAcctualEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="codProdSearchTerm != null" >
        cod_prod_search_term = #{codProdSearchTerm,jdbcType=INTEGER},
      </if>
      <if test="codStopType != null" >
        cod_stop_type = #{codStopType,jdbcType=INTEGER},
      </if>
      <if test="txtTag != null" >
        txt_tag = #{txtTag,jdbcType=VARCHAR},
      </if>
      <if test="codProcMantissa != null" >
        cod_proc_mantissa = #{codProcMantissa,jdbcType=INTEGER},
      </if>
      <if test="flgTransferAllow != null" >
        flg_transfer_allow = #{flgTransferAllow,jdbcType=CHAR},
      </if>
      <if test="codCouponAllow != null" >
        cod_coupon_allow = #{codCouponAllow,jdbcType=INTEGER},
      </if>
      <if test="ctrTrsfRatioMax != null" >
        ctr_trsf_ratio_max = #{ctrTrsfRatioMax,jdbcType=DECIMAL},
      </if>
      <if test="ctrTrsfRatioMin != null" >
        ctr_trsf_ratio_min = #{ctrTrsfRatioMin,jdbcType=DECIMAL},
      </if>
      <if test="ctrRatioMinLimit != null" >
        ctr_ratio_min_limit = #{ctrRatioMinLimit,jdbcType=DECIMAL},
      </if>
      <if test="ctrRatioMaxLimit != null" >
        ctr_ratio_max_limit = #{ctrRatioMaxLimit,jdbcType=DECIMAL},
      </if>
      <if test="amtIvmtMin != null" >
        amt_ivmt_min = #{amtIvmtMin,jdbcType=DECIMAL},
      </if>
      <if test="amtIvmtMax != null" >
        amt_ivmt_max = #{amtIvmtMax,jdbcType=DECIMAL},
      </if>
      <if test="datReserveStart != null" >
        dat_reserve_start = #{datReserveStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datReserveEnd != null" >
        dat_reserve_end = #{datReserveEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="amtReserveMax != null" >
        amt_reserve_max = #{amtReserveMax,jdbcType=DECIMAL},
      </if>
      <if test="amtReserveCustLimit != null" >
        amt_reserve_cust_limit = #{amtReserveCustLimit,jdbcType=DECIMAL},
      </if>
      <if test="datAutoStart != null" >
        dat_auto_start = #{datAutoStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datAutoEnd != null" >
        dat_auto_end = #{datAutoEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="datVipStart != null" >
        dat_vip_start = #{datVipStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datVipEnd != null" >
        dat_vip_end = #{datVipEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="amtVipMax != null" >
        amt_vip_max = #{amtVipMax,jdbcType=DECIMAL},
      </if>
      <if test="amtVipCustLimit != null" >
        amt_vip_cust_limit = #{amtVipCustLimit,jdbcType=DECIMAL},
      </if>
      <if test="datTrsfStart != null" >
        dat_trsf_start = #{datTrsfStart,jdbcType=TIMESTAMP},
      </if>
      <if test="datTrsfEnd != null" >
        dat_trsf_end = #{datTrsfEnd,jdbcType=TIMESTAMP},
      </if>
      <if test="codApplyUserType != null" >
        cod_apply_user_type = #{codApplyUserType,jdbcType=INTEGER},
      </if>
      <if test="flgSpecifyUsers != null" >
        flg_specify_users = #{flgSpecifyUsers,jdbcType=CHAR},
      </if>
      <if test="datShow != null" >
        dat_show = #{datShow,jdbcType=TIMESTAMP},
      </if>
      <if test="codAnnualRate != null" >
        cod_annual_rate = #{codAnnualRate,jdbcType=DECIMAL},
      </if>
      <if test="amtProdProfit != null" >
        amt_prod_profit = #{amtProdProfit,jdbcType=DECIMAL},
      </if>
      <if test="amtProdCharge != null" >
        amt_prod_charge = #{amtProdCharge,jdbcType=DECIMAL},
      </if>
      <if test="codCompToday != null" >
        cod_comp_today = #{codCompToday,jdbcType=INTEGER},
      </if>
      <if test="codCompTotally != null" >
        cod_comp_totally = #{codCompTotally,jdbcType=INTEGER},
      </if>
      <if test="datLastProcess != null" >
        dat_last_process = #{datLastProcess,jdbcType=TIMESTAMP},
      </if>
      <if test="datNextProcess != null" >
        dat_next_process = #{datNextProcess,jdbcType=TIMESTAMP},
      </if>
      <if test="datLastCharge != null" >
        dat_last_charge = #{datLastCharge,jdbcType=TIMESTAMP},
      </if>
      <if test="datNextCharge != null" >
        dat_next_charge = #{datNextCharge,jdbcType=TIMESTAMP},
      </if>
      <if test="flgPrincipalization != null" >
        flg_principalization = #{flgPrincipalization,jdbcType=CHAR},
      </if>
      <if test="datCreate != null" >
        dat_create = #{datCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="codCreateUser != null" >
        cod_create_user = #{codCreateUser,jdbcType=VARCHAR},
      </if>
      <if test="codCreateOrg != null" >
        cod_create_org = #{codCreateOrg,jdbcType=VARCHAR},
      </if>
      <if test="datModify != null" >
        dat_modify = #{datModify,jdbcType=TIMESTAMP},
      </if>
      <if test="codModifyUser != null" >
        cod_modify_user = #{codModifyUser,jdbcType=VARCHAR},
      </if>
      <if test="codModifyOrg != null" >
        cod_modify_org = #{codModifyOrg,jdbcType=VARCHAR},
      </if>
      <if test="ctrUpdateSrlno != null" >
        ctr_update_srlno = #{ctrUpdateSrlno,jdbcType=INTEGER},
      </if>
      <if test="amtAdjust != null" >
        amt_adjust = #{amtAdjust,jdbcType=DECIMAL},
      </if>
      <if test="codAdjustRatio != null" >
        cod_adjust_ratio = #{codAdjustRatio,jdbcType=DECIMAL},
      </if>
      <if test="codBreakHoldNo != null" >
        cod_break_hold_no = #{codBreakHoldNo,jdbcType=VARCHAR},
      </if>
      <if test="codAcctGuarantee != null" >
        cod_acct_guarantee = #{codAcctGuarantee,jdbcType=VARCHAR},
      </if>
      <if test="codProfitMethod != null" >
        cod_profit_method = #{codProfitMethod,jdbcType=INTEGER},
      </if>
      <if test="flgDisburse != null" >
        flg_disburse = #{flgDisburse,jdbcType=CHAR},
      </if>
      <if test="txtSpecifyUsers != null" >
        txt_specify_users = #{txtSpecifyUsers,jdbcType=LONGVARCHAR},
      </if>
      <if test="txtProdInfo != null" >
        txt_prod_info = #{txtProdInfo,jdbcType=LONGVARCHAR},
      </if>
    </set>
    where cod_id = #{codId,jdbcType=BIGINT}
  </update>
  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    update tms_prod_mast_log
    set cod_prod_no = #{codProdNo,jdbcType=VARCHAR},
      cod_template_no = #{codTemplateNo,jdbcType=VARCHAR},
      cod_extern_prod_no = #{codExternProdNo,jdbcType=VARCHAR},
      cod_orig_prod_no = #{codOrigProdNo,jdbcType=VARCHAR},
      cod_ivmt_no = #{codIvmtNo,jdbcType=VARCHAR},
      txt_prod_source = #{txtProdSource,jdbcType=VARCHAR},
      cod_prod_unit = #{codProdUnit,jdbcType=INTEGER},
      amt_prod = #{amtProd,jdbcType=DECIMAL},
      amt_prod_rest = #{amtProdRest,jdbcType=DECIMAL},
      amt_per_unit = #{amtPerUnit,jdbcType=DECIMAL},
      cod_number_unit = #{codNumberUnit,jdbcType=INTEGER},
      cod_prod_rest_unit = #{codProdRestUnit,jdbcType=INTEGER},
      amt_prod_break = #{amtProdBreak,jdbcType=DECIMAL},
      cod_prod_currency = #{codProdCurrency,jdbcType=CHAR},
      cod_prod_category = #{codProdCategory,jdbcType=INTEGER},
      cod_prod_status = #{codProdStatus,jdbcType=INTEGER},
      cod_prod_support = #{codProdSupport,jdbcType=INTEGER},
      cod_holder_no = #{codHolderNo,jdbcType=VARCHAR},
      txt_holder_name = #{txtHolderName,jdbcType=VARCHAR},
      dat_plan_start = #{datPlanStart,jdbcType=TIMESTAMP},
      dat_plan_end = #{datPlanEnd,jdbcType=TIMESTAMP},
      dat_acctual_start = #{datAcctualStart,jdbcType=TIMESTAMP},
      dat_acctual_end = #{datAcctualEnd,jdbcType=TIMESTAMP},
      cod_prod_search_term = #{codProdSearchTerm,jdbcType=INTEGER},
      cod_stop_type = #{codStopType,jdbcType=INTEGER},
      txt_tag = #{txtTag,jdbcType=VARCHAR},
      cod_proc_mantissa = #{codProcMantissa,jdbcType=INTEGER},
      flg_transfer_allow = #{flgTransferAllow,jdbcType=CHAR},
      cod_coupon_allow = #{codCouponAllow,jdbcType=INTEGER},
      ctr_trsf_ratio_max = #{ctrTrsfRatioMax,jdbcType=DECIMAL},
      ctr_trsf_ratio_min = #{ctrTrsfRatioMin,jdbcType=DECIMAL},
      ctr_ratio_min_limit = #{ctrRatioMinLimit,jdbcType=DECIMAL},
      ctr_ratio_max_limit = #{ctrRatioMaxLimit,jdbcType=DECIMAL},
      amt_ivmt_min = #{amtIvmtMin,jdbcType=DECIMAL},
      amt_ivmt_max = #{amtIvmtMax,jdbcType=DECIMAL},
      dat_reserve_start = #{datReserveStart,jdbcType=TIMESTAMP},
      dat_reserve_end = #{datReserveEnd,jdbcType=TIMESTAMP},
      amt_reserve_max = #{amtReserveMax,jdbcType=DECIMAL},
      amt_reserve_cust_limit = #{amtReserveCustLimit,jdbcType=DECIMAL},
      dat_auto_start = #{datAutoStart,jdbcType=TIMESTAMP},
      dat_auto_end = #{datAutoEnd,jdbcType=TIMESTAMP},
      dat_vip_start = #{datVipStart,jdbcType=TIMESTAMP},
      dat_vip_end = #{datVipEnd,jdbcType=TIMESTAMP},
      amt_vip_max = #{amtVipMax,jdbcType=DECIMAL},
      amt_vip_cust_limit = #{amtVipCustLimit,jdbcType=DECIMAL},
      dat_trsf_start = #{datTrsfStart,jdbcType=TIMESTAMP},
      dat_trsf_end = #{datTrsfEnd,jdbcType=TIMESTAMP},
      cod_apply_user_type = #{codApplyUserType,jdbcType=INTEGER},
      flg_specify_users = #{flgSpecifyUsers,jdbcType=CHAR},
      dat_show = #{datShow,jdbcType=TIMESTAMP},
      cod_annual_rate = #{codAnnualRate,jdbcType=DECIMAL},
      amt_prod_profit = #{amtProdProfit,jdbcType=DECIMAL},
      amt_prod_charge = #{amtProdCharge,jdbcType=DECIMAL},
      cod_comp_today = #{codCompToday,jdbcType=INTEGER},
      cod_comp_totally = #{codCompTotally,jdbcType=INTEGER},
      dat_last_process = #{datLastProcess,jdbcType=TIMESTAMP},
      dat_next_process = #{datNextProcess,jdbcType=TIMESTAMP},
      dat_last_charge = #{datLastCharge,jdbcType=TIMESTAMP},
      dat_next_charge = #{datNextCharge,jdbcType=TIMESTAMP},
      flg_principalization = #{flgPrincipalization,jdbcType=CHAR},
      dat_create = #{datCreate,jdbcType=TIMESTAMP},
      cod_create_user = #{codCreateUser,jdbcType=VARCHAR},
      cod_create_org = #{codCreateOrg,jdbcType=VARCHAR},
      dat_modify = #{datModify,jdbcType=TIMESTAMP},
      cod_modify_user = #{codModifyUser,jdbcType=VARCHAR},
      cod_modify_org = #{codModifyOrg,jdbcType=VARCHAR},
      ctr_update_srlno = #{ctrUpdateSrlno,jdbcType=INTEGER},
      amt_adjust = #{amtAdjust,jdbcType=DECIMAL},
      cod_adjust_ratio = #{codAdjustRatio,jdbcType=DECIMAL},
      cod_break_hold_no = #{codBreakHoldNo,jdbcType=VARCHAR},
      cod_acct_guarantee = #{codAcctGuarantee,jdbcType=VARCHAR},
      cod_profit_method = #{codProfitMethod,jdbcType=INTEGER},
      flg_disburse = #{flgDisburse,jdbcType=CHAR},
      txt_specify_users = #{txtSpecifyUsers,jdbcType=LONGVARCHAR},
      txt_prod_info = #{txtProdInfo,jdbcType=LONGVARCHAR}
    where cod_id = #{codId,jdbcType=BIGINT}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.penging.tms.common.entity.TmsProdMastLogEntity" >
    update tms_prod_mast_log
    set cod_prod_no = #{codProdNo,jdbcType=VARCHAR},
      cod_template_no = #{codTemplateNo,jdbcType=VARCHAR},
      cod_extern_prod_no = #{codExternProdNo,jdbcType=VARCHAR},
      cod_orig_prod_no = #{codOrigProdNo,jdbcType=VARCHAR},
      cod_ivmt_no = #{codIvmtNo,jdbcType=VARCHAR},
      txt_prod_source = #{txtProdSource,jdbcType=VARCHAR},
      cod_prod_unit = #{codProdUnit,jdbcType=INTEGER},
      amt_prod = #{amtProd,jdbcType=DECIMAL},
      amt_prod_rest = #{amtProdRest,jdbcType=DECIMAL},
      amt_per_unit = #{amtPerUnit,jdbcType=DECIMAL},
      cod_number_unit = #{codNumberUnit,jdbcType=INTEGER},
      cod_prod_rest_unit = #{codProdRestUnit,jdbcType=INTEGER},
      amt_prod_break = #{amtProdBreak,jdbcType=DECIMAL},
      cod_prod_currency = #{codProdCurrency,jdbcType=CHAR},
      cod_prod_category = #{codProdCategory,jdbcType=INTEGER},
      cod_prod_status = #{codProdStatus,jdbcType=INTEGER},
      cod_prod_support = #{codProdSupport,jdbcType=INTEGER},
      cod_holder_no = #{codHolderNo,jdbcType=VARCHAR},
      txt_holder_name = #{txtHolderName,jdbcType=VARCHAR},
      dat_plan_start = #{datPlanStart,jdbcType=TIMESTAMP},
      dat_plan_end = #{datPlanEnd,jdbcType=TIMESTAMP},
      dat_acctual_start = #{datAcctualStart,jdbcType=TIMESTAMP},
      dat_acctual_end = #{datAcctualEnd,jdbcType=TIMESTAMP},
      cod_prod_search_term = #{codProdSearchTerm,jdbcType=INTEGER},
      cod_stop_type = #{codStopType,jdbcType=INTEGER},
      txt_tag = #{txtTag,jdbcType=VARCHAR},
      cod_proc_mantissa = #{codProcMantissa,jdbcType=INTEGER},
      flg_transfer_allow = #{flgTransferAllow,jdbcType=CHAR},
      cod_coupon_allow = #{codCouponAllow,jdbcType=INTEGER},
      ctr_trsf_ratio_max = #{ctrTrsfRatioMax,jdbcType=DECIMAL},
      ctr_trsf_ratio_min = #{ctrTrsfRatioMin,jdbcType=DECIMAL},
      ctr_ratio_min_limit = #{ctrRatioMinLimit,jdbcType=DECIMAL},
      ctr_ratio_max_limit = #{ctrRatioMaxLimit,jdbcType=DECIMAL},
      amt_ivmt_min = #{amtIvmtMin,jdbcType=DECIMAL},
      amt_ivmt_max = #{amtIvmtMax,jdbcType=DECIMAL},
      dat_reserve_start = #{datReserveStart,jdbcType=TIMESTAMP},
      dat_reserve_end = #{datReserveEnd,jdbcType=TIMESTAMP},
      amt_reserve_max = #{amtReserveMax,jdbcType=DECIMAL},
      amt_reserve_cust_limit = #{amtReserveCustLimit,jdbcType=DECIMAL},
      dat_auto_start = #{datAutoStart,jdbcType=TIMESTAMP},
      dat_auto_end = #{datAutoEnd,jdbcType=TIMESTAMP},
      dat_vip_start = #{datVipStart,jdbcType=TIMESTAMP},
      dat_vip_end = #{datVipEnd,jdbcType=TIMESTAMP},
      amt_vip_max = #{amtVipMax,jdbcType=DECIMAL},
      amt_vip_cust_limit = #{amtVipCustLimit,jdbcType=DECIMAL},
      dat_trsf_start = #{datTrsfStart,jdbcType=TIMESTAMP},
      dat_trsf_end = #{datTrsfEnd,jdbcType=TIMESTAMP},
      cod_apply_user_type = #{codApplyUserType,jdbcType=INTEGER},
      flg_specify_users = #{flgSpecifyUsers,jdbcType=CHAR},
      dat_show = #{datShow,jdbcType=TIMESTAMP},
      cod_annual_rate = #{codAnnualRate,jdbcType=DECIMAL},
      amt_prod_profit = #{amtProdProfit,jdbcType=DECIMAL},
      amt_prod_charge = #{amtProdCharge,jdbcType=DECIMAL},
      cod_comp_today = #{codCompToday,jdbcType=INTEGER},
      cod_comp_totally = #{codCompTotally,jdbcType=INTEGER},
      dat_last_process = #{datLastProcess,jdbcType=TIMESTAMP},
      dat_next_process = #{datNextProcess,jdbcType=TIMESTAMP},
      dat_last_charge = #{datLastCharge,jdbcType=TIMESTAMP},
      dat_next_charge = #{datNextCharge,jdbcType=TIMESTAMP},
      flg_principalization = #{flgPrincipalization,jdbcType=CHAR},
      dat_create = #{datCreate,jdbcType=TIMESTAMP},
      cod_create_user = #{codCreateUser,jdbcType=VARCHAR},
      cod_create_org = #{codCreateOrg,jdbcType=VARCHAR},
      dat_modify = #{datModify,jdbcType=TIMESTAMP},
      cod_modify_user = #{codModifyUser,jdbcType=VARCHAR},
      cod_modify_org = #{codModifyOrg,jdbcType=VARCHAR},
      ctr_update_srlno = #{ctrUpdateSrlno,jdbcType=INTEGER},
      amt_adjust = #{amtAdjust,jdbcType=DECIMAL},
      cod_adjust_ratio = #{codAdjustRatio,jdbcType=DECIMAL},
      cod_break_hold_no = #{codBreakHoldNo,jdbcType=VARCHAR},
      cod_acct_guarantee = #{codAcctGuarantee,jdbcType=VARCHAR},
      cod_profit_method = #{codProfitMethod,jdbcType=INTEGER},
      flg_disburse = #{flgDisburse,jdbcType=CHAR}
    where cod_id = #{codId,jdbcType=BIGINT}
  </update>
</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy