|
@@ -820,22 +820,7 @@ public class WmPayOffServiceImpl extends ServiceImpl<WmPayOffMapper, WmPayOff> i
|
|
|
return R.ok(null, "操作成功");
|
|
|
}
|
|
|
|
|
|
- R<?> r = this.settleIssueBySubType(input);
|
|
|
-
|
|
|
- if (r.getCode() != 0) {
|
|
|
- // 回退复核状态为待复核
|
|
|
- Set<WmScorePackageSettleNote> updateNotes = input.getNotes().stream().map(note -> {
|
|
|
- WmScorePackageSettleNote updateNote = new WmScorePackageSettleNote();
|
|
|
- updateNote.setId(note.getId());
|
|
|
- updateNote.setReviewStatus(UpmsState.SettleFinancialReviewStatus.TO_BE_REVIEWED);
|
|
|
- updateNote.setReviewUser(operator.getId());
|
|
|
- updateNote.setReviewTime(LocalDateTime.now());
|
|
|
- return updateNote;
|
|
|
- }).collect(Collectors.toSet());
|
|
|
- noteService.updateBatchById(updateNotes);
|
|
|
- }
|
|
|
-
|
|
|
- return r;
|
|
|
+ return this.settleIssueBySubType(input);
|
|
|
}
|
|
|
|
|
|
/**
|