Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-finance
Commits
410aeff1
Commit
410aeff1
authored
Sep 11, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提现接口添加字段:提现单号
parent
31c09a14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
TabCashWithdrawal.java
...c/main/java/com/gic/finance/entity/TabCashWithdrawal.java
+13
-0
TabCashWithdrawalMapper.xml
...ice/src/main/resources/mapper/TabCashWithdrawalMapper.xml
+16
-4
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/entity/TabCashWithdrawal.java
View file @
410aeff1
...
...
@@ -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
gic-platform-finance-service/src/main/resources/mapper/TabCashWithdrawalMapper.xml
View file @
410aeff1
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment