退回设计时如果没有可退回的数据,则返回错误信息提示用户
This commit is contained in:
parent
dc84e52cdb
commit
9d4845492b
|
|
@ -1141,6 +1141,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
throw new NflgBusinessException(STATE.Error, "退回设计失败");
|
||||
}
|
||||
ebomChildService.update(childWrapper);
|
||||
} else {
|
||||
VUtils.isTure(true).throwMessage("没有需要退回设计的物料");
|
||||
}
|
||||
|
||||
//重新创建保存list 避免污染
|
||||
|
|
|
|||
Loading…
Reference in New Issue