898debd9 by xiaojie

【数据资产】

1、加工单加工明细新增、修改参数
1 parent 6f327a2f
......@@ -541,7 +541,8 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
}
// 判断业务数据是否有通过
Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item -> ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState())).findFirst();
Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item ->
ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState()) || "B".equals(item.getBizApproveState())).findFirst();
if (enterpriseOptional.isEmpty()) {
return null;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!