optimize(ebom): 导入SAP优化
This commit is contained in:
parent
c702a95282
commit
c6e1c64104
|
|
@ -45,7 +45,8 @@ public class BomNewEbomExportToSAP {
|
|||
|
||||
public List<OperationErrorMsgVO> export(Long rootBomRowId) {
|
||||
BomNewEbomParentEntity root = bomNewEbomParentService.getById(rootBomRowId);
|
||||
VUtils.isTure(Objects.isNull(root)).throwMessage("数据不存在");
|
||||
// VUtils.isTure(Objects.isNull(root)).throwMessage("数据不存在");
|
||||
if (Objects.isNull(root)) return Collections.emptyList();
|
||||
VUtils.isTure(root.getUserRootIs() != 1).throwMessage("请选择根节点");
|
||||
VUtils.isTure(Objects.equals(root.getSapState(), SapStatusEnum.PUB_RUNNING.getValue()))
|
||||
.throwMessage("正在导入中,请等待操作完成");
|
||||
|
|
|
|||
Loading…
Reference in New Issue