bug54600处理。
This commit is contained in:
+4
-4
@@ -233,9 +233,9 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
|||||||
|
|
||||||
if (!(inventoryAffirmFlag && taskAffirmFlag)) {
|
if (!(inventoryAffirmFlag && taskAffirmFlag)) {
|
||||||
if (CutEnum.CN.getValue().equals(cut)) {
|
if (CutEnum.CN.getValue().equals(cut)) {
|
||||||
throw new JeroBootException("数据不能删除");
|
throw new JeroBootException("当前项目下有未走完的流程,不能删除");
|
||||||
}else{
|
}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 (!(designStatusFlag && verifyStatusFlag && prehomoStatusFlag)) {
|
||||||
if (CutEnum.CN.getValue().equals(cut)) {
|
if (CutEnum.CN.getValue().equals(cut)) {
|
||||||
throw new JeroBootException("数据不能删除");
|
throw new JeroBootException("当前项目下有未走完的流程,不能删除");
|
||||||
}else{
|
}else{
|
||||||
throw new JeroBootException("Data cannot be deleted.");
|
throw new JeroBootException("There are unfinished processes under the current project and cannot be deleted.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user