Commit 61abed36 authored by 廖旭伟's avatar 廖旭伟

绩效申述不通过也将核查处理状态更新为已处理

parent b9cdd5b0
......@@ -271,6 +271,64 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
}
}
}
}else {
if (PerformTypeEnum.考勤绩效.getValue().equals(appealEntity.getPerformType())) {
CheckAttendRecordEntity checkEntity = checkAttendRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkAttendRecordService.examine(checkEntity,context);
}
}
} else if (PerformTypeEnum.评价差评绩效.getValue().equals(appealEntity.getPerformType())) {
CheckReviewRecordEntity checkEntity = checkReviewRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkReviewRecordService.examine(checkEntity,context);
}
}
} else if (PerformTypeEnum.评价投诉绩效.getValue().equals(appealEntity.getPerformType())) {
CheckComplainRecordEntity checkEntity = checkComplainRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkComplainRecordService.examine(checkEntity,context);
}
}
} else if (PerformTypeEnum.办件绩效.getValue().equals(appealEntity.getPerformType())) {
CheckGoworkRecordEntity checkEntity = checkGoworkRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkGoworkRecordService.examine(checkEntity,context);
}
}
} else if (PerformTypeEnum.效能绩效.getValue().equals(appealEntity.getPerformType())) {
CheckEffectRecordEntity checkEntity = checkEffectRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkEffectRecordService.examine(checkEntity,context);
}
}
} else if (PerformTypeEnum.其它绩效.getValue().equals(appealEntity.getPerformType())) {
CheckOtherRecordEntity checkEntity = checkOtherRecordService.get(appealEntity.getCheckRecordId(), context);
if(checkEntity!=null) {
if(checkEntity.getCheckStatus()!= CheckStatusEnum.已处理.getValue()){
checkEntity.setCheckResult(CheckResultSubEnum.核查扣分.getValue());
checkOtherRecordService.examine(checkEntity,context);
}
}
}
}
//更新绩效异常信息核查状态
try {
......
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