Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
D
data-server
Project
Project
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
licc
data-server
Commits
b1466193
Commit
b1466193
authored
Mar 17, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增扣税说明
parent
19341156
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
TaxRateVo.java
...-model/src/main/java/cn/wisenergy/model/vo/TaxRateVo.java
+8
-1
BankServiceImpl.java
...n/java/cn/wisenergy/service/app/impl/BankServiceImpl.java
+1
-0
No files found.
wisenergy-model/src/main/java/cn/wisenergy/model/vo/TaxRateVo.java
View file @
b1466193
...
...
@@ -12,7 +12,7 @@ import lombok.Data;
*/
@Data
@ApiModel
(
"TaxRateVo"
)
public
class
TaxRateVo
{
public
class
TaxRateVo
{
/**
* 实际金额
*/
...
...
@@ -24,4 +24,11 @@ public class TaxRateVo {
*/
@ApiModelProperty
(
value
=
"税款金额"
,
name
=
"taxMoney"
)
private
Double
taxMoney
;
/**
* 扣税说明
*/
@ApiModelProperty
(
value
=
"扣税说明"
,
name
=
"taxDesc"
)
private
String
taxDesc
;
}
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/BankServiceImpl.java
View file @
b1466193
...
...
@@ -212,6 +212,7 @@ public class BankServiceImpl extends ServiceImpl<BankInfoMapper, BankInfo> imple
Double
actualMoney
=
money
-
taxMoney
;
taxRateVo
.
setActualMoney
(
actualMoney
);
taxRateVo
.
setTaxMoney
(
taxMoney
);
taxRateVo
.
setTaxDesc
(
"提现时系统自动扣除2%个人所得税,剩余税费由平台替缴。"
);
return
R
.
ok
(
taxRateVo
);
}
}
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