Commit 25dde9e5 by jianshuqin

增加 广州猫哥饮食文化传播有限公司的主体,总经办的角色换成振兴或者猫哥

parent bfe861c2
...@@ -102,18 +102,18 @@ public class DepartmentCheckState extends CostState { ...@@ -102,18 +102,18 @@ public class DepartmentCheckState extends CostState {
} }
} }
//主体广州猫哥饮食文化传播有限公司,审核人陈振兴02【自动审核】金额为5000以下 //主体广州猫哥饮食文化传播有限公司,审核人陈振兴02【自动审核】金额为5000以下
if ("广州猫哥饮食文化传播有限公司".equals(costDomain.getCompanyName()) && costDomain.getCostForm() != 2) { // if ("广州猫哥饮食文化传播有限公司".equals(costDomain.getCompanyName()) && costDomain.getCostForm() != 2) {
if (costCurrentReviewerList != null && costCurrentReviewerList.size() > 0) { // if (costCurrentReviewerList != null && costCurrentReviewerList.size() > 0) {
Optional<CostCurrentReviewer> optionalCostCurrentReviewer = costCurrentReviewerList.stream().filter(l -> l.getOaUserId() == 5126).findFirst(); // Optional<CostCurrentReviewer> optionalCostCurrentReviewer = costCurrentReviewerList.stream().filter(l -> l.getOaUserId() == 5126).findFirst();
if(optionalCostCurrentReviewer.isPresent()) { // if(optionalCostCurrentReviewer.isPresent()) {
costCurrentReviewer = optionalCostCurrentReviewer.get(); // costCurrentReviewer = optionalCostCurrentReviewer.get();
if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) < 0) { // if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) < 0) {
costLogService.saveByManage(costDomain.getCostNo(), "人民币金额【" + costDomain.getAmountRmb() + "】少于设定【5000】审核条件", null); // costLogService.saveByManage(costDomain.getCostNo(), "人民币金额【" + costDomain.getAmountRmb() + "】少于设定【5000】审核条件", null);
shouldAutoCheck = true; // shouldAutoCheck = true;
} // }
} // }
} // }
} // }
if (costCurrentReviewer == null || shouldAutoCheck) { if (costCurrentReviewer == null || shouldAutoCheck) {
//如果不需要审核 直接通过 //如果不需要审核 直接通过
DepartmentReviewer departmentReviewer = this.getCurrentDepartmentReviewer(oaDepartment.getDepartmentId()); DepartmentReviewer departmentReviewer = this.getCurrentDepartmentReviewer(oaDepartment.getDepartmentId());
......
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