Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/LASAPlatform
commit
f2b186377c
|
|
@ -780,7 +780,7 @@ public class ConfigSubscribe : IJob
|
|||
var taskAssignRecord = new LasaTaskAssign()
|
||||
{
|
||||
Id = taskAssign.Id,
|
||||
Reason = errorMsg,
|
||||
Reason = $"{DateTime.Now:yyyy-MM-dd HH:mm:ss} {errorMsg}(错误码: {code})",
|
||||
Status = 2
|
||||
};
|
||||
_sqlSugarClient.Updateable(taskAssignRecord).IgnoreNullColumns().ExecuteCommand();
|
||||
|
|
@ -788,7 +788,7 @@ public class ConfigSubscribe : IJob
|
|||
{
|
||||
Id = taskAssign.TaskId,
|
||||
Status = 2, // todo 状态待定
|
||||
Reason = errorMsg //失败原因
|
||||
Reason = $"{DateTime.Now:yyyy-MM-dd HH:mm:ss} {errorMsg}(错误码: {code})"
|
||||
};
|
||||
_sqlSugarClient.Updateable(taskUpdate).IgnoreNullColumns().ExecuteCommand();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue