|
|
@@ -27,11 +27,17 @@
|
|
|
<result column="ftd_text5" property="ftd_text5" jdbcType="VARCHAR" />
|
|
|
<result column="bk_outthisamount" property="bk_outthisamount" jdbcType="DOUBLE" />
|
|
|
<result column="bk_inthisamount" property="bk_inthisamount" jdbcType="DOUBLE" />
|
|
|
+
|
|
|
+ <result column="ftd_currency" property="ftd_currency" jdbcType="VARCHAR" />
|
|
|
+ <result column="ftd_incurrency" property="ftd_incurrency" jdbcType="VARCHAR" />
|
|
|
+ <result column="ftd_innowbalance" property="ftd_innowbalance" jdbcType="DOUBLE" />
|
|
|
+ <result column="ftd_rate" property="ftd_rate" jdbcType="DOUBLE" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
ftd_id, ftd_ftid, ftd_detno, ftd_ym, ftd_bankid, ftd_bankcode, ftd_bankname, ftd_inbankid,
|
|
|
ftd_inbankcode, ftd_inbankname, ftd_nowbalance, ftd_paymethod, ftd_paycode, ftd_remark,
|
|
|
- companyid, updaterId, updatedate, ftd_text1, ftd_text2, ftd_text3, ftd_text4, ftd_text5
|
|
|
+ companyid, updaterId, updatedate, ftd_text1, ftd_text2, ftd_text3, ftd_text4, ftd_text5, ftd_currency,
|
|
|
+ ftd_incurrency,ftd_innowbalance,ftd_rate
|
|
|
</sql>
|
|
|
<sql id="Bank_Column_List">
|
|
|
b.bk_thisamount as bk_outthisamount,c.bk_thisamount as bk_inthisamount
|
|
|
@@ -147,6 +153,18 @@
|
|
|
<if test="ftd_text5 != null" >
|
|
|
ftd_text5,
|
|
|
</if>
|
|
|
+ <if test="ftd_currency != null" >
|
|
|
+ ftd_currency,
|
|
|
+ </if>
|
|
|
+ <if test="ftd_incurrency != null" >
|
|
|
+ ftd_incurrency,
|
|
|
+ </if>
|
|
|
+ <if test="ftd_innowbalance != null" >
|
|
|
+ ftd_innowbalance,
|
|
|
+ </if>
|
|
|
+ <if test="ftd_rate != null" >
|
|
|
+ ftd_rate,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="ftd_ftid != null" >
|
|
|
@@ -212,6 +230,18 @@
|
|
|
<if test="ftd_text5 != null" >
|
|
|
#{ftd_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="ftd_currency != null" >
|
|
|
+ #{ftd_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_incurrency != null" >
|
|
|
+ #{ftd_incurrency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_innowbalance != null" >
|
|
|
+ #{ftd_innowbalance,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_rate != null" >
|
|
|
+ #{ftd_rate,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.money.po.Fundtransferdetail" >
|
|
|
@@ -278,6 +308,18 @@
|
|
|
<if test="ftd_text5 != null" >
|
|
|
ftd_text5 = #{ftd_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="ftd_currency != null" >
|
|
|
+ ftd_currency = #{ftd_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_incurrency != null" >
|
|
|
+ ftd_incurrency = #{ftd_incurrency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_innowbalance != null" >
|
|
|
+ ftd_innowbalance = #{ftd_innowbalance,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="ftd_rate != null" >
|
|
|
+ ftd_rate = #{ftd_rate,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where ftd_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|