Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
cec4142b
Commit
cec4142b
authored
Aug 29, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
年终奖扣税计算修改
parent
446a8a47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
TStatisticsDeclarerServiceImpl.java
...u/salary/service/impl/TStatisticsDeclarerServiceImpl.java
+6
-13
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TStatisticsDeclarerServiceImpl.java
View file @
cec4142b
...
@@ -149,20 +149,13 @@ public class TStatisticsDeclarerServiceImpl extends ServiceImpl<TStatisticsDecla
...
@@ -149,20 +149,13 @@ public class TStatisticsDeclarerServiceImpl extends ServiceImpl<TStatisticsDecla
@Override
@Override
public
R
updateFlagById
(
String
id
,
String
isDeclare
,
String
undeclareReason
)
{
public
R
updateFlagById
(
String
id
,
String
isDeclare
,
String
undeclareReason
)
{
TStatisticsDeclarer
declarerInfo
=
baseMapper
.
selectById
(
id
);
TStatisticsDeclarer
tStatisticsDeclarer
=
baseMapper
.
selectById
(
id
);
//根据身份证号,姓名和申报月份查找申报人员
if
(
Common
.
isNotNull
(
tStatisticsDeclarer
))
{
List
<
TStatisticsDeclarer
>
declarerList
=
baseMapper
.
selectList
(
Wrappers
.<
TStatisticsDeclarer
>
query
().
lambda
()
.
eq
(
TStatisticsDeclarer:
:
getEmpIdcard
,
declarerInfo
.
getEmpIdcard
())
.
eq
(
TStatisticsDeclarer:
:
getDeclareMonth
,
declarerInfo
.
getDeclareMonth
())
.
eq
(
TStatisticsDeclarer:
:
getEmpName
,
declarerInfo
.
getEmpName
()));
if
(
Common
.
isNotNull
(
declarerList
))
{
for
(
TStatisticsDeclarer
tStatisticsDeclarer:
declarerList
)
{
tStatisticsDeclarer
.
setIsDeclare
(
isDeclare
);
tStatisticsDeclarer
.
setIsDeclare
(
isDeclare
);
if
(
Common
.
isNotNull
(
undeclareReason
))
{
if
(
Common
.
isNotNull
(
undeclareReason
))
{
tStatisticsDeclarer
.
setUndeclareReason
(
undeclareReason
);
tStatisticsDeclarer
.
setUndeclareReason
(
undeclareReason
);
}
}
baseMapper
.
updateById
(
tStatisticsDeclarer
);
baseMapper
.
updateById
(
tStatisticsDeclarer
);
}
return
R
.
ok
();
return
R
.
ok
();
}
}
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
...
...
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