Merge branch 'Test.IRC' of http://192.168.3.69:2000/XCKJ/irc-netcore-api into Test.IRC
commit
61b5a8295c
|
@ -61,7 +61,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public bool IsDeleted {get;set;}
|
public bool IsDeleted {get;set;}
|
||||||
public bool IsReading { get; set; } = true;
|
public bool IsReading { get; set; } = true;
|
||||||
|
|
||||||
public string IamgeResizePath { get; set; }=string.Empty;
|
public string ImageResizePath { get; set; }=string.Empty;
|
||||||
|
|
||||||
public Guid? VisitTaskId { get; set; }
|
public Guid? VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -589,6 +589,12 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||||
|
|
||||||
throw new DBSaveFailedException("SQL 事务失败,请检查环境。");
|
throw new DBSaveFailedException("SQL 事务失败,请检查环境。");
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.LogError(ex.InnerException is null ? ex.Message : ex.InnerException?.Message);
|
||||||
|
|
||||||
|
throw new DBSaveFailedException("数据保存异常。");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue