Commit bf46eadd by jianshuqin

2024-07-23 这里主体是“印尼”,财务部门审核时,设置自动通过 by 李凤玲

parent 1f5f7a03
......@@ -119,6 +119,17 @@ public class DepartmentCheckState extends CostState {
return;
}
//2024-07-23 这里主体是“印尼”,财务部门审核时,设置自动通过 by 李凤玲
if ("印尼".equals(costDomain.getCompanyName()) && "财务部".equals(oaDepartment.getName())) {
costLogService.saveByManage(costDomain.getCostNo(), "部门审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining(",")), CostLogDomain.DEPARTMENT_AUTO_PASS);
//流转状态
nextState(hrCheckState);
costSubscribe.subscribe(costContext);
return;
}
//需要自动审核
if (costTemplate.shouldDepartmentAutoCheck(costDomain)) {
//自动审核通过
......
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