Commit 410aeff1 by guojuxing

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

parent 31c09a14
...@@ -135,6 +135,10 @@ public class TabCashWithdrawal { ...@@ -135,6 +135,10 @@ public class TabCashWithdrawal {
* *
*/ */
private Date updateTime; private Date updateTime;
/**
* 提现单ID
*/
private String cashProvider;
public Integer getCashWithdrawalId() { public Integer getCashWithdrawalId() {
return cashWithdrawalId; return cashWithdrawalId;
...@@ -343,4 +347,12 @@ public class TabCashWithdrawal { ...@@ -343,4 +347,12 @@ public class TabCashWithdrawal {
public void setPayAccount(String payAccount) { public void setPayAccount(String payAccount) {
this.payAccount = 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 @@ ...@@ -28,6 +28,7 @@
<result column="pay_account_name" jdbcType="VARCHAR" property="payAccountName" /> <result column="pay_account_name" jdbcType="VARCHAR" property="payAccountName" />
<result column="pay_account_branch_name" jdbcType="VARCHAR" property="payAccountBranchName" /> <result column="pay_account_branch_name" jdbcType="VARCHAR" property="payAccountBranchName" />
<result column="pay_account_bank" jdbcType="VARCHAR" property="payAccountBank" /> <result column="pay_account_bank" jdbcType="VARCHAR" property="payAccountBank" />
<result column="cash_provider" jdbcType="VARCHAR" property="cashProvider" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
cash_withdrawal_id, cash_withdrawal_serial_number, apply_type, cash_withdrawal_amount, cash_withdrawal_id, cash_withdrawal_serial_number, apply_type, cash_withdrawal_amount,
...@@ -35,7 +36,7 @@ ...@@ -35,7 +36,7 @@
operator_phone, operator_phone_area_code, enterprise_id, bank_serial_number, receipt_name, 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, 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, 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> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select select
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
receipt_branch_name, receipt_bank, receipt_bank_account, receipt_branch_name, receipt_bank, receipt_bank_account,
pay_id, express_mail_name, express_mail_number, pay_id, express_mail_name, express_mail_number,
create_time, update_time, pay_account_name, pay_account_branch_name, 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}, values (#{cashWithdrawalId,jdbcType=INTEGER}, #{cashWithdrawalSerialNumber,jdbcType=VARCHAR},
#{applyType,jdbcType=INTEGER}, #{cashWithdrawalAmount,jdbcType=DOUBLE}, #{cashWithdrawalStatus,jdbcType=INTEGER}, #{applyType,jdbcType=INTEGER}, #{cashWithdrawalAmount,jdbcType=DOUBLE}, #{cashWithdrawalStatus,jdbcType=INTEGER},
#{rejectReason,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR}, #{operatorName,jdbcType=VARCHAR}, #{rejectReason,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR}, #{operatorName,jdbcType=VARCHAR},
...@@ -65,7 +66,8 @@ ...@@ -65,7 +66,8 @@
#{receiptBranchName,jdbcType=VARCHAR}, #{receiptBank,jdbcType=VARCHAR}, #{receiptBankAccount,jdbcType=VARCHAR}, #{receiptBranchName,jdbcType=VARCHAR}, #{receiptBank,jdbcType=VARCHAR}, #{receiptBankAccount,jdbcType=VARCHAR},
#{payId,jdbcType=INTEGER}, #{expressMailName,jdbcType=VARCHAR}, #{expressMailNumber,jdbcType=VARCHAR}, #{payId,jdbcType=INTEGER}, #{expressMailName,jdbcType=VARCHAR}, #{expressMailNumber,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{payAccountName,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>
<insert id="insertSelective" parameterType="com.gic.finance.entity.TabCashWithdrawal"> <insert id="insertSelective" parameterType="com.gic.finance.entity.TabCashWithdrawal">
insert into tab_cash_withdrawal insert into tab_cash_withdrawal
...@@ -148,6 +150,9 @@ ...@@ -148,6 +150,9 @@
<if test="payAccount != null"> <if test="payAccount != null">
pay_account, pay_account,
</if> </if>
<if test="cashProvider != null">
cash_provider,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="cashWithdrawalId != null"> <if test="cashWithdrawalId != null">
...@@ -228,6 +233,9 @@ ...@@ -228,6 +233,9 @@
<if test="payAccount != null"> <if test="payAccount != null">
#{payAccount,jdbcType=VARCHAR}, #{payAccount,jdbcType=VARCHAR},
</if> </if>
<if test="cashProvider != null">
#{cashProvider,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.finance.entity.TabCashWithdrawal"> <update id="updateByPrimaryKeySelective" parameterType="com.gic.finance.entity.TabCashWithdrawal">
...@@ -308,6 +316,9 @@ ...@@ -308,6 +316,9 @@
<if test="payAccount != null"> <if test="payAccount != null">
pay_account = #{payAccount,jdbcType=VARCHAR}, pay_account = #{payAccount,jdbcType=VARCHAR},
</if> </if>
<if test="cashProvider != null">
cash_provider = #{cashProvider,jdbcType=VARCHAR},
</if>
</set> </set>
where cash_withdrawal_id = #{cashWithdrawalId,jdbcType=INTEGER} where cash_withdrawal_id = #{cashWithdrawalId,jdbcType=INTEGER}
</update> </update>
...@@ -337,7 +348,8 @@ ...@@ -337,7 +348,8 @@
pay_account_name = #{payAccountName,jdbcType=VARCHAR}, pay_account_name = #{payAccountName,jdbcType=VARCHAR},
pay_account_branch_name = #{payAccountBranchName,jdbcType=VARCHAR}, pay_account_branch_name = #{payAccountBranchName,jdbcType=VARCHAR},
pay_account_bank = #{payAccountBank,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} where cash_withdrawal_id = #{cashWithdrawalId,jdbcType=INTEGER}
</update> </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