Commit 05c5998f authored by 姬鋆屾's avatar 姬鋆屾
parents 62ab77ae ba2af229
...@@ -333,13 +333,16 @@ public class PerformApiController extends AbstractBaseController<PerformReq> { ...@@ -333,13 +333,16 @@ 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) {
if (AppealResultEnum.通过.getValue() == entity.getAppealResult()) { performInfo.setAppealStatus(AppealStatusEnum.未申诉.getValue());
performInfo.setAppealStatus(AppealStatusEnum.申诉通过.getValue()); }else {
} else if (AppealResultEnum.不通过.getValue() == entity.getAppealResult()) { if (AppealResultEnum.通过.getValue() == entity.getAppealResult()) {
performInfo.setAppealStatus(AppealStatusEnum.申诉拒绝.getValue()); performInfo.setAppealStatus(AppealStatusEnum.申诉通过.getValue());
} else { } else if (AppealResultEnum.不通过.getValue() == entity.getAppealResult()) {
performInfo.setAppealStatus(AppealStatusEnum.申诉中.getValue()); performInfo.setAppealStatus(AppealStatusEnum.申诉拒绝.getValue());
} else {
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