Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
84820006
Commit
84820006
authored
4 years ago
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmp收入
parent
da158cd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
DmpIncomeServiceImpl.java
src/main/java/common/service/impl/DmpIncomeServiceImpl.java
+3
-3
No files found.
src/main/java/common/service/impl/DmpIncomeServiceImpl.java
View file @
84820006
...
@@ -449,9 +449,9 @@ public class DmpIncomeServiceImpl implements DmpIncomeService {
...
@@ -449,9 +449,9 @@ public class DmpIncomeServiceImpl implements DmpIncomeService {
if
(
StringUtils
.
isEmpty
(
income
.
getContractCode
()))
{
if
(
StringUtils
.
isEmpty
(
income
.
getContractCode
()))
{
return
null
;
return
null
;
}
}
Double
drate
=
StringUtils
.
isEmpty
(
income
.
getTaxRate
())
?
0
:
Double
.
parseDouble
(
income
.
getTaxRate
());
Double
taxRate
=
new
BigDecimal
(
income
.
getTaxRate
()
).
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
drate
=
new
BigDecimal
(
drate
*
100
).
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
income
.
setTaxRate
(
taxRate
*
100
+
"%"
);
income
.
setTaxRate
(
drate
+
"%"
);
if
(
StringUtils
.
isEmpty
(
income
.
getSysSettlement
()))
{
if
(
StringUtils
.
isEmpty
(
income
.
getSysSettlement
()))
{
income
.
setSysSettlement
(
"0"
);
income
.
setSysSettlement
(
"0"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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