|
|
|
@ -94,12 +94,11 @@ public class SaveAppealDomainServiceImpl implements SaveAppealDomainService { |
|
|
|
if (appealDTO.getStatus().equals(AppealStatusEnum.PENDING_REVIEW.getValue())) { |
|
|
|
//更新申诉状态
|
|
|
|
examRecordMapper.updateHasAppealed(index, examRecordDTO.getId()); |
|
|
|
return Result.success(appealDTO); |
|
|
|
}else if(appealDTO.getStatus().equals(AppealStatusEnum.PASS_REVIEW.getValue())){ |
|
|
|
//审批通过需要加分
|
|
|
|
calculateScore(appealDTO, examRecordDTO, questionSnapshotDTO.getType()); |
|
|
|
return Result.success(appealDTO); |
|
|
|
} |
|
|
|
|
|
|
|
//通知用户
|
|
|
|
dingUtil.sendWorkNotice(appealDTO); |
|
|
|
|
|
|
|
|