Browse Source

webapi增加流程依赖注入config配置

临城职教中职
liangkun 2 years ago
parent
commit
a410383685
1 changed files with 52 additions and 1 deletions
  1. +52
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/ioc.config

+ 52
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/ioc.config View File

@@ -10,10 +10,36 @@
<!--工作流接口-->
<typeAlias alias="INodeMethod" type=" Learun.Application.WorkFlow.INodeMethod, Learun.Application.WorkFlow" />
<typeAlias alias="NodeMethod" type=" Learun.Application.WorkFlow.NodeMethod, Learun.Application.WorkFlow" />
<typeAlias alias="Ass_AssetsInfoApplyMethod" type="Learun.Application.WorkFlow.Ass_AssetsInfoApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_PurchaseApplyMethod" type="Learun.Application.WorkFlow.Ass_PurchaseApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_AssetsOutApplyMethod" type="Learun.Application.WorkFlow.Ass_AssetsOutApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_AllocationMethod" type="Learun.Application.WorkFlow.Ass_AllocationMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_InventoryMethod" type="Learun.Application.WorkFlow.Ass_InventoryMethod,Learun.Application.WorkFlow" />
<typeAlias alias="CorporateMaterialApplyMethod" type="Learun.Application.WorkFlow.CorporateMaterialApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="StampApplyMethod" type="Learun.Application.WorkFlow.StampApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_ScrapMethod" type="Learun.Application.WorkFlow.Ass_ScrapMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Sys_SendFileMethod" type="Learun.Application.WorkFlow.Sys_SendFileMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Sys_ReceiveDocumentMethod" type="Learun.Application.WorkFlow.Sys_ReceiveDocumentMethod,Learun.Application.WorkFlow" />
<typeAlias alias="LC_hetongMethod" type="Learun.Application.WorkFlow.LC_hetongMethod,Learun.Application.WorkFlow" />
<typeAlias alias="SW_Ask_TypeMethod" type="Learun.Application.WorkFlow.SW_Ask_TypeMethod,Learun.Application.WorkFlow" />
<typeAlias alias="SW_Ask_StudentMainMethod" type="Learun.Application.WorkFlow.SW_Ask_StudentMainMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Sys_SendFilePartyMethod" type="Learun.Application.WorkFlow.Sys_SendFilePartyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_ReceiveMethod" type="Learun.Application.WorkFlow.Ass_ReceiveMethod,Learun.Application.WorkFlow" />
<typeAlias alias="ADR_AddApplyMethod" type="Learun.Application.WorkFlow.ADR_AddApplyMethod,Learun.Application.WorkFlow" />
<typeAlias alias="OA_NewsMethod" type="Learun.Application.WorkFlow.OA_NewsMethod,Learun.Application.WorkFlow" />
<typeAlias alias="Ass_AcceptanceMethod" type="Learun.Application.WorkFlow.Ass_AcceptanceMethod,Learun.Application.WorkFlow" />
<typeAlias alias="MeetingManagementApplyMethod" type="Learun.Application.WorkFlow.MeetingManagementApplyMethod,Learun.Application.WorkFlow" />
<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="StuDisciplineManagementMethod" type="Learun.Application.WorkFlow.StuDisciplineManagementMethod,Learun.Application.WorkFlow" />

<!--任务调度器-->
<typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />

<!--工作流接口:新的流程接口(新版流程使用)-->
<typeAlias alias="IWorkFlowMethod" type=" Learun.Application.WorkFlow.IWorkFlowMethod, Learun.Application.WorkFlow" />
<typeAlias alias="WFFileRelease" type=" Learun.Application.WorkFlow.WFFileRelease, Learun.Application.WorkFlow" />
</typeAliases>
<containers>
<container name="IOCcontainer">
@@ -24,6 +50,31 @@

<container name="WfIOCcontainer">
<type type="INodeMethod" mapTo="NodeMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_AssetsInfoApplyMethod" name="Ass_AssetsInfoApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_PurchaseApplyMethod" name="Ass_PurchaseApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_AssetsOutApplyMethod" name="Ass_AssetsOutApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="Sys_SendFileMethod" name="Sys_SendFileMethod"></type>
<type type="IWorkFlowMethod" mapTo="Sys_ReceiveDocumentMethod" name="Sys_ReceiveDocumentMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_InventoryMethod" name="Ass_InventoryMethod"></type>
<type type="IWorkFlowMethod" mapTo="StampApplyMethod" name="StampApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="CorporateMaterialApplyMethod" name="CorporateMaterialApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_AllocationMethod" name="Ass_AllocationMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_ScrapMethod" name="Ass_ScrapMethod"></type>
<type type="IWorkFlowMethod" mapTo="LC_hetongMethod" name="LC_hetongMethod"></type>
<type type="IWorkFlowMethod" mapTo="SW_Ask_TypeMethod" name="SW_Ask_TypeMethod"></type>
<type type="IWorkFlowMethod" mapTo="SW_Ask_StudentMainMethod" name="SW_Ask_StudentMainMethod"></type>
<type type="IWorkFlowMethod" mapTo="Sys_SendFilePartyMethod" name="Sys_SendFilePartyMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_ReceiveMethod" name="Ass_ReceiveMethod"></type>
<type type="IWorkFlowMethod" mapTo="ADR_AddApplyMethod" name="ADR_AddApplyMethod"></type>
<type type="IWorkFlowMethod" mapTo="WFFileRelease" name="wfFileRelease"></type>
<type type="IWorkFlowMethod" mapTo="OA_NewsMethod" name="OA_NewsMethod"></type>
<type type="IWorkFlowMethod" mapTo="Ass_AcceptanceMethod" name="Ass_AcceptanceMethod"></type>
<type type="IWorkFlowMethod" mapTo="MeetingManagementApplyMethod" name="MeetingManagementApplyMethod"></type>
<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>
<type type="IWorkFlowMethod" mapTo="StuDisciplineManagementMethod" name="StuDisciplineManagementMethod"></type>
</container>
<container name="TsIOCcontainer">
<!--<type type="ITSMethod" mapTo="TestTask" name="taskioc"></type>-->


Loading…
Cancel
Save