update 修改推送服务 和其他
This commit is contained in:
@@ -160,6 +160,16 @@ namespace Ewide.Nbzs.BackWorkerService
|
||||
insert_result = db_Zlb_Conn.Insertable(db_Product_Conn.Queryable<Projects>().Where(p => p.ID == projectId).ToList()).ExecuteCommand();
|
||||
list_result.Add(new PushResult { Action = "Insert", TableName = "Projects", IsSuccess = insert_result > 0 });
|
||||
//}
|
||||
|
||||
//ProjectsStep
|
||||
delete_result = db_Zlb_Conn.Deleteable<ProjectsStep>().Where(p => p.ProjectID == projectId).ExecuteCommandHasChange();
|
||||
list_result.Add(new PushResult { Action = "Delete", TableName = "ProjectsStep", IsSuccess = delete_result });
|
||||
//if (delete_result)
|
||||
//{
|
||||
insert_result = db_Zlb_Conn.Insertable(db_Product_Conn.Queryable<ProjectsStep>().Where(p => p.ProjectID == projectId).ToList()).ExecuteCommand();
|
||||
list_result.Add(new PushResult { Action = "Insert", TableName = "ProjectsStep", IsSuccess = insert_result > 0 });
|
||||
//}
|
||||
|
||||
}
|
||||
StringBuilder push_error_reason = new();
|
||||
//if (list_result.Any(r => !r.IsSuccess))
|
||||
|
||||
Reference in New Issue
Block a user