修改更新

main
zhangbin 2026-02-07 15:42:27 +08:00
parent df02e2c557
commit b04a261bd1
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}