|
|
@ -31,10 +31,10 @@ namespace Win.Sfs.SettleAccount.Repository |
|
|
|
public virtual async Task<List<Job>> GetTaskJobsAsync(Job p_task) |
|
|
|
{ |
|
|
|
string str = string.Empty; |
|
|
|
str += "SELECT b.Id, a.StateId,b.Type, a.StateName, a.InvocationData, a.Arguments, a.CreatedAt, a.ExpireAt, b.TaskId, b.Name,isnull(b.remark,'') remark, \n"; |
|
|
|
str += " SELECT b.Id, a.StateId,b.Type, a.StateName, a.InvocationData, a.Arguments, a.CreatedAt, a.ExpireAt, b.TaskId, b.Name,isnull(b.remark,'') remark, \n "; |
|
|
|
str += " b.ActionName, b.Error, b.Creator, b.Email, b.FileName, b.DownFileName, b.ServiceName,b.RealDownFileName,b.RealFileName \n"; |
|
|
|
str += " FROM HangFire.Job AS a INNER JOIN \n"; |
|
|
|
str += " Set_TaskJob AS b ON a.Id = b.TaskId \n"; |
|
|
|
str += " FROM HangFire.Job AS a INNER JOIN \n"; |
|
|
|
str += " Set_TaskJob AS b ON a.Id = b.TaskId \n"; |
|
|
|
|
|
|
|
str += "where 1=1 "; |
|
|
|
|
|
|
|