|
|
@@ -31,12 +31,14 @@
|
|
|
<result column="or_auditman" property="or_auditman" jdbcType="VARCHAR" />
|
|
|
<result column="or_auditdate" property="or_auditdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="createTime" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="or_currency" property="or_currency" jdbcType="VARCHAR" />
|
|
|
+ <result column="or_rate" property="or_rate" jdbcType="DOUBLE" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
or_id, or_code, or_date, or_custid, or_custcode, or_custname, or_bankcode, or_bankid,
|
|
|
or_bankname, or_amount, or_status, or_statuscode,
|
|
|
or_remark, Othreceipts.companyId, Othreceipts.updaterId, Othreceipts.updatedate, or_text1,
|
|
|
- or_text2, or_text3, or_text4, or_text5, othreceipts.creatorName, othreceipts.createTime, or_auditman, or_auditdate
|
|
|
+ or_text2, or_text3, or_text4, or_text5, othreceipts.creatorName, othreceipts.createTime, or_auditman, or_auditdate,or_currency,or_rate
|
|
|
</sql>
|
|
|
<sql id="Detail_Column_List" >
|
|
|
ord_type,ord_nowbalance,ord_remark
|
|
|
@@ -142,6 +144,12 @@
|
|
|
<if test="createTime != null" >
|
|
|
createTime,
|
|
|
</if>
|
|
|
+ <if test="or_currency != null" >
|
|
|
+ or_currency,
|
|
|
+ </if>
|
|
|
+ <if test="or_rate != null" >
|
|
|
+ or_rate,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="or_code != null" >
|
|
|
@@ -207,6 +215,12 @@
|
|
|
<if test="createTime != null" >
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="or_currency != null" >
|
|
|
+ #{or_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="or_rate != null" >
|
|
|
+ #{or_rate,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<selectKey resultType="Long" keyProperty="id" order="AFTER">
|
|
|
SELECT LAST_INSERT_ID()
|
|
|
@@ -272,6 +286,12 @@
|
|
|
<if test="or_text5 != null" >
|
|
|
or_text5 = #{or_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="or_currency != null" >
|
|
|
+ or_currency = #{or_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="or_rate != null" >
|
|
|
+ or_rate = #{or_rate,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
or_auditman = #{or_auditman,jdbcType=VARCHAR},
|
|
|
or_auditdate = #{or_auditdate,jdbcType=TIMESTAMP}
|
|
|
</set>
|