|
12345678910111213141516171819202122232425262728293031323334353637 |
- using Learun.Application.TwoDevelopment.EducationalAdministration;
- using Learun.Application.TwoDevelopment.LogisticsManagement;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Learun.Application.WorkFlow
- {
- public class PurchaseStudentApplyMethod : IWorkFlowMethod
- {
- Purchase_Student_ApplyIBLL purchase_StudentapplyIBLL = new Purchase_Student_ApplyBLL();
-
- public void Execute(WfMethodParameter parameter)
- {
-
- if (parameter.code == "agree")
- {
- purchase_StudentapplyIBLL.ModifyStatusByProcessId(2, parameter.processId);
- }
- else if (parameter.code == "disagree")
- {
- purchase_StudentapplyIBLL.ModifyStatusByProcessId(3, parameter.processId);
- }
- else
- {
- purchase_StudentapplyIBLL.ModifyStatusByProcessId(0, parameter.processId);
- }
- //else
- //{
- // purchase_StudentapplyIBLL.ModifyStatusByProcessId(0, parameter.processId);
- //}
- }
-
- }
- }
|