|
@@ -154,6 +154,7 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
|
String procDefId = map.get("id")+"";
|
|
|
|
|
|
report.setProcessDefinitionId(procDefId);
|
|
|
+ report.setProcessType("0");
|
|
|
mapper.insert(report);
|
|
|
|
|
|
Map<String ,Map<String,String >> allMap = new HashMap<>();
|
|
@@ -465,7 +466,17 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
|
}
|
|
|
|
|
|
public void updateStatusById(EnrollmentRegistration dto) {
|
|
|
+ EnrollmentRegistration registration = mapper.getById(dto.getId());
|
|
|
mapper.updateStatusById(dto.getId(), dto.getType());
|
|
|
+ //判断流程的类型 是入职登记流程 还是 个人信息完善流程
|
|
|
+ if (StringUtils.isNotBlank(registration.getProcessType()) && registration.getProcessType().equals("0")) {
|
|
|
+ //说明是入职登记流程 这时删除入职登记相关信息
|
|
|
+ mapper.deleteByIdOnPhysic(dto.getId());
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public String remove(String id) {
|