修改:Hpc任务删除逻辑优化
This commit is contained in:
@@ -587,7 +587,7 @@ public class PbsServiceDecorator implements IPbsServiceDecorator {
|
||||
}
|
||||
// 2. 校验任务状态(非进行中、文件非上传中)
|
||||
Pair<Boolean,List<SimulationJob>> pairCheck= checkJobStatus(jobList);
|
||||
if(!pairCheck.getLeft()){
|
||||
if(pairCheck.getLeft()){
|
||||
log.error("checkJobStatus true,{}",JSON.toJSONString(pairCheck.getRight()));
|
||||
throw new RuntimeException("删除的任务状态和文件状态不能是未完成");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user