Quellcode durchsuchen

大同煤院发布完成后报错解决方式

新疆影视学院高职
edy vor 3 Jahren
Ursprung
Commit
e8e2ee5643
3 geänderte Dateien mit 31 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj
  3. +27
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/ioc.config Datei anzeigen

@@ -32,7 +32,7 @@
<typeAlias alias="TeacherOvertimeManageMethod" type="Learun.Application.WorkFlow.TeacherOvertimeManageMethod,Learun.Application.WorkFlow" />
<typeAlias alias="StuDisciplineManageMethod" type="Learun.Application.WorkFlow.StuDisciplineManageMethod,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="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />
<!--<typeAlias alias="TestTask" type="Learun.Plugin.TestTask,Learun.Plugin" />-->
@@ -74,6 +74,7 @@
<type type="IWorkFlowMethod" mapTo="TeacherOvertimeManageMethod" name="TeacherOvertimeManageMethod"></type>
<type type="IWorkFlowMethod" mapTo="StuDisciplineManageMethod" name="StuDisciplineManageMethod"></type>
<type type="IWorkFlowMethod" mapTo="StuCancelDisciplineManageMethod" name="StuCancelDisciplineManageMethod"></type>
<type type="IWorkFlowMethod" mapTo="MeetingManagementApplyMethod" name="MeetingManagementApplyMethod"></type>

</container>



+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Learun.Application.WorkFlow.csproj Datei anzeigen

@@ -93,6 +93,8 @@
<Compile Include="Delegate\NWFDelegateRelationEntity.cs" />
<Compile Include="Delegate\NWFDelegateRuleEntity.cs" />
<Compile Include="Delegate\NWFDelegateService.cs" />
<Compile Include="NodeMethod\DispatchMethod.cs" />
<Compile Include="NodeMethod\MeetingManagementApplyMethod.cs" />
<Compile Include="NodeMethod\StuCancelDisciplineManageMethod.cs" />
<Compile Include="NodeMethod\TeacherCancelLeaveManageMethod.cs" />
<Compile Include="NodeMethod\StuDisciplineManageMethod.cs" />


+ 27
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/MeetingManagementApplyMethod.cs Datei anzeigen

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

Laden…
Abbrechen
Speichern