Commit 3d9622e5 by jianshuqin

新增下 部门负责人与终审同一个,只审其一

parent a32b5351
......@@ -117,7 +117,7 @@ public class FinalCheckState extends CostState {
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
if (costLogDomain != null) {
List<Integer> listCurrentReviewer = costCurrentReviewerList.stream().map(CostCurrentReviewer::getOaUserId).collect(Collectors.toList());
if (listCurrentReviewer.contains(costLogDomain.getUpdateUserid()) || listCurrentReviewer.contains(costLogDomain3.getUpdateUserid())) {
if (listCurrentReviewer.contains(costLogDomain.getUpdateUserid()) || (costLogDomain3 != null && listCurrentReviewer.contains(costLogDomain3.getUpdateUserid()))) {
log.info("费用单:{}部门审核人和最终审核人是同一个人,最终审核人自动通过。", costDomain.getCostNo());
this.autoPass("(部门审核人和最终审核人是同一人)");
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment