Commit ed43166d authored by huyuchen's avatar huyuchen

huych-入职登记商险待办提交

parent b97e0ec7
......@@ -8379,7 +8379,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if (null != insurancePreId) {
pre = employeeInsurancePreMapper.selectOne(Wrappers.<TEmployeeInsurancePre>query().lambda()
.eq(TEmployeeInsurancePre::getId,insurancePreId)
.in(TEmployeeInsurancePre::getProcessStatus,CommonConstants.processStatus)
.in(TEmployeeInsurancePre::getProcessStatus,Stream.of("0","1","5").collect(Collectors.toList()))
.last(CommonConstants.LAST_ONE_SQL));
} else {
pre = employeeInsurancePreMapper.selectOne(Wrappers.<TEmployeeInsurancePre>query().lambda()
......@@ -8390,7 +8390,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
.eq(TEmployeeInsurancePre::getInsuranceCompanyName, insuranceDetail.getInsuranceCompanyName())
.eq(TEmployeeInsurancePre::getPolicyStart, insuranceDetail.getPolicyStart())
.eq(TEmployeeInsurancePre::getPolicyEnd, insuranceDetail.getPolicyEnd())
.in(TEmployeeInsurancePre::getProcessStatus, CommonConstants.processStatus)
.in(TEmployeeInsurancePre::getProcessStatus, Stream.of("0","1","5").collect(Collectors.toList()))
.last(CommonConstants.LAST_ONE_SQL));
}
if (Common.isNotNull(pre)) {
......
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