From a6d254bdd87e34eddfb535f21e749a193c5b67c7 Mon Sep 17 00:00:00 2001 From: quyixiao <2621048238@qq.com> Date: Fri, 8 Jan 2021 09:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BD=A0=E7=9D=A1=E7=9C=A0?= =?UTF-8?q?=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/service/app/impl/ResultRecordServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java b/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java index 39f85e70..e31f1155 100644 --- a/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java +++ b/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java @@ -1353,6 +1353,14 @@ public class ResultRecordServiceImpl extends ServiceImpl preFlowRecords = flowRecordService.selectFlowRecordByRecordIdFlowIndex(currentResultRecord.getRecordId(), currentResultRecord.getFlowIndex() - 1); + if(CollectionUtils.isNotEmpty(preFlowRecords)){ + for(FlowRecord flowRecord:preFlowRecords){ + if(flowRecord.getApprovalStaffId().equals(resultRecord.getStaffId())){ + auth.put("recall",1); + } + } + } } //如果是绩效管理员有一键催办功能 StaffRole staffRole = staffRoleService.selectStaffRolesByStaffIdDepartmentLevelList(recordDetailDto.getLoginUserId(),