Browse Source

撤销违纪审核失败

临城职教中职
ndbs 2 years ago
parent
commit
45468f0eb9
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/StuCancelDisciplineManagementMethod.cs

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

@@ -31,6 +31,7 @@
<typeAlias alias="FD_PayManageMethod" type="Learun.Application.WorkFlow.FD_PayManageMethod,Learun.Application.WorkFlow" />
<typeAlias alias="TeacherLeaveManagementMethod" type="Learun.Application.WorkFlow.TeacherLeaveManagementMethod,Learun.Application.WorkFlow" />
<typeAlias alias="TextBookIndentMethod" type="Learun.Application.WorkFlow.TextBookIndentMethod,Learun.Application.WorkFlow" />
<typeAlias alias="StuCancelDisciplineManagementMethod" type="Learun.Application.WorkFlow.StuCancelDisciplineManagementMethod,Learun.Application.WorkFlow" />
<!--任务调度器-->
<typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />
@@ -72,6 +73,7 @@
<type type="IWorkFlowMethod" mapTo="FD_PayManageMethod" name="FD_PayManageMethod"></type>
<type type="IWorkFlowMethod" mapTo="TeacherLeaveManagementMethod" name="TeacherLeaveManagementMethod"></type>
<type type="IWorkFlowMethod" mapTo="TextBookIndentMethod" name="TextBookIndentMethod"></type>
<type type="IWorkFlowMethod" mapTo="StuCancelDisciplineManagementMethod" name="StuCancelDisciplineManagementMethod"></type>
</container>



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

@@ -119,6 +119,7 @@
<Compile Include="NodeMethod\Ass_AssetsInfoApplyMethod.cs" />
<Compile Include="NodeMethod\INodeMethod.cs" />
<Compile Include="NodeMethod\NodeMethod.cs" />
<Compile Include="NodeMethod\StuCancelDisciplineManagementMethod.cs" />
<Compile Include="NodeMethod\TextBookIndentMethod.cs" />
<Compile Include="NodeMethod\TeacherLeaveManagementMethod.cs" />
<Compile Include="NodeMethod\WfMethodParameter.cs" />


+ 28
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/StuCancelDisciplineManagementMethod.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 StuCancelDisciplineManagementMethod : IWorkFlowMethod
{
StuCancelDisciplineManagementIBLL stuCancelDisciplineManagementIBLL = new StuCancelDisciplineManagementBLL();


public void Execute(WfMethodParameter parameter)
{
if (parameter.code == "agree")
{
stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId);
}
else
{
stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("0", parameter.processId, parameter.userId);
}
}
}
}

Loading…
Cancel
Save