optimize(ebom): 优化查询物料信息接口
This commit is contained in:
parent
ec0ab3f202
commit
0f25a80253
|
|
@ -2406,6 +2406,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
vo.setMaterialTexture(d.getMaterialTexture());
|
||||
vo.setMaterialUnit(d.getMaterialUnit());
|
||||
vo.setCategoryName(d.getCategoryName());
|
||||
vo.setRelCategoryCode(d.getRelCategoryCode());
|
||||
QueryMaterialsQuery q = query.stream()
|
||||
.filter(f -> StrUtil.equals(f.getMaterialNo(), vo.getMaterialNo()) || StrUtil.equals(f.getDrawingNo(), vo.getDrawingNo()))
|
||||
.findFirst()
|
||||
|
|
|
|||
Loading…
Reference in New Issue