routine update

This commit is contained in:
yubaolee 2017-01-23 23:07:49 +08:00
parent 2900d52bc3
commit 4bd51b0264
2 changed files with 3 additions and 1 deletions

View File

@ -19,9 +19,10 @@ namespace OpenAuth.App
private IUnitWork _unitWork;
private WFProcessInstanceService wfProcessInstanceService;
public WFRuntimeService(IUnitWork unitWork)
public WFRuntimeService(IUnitWork unitWork, WFProcessInstanceService service)
{
_unitWork = unitWork;
wfProcessInstanceService = service;
}
private string delegateUserList = "";

View File

@ -64,6 +64,7 @@ namespace OpenAuth.Mvc.Areas.FlowManage.Controllers
public ActionResult CreateProcess(Guid wfSchemeInfoId, string wfProcessInstanceJson, string frmData)
{
WFProcessInstance wfProcessInstanceEntity = wfProcessInstanceJson.ToObject<WFProcessInstance>();
wfProcessInstanceEntity.Id = Guid.Empty;
string text = "创建成功";
if (wfProcessInstanceEntity.EnabledMark == 1)//发起流程
{