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
09bff95a
Commit
09bff95a
authored
Jun 27, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
82334943
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+22
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
09bff95a
...
@@ -516,7 +516,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -516,7 +516,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
}
}
}
else
{
}
else
{
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
this
.
judgeAuditStatus
1
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
}
}
...
@@ -1306,8 +1306,28 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1306,8 +1306,28 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
&&
Common
.
isNotNull
(
insert
.
getChangeContractAndEmployee
())
&&
Common
.
isNotNull
(
insert
.
getChangeContractAndEmployee
())
&&
CommonConstants
.
ZERO_STRING
.
equals
(
insert
.
getChangeContractAndEmployee
()))
{
&&
CommonConstants
.
ZERO_STRING
.
equals
(
insert
.
getChangeContractAndEmployee
()))
{
changeStatus
(
insert
,
user
);
changeStatus
(
insert
,
user
);
baseMapper
.
updateById
(
insert
);
}
}
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