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
16d23c62
Commit
16d23c62
authored
Nov 28, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
30号版本:档案合同、商险、薪资状态;缴费库反馈列;合同提交的直接审核优化等
parent
fc43c213
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
115 additions
and
0 deletions
+115
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+57
-0
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+58
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
16d23c62
...
...
@@ -2393,4 +2393,61 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
}
/**
* @Description: 更新人员档案的商险状态
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
Boolean
updateEmployeeInfoInsuranceStatus
(
EmpStatusVo
vo
)
{
if
(
Common
.
isEmpty
(
vo
)
||
null
==
vo
.
getEmpInfo
()
||
vo
.
getEmpInfo
().
isEmpty
()){
return
false
;
}
for
(
EmpIdCardAndDeptVo
emp
:
vo
.
getEmpInfo
())
{
baseMapper
.
updateEmployeeInfoInsuranceStatus
(
emp
);
}
return
true
;
}
/**
* @Description: 更新人员档案的薪资状态
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
Boolean
updateEmployeeInfoSalaryStatus
(
EmpStatusVo
vo
)
{
if
(
Common
.
isEmpty
(
vo
)
||
null
==
vo
.
getEmpInfo
()
||
vo
.
getEmpInfo
().
isEmpty
()){
return
false
;
}
for
(
EmpIdCardAndDeptVo
emp
:
vo
.
getEmpInfo
())
{
baseMapper
.
updateEmployeeInfoSalaryStatus
(
emp
);
}
return
true
;
}
/**
* @Description: 每月1号更新人员档案、项目档案的薪资状态
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
void
everyMonthUpdateSalaryStatus
()
{
baseMapper
.
everyMonthUpdateEmployeeInfoSalaryStatus
();
tEmployeeProjectService
.
everyMonthUpdateEmployeeSalaryStatus
();
}
/**
* @Description: 每天更新人员档案、项目档案的过期合同为2不在用
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
void
everyDayUpdateEmployeeContractStatus
()
{
baseMapper
.
everyDayUpdateEmployeeInfoContractStatus
();
tEmployeeProjectService
.
everyDayUpdateEmployeContractStatus
();
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
16d23c62
...
...
@@ -1352,4 +1352,62 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
}
return
true
;
}
/**
* @Description: 更新人员、项目档案的商险状态
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
Boolean
updateEmployeeInsuranceStatus
(
EmpStatusVo
vo
)
{
if
(
Common
.
isEmpty
(
vo
)
||
null
==
vo
.
getEmpInfo
()
||
vo
.
getEmpInfo
().
isEmpty
()){
return
false
;
}
for
(
EmpIdCardAndDeptVo
emp
:
vo
.
getEmpInfo
())
{
baseMapper
.
updateEmployeeInsuranceStatus
(
emp
);
tEmployeeInfoMapper
.
updateEmployeeInfoInsuranceStatus
(
emp
);
}
return
true
;
}
/**
* @Description: 更新人员、项目档案的商险状态
* @Author: hgw
* @Date: 2022/11/23 17:45
* @return: java.lang.Boolean
**/
@Override
public
Boolean
updateEmployeeSalaryStatus
(
EmpStatusVo
vo
)
{
if
(
Common
.
isEmpty
(
vo
)
||
null
==
vo
.
getEmpInfo
()
||
vo
.
getEmpInfo
().
isEmpty
()){
return
false
;
}
for
(
EmpIdCardAndDeptVo
emp
:
vo
.
getEmpInfo
())
{
baseMapper
.
updateEmployeeSalaryStatus
(
emp
);
tEmployeeInfoMapper
.
updateEmployeeInfoSalaryStatus
(
emp
);
}
return
true
;
}
/**
* @Description: everyMonthUpdateEmployeeSalaryStatus
* @Author: hgw
* @Date: 2022/11/24 14:56
* @return: void
**/
@Override
public
void
everyMonthUpdateEmployeeSalaryStatus
()
{
baseMapper
.
everyMonthUpdateEmployeeSalaryStatus
();
}
/**
* @Description: 每天更新人员档案、项目档案的过期合同为2不在用
* @Author: hgw
* @Date: 2022/11/24 14:56
* @return: void
**/
@Override
public
void
everyDayUpdateEmployeContractStatus
()
{
baseMapper
.
everyDayUpdateEmployeContractStatus
();
}
}
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