Browse Source

教材管理

西昌缴费二期
zhangli 2 years ago
parent
commit
53d6ef7b6c
3 changed files with 31 additions and 0 deletions
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj
  3. +28
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.cs

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config View File

@@ -34,6 +34,7 @@
<typeAlias alias="StuCancelDisciplineManageMethod" type="Learun.Application.WorkFlow.StuCancelDisciplineManageMethod,Learun.Application.WorkFlow" /> <typeAlias alias="StuCancelDisciplineManageMethod" type="Learun.Application.WorkFlow.StuCancelDisciplineManageMethod,Learun.Application.WorkFlow" />
<typeAlias alias="MeetingManagementApplyMethod" type="Learun.Application.WorkFlow.MeetingManagementApplyMethod,Learun.Application.WorkFlow" /> <typeAlias alias="MeetingManagementApplyMethod" type="Learun.Application.WorkFlow.MeetingManagementApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="DispatchMethod" type="Learun.Application.WorkFlow.DispatchMethod,Learun.Application.WorkFlow" /> <typeAlias alias="DispatchMethod" type="Learun.Application.WorkFlow.DispatchMethod,Learun.Application.WorkFlow" />
<typeAlias alias="TextBookIndentMethod" type="Learun.Application.WorkFlow.TextBookIndentMethod,Learun.Application.WorkFlow" />


<!--任务调度器--> <!--任务调度器-->
<typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" /> <typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />
@@ -78,6 +79,7 @@
<type type="IWorkFlowMethod" mapTo="StuCancelDisciplineManageMethod" name="StuCancelDisciplineManageMethod"></type> <type type="IWorkFlowMethod" mapTo="StuCancelDisciplineManageMethod" name="StuCancelDisciplineManageMethod"></type>
<type type="IWorkFlowMethod" mapTo="MeetingManagementApplyMethod" name="MeetingManagementApplyMethod"></type> <type type="IWorkFlowMethod" mapTo="MeetingManagementApplyMethod" name="MeetingManagementApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="DispatchMethod" name="DispatchMethod"></type> <type type="IWorkFlowMethod" mapTo="DispatchMethod" name="DispatchMethod"></type>
<type type="IWorkFlowMethod" mapTo="TextBookIndentMethod" name="TextBookIndentMethod"></type>


</container> </container>




+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj View File

@@ -123,6 +123,7 @@
<Compile Include="NodeMethod\Ass_AssetsInfoApplyMethod.cs" /> <Compile Include="NodeMethod\Ass_AssetsInfoApplyMethod.cs" />
<Compile Include="NodeMethod\INodeMethod.cs" /> <Compile Include="NodeMethod\INodeMethod.cs" />
<Compile Include="NodeMethod\NodeMethod.cs" /> <Compile Include="NodeMethod\NodeMethod.cs" />
<Compile Include="NodeMethod\TextBookIndentMethod.cs" />
<Compile Include="NodeMethod\WfMethodParameter.cs" /> <Compile Include="NodeMethod\WfMethodParameter.cs" />
<Compile Include="NodeMethod\WF\WFFileRelease.cs" /> <Compile Include="NodeMethod\WF\WFFileRelease.cs" />
<Compile Include="Node\WfForm.cs" /> <Compile Include="Node\WfForm.cs" />


+ 28
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/TextBookIndentMethod.cs View File

@@ -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);
}
}
}
}

Loading…
Cancel
Save