39c251cd by xiaojie

【数据资产】

1、元数据导入
1 parent 3ad816a9
...@@ -179,8 +179,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -179,8 +179,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
179 @Override 179 @Override
180 public void saveDemand(FlowRQBaseVO flowBaseVO) { 180 public void saveDemand(FlowRQBaseVO flowBaseVO) {
181 DemandRQVO rqVO = (DemandRQVO) flowBaseVO; 181 DemandRQVO rqVO = (DemandRQVO) flowBaseVO;
182 log.info("======rqVO, {}", JSON.toJSONString(rqVO));
183 System.out.println("======rqVO, " + JSON.toJSONString(rqVO));
184 beforeSave(rqVO); 182 beforeSave(rqVO);
185 MfDemand entity = convertToEntity(rqVO); 183 MfDemand entity = convertToEntity(rqVO);
186 entity.setRequirementOrderNo(configureFeign.newCode(new RuleDTO().setRuleName("demand-code").setRuleType("generate")).getData()); 184 entity.setRequirementOrderNo(configureFeign.newCode(new RuleDTO().setRuleName("demand-code").setRuleType("generate")).getData());
......
...@@ -580,7 +580,10 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -580,7 +580,10 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
580 580
581 // 判断业务数据是否有通过 581 // 判断业务数据是否有通过
582 Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item -> 582 Optional<MfEnterprise> enterpriseOptional = mfEnterprises.stream().filter(item ->
583 ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState()) || "B".equals(item.getBizApproveState()) || ApprovalStateEnum.CHECKING.getValue().equals(item.getBizApproveState())).findFirst(); 583 ApprovalStateEnum.PASSED.getValue().equals(item.getBizApproveState())
584 || "B".equals(item.getBizApproveState())
585 || ApprovalStateEnum.CHECKING.getValue().equals(item.getBizApproveState())
586 || "E".equals(item.getBizApproveState())).findFirst();
584 if (enterpriseOptional.isEmpty()) { 587 if (enterpriseOptional.isEmpty()) {
585 return null; 588 return null;
586 } 589 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!