| | |
| | | BsFormulaChildInfo getMaterTwo = new BsFormulaChildInfo(); |
| | | getMaterTwo.setProcessesCode(bsFormulaChildInfo.getLocationCode()); |
| | | getMaterTwo.setOperationType("2"); |
| | | getMaterTwo.setProductCode(bsFormulaChildInfo.getProductCode()); |
| | | List<BsFormulaChildInfo> operationType = bsFormulaChildInfoMapper.selectBsFormulaChildInfoList(getMaterTwo); |
| | | List<String> collect = operationType.stream().map(BsFormulaChildInfo::getResults).collect(Collectors.toList()); |
| | | for (String s : collect) { |
| | |
| | | Boolean b = true; |
| | | if(!"OP100".equals(bsFormulaChildInfo.getLocationCode())){ |
| | | BsFormulaChildInfo getMaterTwo = new BsFormulaChildInfo(); |
| | | getMaterTwo.setProductCode(bsFormulaChildInfo.getProductCode()); |
| | | getMaterTwo.setProcessesCode(bsFormulaChildInfo.getLocationCode()); |
| | | getMaterTwo.setOperationType("2"); |
| | | List<BsFormulaChildInfo> operationType = bsFormulaChildInfoMapper.selectBsFormulaChildInfoList(getMaterTwo); |