|
@@ -1252,7 +1252,18 @@ public class ProjectApplicationService {
|
|
|
log.info("需要只需的项目并行度为0");
|
|
|
}
|
|
|
String isChoiceGpu = DictConstants.USE_GPU;
|
|
|
- final UserEntity userEntity = projectDomainService.getUserEntityByMultiProjectId(projectWaitQueueEntity.getProjectId());
|
|
|
+ UserEntity userEntity = null;
|
|
|
+ try {
|
|
|
+ userEntity = projectDomainService.getUserEntityByMultiProjectId(projectWaitQueueEntity.getProjectId());
|
|
|
+ if (userEntity == null){
|
|
|
+ projectWaitQueueEntity.setWaitingParallelism(0);
|
|
|
+ log.info("多模式仿真任务未查询到创建人,取消执行该任务:{}", projectWaitQueueEntity.getProjectId());
|
|
|
+ waitMulti(projectWaitQueueEntity);
|
|
|
+ }
|
|
|
+ }catch (Exception e){
|
|
|
+ log.info("多模式仿真处理失败,查询用户异常", e);
|
|
|
+ return;
|
|
|
+ }
|
|
|
String projectUserId = userEntity.getId();
|
|
|
String roleCode = userEntity.getRoleCode();
|
|
|
String useType = userEntity.getUseType();
|