修改提示语

This commit is contained in:
10002327 2024-10-31 17:17:02 +08:00
parent 64d1db59b2
commit 1321fa003c
1 changed files with 1 additions and 1 deletions

View File

@ -1189,7 +1189,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
}); });
for (Long bomRowId : paramDto.getBomRowIds()) { for (Long bomRowId : paramDto.getBomRowIds()) {
BomNewEbomParentVO parent = Convert.convert(BomNewEbomParentVO.class, this.getById(bomRowId)); BomNewEbomParentVO parent = Convert.convert(BomNewEbomParentVO.class, this.getById(bomRowId));
VUtils.isTure(Objects.isNull(parent)).throwMessage("Bom版本不存在" + bomRowId.toString()); VUtils.isTure(Objects.isNull(parent)).throwMessage("请选择父级BOM进行操作~");
LogRecordContext.putVariable("CToPbom", parent); LogRecordContext.putVariable("CToPbom", parent);
List<BomNewEbomParentVO> bomTree = getFormalBomTree(bomRowId); List<BomNewEbomParentVO> bomTree = getFormalBomTree(bomRowId);
VUtils.isTure(CollUtil.isEmpty(bomTree)).throwMessage("该BOM不存在下级无需转换" + bomRowId.toString()); VUtils.isTure(CollUtil.isEmpty(bomTree)).throwMessage("该BOM不存在下级无需转换" + bomRowId.toString());