Commit 38852b24 authored by fangxinjiang's avatar fangxinjiang

项目档案减项限制

parent 273d749e
......@@ -389,9 +389,18 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[1]) {
errorTemp.append("社保未派减、");
}
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[2]) {
errorTemp.append("社保部分购买、");
}
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[3]) {
errorTemp.append("社保正常缴纳、");
}
if (tEmployeeProject.getFundStatus() == CommonConstants.dingleDigitIntArray[1]) {
errorTemp.append("公积金未派减、");
}
if (tEmployeeProject.getFundStatus() == CommonConstants.dingleDigitIntArray[3]) {
errorTemp.append("公积金正常缴纳、");
}
// 未作废,在用 或 审核中
long contractCount = contractInfoMapper.selectCount(Wrappers.<TEmployeeContractInfo>query().lambda()
.eq(TEmployeeContractInfo::getEmpIdcard,tEmployeeProject.getEmpIdcard())
......@@ -582,9 +591,18 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[1]) {
errorTemp.append("社保未派减、");
}
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[2]) {
errorTemp.append("社保部分购买、");
}
if (tEmployeeProject.getSocialStatus() == CommonConstants.dingleDigitIntArray[3]) {
errorTemp.append("社保正常缴纳、");
}
if (tEmployeeProject.getFundStatus() == CommonConstants.dingleDigitIntArray[1]) {
errorTemp.append("公积金未派减、");
}
if (tEmployeeProject.getFundStatus() == CommonConstants.dingleDigitIntArray[3]) {
errorTemp.append("公积金正常缴纳、");
}
// 未作废,在用 或 审核中
contractCount = contractInfoMapper.selectCount(Wrappers.<TEmployeeContractInfo>query().lambda()
.eq(TEmployeeContractInfo::getEmpIdcard,tEmployeeProject.getEmpIdcard())
......
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