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
aab3f36b
Commit
aab3f36b
authored
Jun 28, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
09bff95a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
22 deletions
+2
-22
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+2
-22
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
aab3f36b
...
...
@@ -489,6 +489,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
//如果是否同步终止合同、减项、减档为是则生成同步任务处理清单
//增加任务处理情况查询表数据
...
...
@@ -516,7 +517,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
}
}
else
{
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
1
(
tEmployeeContractInfo
,
user
);
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
}
...
...
@@ -1307,27 +1308,6 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
&&
CommonConstants
.
ZERO_STRING
.
equals
(
insert
.
getChangeContractAndEmployee
()))
{
changeStatus
(
insert
,
user
);
}
baseMapper
.
updateById
(
insert
);
}
}
}
}
private
void
judgeAuditStatus1
(
TEmployeeContractInfo
insert
,
YifuUser
user
)
{
if
(
insert
.
getAuditStatus
()
==
CommonConstants
.
ONE_INT
&&
(
EmployeeConstants
.
CONTRACT_NAME
[
0
].
equals
(
insert
.
getContractName
())
||
EmployeeConstants
.
CONTRACT_NAME
[
1
].
equals
(
insert
.
getContractName
())
||
EmployeeConstants
.
CONTRACT_NAME
[
2
].
equals
(
insert
.
getContractName
())))
{
TSocialFundInfo
sf
=
new
TSocialFundInfo
();
sf
.
setEmpIdcard
(
insert
.
getEmpIdcard
());
sf
.
setSettleDomain
(
insert
.
getSettleDomain
());
if
(!(
"合同未到期重新签订"
).
equals
(
insert
.
getSituation
())&&!(
"正常续签"
).
equals
(
insert
.
getSituation
())
&&!(
"离职再入职"
).
equals
(
insert
.
getSituation
())
&&!(
"商务合同更改"
).
equals
(
insert
.
getSituation
()))
{
R
<
Integer
>
socialFundR
=
HttpDaprUtil
.
invokeMethodPost
(
socialProperties
.
getAppUrl
(),
socialProperties
.
getAppId
()
,
"/tsocialfundinfo/inner/selectSocialFoundByContract"
,
sf
,
Integer
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
socialFundR
!=
null
&&
socialFundR
.
getData
()
!=
null
&&
socialFundR
.
getData
()
>
0
)
{
insert
.
setAuditStatus
(
CommonConstants
.
TWO_INT
);
insert
.
setAuditUserName
(
user
.
getNickname
());
}
}
}
...
...
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