|
|
@@ -120,14 +120,15 @@ public class ReviewChecklistManage { |
|
|
|
item.setApprovedAmount(w.getApprovalAmount()); |
|
|
|
item.setAnnualPlanAmount(w.getAnnualPlanAmount()); |
|
|
|
// 审查人员情况 |
|
|
|
item.setVerifiedHumans(computeVerify(item,approveMap.get(w.getProjectCode()),userMap)); |
|
|
|
item.setVerifiedHumans(computeVerify(item,approveMap.get(w.getProjectCode()),userMap,user)); |
|
|
|
item.setReviewCheckFinish(w.getReviewCheckFinish()); |
|
|
|
return item; |
|
|
|
}); |
|
|
|
return PageVo.of(records, page.getTotal()); |
|
|
|
} |
|
|
|
|
|
|
|
private String computeVerify(ProjectReviewCheckListItemVO item,List<ReviewChecklistApprove> reviewChecklistApproves, |
|
|
|
Map<String, String> userMap) { |
|
|
|
Map<String, String> userMap,UserInfoDetails user) { |
|
|
|
List<String> reviewHumans = Lists.newArrayList();; |
|
|
|
if(BizConst.DEV.equals(active)){ |
|
|
|
reviewHumans = DeclaredProjectContant.ReviewChecklist.REVIEW_HUMANS_ZYD; |
|
|
@@ -148,6 +149,9 @@ public class ReviewChecklistManage { |
|
|
|
computeHumanSet.contains(r.getCreateByCode())){ |
|
|
|
//说明 有指定人 审核过 |
|
|
|
finishNums[0]++; |
|
|
|
if(StringUtils.isNotBlank(user.getEmployeeCode()) && user.getEmployeeCode().equals(r.getCreateByCode())){ |
|
|
|
item.setApproved(Boolean.TRUE); |
|
|
|
} |
|
|
|
computeHumanSet.remove(r.getCreateByCode()); |
|
|
|
} |
|
|
|
}); |
|
|
|