|
|
@@ -15,9 +15,6 @@
|
|
|
<result column="rb_preamount" jdbcType="DOUBLE" property="rb_preamount" />
|
|
|
<result column="rb_discounts" jdbcType="DOUBLE" property="rb_discounts" />
|
|
|
<result column="rb_havebalance" jdbcType="DOUBLE" property="rb_havebalance" />
|
|
|
- <result column="rb_recorderid" jdbcType="INTEGER" property="rb_recorderid" />
|
|
|
- <result column="rb_recorder" jdbcType="VARCHAR" property="rb_recorder" />
|
|
|
- <result column="rb_recorddate" jdbcType="TIMESTAMP" property="rb_recorddate" />
|
|
|
<result column="rb_status" jdbcType="VARCHAR" property="rb_status" />
|
|
|
<result column="rb_statuscode" jdbcType="VARCHAR" property="rb_statuscode" />
|
|
|
<result column="rb_remark" jdbcType="VARCHAR" property="rb_remark" />
|
|
|
@@ -105,8 +102,8 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
rb_id, rb_code, rb_kind, rb_date, rb_custid, rb_custcode, rb_custname, rb_manname,
|
|
|
- rb_rdamount, rb_rbdamount, rb_preamount, rb_discounts, rb_havebalance, rb_recorderid,
|
|
|
- rb_recorder, rb_recorddate, rb_status, rb_statuscode, rb_remark, recbalance.companyId,
|
|
|
+ rb_rdamount, rb_rbdamount, rb_preamount, rb_discounts, rb_havebalance, rb_status, rb_statuscode, rb_remark,
|
|
|
+ recbalance.companyId,
|
|
|
recbalance.updaterId,recbalance.updatedate, rb_text1, rb_text2, rb_text3, rb_text4, rb_text5,
|
|
|
recbalance.creatorName, recbalance.createTime, rb_auditman, rb_auditdate
|
|
|
</sql>
|
|
|
@@ -184,8 +181,7 @@
|
|
|
rb_date, rb_custid, rb_custcode,
|
|
|
rb_custname, rb_manname, rb_rdamount,
|
|
|
rb_rbdamount, rb_preamount, rb_discounts,
|
|
|
- rb_havebalance, rb_recorderid, rb_recorder,
|
|
|
- rb_recorddate, rb_status, rb_statuscode,
|
|
|
+ rb_havebalance, rb_status, rb_statuscode,
|
|
|
rb_remark, companyId, updaterId,
|
|
|
updatedate, rb_text1, rb_text2,
|
|
|
rb_text3, rb_text4, rb_text5
|
|
|
@@ -194,8 +190,7 @@
|
|
|
#{rb_date,jdbcType=TIMESTAMP}, #{rb_custid,jdbcType=INTEGER}, #{rb_custcode,jdbcType=VARCHAR},
|
|
|
#{rb_custname,jdbcType=VARCHAR}, #{rb_manname,jdbcType=VARCHAR}, #{rb_rdamount,jdbcType=DOUBLE},
|
|
|
#{rb_rbdamount,jdbcType=DOUBLE}, #{rb_preamount,jdbcType=DOUBLE}, #{rb_discounts,jdbcType=DOUBLE},
|
|
|
- #{rb_havebalance,jdbcType=DOUBLE}, #{rb_recorderid,jdbcType=INTEGER}, #{rb_recorder,jdbcType=VARCHAR},
|
|
|
- #{rb_recorddate,jdbcType=TIMESTAMP}, #{rb_status,jdbcType=INTEGER}, #{rb_statuscode,jdbcType=DECIMAL},
|
|
|
+ #{rb_havebalance,jdbcType=DOUBLE}, #{rb_status,jdbcType=INTEGER}, #{rb_statuscode,jdbcType=DECIMAL},
|
|
|
#{rb_remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{rb_text1,jdbcType=VARCHAR}, #{rb_text2,jdbcType=VARCHAR},
|
|
|
#{rb_text3,jdbcType=VARCHAR}, #{rb_text4,jdbcType=VARCHAR}, #{rb_text5,jdbcType=VARCHAR}
|
|
|
@@ -243,13 +238,6 @@
|
|
|
<if test="rb_havebalance != null">
|
|
|
rb_havebalance,
|
|
|
</if>
|
|
|
- <if test="rb_recorderid != null">
|
|
|
- rb_recorderid,
|
|
|
- </if>
|
|
|
- <if test="rb_recorder != null">
|
|
|
- rb_recorder,
|
|
|
- </if>
|
|
|
- rb_recorddate,
|
|
|
<if test="rb_status != null">
|
|
|
rb_status,
|
|
|
</if>
|
|
|
@@ -324,13 +312,6 @@
|
|
|
<if test="rb_havebalance != null">
|
|
|
#{rb_havebalance,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="rb_recorderid != null">
|
|
|
- #{rb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="rb_recorder != null">
|
|
|
- #{rb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- now(),
|
|
|
<if test="rb_status != null">
|
|
|
#{rb_status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -420,15 +401,6 @@
|
|
|
<if test="record.rb_havebalance != null">
|
|
|
rb_havebalance = #{record.rb_havebalance,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="record.rb_recorderid != null">
|
|
|
- rb_recorderid = #{record.rb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.rb_recorder != null">
|
|
|
- rb_recorder = #{record.rb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.rb_recorddate != null">
|
|
|
- rb_recorddate = #{record.rb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
<if test="record.rb_status != null">
|
|
|
rb_status = #{record.rb_status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -482,9 +454,6 @@
|
|
|
rb_preamount = #{record.rb_preamount,jdbcType=DOUBLE},
|
|
|
rb_discounts = #{record.rb_discounts,jdbcType=DOUBLE},
|
|
|
rb_havebalance = #{record.rb_havebalance,jdbcType=DOUBLE},
|
|
|
- rb_recorderid = #{record.rb_recorderid,jdbcType=INTEGER},
|
|
|
- rb_recorder = #{record.rb_recorder,jdbcType=VARCHAR},
|
|
|
- rb_recorddate = #{record.rb_recorddate,jdbcType=TIMESTAMP},
|
|
|
rb_status = #{record.rb_status,jdbcType=INTEGER},
|
|
|
rb_statuscode = #{record.rb_statuscode,jdbcType=DECIMAL},
|
|
|
rb_remark = #{record.rb_remark,jdbcType=VARCHAR},
|
|
|
@@ -539,15 +508,6 @@
|
|
|
<if test="rb_havebalance != null">
|
|
|
rb_havebalance = #{rb_havebalance,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="rb_recorderid != null">
|
|
|
- rb_recorderid = #{rb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="rb_recorder != null">
|
|
|
- rb_recorder = #{rb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="rb_recorddate != null">
|
|
|
- rb_recorddate = #{rb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
<if test="rb_status != null">
|
|
|
rb_status = #{rb_status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -601,9 +561,6 @@
|
|
|
rb_preamount = #{rb_preamount,jdbcType=DOUBLE},
|
|
|
rb_discounts = #{rb_discounts,jdbcType=DOUBLE},
|
|
|
rb_havebalance = #{rb_havebalance,jdbcType=DOUBLE},
|
|
|
- rb_recorderid = #{rb_recorderid,jdbcType=INTEGER},
|
|
|
- rb_recorder = #{rb_recorder,jdbcType=VARCHAR},
|
|
|
- rb_recorddate = #{rb_recorddate,jdbcType=TIMESTAMP},
|
|
|
rb_status = #{rb_status,jdbcType=INTEGER},
|
|
|
rb_statuscode = #{rb_statuscode,jdbcType=DECIMAL},
|
|
|
rb_remark = #{rb_remark,jdbcType=VARCHAR},
|