Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.penging.tms.common.repository.TmsIvmtTrsfLogEntityMapper.xml Maven / Gradle / Ivy
<?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.TmsIvmtTrsfLogEntityMapper" >
<resultMap id="BaseResultMap" type="com.penging.tms.common.entity.TmsIvmtTrsfLogEntity" >
<id column="cod_id" property="codId" jdbcType="BIGINT" />
<result column="cod_ivmt_no" property="codIvmtNo" jdbcType="VARCHAR" />
<result column="cod_orig_prod_no" property="codOrigProdNo" jdbcType="VARCHAR" />
<result column="cod_prod_no" property="codProdNo" jdbcType="VARCHAR" />
<result column="cod_cust_id" property="codCustId" jdbcType="VARCHAR" />
<result column="cod_acct_no" property="codAcctNo" jdbcType="VARCHAR" />
<result column="dat_trsf" property="datTrsf" jdbcType="TIMESTAMP" />
<result column="cod_proj_unit" property="codProjUnit" jdbcType="INTEGER" />
<result column="amt_per_unit" property="amtPerUnit" jdbcType="DECIMAL" />
<result column="ctr_trsf_portion" property="ctrTrsfPortion" jdbcType="INTEGER" />
<result column="amt_trsf" property="amtTrsf" jdbcType="DECIMAL" />
<result column="dat_trsf_start" property="datTrsfStart" jdbcType="TIMESTAMP" />
<result column="dat_trsf_end" property="datTrsfEnd" jdbcType="TIMESTAMP" />
<result column="amt_priincipal" property="amtPriincipal" jdbcType="DECIMAL" />
<result column="amt_estimate" property="amtEstimate" jdbcType="DECIMAL" />
<result column="ctr_adjust_ratio" property="ctrAdjustRatio" jdbcType="DECIMAL" />
<result column="amt_trsf_per" property="amtTrsfPer" jdbcType="DECIMAL" />
<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" />
</resultMap>
<sql id="Base_Column_List" >
cod_id, cod_ivmt_no, cod_orig_prod_no, cod_prod_no, cod_cust_id, cod_acct_no, dat_trsf,
cod_proj_unit, amt_per_unit, ctr_trsf_portion, amt_trsf, dat_trsf_start, dat_trsf_end,
amt_priincipal, amt_estimate, ctr_adjust_ratio, amt_trsf_per, dat_create, cod_create_user,
cod_create_org, dat_modify, cod_modify_user, cod_modify_org, ctr_update_srlno
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
select
<include refid="Base_Column_List" />
from tms_ivmt_trsf_log
where cod_id = #{codId,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
delete from tms_ivmt_trsf_log
where cod_id = #{codId,jdbcType=BIGINT}
</delete>
<insert id="insert" parameterType="com.penging.tms.common.entity.TmsIvmtTrsfLogEntity" >
insert into tms_ivmt_trsf_log (cod_id, cod_ivmt_no, cod_orig_prod_no,
cod_prod_no, cod_cust_id, cod_acct_no,
dat_trsf, cod_proj_unit, amt_per_unit,
ctr_trsf_portion, amt_trsf, dat_trsf_start,
dat_trsf_end, amt_priincipal, amt_estimate,
ctr_adjust_ratio, amt_trsf_per, dat_create,
cod_create_user, cod_create_org, dat_modify,
cod_modify_user, cod_modify_org, ctr_update_srlno
)
values (#{codId,jdbcType=BIGINT}, #{codIvmtNo,jdbcType=VARCHAR}, #{codOrigProdNo,jdbcType=VARCHAR},
#{codProdNo,jdbcType=VARCHAR}, #{codCustId,jdbcType=VARCHAR}, #{codAcctNo,jdbcType=VARCHAR},
#{datTrsf,jdbcType=TIMESTAMP}, #{codProjUnit,jdbcType=INTEGER}, #{amtPerUnit,jdbcType=DECIMAL},
#{ctrTrsfPortion,jdbcType=INTEGER}, #{amtTrsf,jdbcType=DECIMAL}, #{datTrsfStart,jdbcType=TIMESTAMP},
#{datTrsfEnd,jdbcType=TIMESTAMP}, #{amtPriincipal,jdbcType=DECIMAL}, #{amtEstimate,jdbcType=DECIMAL},
#{ctrAdjustRatio,jdbcType=DECIMAL}, #{amtTrsfPer,jdbcType=DECIMAL}, #{datCreate,jdbcType=TIMESTAMP},
#{codCreateUser,jdbcType=VARCHAR}, #{codCreateOrg,jdbcType=VARCHAR}, #{datModify,jdbcType=TIMESTAMP},
#{codModifyUser,jdbcType=VARCHAR}, #{codModifyOrg,jdbcType=VARCHAR}, #{ctrUpdateSrlno,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.penging.tms.common.entity.TmsIvmtTrsfLogEntity" >
insert into tms_ivmt_trsf_log
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="codId != null" >
cod_id,
</if>
<if test="codIvmtNo != null" >
cod_ivmt_no,
</if>
<if test="codOrigProdNo != null" >
cod_orig_prod_no,
</if>
<if test="codProdNo != null" >
cod_prod_no,
</if>
<if test="codCustId != null" >
cod_cust_id,
</if>
<if test="codAcctNo != null" >
cod_acct_no,
</if>
<if test="datTrsf != null" >
dat_trsf,
</if>
<if test="codProjUnit != null" >
cod_proj_unit,
</if>
<if test="amtPerUnit != null" >
amt_per_unit,
</if>
<if test="ctrTrsfPortion != null" >
ctr_trsf_portion,
</if>
<if test="amtTrsf != null" >
amt_trsf,
</if>
<if test="datTrsfStart != null" >
dat_trsf_start,
</if>
<if test="datTrsfEnd != null" >
dat_trsf_end,
</if>
<if test="amtPriincipal != null" >
amt_priincipal,
</if>
<if test="amtEstimate != null" >
amt_estimate,
</if>
<if test="ctrAdjustRatio != null" >
ctr_adjust_ratio,
</if>
<if test="amtTrsfPer != null" >
amt_trsf_per,
</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>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="codId != null" >
#{codId,jdbcType=BIGINT},
</if>
<if test="codIvmtNo != null" >
#{codIvmtNo,jdbcType=VARCHAR},
</if>
<if test="codOrigProdNo != null" >
#{codOrigProdNo,jdbcType=VARCHAR},
</if>
<if test="codProdNo != null" >
#{codProdNo,jdbcType=VARCHAR},
</if>
<if test="codCustId != null" >
#{codCustId,jdbcType=VARCHAR},
</if>
<if test="codAcctNo != null" >
#{codAcctNo,jdbcType=VARCHAR},
</if>
<if test="datTrsf != null" >
#{datTrsf,jdbcType=TIMESTAMP},
</if>
<if test="codProjUnit != null" >
#{codProjUnit,jdbcType=INTEGER},
</if>
<if test="amtPerUnit != null" >
#{amtPerUnit,jdbcType=DECIMAL},
</if>
<if test="ctrTrsfPortion != null" >
#{ctrTrsfPortion,jdbcType=INTEGER},
</if>
<if test="amtTrsf != null" >
#{amtTrsf,jdbcType=DECIMAL},
</if>
<if test="datTrsfStart != null" >
#{datTrsfStart,jdbcType=TIMESTAMP},
</if>
<if test="datTrsfEnd != null" >
#{datTrsfEnd,jdbcType=TIMESTAMP},
</if>
<if test="amtPriincipal != null" >
#{amtPriincipal,jdbcType=DECIMAL},
</if>
<if test="amtEstimate != null" >
#{amtEstimate,jdbcType=DECIMAL},
</if>
<if test="ctrAdjustRatio != null" >
#{ctrAdjustRatio,jdbcType=DECIMAL},
</if>
<if test="amtTrsfPer != null" >
#{amtTrsfPer,jdbcType=DECIMAL},
</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>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.penging.tms.common.entity.TmsIvmtTrsfLogEntity" >
update tms_ivmt_trsf_log
<set >
<if test="codIvmtNo != null" >
cod_ivmt_no = #{codIvmtNo,jdbcType=VARCHAR},
</if>
<if test="codOrigProdNo != null" >
cod_orig_prod_no = #{codOrigProdNo,jdbcType=VARCHAR},
</if>
<if test="codProdNo != null" >
cod_prod_no = #{codProdNo,jdbcType=VARCHAR},
</if>
<if test="codCustId != null" >
cod_cust_id = #{codCustId,jdbcType=VARCHAR},
</if>
<if test="codAcctNo != null" >
cod_acct_no = #{codAcctNo,jdbcType=VARCHAR},
</if>
<if test="datTrsf != null" >
dat_trsf = #{datTrsf,jdbcType=TIMESTAMP},
</if>
<if test="codProjUnit != null" >
cod_proj_unit = #{codProjUnit,jdbcType=INTEGER},
</if>
<if test="amtPerUnit != null" >
amt_per_unit = #{amtPerUnit,jdbcType=DECIMAL},
</if>
<if test="ctrTrsfPortion != null" >
ctr_trsf_portion = #{ctrTrsfPortion,jdbcType=INTEGER},
</if>
<if test="amtTrsf != null" >
amt_trsf = #{amtTrsf,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="amtPriincipal != null" >
amt_priincipal = #{amtPriincipal,jdbcType=DECIMAL},
</if>
<if test="amtEstimate != null" >
amt_estimate = #{amtEstimate,jdbcType=DECIMAL},
</if>
<if test="ctrAdjustRatio != null" >
ctr_adjust_ratio = #{ctrAdjustRatio,jdbcType=DECIMAL},
</if>
<if test="amtTrsfPer != null" >
amt_trsf_per = #{amtTrsfPer,jdbcType=DECIMAL},
</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>
</set>
where cod_id = #{codId,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.penging.tms.common.entity.TmsIvmtTrsfLogEntity" >
update tms_ivmt_trsf_log
set cod_ivmt_no = #{codIvmtNo,jdbcType=VARCHAR},
cod_orig_prod_no = #{codOrigProdNo,jdbcType=VARCHAR},
cod_prod_no = #{codProdNo,jdbcType=VARCHAR},
cod_cust_id = #{codCustId,jdbcType=VARCHAR},
cod_acct_no = #{codAcctNo,jdbcType=VARCHAR},
dat_trsf = #{datTrsf,jdbcType=TIMESTAMP},
cod_proj_unit = #{codProjUnit,jdbcType=INTEGER},
amt_per_unit = #{amtPerUnit,jdbcType=DECIMAL},
ctr_trsf_portion = #{ctrTrsfPortion,jdbcType=INTEGER},
amt_trsf = #{amtTrsf,jdbcType=DECIMAL},
dat_trsf_start = #{datTrsfStart,jdbcType=TIMESTAMP},
dat_trsf_end = #{datTrsfEnd,jdbcType=TIMESTAMP},
amt_priincipal = #{amtPriincipal,jdbcType=DECIMAL},
amt_estimate = #{amtEstimate,jdbcType=DECIMAL},
ctr_adjust_ratio = #{ctrAdjustRatio,jdbcType=DECIMAL},
amt_trsf_per = #{amtTrsfPer,jdbcType=DECIMAL},
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}
where cod_id = #{codId,jdbcType=BIGINT}
</update>
</mapper>