明细检测异常调整
This commit is contained in:
parent
898f9fa5b1
commit
42169c4bf1
|
|
@ -278,7 +278,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//初始化错误
|
//初始化错误
|
||||||
initBomException(parentChild);
|
checkBomException(parentChild);
|
||||||
return parentChild;
|
return parentChild;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -386,6 +386,12 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
checkEBomException.initException();
|
checkEBomException.initException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void checkBomException(List<BomNewEbomParentVO> list) {
|
||||||
|
CheckEBomException checkEBomException = new CheckEBomException(list);
|
||||||
|
checkEBomException.checkException();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化bom 异常信息
|
* 初始化bom 异常信息
|
||||||
|
|
@ -1032,7 +1038,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
|
|
||||||
if (CollUtil.isNotEmpty(eBomEdit.childEntities)) {
|
if (CollUtil.isNotEmpty(eBomEdit.childEntities)) {
|
||||||
ebomChildService.saveOrUpdateBatch(eBomEdit.childEntities);
|
ebomChildService.saveOrUpdateBatch(eBomEdit.childEntities);
|
||||||
ebomChildService.getBaseMapper().updateEBomMaterialUse();
|
//ebomChildService.getBaseMapper().updateEBomMaterialUse();
|
||||||
}
|
}
|
||||||
if (dto.getParent() != null) {
|
if (dto.getParent() != null) {
|
||||||
if (CollectionUtil.isNotEmpty(dto.getDelDatas())) {
|
if (CollectionUtil.isNotEmpty(dto.getDelDatas())) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue