Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
02cbfe45
Commit
02cbfe45
authored
Jan 19, 2021
by
leialin
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
7a62f347
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
+23
-23
No files found.
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
View file @
02cbfe45
...
@@ -3395,25 +3395,25 @@ public class SalaryManagementController {
...
@@ -3395,25 +3395,25 @@ public class SalaryManagementController {
XcglAssoZxfjkc
xcglas
=
XcglAssoZxfjkc
.
builder
().
build
();
XcglAssoZxfjkc
xcglas
=
XcglAssoZxfjkc
.
builder
().
build
();
xcglas
.
setUserid
(
ygl
.
getEmpNum
());
xcglas
.
setUserid
(
ygl
.
getEmpNum
());
xcglas
.
setTaxmonth
(
date
);
xcglas
.
setTaxmonth
(
date
);
xcglas
.
setChildrenedu
(
Double
.
valueOf
(
spec
.
getZljy
()));
//子女教育
xcglas
.
setChildrenedu
(
spec
.
getZljy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZljy
()));
//子女教育
xcglas
.
setHouseloans
(
Double
.
valueOf
(
spec
.
getZfdk
()));
//住房贷款利息
xcglas
.
setHouseloans
(
spec
.
getZfdk
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfdk
()));
//住房贷款利息
xcglas
.
setHouserents
(
Double
.
valueOf
(
spec
.
getZfzj
()));
//住房租金
xcglas
.
setHouserents
(
spec
.
getZfzj
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfzj
()));
//住房租金
xcglas
.
setSupportolder
(
Double
.
valueOf
(
spec
.
getSylr
()));
//赡养老人
xcglas
.
setSupportolder
(
spec
.
getSylr
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getSylr
()));
//赡养老人
xcglas
.
setContinueedu
(
Double
.
valueOf
(
spec
.
getJxjy
()));
//继续教育
xcglas
.
setContinueedu
(
spec
.
getJxjy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getJxjy
()));
//继续教育
BigDecimal
num1
=
new
BigDecimal
(
spec
.
getZljy
());
BigDecimal
num1
=
new
BigDecimal
(
spec
.
getZljy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZljy
())
);
BigDecimal
num2
=
new
BigDecimal
(
spec
.
getZfdk
());
BigDecimal
num2
=
new
BigDecimal
(
spec
.
getZfdk
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfdk
())
);
double
result1
=
num1
.
add
(
num2
).
doubleValue
();
double
result1
=
num1
.
add
(
num2
).
doubleValue
();
BigDecimal
num3
=
new
BigDecimal
(
result1
);
BigDecimal
num3
=
new
BigDecimal
(
result1
);
BigDecimal
num4
=
new
BigDecimal
(
spec
.
getZfzj
());
BigDecimal
num4
=
new
BigDecimal
(
spec
.
getZfzj
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfzj
())
);
double
result2
=
num3
.
add
(
num4
).
doubleValue
();
double
result2
=
num3
.
add
(
num4
).
doubleValue
();
BigDecimal
num5
=
new
BigDecimal
(
result2
);
BigDecimal
num5
=
new
BigDecimal
(
result2
);
BigDecimal
num6
=
new
BigDecimal
(
spec
.
getSylr
());
BigDecimal
num6
=
new
BigDecimal
(
spec
.
getSylr
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getSylr
())
);
double
result3
=
num5
.
add
(
num6
).
doubleValue
();
double
result3
=
num5
.
add
(
num6
).
doubleValue
();
BigDecimal
num7
=
new
BigDecimal
(
result3
);
BigDecimal
num7
=
new
BigDecimal
(
result3
);
BigDecimal
num8
=
new
BigDecimal
(
spec
.
getJxjy
());
BigDecimal
num8
=
new
BigDecimal
(
spec
.
getJxjy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getJxjy
())
);
double
result
=
num7
.
add
(
num8
).
doubleValue
();
double
result
=
num7
.
add
(
num8
).
doubleValue
();
xcglas
.
setTotalmoney
(
result
);
//累计专项附加扣除
xcglas
.
setTotalmoney
(
result
);
//累计专项附加扣除
...
@@ -3424,25 +3424,25 @@ public class SalaryManagementController {
...
@@ -3424,25 +3424,25 @@ public class SalaryManagementController {
}
else
{
}
else
{
XcglAssoZxfjkc
fjkc
=
XcglAssoZxfjkc
.
builder
().
build
();
XcglAssoZxfjkc
fjkc
=
XcglAssoZxfjkc
.
builder
().
build
();
fjkc
.
setId
(
xcg
.
getId
());
fjkc
.
setId
(
xcg
.
getId
());
fjkc
.
setChildrenedu
(
Double
.
valueOf
(
spec
.
getZljy
()));
//子女教育
fjkc
.
setChildrenedu
(
spec
.
getZljy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZljy
()));
//子女教育
fjkc
.
setHouseloans
(
Double
.
valueOf
(
spec
.
getZfdk
()));
//住房贷款利息
fjkc
.
setHouseloans
(
spec
.
getZfdk
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfdk
()));
//住房贷款利息
fjkc
.
setHouserents
(
Double
.
valueOf
(
spec
.
getZfzj
()));
//住房租金
fjkc
.
setHouserents
(
spec
.
getZfzj
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfzj
()));
//住房租金
fjkc
.
setSupportolder
(
Double
.
valueOf
(
spec
.
getSylr
()));
//赡养老人
fjkc
.
setSupportolder
(
spec
.
getSylr
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getSylr
()));
//赡养老人
fjkc
.
setContinueedu
(
Double
.
valueOf
(
spec
.
getJxjy
()));
//继续教育
fjkc
.
setContinueedu
(
spec
.
getJxjy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getJxjy
()));
//继续教育
BigDecimal
num1
=
new
BigDecimal
(
Double
.
valueOf
(
spec
.
getZljy
()));
BigDecimal
num1
=
new
BigDecimal
(
spec
.
getZljy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZljy
()));
BigDecimal
num2
=
new
BigDecimal
(
Double
.
valueOf
(
spec
.
getZfdk
()));
BigDecimal
num2
=
new
BigDecimal
(
spec
.
getZfdk
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfdk
()));
double
result1
=
num1
.
add
(
num2
).
doubleValue
();
double
result1
=
num1
.
add
(
num2
).
doubleValue
();
BigDecimal
num3
=
new
BigDecimal
(
result1
);
BigDecimal
num3
=
new
BigDecimal
(
result1
);
BigDecimal
num4
=
new
BigDecimal
(
Double
.
valueOf
(
spec
.
getZfzj
()));
BigDecimal
num4
=
new
BigDecimal
(
spec
.
getZfzj
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getZfzj
()));
double
result2
=
num3
.
add
(
num4
).
doubleValue
();
double
result2
=
num3
.
add
(
num4
).
doubleValue
();
BigDecimal
num5
=
new
BigDecimal
(
result2
);
BigDecimal
num5
=
new
BigDecimal
(
result2
);
BigDecimal
num6
=
new
BigDecimal
(
Double
.
valueOf
(
spec
.
getSylr
()));
BigDecimal
num6
=
new
BigDecimal
(
spec
.
getSylr
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getSylr
()));
double
result3
=
num5
.
add
(
num6
).
doubleValue
();
double
result3
=
num5
.
add
(
num6
).
doubleValue
();
BigDecimal
num7
=
new
BigDecimal
(
result3
);
BigDecimal
num7
=
new
BigDecimal
(
result3
);
BigDecimal
num8
=
new
BigDecimal
(
Double
.
valueOf
(
spec
.
getJxjy
()));
BigDecimal
num8
=
new
BigDecimal
(
spec
.
getJxjy
()
==
null
?
0
:
Double
.
valueOf
(
spec
.
getJxjy
()));
double
result
=
num7
.
add
(
num8
).
doubleValue
();
double
result
=
num7
.
add
(
num8
).
doubleValue
();
fjkc
.
setTotalmoney
(
Double
.
valueOf
(
result
));
//累计专项附加扣除
fjkc
.
setTotalmoney
(
Double
.
valueOf
(
result
));
//累计专项附加扣除
...
@@ -3453,7 +3453,7 @@ public class SalaryManagementController {
...
@@ -3453,7 +3453,7 @@ public class SalaryManagementController {
// e.printStackTrace();
// e.printStackTrace();
failure
++;
failure
++;
map
.
put
(
"name"
,
name
);
map
.
put
(
"name"
,
name
);
map
.
put
(
"msg"
,
StringUtils
.
isBlank
(
e
.
getMessage
())
?
"用户信息错误"
:
e
.
getMessage
());
map
.
put
(
"msg"
,
StringUtils
.
isBlank
(
e
.
getMessage
())
?
"用户信息错误
(例如:电话号码不正确等)
"
:
e
.
getMessage
());
}
finally
{
}
finally
{
if
(!
map
.
isEmpty
())
{
if
(!
map
.
isEmpty
())
{
reasons
.
add
(
map
);
reasons
.
add
(
map
);
...
...
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