From e8e2ee564357ffa11a846d6d0084677635c41bce Mon Sep 17 00:00:00 2001 From: edy Date: Wed, 24 Nov 2021 15:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=90=8C=E7=85=A4=E9=99=A2=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=AE=8C=E6=88=90=E5=90=8E=E6=8A=A5=E9=94=99=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../XmlConfig/ioc.config | 3 ++- .../Learun.Application.WorkFlow.csproj | 2 ++ .../MeetingManagementApplyMethod.cs | 27 +++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config index d6dba2d70..dd0e33255 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config @@ -32,7 +32,7 @@ - + @@ -74,6 +74,7 @@ + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj index 472c8f856..baf0102bf 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj @@ -93,6 +93,8 @@ + + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs new file mode 100644 index 000000000..55ee0ae70 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs @@ -0,0 +1,27 @@ +using Learun.Application.TwoDevelopment.PersonnelManagement; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Learun.Application.WorkFlow +{ + public class MeetingManagementApplyMethod : IWorkFlowMethod + { + MeetingManagementIBLL meetingManagementIBLL = new MeetingManagementBLL(); + + + public void Execute(WfMethodParameter parameter) + { + if (parameter.code == "agree") + { + meetingManagementIBLL.ChangeStatusByProcessId(parameter.processId, "1", parameter.userId); + } + else + { + meetingManagementIBLL.ChangeStatusByProcessId(parameter.processId, "2", parameter.userId); + } + } + } +}