bug54600处理。

This commit is contained in:
wangzhijiang
2022-06-21 09:49:50 +08:00
parent 7680c97516
commit f9d6dd4bbe
@@ -233,9 +233,9 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
if (!(inventoryAffirmFlag && taskAffirmFlag)) {
if (CutEnum.CN.getValue().equals(cut)) {
throw new JeroBootException("数据不能删除");
throw new JeroBootException("当前项目下有未走完的流程,不能删除");
}else{
throw new JeroBootException("Data cannot be deleted.");
throw new JeroBootException("There are unfinished processes under the current project and cannot be deleted.");
}
}
@@ -256,9 +256,9 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
if (!(designStatusFlag && verifyStatusFlag && prehomoStatusFlag)) {
if (CutEnum.CN.getValue().equals(cut)) {
throw new JeroBootException("数据不能删除");
throw new JeroBootException("当前项目下有未走完的流程,不能删除");
}else{
throw new JeroBootException("Data cannot be deleted.");
throw new JeroBootException("There are unfinished processes under the current project and cannot be deleted.");
}
}
}