Example #1
0
 public WmsInboundOrderTblApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <WmsInboundOrderTbl, OpenAuthDBContext> repository,
                              RevelanceManagerApp app, IAuth auth, WmsInboundOrderDtblApp wmsInboundOrderDtblApp) : base(unitWork,
                                                                                                                         repository, auth)
 {
     _revelanceApp           = app;
     _wmsInboundOrderDtblApp = wmsInboundOrderDtblApp;
 }
Example #2
0
 public BuilderTableApp(IUnitWork unitWork, IRepository <BuilderTable> repository,
                        RevelanceManagerApp app, IAuth auth, DbExtension dbExtension, BuilderTableColumnApp builderTableColumnApp,
                        IOptions <AppSetting> appConfiguration) : base(unitWork, repository, auth)
 {
     _dbExtension           = dbExtension;
     _builderTableColumnApp = builderTableColumnApp;
     _appConfiguration      = appConfiguration;
 }
 public FlowInstanceApp(IUnitWork unitWork, IRepository <FlowInstance> repository
                        , IAuth auth, RevelanceManagerApp app, FlowSchemeApp flowSchemeApp, FormApp formApp, IHttpClientFactory httpClientFactory) : base(unitWork, repository)
 {
     _auth              = auth;
     _revelanceApp      = app;
     _flowSchemeApp     = flowSchemeApp;
     _formApp           = formApp;
     _httpClientFactory = httpClientFactory;
 }
Example #4
0
 public BuilderTableApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <BuilderTable, OpenAuthDBContext> repository,
                        RevelanceManagerApp app, IAuth auth, DbExtension dbExtension, BuilderTableColumnApp builderTableColumnApp,
                        IOptions <AppSetting> appConfiguration, CategoryApp categoryApp) : base(unitWork, repository, auth)
 {
     _dbExtension           = dbExtension;
     _builderTableColumnApp = builderTableColumnApp;
     _appConfiguration      = appConfiguration;
     _categoryApp           = categoryApp;
 }
Example #5
0
 public FlowInstanceApp(IUnitWork unitWork, IRepository <FlowInstance> repository
                        , RevelanceManagerApp app, FlowSchemeApp flowSchemeApp, FormApp formApp, IHttpClientFactory httpClientFactory, IAuth auth, IServiceProvider serviceProvider)
     : base(unitWork, repository, auth)
 {
     _revelanceApp      = app;
     _flowSchemeApp     = flowSchemeApp;
     _formApp           = formApp;
     _httpClientFactory = httpClientFactory;
     _serviceProvider   = serviceProvider;
 }
Example #6
0
 public FlowInstanceApp(IUnitWork <OpenAuthDBContext> unitWork,
                        IRepository <FlowInstance, OpenAuthDBContext> repository
                        , RevelanceManagerApp app, FlowSchemeApp flowSchemeApp, FormApp formApp,
                        IHttpClientFactory httpClientFactory, IAuth auth, IServiceProvider serviceProvider,
                        SysMessageApp messageApp)
     : base(unitWork, repository, auth)
 {
     _revelanceApp      = app;
     _flowSchemeApp     = flowSchemeApp;
     _formApp           = formApp;
     _httpClientFactory = httpClientFactory;
     _serviceProvider   = serviceProvider;
     _messageApp        = messageApp;
 }
        /// <summary>
        /// 寻找该节点执行人
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>
        private string GetMakerList(FlowNode node, string processId)
        {
            string makerList = "";

            if (node.setInfo == null)
            {
                makerList = "-1";
            }
            else
            {
                if (node.setInfo.NodeDesignate == Setinfo.ALL_USER)//所有成员
                {
                    makerList = "1";
                }
                else if (node.setInfo.NodeDesignate == Setinfo.SPECIAL_USER)//指定成员
                {
                    makerList = GenericHelpers.ArrayToString(node.setInfo.NodeDesignateData.users, makerList);

                    if (makerList == "")
                    {
                        makerList = "-1";
                    }
                }
                else if (node.setInfo.NodeDesignate == Setinfo.SPECIAL_ROLE)  //指定角色
                {
                    var users = RevelanceManagerApp.Get(Define.USERROLE, false, node.setInfo.NodeDesignateData.roles);
                    makerList = GenericHelpers.ArrayToString(users, makerList);

                    if (makerList == "")
                    {
                        makerList = "-1";
                    }
                }
            }
            return(makerList);
        }
 public DataPrivilegeRuleApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <DataPrivilegeRule, OpenAuthDBContext> repository,
                             RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
 public CategoryTypeApp(IUnitWork unitWork, IRepository <CategoryType> repository,
                        RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #10
0
 public SysMessageApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <SysMessage, OpenAuthDBContext> repository,
                      RevelanceManagerApp app, IAuth auth, ILogger <SysMessageApp> logger) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
     _logger       = logger;
 }
