|
|
@@ -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},
|
|
|
@@ -635,7 +592,7 @@
|
|
|
<!-- 银行账户-->
|
|
|
<sql id="Bank_Column_List" >
|
|
|
bk_id, bk_bankcode, bk_bankname, bk_date, bk_type, bk_beginamount, bk_thisamount,
|
|
|
- bk_status, bk_statuscode, bk_recorderid, bk_recorder, bk_recorddate, bk_ym, companyid,
|
|
|
+ bk_status, bk_statuscode, bk_ym, companyid,
|
|
|
updaterId, updateTime, bk_text1, bk_text2, bk_text3, bk_text4, bk_text5, bk_remark,bk_spending,bk_income
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List" >
|
|
|
@@ -662,9 +619,6 @@
|
|
|
<result column="bk_thisamount" property="bk_thisamount" jdbcType="DOUBLE" />
|
|
|
<result column="bk_status" property="bk_status" jdbcType="VARCHAR" />
|
|
|
<result column="bk_statuscode" property="bk_statuscode" jdbcType="VARCHAR" />
|
|
|
- <result column="bk_recorderid" property="bk_recorderid" jdbcType="INTEGER" />
|
|
|
- <result column="bk_recorder" property="bk_recorder" jdbcType="VARCHAR" />
|
|
|
- <result column="bk_recorddate" property="bk_recorddate" jdbcType="TIMESTAMP" />
|
|
|
<result column="bk_ym" property="bk_ym" jdbcType="INTEGER" />
|
|
|
<result column="companyid" property="companyId" jdbcType="INTEGER" />
|
|
|
<result column="updaterId" property="updaterId" jdbcType="INTEGER" />
|
|
|
@@ -705,15 +659,6 @@
|
|
|
<if test="bk_statuscode != null" >
|
|
|
bk_statuscode = #{bk_statuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="bk_recorderid != null" >
|
|
|
- bk_recorderid = #{bk_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="bk_recorder != null" >
|
|
|
- bk_recorder = #{bk_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="bk_recorddate != null" >
|
|
|
- bk_recorddate = #{bk_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
<if test="bk_ym != null" >
|
|
|
bk_ym = #{bk_ym,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -772,9 +717,6 @@
|
|
|
<result column="cu_credit" jdbcType="DOUBLE" property="cu_credit" />
|
|
|
<result column="cu_status" jdbcType="VARCHAR" property="cu_status" />
|
|
|
<result column="cu_statuscode" jdbcType="VARCHAR" property="cu_statuscode" />
|
|
|
- <result column="cu_recordmanid" jdbcType="INTEGER" property="cu_recordmanid" />
|
|
|
- <result column="cu_recordman" jdbcType="VARCHAR" property="cu_recordman" />
|
|
|
- <result column="cu_recorddate" jdbcType="TIMESTAMP" property="cu_recorddate" />
|
|
|
<result column="companyid" jdbcType="INTEGER" property="companyId" />
|
|
|
<result column="updaterid" jdbcType="INTEGER" property="updaterId" />
|
|
|
<result column="updatetime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
@@ -789,7 +731,7 @@
|
|
|
<sql id="Customer_Column_List">
|
|
|
cu_id, cu_code, cu_name, cu_uu, cu_type, cu_begindate, cu_beginaramount, cu_beginprerecamount,
|
|
|
cu_promisedays, cu_taxrate, cu_sellerid, cu_sellercode, cu_sellername, cu_credit,
|
|
|
- cu_status, cu_statuscode, cu_recordmanid, cu_recordman, cu_recorddate, companyid,
|
|
|
+ cu_status, cu_statuscode, companyid,
|
|
|
updaterid, updatetime, cu_text1, cu_text2, cu_text3, cu_text4, cu_text5, cu_leftamount,
|
|
|
cu_recamount,cu_preamount
|
|
|
</sql>
|
|
|
@@ -848,15 +790,6 @@
|
|
|
<if test="cu_statuscode != null">
|
|
|
cu_statuscode = #{cu_statuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cu_recordmanid != null">
|
|
|
- cu_recordmanid = #{cu_recordmanid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="cu_recordman != null">
|
|
|
- cu_recordman = #{cu_recordman,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="cu_recorddate != null">
|
|
|
- cu_recorddate = #{cu_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
<if test="companyId != null">
|
|
|
companyid = #{companyId,jdbcType=INTEGER},
|
|
|
</if>
|