修改更新
parent
df02e2c557
commit
b04a261bd1
|
|
@ -288,7 +288,10 @@ public class WorkflowEngineApp : SqlSugarBaseApp<SysCategoryType, SugarDbContext
|
|||
WorkitemId = hasNextWorkItem.WorkitemId,
|
||||
Status = "Done"
|
||||
};
|
||||
_sqlSugar.Updateable(scriptNodeWorkItem).ExecuteCommand();
|
||||
//_sqlSugar.Updateable(scriptNodeWorkItem).ExecuteCommand();
|
||||
_sqlSugar.Updateable<ZyFlowWorkitem>()
|
||||
.SetColumns(t => new ZyFlowWorkitem() { Status = "Done" })
|
||||
.Where(t => t.WorkitemId == hasNextWorkItem.WorkitemId).ExecuteCommand();
|
||||
// 判断是归档还是驳回
|
||||
ProcessSummaryNode(flowInstance, nextNode, userId, userName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue