123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.SystemView;
- using Bowin.Common.Linq.Entity;
- using System.Linq.Expressions;
- using EMIS.Entities;
- using EMIS.ViewModel.WorkflowManage;
- namespace EMIS.CommonLogic.SystemServices
- {
- public interface IWorkflowServices
- {
-
-
-
-
-
- int? GetStartStatus(string tableName);
-
-
-
-
-
- int? GetSendBackStatus(string tableName);
-
-
-
-
-
- int? GetPassNoEndStatus(string tableName);
-
-
-
-
-
- List<int?> GetEndStatus(string tableName);
-
-
-
-
-
- int? GetCorrectEndStatus(string tableName);
-
-
-
-
-
- List<int?> GetBackpointStatus(string tableName);
-
-
-
-
-
- List<int?> GetStartApproveStatusList(string tableName);
-
-
-
-
-
- List<WorkflowStatusView> GetStatusViewList(string tableName);
-
-
-
-
-
- List<WorkflowStatusView> GetApproveStatusViewList(string tableName);
-
-
-
-
-
- List<int?> GetRebutStatus(string tableName);
-
-
-
-
-
- List<WorkflowStatusView> GetNoStartStatusViewList(string tableName);
-
-
-
-
-
- List<WorkflowStatusView> GetEndStatusViewList(string tableName);
-
-
-
-
-
-
-
-
-
- bool IsCanApprove(string tableName, Guid userID, Guid actionID, List<Guid> formIDs, Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
-
-
- List<WorkflowPermissionView> IsCanApprove(string tableName, Guid userID, List<Guid> formIDs);
-
-
-
-
-
-
-
-
-
- void StartUp(string tableName, Guid formID, Guid userID, Guid actionID, string comment = "", Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
-
- void StartUp(string tableName, Guid formID, Guid userID, string comment = "", Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
-
- void BatchStartUp(string tableName, List<Guid> formIDList, Guid userID, string comment, Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
-
-
- void Approve(string tableName, Guid formID, Guid userID, Guid actionID, string comment = "", Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
-
-
- void BatchApprove(string tableName, List<Guid> formIDList, Guid userID, Guid actionID, string comment = "", Func<List<Guid>, Guid, bool> dataRangeUserFunc = null);
-
-
-
-
-
-
-
- void ModifyProcessState(string tableName, Guid formID, string status, string description);
-
-
-
-
-
-
-
- List<ActionView> GetActionView(string tableName, Guid formID, Guid userID);
-
-
-
-
-
- List<ActionView> GetActionView(string tableName);
-
-
-
-
-
- List<ActionView> GetStartActionView(string tableName);
-
-
-
-
-
-
- IList<ViewModel.SystemView.WorkflowApproveHistoryView> GetApproveHistoryViewList(string tableName, Guid formID);
-
-
-
-
-
-
-
-
-
-
-
- IGridResultSet<T> QueryByPendingJob<T, TOrder>(string tableName, IQueryable<T> query, Guid userID,
- Expression<Func<T, Guid>> pkSelector, Expression<Func<T, TOrder>> orderby, bool isDescending = false,
- int? pageIndex = null, int? pageSize = null);
- }
- }
|