Compare commits
2 Commits
1154f6982c
...
664138caef
| Author | SHA1 | Date | |
|---|---|---|---|
| 664138caef | |||
| 8d07e55b4b |
@@ -49,7 +49,7 @@ public interface ISimulationNodeFeignClient {
|
||||
@GetMapping("/node/getNodeTaskRunList")
|
||||
SdmResponse<List<AllNodeByProjectIdAndTypeResp>> getTaskRunList(@RequestParam(value = "uuids") List<String> uuids);
|
||||
|
||||
@PostMapping("node/delteNode")
|
||||
@PostMapping("/node/delteNode")
|
||||
SdmResponse delteNode(@RequestBody DelNodeReq req);
|
||||
|
||||
// 项目列表
|
||||
|
||||
@@ -1340,7 +1340,7 @@ public class ProjectServiceImpl extends BaseService implements IProjectService {
|
||||
if (CollectionUtils.isNotEmpty(runList)) {
|
||||
List<String> runIdList = runList.stream().map(SpdmDeleteProjectDetailReq::getUuid).toList();
|
||||
log.info("删除算例:{}",runIdList);
|
||||
simulationRunService.removeBatchByIds(runIdList);
|
||||
simulationRunService.lambdaUpdate().in(SimulationRun::getUuid, runIdList).remove();
|
||||
for (String uuid : runIdList) {
|
||||
deleteDirNew(uuid);
|
||||
}
|
||||
|
||||
@@ -1319,6 +1319,9 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
SdmResponse<FileMetadataInfoResp> fileBaseInfoResp = dataFeignClient.getFileBaseInfo(getFileBaseInfoReq);
|
||||
if (fileBaseInfoResp.getData() != null && fileBaseInfoResp.getData().getTagReq() != null) {
|
||||
TagReq tagReq = fileBaseInfoResp.getData().getTagReq();
|
||||
if (StringUtils.isNotBlank(uuid)) {
|
||||
tagReq.setTaskId(uuid);
|
||||
}
|
||||
req.setTagReq(tagReq);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user