Commit 9f9ab895 authored by 赵啸非's avatar 赵啸非

修改考勤汇总

parent 98547f8a
...@@ -333,7 +333,9 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -333,7 +333,9 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
private void updateAppealResult(PerformInfo performInfo, PerformAttendAppealEntity entity) { private void updateAppealResult(PerformInfo performInfo, PerformAttendAppealEntity entity) {
if (!ObjectUtils.isEmpty(entity)) { if (!ObjectUtils.isEmpty(entity)) {
Boolean bool = entity.newEntity(); Boolean bool = entity.newEntity();
updateAppealStatus(performInfo, bool, entity.getProcessStatus(), entity.getAppealResult()); if (bool) {
performInfo.setAppealStatus(AppealStatusEnum.未申诉.getValue());
}else {
if (AppealResultEnum.通过.getValue() == entity.getAppealResult()) { if (AppealResultEnum.通过.getValue() == entity.getAppealResult()) {
performInfo.setAppealStatus(AppealStatusEnum.申诉通过.getValue()); performInfo.setAppealStatus(AppealStatusEnum.申诉通过.getValue());
} else if (AppealResultEnum.不通过.getValue() == entity.getAppealResult()) { } else if (AppealResultEnum.不通过.getValue() == entity.getAppealResult()) {
...@@ -341,6 +343,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -341,6 +343,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
} else { } else {
performInfo.setAppealStatus(AppealStatusEnum.申诉中.getValue()); performInfo.setAppealStatus(AppealStatusEnum.申诉中.getValue());
} }
}
} else { } else {
performInfo.setAppealStatus(AppealStatusEnum.未申诉.getValue()); performInfo.setAppealStatus(AppealStatusEnum.未申诉.getValue());
} }
......
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