Commit 410aeff1 by guojuxing

提现接口添加字段:提现单号

parent 31c09a14
......@@ -135,6 +135,10 @@ public class TabCashWithdrawal {
*
*/
private Date updateTime;
/**
* 提现单ID
*/
private String cashProvider;
public Integer getCashWithdrawalId() {
return cashWithdrawalId;
......@@ -343,4 +347,12 @@ public class TabCashWithdrawal {
public void setPayAccount(String payAccount) {
this.payAccount = payAccount;
}
public String getCashProvider() {
return cashProvider;
}
public void setCashProvider(String cashProvider) {
this.cashProvider = cashProvider;
}
}
\ No newline at end of file
......@@ -28,6 +28,7 @@
<result column="pay_account_name" jdbcType="VARCHAR" property="payAccountName" />
<result column="pay_account_branch_name" jdbcType="VARCHAR" property="payAccountBranchName" />
<result column="pay_account_bank" jdbcType="VARCHAR" property="payAccountBank" />
<result column="cash_provider" jdbcType="VARCHAR" property="cashProvider" />
</resultMap>
<sql id="Base_Column_List">
cash_withdrawal_id, cash_withdrawal_serial_number, apply_type, cash_withdrawal_amount,
......@@ -35,7 +36,7 @@
operator_phone, operator_phone_area_code, enterprise_id, bank_serial_number, receipt_name,
receipt_branch_name, receipt_bank, receipt_bank_account, pay_id, express_mail_name,
express_mail_number, create_time, update_time, pay_account_name, pay_account_branch_name,
pay_account_bank, pay_account
pay_account_bank, pay_account, cash_provider
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
......@@ -56,7 +57,7 @@
receipt_branch_name, receipt_bank, receipt_bank_account,
pay_id, express_mail_name, express_mail_number,
create_time, update_time, pay_account_name, pay_account_branch_name,
pay_account_bank, pay_account)
pay_account_bank, pay_account, cash_provider)
values (#{cashWithdrawalId,jdbcType=INTEGER}, #{cashWithdrawalSerialNumber,jdbcType=VARCHAR},
#{applyType,jdbcType=INTEGER}, #{cashWithdrawalAmount,jdbcType=DOUBLE}, #{cashWithdrawalStatus,jdbcType=INTEGER},
#{rejectReason,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR}, #{operatorName,jdbcType=VARCHAR},
......@@ -65,7 +66,8 @@
#{receiptBranchName,jdbcType=VARCHAR}, #{receiptBank,jdbcType=VARCHAR}, #{receiptBankAccount,jdbcType=VARCHAR},
#{payId,jdbcType=INTEGER}, #{expressMailName,jdbcType=VARCHAR}, #{expressMailNumber,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{payAccountName,jdbcType=VARCHAR},
#{payAccountBranchName,jdbcType=VARCHAR}, #{payAccountBank,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR})
#{payAccountBranchName,jdbcType=VARCHAR}, #{payAccountBank,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR},
#{cashProvider,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gic.finance.entity.TabCashWithdrawal">
insert into tab_cash_withdrawal
......@@ -148,6 +150,9 @@
<if test="payAccount != null">
pay_account,
</if>
<if test="cashProvider != null">
cash_provider,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="cashWithdrawalId != null">
......@@ -228,6 +233,9 @@
<if test="payAccount != null">
#{payAccount,jdbcType=VARCHAR},
</if>
<if test="cashProvider != null">
#{cashProvider,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.finance.entity.TabCashWithdrawal">
......@@ -308,6 +316,9 @@
<if test="payAccount != null">
pay_account = #{payAccount,jdbcType=VARCHAR},
</if>
<if test="cashProvider != null">
cash_provider = #{cashProvider,jdbcType=VARCHAR},
</if>
</set>
where cash_withdrawal_id = #{cashWithdrawalId,jdbcType=INTEGER}
</update>
......@@ -337,7 +348,8 @@
pay_account_name = #{payAccountName,jdbcType=VARCHAR},
pay_account_branch_name = #{payAccountBranchName,jdbcType=VARCHAR},
pay_account_bank = #{payAccountBank,jdbcType=VARCHAR},
pay_account = #{payAccount,jdbcType=VARCHAR}
pay_account = #{payAccount,jdbcType=VARCHAR},
cash_provider = #{cashProvider,jdbcType=VARCHAR}
where cash_withdrawal_id = #{cashWithdrawalId,jdbcType=INTEGER}
</update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment