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