Commit ae16107d authored by hongguangwu's avatar hongguangwu

1.7.21-离职确认

parent cc91e9a2
...@@ -776,7 +776,7 @@ public class ArchivesDaprUtil { ...@@ -776,7 +776,7 @@ public class ArchivesDaprUtil {
public R<Boolean> leaveToUpdateInfoByCardAndDeptNo(BaseSearchVO paramVo){ public R<Boolean> leaveToUpdateInfoByCardAndDeptNo(BaseSearchVO paramVo){
R<Boolean> res = HttpDaprUtil.invokeMethodPost( R<Boolean> res = HttpDaprUtil.invokeMethodPost(
daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId() daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId()
,"/temployeecontractpre/inner/leaveToUpdateInfoByCardAndDeptNo" ,"/employeeregistrationpre/inner/leaveToUpdateInfoByCardAndDeptNo"
, paramVo, Boolean.class, SecurityConstants.FROM_IN); , paramVo, Boolean.class, SecurityConstants.FROM_IN);
if (Common.isEmpty(res)){ if (Common.isEmpty(res)){
return R.failed("离职确认更新自动化的信息失败!"); return R.failed("离职确认更新自动化的信息失败!");
......
...@@ -904,7 +904,6 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe ...@@ -904,7 +904,6 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
} }
// 如果没有处理中的数据,则将待办状态改为"已确认离职" // 如果没有处理中的数据,则将待办状态改为"已确认离职"
doUpdateAutoInfo(registrationOld.getEmpIdcard(), registrationOld.getDeptNo(), user.getId(), user.getNickname()); doUpdateAutoInfo(registrationOld.getEmpIdcard(), registrationOld.getDeptNo(), user.getId(), user.getNickname());
// TODO - 批量确认接口也要做这些,但是,不是直接拒绝,而是反馈成功与失败的,除非全部失败才拒绝
this.updateById(leave); this.updateById(leave);
......
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