【数据资产】
1、加工单加工明细新增、修改参数
Showing
1 changed file
with
7 additions
and
1 deletions
| ... | @@ -143,6 +143,12 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -143,6 +143,12 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
| 143 | mfEnterpriseMap = mfEnterprises.stream().collect(Collectors.toMap(MfEnterprise::getGuid, Function.identity())); | 143 | mfEnterpriseMap = mfEnterprises.stream().collect(Collectors.toMap(MfEnterprise::getGuid, Function.identity())); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | // 根据业务guid查询认证变更表数据 | ||
| 147 | List<MfEnterpriseChangeApprove> mfEnterpriseChangeApproves = mfEnterpriseChangeApproveService.listByIds(guids); | ||
| 148 | if (ObjectUtils.isNotEmpty(mfEnterpriseChangeApproves)) { | ||
| 149 | Map<String, MfEnterpriseChangeApprove> mfEnterpriseChangeApproveMap = mfEnterpriseChangeApproves.stream().collect(Collectors.toMap(MfEnterpriseChangeApprove::getGuid, Function.identity())); | ||
| 150 | } | ||
| 151 | |||
| 146 | // 数据转换 | 152 | // 数据转换 |
| 147 | List<EnterpriseApproveRSVO> results = new ArrayList<>(); | 153 | List<EnterpriseApproveRSVO> results = new ArrayList<>(); |
| 148 | for (ApproveVO approveVO : approveVOList) { | 154 | for (ApproveVO approveVO : approveVOList) { |
| ... | @@ -542,7 +548,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -542,7 +548,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
| 542 | 548 | ||
| 543 | // 判断业务数据是否有通过 | 549 | // 判断业务数据是否有通过 |
| 544 | Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item -> | 550 | Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item -> |
| 545 | ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState()) || "B".equals(item.getBizApproveState())).findFirst(); | 551 | ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState()) || "B".equals(item.getBizApproveState()) || ApprovalStateEnum.CHECKING.getValue().equals(item.getBizApproveState())).findFirst(); |
| 546 | if (enterpriseOptional.isEmpty()) { | 552 | if (enterpriseOptional.isEmpty()) { |
| 547 | return null; | 553 | return null; |
| 548 | } | 554 | } | ... | ... |
-
Please register or sign in to post a comment