using APT.BaseData.Domain.ApiModel; using APT.BaseData.Domain.Entities; using APT.Infrastructure.Core; using System; using System.Collections.Generic; using APT.Infrastructure.Api; namespace APT.BaseData.Domain.IServices.FM { public partial interface IPFFlowService : ICommonService { void SendFlowAndCommit(T entity, int entityType, string schemeCode, Action action) where T : MesEntityBase, new(); /// /// 查询 /// /// /// PagedResultDto QueryFlowInstance(KeywordPageFilter pageFilter); /// /// 新增时自动送审 /// /// /// void AddAndSendFlow(T entity, int entityType) where T : MesEntityBase, new(); /// /// 检查自动送审(直接保存数据) /// /// /// /// 实体类型 参考PFCodeRuleType void CheckAndSendFlow(Guid id, int entityType) where T : MesEntityBase, new(); /// /// 检查自动送审(直接保存数据) /// /// /// /// 实体类型 参考PFCodeRuleType /// /// void CheckAndSendFlow(Guid id, int entityType, string userId, string userName) where T : MesEntityBase, new(); /// /// 检查自动送审(未保存数据) /// /// /// /// 实体类型 参考PFCodeRuleType /// 可能为空 SendFlowResult CheckAndSendFlow(T entity, int entityType) where T : MesEntityBase, new(); /// /// 送审(直接保存数据) /// /// 实体ID /// 实体类型 参考PFCodeRuleType /// void SendFlow(Guid id, int entityType) where T : MesEntityBase, new(); /// /// 送审(直接保存数据) /// /// /// 实体ID /// 实体类型 参考PFCodeRuleType /// /// void SendFlow(Guid id, int entityType, string userId, string userName) where T : MesEntityBase, new(); /// /// 送审(直接保存数据) /// /// /// /// SendFlowResult SendFlow(SendFlowParam param, Action action = null) where T : MesEntityBase, new(); /// /// 送审(未保存数据) /// /// /// /// SendFlowResult SendFlow(SendFlowEntityParam param) where T : MesEntityBase, new(); /// /// 审核流程 /// /// /// void PermitFlow(PermitFlowParam param) where T : MesEntityBase, new(); /// /// 审核流程 /// /// void PermitFlowSimple(PermitFlowParam param); /// 获取流程模板 /// /// FlowSchemeResponse GetFlowScheme(KeywordFilter filter); /// /// 获取流程 /// /// /// FlowResponse GetFlow(KeywordFilter filter); } }