修改一版

Uat_Study
he 2022-05-18 18:30:26 +08:00
parent 6cd8d2081d
commit 1999149b97
1 changed files with 8 additions and 8 deletions

View File

@ -804,14 +804,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common
inspection = f(entity); inspection = f(entity);
} }
inspection.Identification = $"{_userInfo.RequestUrl}/{ entityobj.GetType().Name}/{type}"; inspection.Identification = $"{_userInfo.RequestUrl}/{ entityobj.GetType().Name}/{type}";
if (data != null) //if (data != null)
{ //{
var originaldata = data.OriginalValues.ToObject(); // var originaldata = data.OriginalValues.ToObject();
if (originaldata != null) // if (originaldata != null)
{ // {
inspection.LastJsonDetail = originaldata.ToJcJson(); // inspection.LastJsonDetail = originaldata.ToJcJson();
} // }
} //}
await AddInspectionRecordAsync(inspection, entityobj, otherItem); await AddInspectionRecordAsync(inspection, entityobj, otherItem);