|  |  | 
 |  |  |                     // 判断绑定的是否是当前零件号 | 
 |  |  |                     if (sampleTypeDto.getPartNo() != null && sampleTypeDto.getPartNo().equals(partNo)) { | 
 |  |  |                         // 添加对象 | 
 |  |  |                         rawMaterialStandardTreeDto.setTreeName(factoryDto.getValue() + "-" | 
 |  |  |                                 + laboratoryDto.getValue() + "-" | 
 |  |  |                         rawMaterialStandardTreeDto.setTreeName(factoryDto.getValue() + " - " | 
 |  |  |                                 + laboratoryDto.getValue() + " - " | 
 |  |  |                                 + sampleTypeDto.getValue()); | 
 |  |  |                         rawMaterialStandardTreeDto.setCode(sampleTypeDto.getCode()); | 
 |  |  |                         rawMaterialStandardTreeDto.setLabel(sampleTypeDto.getLabel()); | 
 |  |  | 
 |  |  |                         for (SampleDto sampleDto : sampleTypeDto.getChildren()) { | 
 |  |  |                             if (sampleDto.getPartNo() != null && sampleDto.getPartNo().equals(partNo)) { | 
 |  |  |                                 // 添加对象 | 
 |  |  |                                 rawMaterialStandardTreeDto.setTreeName(factoryDto.getValue() + "-" | 
 |  |  |                                         + laboratoryDto.getValue() + "-" | 
 |  |  |                                         + sampleTypeDto.getValue() + "-" | 
 |  |  |                                 rawMaterialStandardTreeDto.setTreeName(factoryDto.getValue() + " - " | 
 |  |  |                                         + laboratoryDto.getValue() + " - " | 
 |  |  |                                         + sampleTypeDto.getValue() + " - " | 
 |  |  |                                         + sampleDto.getValue()); | 
 |  |  |                                 rawMaterialStandardTreeDto.setCode(sampleDto.getCode()); | 
 |  |  |                                 rawMaterialStandardTreeDto.setLabel(sampleDto.getLabel()); |