退回设计时如果没有可退回的数据,则返回错误信息提示用户

This commit is contained in:
曹鹏飞 2024-03-21 09:44:35 +08:00
parent dc84e52cdb
commit 9d4845492b
1 changed files with 2 additions and 0 deletions

View File

@ -1141,6 +1141,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
throw new NflgBusinessException(STATE.Error, "退回设计失败");
}
ebomChildService.update(childWrapper);
} else {
VUtils.isTure(true).throwMessage("没有需要退回设计的物料");
}
//重新创建保存list 避免污染