public SetTaskRead ( Slickflow.Engine.Common.WfAppRunner taskRunner ) : bool | ||
taskRunner | Slickflow.Engine.Common.WfAppRunner | |
return | bool |
public void SetTaskRead2000() { WfAppRunner taskRunner = new WfAppRunner(); taskRunner.TaskID = 18014; taskRunner.UserID = 10; taskRunner.UserName = "******"; IWorkflowService serviceA; for (var i = 0; i < 2000; i++) { serviceA = new WorkflowService(); serviceA.SetTaskRead(taskRunner); } }
public ResponseResult ReadTask(WfAppRunner runner) { IWorkflowService wfService = new WorkflowService(); bool isRead = wfService.SetTaskRead(runner); return ResponseResult.Success(); }