Beispiel #1
0
        async public Task PassAuditDeclareProject([FromBody] StepDoneSimple stepDone)
        {
            //SPBudgetProjectInit
            //这里感觉不应该用StepDoneSimple而是应该用带BudgetProjectId的StepDone<int>
            var spList = new List <PredefindedSPStructure>();

            spList.AddItem(new SPBudgetProjectInit
            {
                StepId    = stepDone.StepId,
                CreatorId = CurrentUser.Id
            });

            await MyWorkFlowBusiness.DoneStep(
                stepDone.ToSimple((int)StepState.Forward),
                CurrentUser.Id,
                spList);
        }
Beispiel #2
0
 async public Task BackAuditDeclareProject([FromBody] StepDoneSimple stepDone)
 {
     await MyWorkFlowBusiness.DoneStep(
         stepDone.ToSimple((int)StepState.Back),
         CurrentUser.Id);
 }