Example #11
0
 public ModuleManagerApp(IUnitWork unitWork, IRepository <Module> repository
                         , RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #12
0
 public UserManagerApp(IUnitWork unitWork, IRepository <User> repository,
                       RevelanceManagerApp app, IAuth auth, OrgManagerApp orgManagerApp) : base(unitWork, repository, auth)
 {
     _revelanceApp  = app;
     _orgManagerApp = orgManagerApp;
 }
 public WmsInboundOrderDtblApp(IUnitWork unitWork, IRepository <WmsInboundOrderDtbl> repository,
                               RevelanceManagerApp app, IAuth auth, DbExtension dbExtension) : base(unitWork, repository, auth)
 {
     _dbExtension  = dbExtension;
     _revelanceApp = app;
 }
Example #14
0
 public FrmLeaveReqApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <FrmLeaveReq, OpenAuthDBContext> repository,
                       RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #15
0
 public SysMessageApp(IUnitWork unitWork, IRepository <SysMessage> repository,
                      RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #16
0
 public OrgManagerApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <Org, OpenAuthDBContext> repository, IAuth auth,
                      RevelanceManagerApp revelanceApp) : base(unitWork, repository, auth)
 {
     _revelanceApp = revelanceApp;
 }
Example #17
0
 public ResourceApp(IUnitWork unitWork, IRepository <Resource> repository, RevelanceManagerApp app, IAuth auth) : base(unitWork, repository)
 {
     _revelanceApp = app;
     _auth         = auth;
 }
Example #18
0
 public DataPrivilegeRuleApp(IUnitWork unitWork, IRepository <DataPrivilegeRule> repository,
                             RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #19
0
 public FrmLeaveReqApp(IUnitWork unitWork, IRepository <FrmLeaveReq> repository,
                       RevelanceManagerApp app) : base(unitWork, repository)
 {
     _revelanceApp = app;
 }
Example #20
0
 public CategoryApp(IUnitWork unitWork, IRepository <Category> repository,
                    RevelanceManagerApp app, IAuth auth) : base(unitWork, repository)
 {
     _revelanceApp = app;
     _auth         = auth;
 }
Example #21
0
 public FormApp(IUnitWork unitWork, IRepository <Form> repository,
                RevelanceManagerApp app) : base(unitWork, repository)
 {
     _revelanceApp = app;
 }
Example #22
0
 public FlowInstanceApp(IUnitWork unitWork, IRepository <FlowInstance> repository
                        , IAuth auth, RevelanceManagerApp app) : base(unitWork, repository)
 {
     _auth         = auth;
     _revelanceApp = app;
 }
Example #23
0
 public CategoryTypeApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <CategoryType, OpenAuthDBContext> repository,
                        RevelanceManagerApp app, IAuth auth) : base(unitWork, repository, auth)
 {
     _revelanceApp = app;
 }
Example #24
0
 public OrgManagerApp(IUnitWork unitWork, IRepository <OpenAuth.Repository.Domain.Org> repository, IAuth auth,
                      RevelanceManagerApp revelanceApp) : base(unitWork, repository, auth)
 {
     _revelanceApp = revelanceApp;
 }