【数据资产】
1、加工单加工明细新增、修改参数
Showing
1 changed file
with
1 additions
and
3 deletions
| ... | @@ -557,15 +557,13 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -557,15 +557,13 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
| 557 | if(CollectionUtils.isEmpty(approveList)){ | 557 | if(CollectionUtils.isEmpty(approveList)){ |
| 558 | return enterpriseRSVO; | 558 | return enterpriseRSVO; |
| 559 | } | 559 | } |
| 560 | System.out.println("=========approveList," + JSON.toJSONString(approveList)); | ||
| 561 | 560 | ||
| 562 | // 判断最新变更数据是否是审批中 审批中显示最新数据 驳回或通过显示最新一次审批通过数据 | 561 | // 判断最新变更数据是否是审批中 审批中显示最新数据 驳回或通过显示最新一次审批通过数据 |
| 563 | if ("B".equals(enterpriseRSVO.getBizApproveState())) { | 562 | if ("B".equals(enterpriseRSVO.getBizApproveState())) { |
| 564 | Optional<MfEnterpriseChangeApprove> changeApproveOptFirst = approveList.stream().filter(item -> "2".equals(item.getDataType())).findFirst(); | 563 | Optional<MfEnterpriseChangeApprove> changeApproveOptFirst = approveList.stream().filter(item -> "2".equals(item.getDataType())).findFirst(); |
| 565 | if (changeApproveOptFirst.isPresent()) { | 564 | if (changeApproveOptFirst.isPresent()) { |
| 566 | enterpriseRSVO = csbrBeanUtil.convert(changeApproveOptFirst.get(), EnterpriseRSVO.class); | 565 | enterpriseRSVO = csbrBeanUtil.convert(changeApproveOptFirst.get(), EnterpriseRSVO.class); |
| 567 | System.out.println("=========enterpriseRSVO," + JSON.toJSONString(enterpriseRSVO)); | 566 | enterpriseRSVO.setBizApproveState(mfEnterprise.getBizApproveState()); |
| 568 | |||
| 569 | } | 567 | } |
| 570 | } | 568 | } |
| 571 | 569 | ... | ... |
-
Please register or sign in to post a comment