fix(ebom): 如果没有历史版本则将本次转正式的数据复制到formal表

This commit is contained in:
曹鹏飞 2024-06-17 15:05:27 +08:00
parent 9a44353c8d
commit 1d59e425e9
1 changed files with 3 additions and 0 deletions

View File

@ -2511,6 +2511,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
//转移后删除
this.getBaseMapper().delEBomHistory(childParentRowIds);
} else {
this.getBaseMapper().insertEBomFormalParent(exceptRowIds);
this.getBaseMapper().insertEBomFormalChild(exceptRowIds);
}
}
}