|
|
|
@ -439,6 +439,11 @@ public class BomManagementServiceImpl extends ServiceImpl<BomManagementMapper, B |
|
|
|
partInformationMapper.updateFamilyId(data); |
|
|
|
} |
|
|
|
|
|
|
|
// ✅ 如果包含 printUnit,同时更新物料主数据的umid2(物料单位) |
|
|
|
if (data.getPrintUnit() != null && !data.getPrintUnit().isEmpty()) { |
|
|
|
partInformationMapper.updatePrintUnit(data); |
|
|
|
} |
|
|
|
|
|
|
|
// 查询bom子明细列表 |
|
|
|
BomDetailEntity bomDetail = new BomDetailEntity(); |
|
|
|
BeanUtils.copyProperties(data,bomDetail); |
|
|
|
|