|
|
@@ -85,7 +85,7 @@ public class FuncFuncTestServiceImpl implements FuncTestService {
|
|
|
funcTestRecordMapper.insert(FuncTestRecordPO.builder()
|
|
|
.timestamp(new Timestamp(System.currentTimeMillis()))
|
|
|
.operationType(FuncTestOperatorEnum.FINISH)
|
|
|
- .pipelineRecordId(latestRecord.getId())
|
|
|
+ .pipelineRecordId(latestRecord==null?-1:latestRecord.getId())
|
|
|
.build(),"id");
|
|
|
}
|
|
|
|
|
|
@@ -101,7 +101,7 @@ public class FuncFuncTestServiceImpl implements FuncTestService {
|
|
|
funcTestRecordMapper.insert(FuncTestRecordPO.builder()
|
|
|
.timestamp(new Timestamp(System.currentTimeMillis()))
|
|
|
.operationType(FuncTestOperatorEnum.REOPEN)
|
|
|
- .pipelineRecordId(latestRecord.getId())
|
|
|
+ .pipelineRecordId(latestRecord==null?-1:latestRecord.getId())
|
|
|
.build(),"id");
|
|
|
}
|
|
|
|