feat:任务执行算例初始化流程节点/启动流程实例/查询流程节点
This commit is contained in:
@@ -531,7 +531,7 @@ public class MinioFileIDataFileServiceImpl implements IDataFileService {
|
||||
createDirectoryPermission(dirInfo.getId());
|
||||
|
||||
log.info("根目录创建成功");
|
||||
return SdmResponse.success("根目录创建成功");
|
||||
return SdmResponse.success(dirInfo.getId());
|
||||
} catch (Exception dbException) {
|
||||
log.error("创建根目录失败", dbException);
|
||||
|
||||
@@ -596,7 +596,7 @@ public class MinioFileIDataFileServiceImpl implements IDataFileService {
|
||||
createDirectoryPermission(dirInfo.getId());
|
||||
|
||||
log.info("子目录创建成功");
|
||||
return SdmResponse.success("子目录创建成功");
|
||||
return SdmResponse.success(dirInfo.getId());
|
||||
|
||||
} catch (Exception dbException) {
|
||||
log.error("创建子目录失败", dbException);
|
||||
|
||||
@@ -242,7 +242,7 @@ public class SimulationParameterLibraryServiceImpl extends ServiceImpl<Simulatio
|
||||
@Override
|
||||
public SdmResponse<SimulationParameterLibraryCategoryObjectResp> getSimulationParameterLibraryCategoryObject(Long ObjectId) {
|
||||
SimulationParameterLibraryCategoryObjectResp resp = getSimulationParameterLibraryCategoryObjectInner(ObjectId);
|
||||
if (ApproveFileDataTypeEnum.UPLOAD_REVIEWING.getCode() != resp.getApproveType()) {
|
||||
if (resp.getApproveType() != null && ApproveFileDataTypeEnum.UPLOAD_REVIEWING.getCode() != resp.getApproveType()) {
|
||||
return SdmResponse.success(resp);
|
||||
} else {
|
||||
return SdmResponse.success(null);
|
||||
|
||||
Reference in New Issue
Block a user