0707 ljc afl模块文件操作以及入库操作以及时序表操作等接口开发,包含分片代码以及文件工具类代码
This commit is contained in:
parent
ce07a57203
commit
414cfb8ddb
@ -56,7 +56,7 @@ public class AflCrashesInfoServiceImpl extends ServiceImpl<AflCrashesInfoDao, Af
|
||||
if (StringUtils.isEmpty(req.getPipelineId()) || StringUtils.isEmpty(req.getTaskId())){
|
||||
throw new ServiceException(GlobalErrorCodeConstants.INTERNAL_SERVER_ERROR.getCode(),"pipelineId或者taskId不能为空");
|
||||
}
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
String uuid = req.getGroupIdentifier();
|
||||
|
||||
BaseRunContext runContext = runContextManager.getContext(req.getPipelineId());
|
||||
if (ObjectUtils.isEmpty(runContext)){
|
||||
|
@ -90,7 +90,7 @@ public class AflInfoServiceImpl extends ServiceImpl<AflInfoDao, AflInfo> impleme
|
||||
if (!StringUtils.isEmpty(req.getPipelineHistoryId())){
|
||||
aflInfo.setPipelineHistoryId(req.getPipelineHistoryId());
|
||||
}
|
||||
aflInfo.setGroupIdentifier(UUID.randomUUID().toString());
|
||||
aflInfo.setGroupIdentifier(req.getGroupIdentifier());
|
||||
baseMapper.insert(aflInfo);
|
||||
|
||||
return aflInfo.getGroupIdentifier();
|
||||
|
@ -87,7 +87,7 @@ public class AflPlotInfoServiceImpl extends ServiceImpl<AflPlotInfoDao, AflPlotI
|
||||
if (!StringUtils.isEmpty(req.getPipelineHistoryId())){
|
||||
aflPlotInfo.setPipelineHistoryId(req.getPipelineHistoryId());
|
||||
}
|
||||
aflPlotInfo.setGroupIdentifier(UUID.randomUUID().toString());
|
||||
aflPlotInfo.setGroupIdentifier(req.getGroupIdentifier());
|
||||
baseMapper.insert(aflPlotInfo);
|
||||
|
||||
return aflPlotInfo.getGroupIdentifier();
|
||||
|
@ -180,7 +180,7 @@ public class AflSeedInfoServiceImpl extends ServiceImpl<AflSeedInfoDao, AflSeedI
|
||||
if (StringUtils.isEmpty(req.getPipelineId()) || StringUtils.isEmpty(req.getTaskId())){
|
||||
throw new ServiceException(GlobalErrorCodeConstants.INTERNAL_SERVER_ERROR.getCode(),"pipelineId或者taskId不能为空");
|
||||
}
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
String uuid = req.getGroupIdentifier();
|
||||
|
||||
BaseRunContext runContext = runContextManager.getContext(req.getPipelineId());
|
||||
if (ObjectUtils.isEmpty(runContext)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user