From 53d6ef7b6c42cb3a46307858c115fa17b9257c7a Mon Sep 17 00:00:00 2001
From: zhangli <1109134334@qq.com>
Date: Fri, 18 Mar 2022 11:51:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=99=E6=9D=90=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../XmlConfig/ioc.config | 2 ++
.../Learun.Application.WorkFlow.csproj | 1 +
.../NodeMethod/TextBookIndentMethod.cs | 28 +++++++++++++++++++
3 files changed, 31 insertions(+)
create mode 100644 Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.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 f542e9f12..46cbce260 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config
@@ -34,6 +34,7 @@
+
@@ -78,6 +79,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 baf0102bf..c66790f0e 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
@@ -123,6 +123,7 @@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.cs
new file mode 100644
index 000000000..c81ac99ad
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.cs
@@ -0,0 +1,28 @@
+using Learun.Application.TwoDevelopment.EducationalAdministration;
+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 TextBookIndentMethod : IWorkFlowMethod
+ {
+ TextBookIndentIBLL textbookindentManagementIBLL = new TextBookIndentBLL();
+
+
+ public void Execute(WfMethodParameter parameter)
+ {
+ if (parameter.code == "agree")
+ {
+ textbookindentManagementIBLL.ChangeStatusByProcessId(2, parameter.processId);
+ }
+ else
+ {
+ textbookindentManagementIBLL.ChangeStatusByProcessId(0, parameter.processId);
+ }
+ }
+ }
+}