Commit 16d23c62 authored by hongguangwu's avatar hongguangwu

30号版本:档案合同、商险、薪资状态;缴费库反馈列;合同提交的直接审核优化等

parent fc43c213
...@@ -2393,4 +2393,61 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T ...@@ -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();
}
} }
...@@ -1352,4 +1352,62 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -1352,4 +1352,62 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
} }
return true; 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();
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment