修改代码
parent
6c81cf2612
commit
bbcf9bf9e7
|
@ -224,7 +224,7 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
|
||||
var stage = await _visitStageRepository.FirstOrDefaultAsync(t => t.Id == visitPlan.Id);
|
||||
if (stage == null) return Null404NotFound(stage);
|
||||
if (stage == null) return ResponseOutput.NotOk("None");
|
||||
|
||||
//修改是否是基线
|
||||
if (stage.IsBaseLine && stage.IsBaseLine != visitPlan.IsBaseLine)
|
||||
|
@ -249,7 +249,7 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
|
||||
await _inspectionService.AddListInspectionRecordAsync(datas);
|
||||
return ResponseOutput.Ok(visitPlan.Id.ToString());
|
||||
return ResponseOutput.Ok(visitPlan.Id.Value.ToString());
|
||||
}
|
||||
|
||||
/// <summary> 删除项目计划某一项[New]</summary>
|
||||
|
|
Loading…
Reference in New Issue