• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# SMT类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中SMT的典型用法代码示例。如果您正苦于以下问题:C# SMT类的具体用法?C# SMT怎么用?C# SMT使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SMT类属于命名空间,在下文中一共展示了SMT类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: orgClient_GetCompanyActivedCompleted

        void orgClient_GetCompanyActivedCompleted(object sender, SMT.Saas.Tools.OrganizationWS.GetCompanyActivedCompletedEventArgs e)
        {
            if (e.Error != null && e.Error.Message != "")
            {
                //loadbar.Stop();//有错误停止转圈                
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"),
                Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
                return;
            }
            else
            {
                if (e.Result == null)
                {
                    return;
                }

                ObservableCollection<SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY> entTemps = e.Result;
                allCompanys = new List<SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY>();
                allCompanys.Clear();
                var ents = entTemps.OrderBy(c => c.FATHERID);
                ents.ForEach(item =>
                {
                    allCompanys.Add(item);
                });

                UICache.CreateCache("SYS_CompanyInfo", allCompanys);
                orgClient.GetDepartmentActivedAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID);
            }
        }
开发者ID:JuRogn,项目名称:OA,代码行数:29,代码来源:BindOrgTree.cs


示例2: LoadData

 public void LoadData(SMT.SaaS.FrameworkUI.FormTypes type, string resumeID)
 {
     formType = type;
     if (formType == FormTypes.Browse)
     {
         this.IsEnabled = false;
     }
     if (formType == SMT.SaaS.FrameworkUI.FormTypes.New)
     {
         if (Resume == null)
         {
             Resume = new T_HR_RESUME();
             Resume.RESUMEID = Guid.NewGuid().ToString();
             Resume.CREATEDATE = DateTime.Now;
             Resume.CREATEUSERID = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID;
         }
     }
     else
     {
         if (Resume == null)
         {
             client.GetResumeByidAsync(resumeID);
         }
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:25,代码来源:BaseinfoForm.xaml.cs


示例3: personelClient_GetEmployeeDetailByIDCompleted

 void personelClient_GetEmployeeDetailByIDCompleted(object sender, SMT.Saas.Tools.PersonnelWS.GetEmployeeDetailByIDCompletedEventArgs e)
 {
     if (e.Result != null)
     {
        // SMT.SAAS.Main.CurrentContext.Common.CurrentConfig.CurrentUser.EmployeeInfo = e.Result;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:Rein.xaml.cs


示例4: LooKUP

        public LooKUP(SMT.SaaS.FrameworkUI.OrgTreeItemTypes orgTreeItemType,string title)
        {
            InitializeComponent();
            this.Title = title;
            //object objs = null;
            //if (Application.Current.Resources["CurrentUserID"] != null)
            //{
            //    objs = Application.Current.Resources["CurrentUserID"];
            //    Application.Current.Resources.Remove("CurrentUserID");
            //    Application.Current.Resources.Add("CurrentUserID", "");
            //}
            //if (Application.Current.Resources["CurrentUserID"] == null)
            //{
            //    Application.Current.Resources.Add("CurrentUserID", "");
            //}

            SMT.SaaS.FrameworkUI.OrganizationControl.OrganizationLookup lookup = new SMT.SaaS.FrameworkUI.OrganizationControl.OrganizationLookup();
            lookup.SelectedObjType = orgTreeItemType;
            lookup.SelectedClick += (obj, ev) =>
            {
                List<SMT.SaaS.FrameworkUI.OrganizationControl.ExtOrgObj> ent = lookup.SelectedObj as List<SMT.SaaS.FrameworkUI.OrganizationControl.ExtOrgObj>;
                if (ent != null && ent.Count > 0)
                {
                    SelectList = ent;

                }
            };
            (lookup.FindName("OKButton") as Button).Click += new RoutedEventHandler(LooKUP_Click);
            (lookup.FindName("CancelButton") as Button).Click += new RoutedEventHandler(CancelButton_Click);
            lookup.MultiSelected = false;
            LayoutRoot.Children.Add(lookup);
        }
开发者ID:JuRogn,项目名称:OA,代码行数:32,代码来源:LooKUP.xaml.cs


示例5: orgClient_GetCompanyActivedCompleted

        void orgClient_GetCompanyActivedCompleted(object sender, SMT.Saas.Tools.OrganizationWS.GetCompanyActivedCompletedEventArgs e)
        {
            if (e.Error != null && e.Error.Message != "")
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }
            else
            {
                if (e.Result == null)
                {
                    return;
                }

                ObservableCollection<SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY> entTemps = e.Result;
                allCompanys = new List<SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY>();
                allCompanys.Clear();
                var ents = entTemps.OrderBy(c => c.FATHERID);
                ents.ForEach(item =>
                {
                    allCompanys.Add(item);
                });

                UICache.CreateCache("ORGTREESYSCompanyInfo", allCompanys);
                UICache.CreateCache("SYS_CompanyInfo", allCompanys);
                orgClient.GetDepartmentActivedAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID);
            }
        }
开发者ID:JuRogn,项目名称:OA,代码行数:27,代码来源:OrganizationTreeView.xaml.cs


示例6: UpdateEmployeeInfo

 public string UpdateEmployeeInfo(SMT.HRM.CustomModel.Permission.EmployeeInfo employeeInfo)
 {
     using (InstantMessageBll bll = new InstantMessageBll())
     {
         string StrReturn = bll.UpdateEmployeeInfo(employeeInfo);
         return StrReturn;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:8,代码来源:InstantMessagingServices.svc.cs


示例7: UpdateEmployeeInfo

 public string UpdateEmployeeInfo(SMT.SaaS.Permission.DAL.views.EmployeeInfo employeeInfo)
 {
     using (InstantMessageBll bll = new InstantMessageBll())
     {
         string StrReturn = bll.UpdateEmployeeInfo(employeeInfo);
         return StrReturn;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:8,代码来源:InstantMessagingServices.svc.cs


示例8: _client_DeleteFileCompleted

 //WCF删除
 void _client_DeleteFileCompleted(object sender, SMT.Saas.Tools.NewFileUploadWS.DeleteFileCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         if (e.Result != null)
         {
             string txt = e.Result;
         }
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:11,代码来源:FileUploadRowControl.xaml.cs


示例9: RelationPostForm

        /// <summary>
        /// 
        /// </summary>
        /// <param name="type"></param>
        /// <param name="strID"></param>
        /// <param name="PostID">当前岗位ID</param>
        public RelationPostForm(SMT.SaaS.FrameworkUI.FormTypes type, string strID,T_HR_POST post)
        {
            InitializeComponent();
            FormType = type;
            Post = post;
            InitParas(strID);

            if (Post != null)
            {
                txtPostCode.Text = Post.T_HR_POSTDICTIONARY.POSTCODE;
                txtPostName.Text = Post.T_HR_POSTDICTIONARY.POSTNAME;
            }
        }
开发者ID:JuRogn,项目名称:OA,代码行数:19,代码来源:RelationPostForm.xaml.cs


示例10: SetToolBar

        //设置工具条
        private void SetToolBar(SMT.SaaS.FrameworkUI.FormToolBar ToolBar)
        {
            ToolBar.btnRefresh.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.cbxCheckState.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.BtnView.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.btnAudit.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.txtCheckStateName.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.btnEdit.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.btnNew.Visibility = System.Windows.Visibility.Collapsed;
            ToolBar.btnDelete.Visibility = System.Windows.Visibility.Collapsed;


            CreateControl(ToolBar);
        }
开发者ID:JuRogn,项目名称:OA,代码行数:15,代码来源:TipsShow.xaml.cs


示例11: auditControl_AuditCompleted

        void auditControl_AuditCompleted(object sender, SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs e)
        {
            //if (e.Result == AuditEventArgs.AuditResult.Auditing)
            //{
            //    this.Order.EditState = "审核中";
            //}
            //else if (e.Result == AuditEventArgs.AuditResult.Successful)
            //{
            //    this.Order.EditState = "审核通过";
            //}
            //else if (e.Result == AuditEventArgs.AuditResult.Fail)
            //{
            //    this.Order.EditState = "审核不通过";

            //}
        }
开发者ID:JuRogn,项目名称:OA,代码行数:16,代码来源:Test.xaml.cs


示例12: CN

 public static string CN(SMT.FileUpLoad.Constants.FileStates _state)
 {
     switch (_state)
     {
         case SMT.FileUpLoad.Constants.FileStates.Pending:
             return "选中";
         case SMT.FileUpLoad.Constants.FileStates.Uploading:
             return "上传中..";
         case SMT.FileUpLoad.Constants.FileStates.Finished:
             return "完成";
         case SMT.FileUpLoad.Constants.FileStates.Error:
             return "错误";
         case SMT.FileUpLoad.Constants.FileStates.Deleted:
             return "删除";
         case SMT.FileUpLoad.Constants.FileStates.Removed:
             return "移除";
         case SMT.FileUpLoad.Constants.FileStates.Cancel:
             return "取消";
         default:
             return "";
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:22,代码来源:Constants.cs


示例13: SetFlowRecordEntity

        public void SetFlowRecordEntity(SMT.SaaS.FrameworkUI.AuditControl.Flow_FlowRecord_T entity)
        {
            //string strXmlObjectSource = string.Empty;
            //strXmlObjectSource = Utility.ObjListToXml<T_HR_SALARYSYSTEM>(salarySystem, "HR");
            //Utility.SetAuditEntity(entity, "T_HR_SALARYSYSTEM", salarySystem.SALARYSYSTEMID, strXmlObjectSource);

            Dictionary<string, string> para = new Dictionary<string, string>();
            para.Add("SALARYSYSTEMNAME", salarySystem.SALARYSYSTEMNAME);
            para.Add("EntityKey", salarySystem.SALARYSYSTEMID);

            Dictionary<string, string> para2 = new Dictionary<string, string>();

            string strXmlObjectSource = string.Empty;
            string strKeyName = "SALARYSYSTEMID";
            string strKeyValue = salarySystem.SALARYSYSTEMID;
            strXmlObjectSource = Utility.ObjListToXml<T_HR_SALARYSYSTEM>(salarySystem, para, "HR", para2, strKeyName, strKeyValue);



            Dictionary<string, string> paraIDs = new Dictionary<string, string>();
            paraIDs.Add("CreateUserID", salarySystem.CREATEUSERID);
            paraIDs.Add("CreatePostID", salarySystem.OWNERPOSTID);
            paraIDs.Add("CreateDepartmentID", salarySystem.OWNERDEPARTMENTID);
            paraIDs.Add("CreateCompanyID", salarySystem.OWNERCOMPANYID);

            if (salarySystem.CHECKSTATE == Convert.ToInt32(CheckStates.UnSubmit).ToString())
            {
                Utility.SetAuditEntity(entity, "T_HR_SALARYSYSTEM", salarySystem.SALARYSYSTEMID, strXmlObjectSource, paraIDs);
            }
            else
            {
                Utility.SetAuditEntity(entity, "T_HR_SALARYSYSTEM", salarySystem.SALARYSYSTEMID, strXmlObjectSource);
            }

        }
开发者ID:JuRogn,项目名称:OA,代码行数:35,代码来源:SalarySystemNameForm.xaml.cs


示例14: IsLevelAdded

        private bool IsLevelAdded(SMT.Saas.Tools.PermissionWS.T_SYS_DICTIONARY dict)
        {
            bool rslt = false;

            var ents = from p in postLevels
                       where p.POSTLEVEL == Convert.ToDecimal(dict.DICTIONARYVALUE)
                       select p;
            rslt = ents.Count() > 0;
            return rslt;
        }
开发者ID:JuRogn,项目名称:OA,代码行数:10,代码来源:SalarySystemNameForm.xaml.cs


示例15: ShowOrganization

        private void ShowOrganization(SMT.SaaS.FrameworkUI.OrgTreeItemTypes orgTreeItemType, string nameType)
        {
            LooKUP up = new LooKUP(orgTreeItemType, "你选择的条件是:" + lookTitle);
            up.Width = 700;
            up.SelectedClick += (obj, ev) =>
            {
                if (up.SelectList != null)
                {
                    string selectid = "";
                    if (SMT.SaaS.FrameworkUI.OrgTreeItemTypes.Company == orgTreeItemType)
                    {
                        if (nameType == "COMPANYNAME")
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY)(up.SelectList.FirstOrDefault().ObjectInstance)).CNAME;
                        }
                        else
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_COMPANY)(up.SelectList.FirstOrDefault().ObjectInstance)).COMPANYID;
                        }
                    }
                    if (SMT.SaaS.FrameworkUI.OrgTreeItemTypes.Department == orgTreeItemType)
                    {
                        if (nameType == "DEPARTMENTNAME")
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_DEPARTMENT)(up.SelectList.FirstOrDefault().ObjectInstance)).T_HR_DEPARTMENTDICTIONARY.DEPARTMENTNAME;
                        }
                        else
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_DEPARTMENT)(up.SelectList.FirstOrDefault().ObjectInstance)).DEPARTMENTID;
                        }
                    }
                    if (SMT.SaaS.FrameworkUI.OrgTreeItemTypes.Post == orgTreeItemType)
                    {
                        if (nameType == "POSTNAME")
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_POST)(up.SelectList.FirstOrDefault().ObjectInstance)).T_HR_POSTDICTIONARY.POSTNAME;
                        }
                        else
                        {
                            selectid = ((SMT.Saas.Tools.OrganizationWS.T_HR_POST)(up.SelectList.FirstOrDefault().ObjectInstance)).POSTID;
                        }

                    }
                    if (SMT.SaaS.FrameworkUI.OrgTreeItemTypes.Personnel == orgTreeItemType)
                    {
                        if (nameType == "OWNER"
                            || nameType == "CREATEUSERNAME"
                            || nameType == "OWNERNAME"
                            || nameType == "CURRENTEMPLOYEENAME"
                            || nameType == "CLAIMSWERENAME"
                            || nameType == "EMPLOYEENAME"
                            || nameType == "UPDATEUSERNAME"
                            )
                        {
                            selectid = ((SMT.Saas.Tools.PersonnelWS.T_HR_EMPLOYEE)(up.SelectList.FirstOrDefault().ObjectInstance)).EMPLOYEECNAME;
                        }
                        else
                        {
                            selectid = ((SMT.Saas.Tools.PersonnelWS.T_HR_EMPLOYEE)(up.SelectList.FirstOrDefault().ObjectInstance)).EMPLOYEEID;
                        }

                    }
                    txtCompareValue.Text = selectid;
                }              
            };
            up.Show();
            return;
        }
开发者ID:JuRogn,项目名称:OA,代码行数:68,代码来源:LineProperty.xaml.cs


示例16: SetFlowRecordEntity

        public void SetFlowRecordEntity(SMT.SaaS.FrameworkUI.AuditControl.Flow_FlowRecord_T entity)
        {
            EntityBrowser browser = this.FindParentByType<EntityBrowser>();
            browser.AuditCtrl.Auditing += new EventHandler<SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs>(AuditCtrl_Auditing);
            Dictionary<string, string> para = new Dictionary<string, string>();
            para.Add("DEPARTMENTNAME", Department.T_HR_DEPARTMENTDICTIONARY.DEPARTMENTNAME);
            para.Add("CREATEUSERNAME", createUserName);
            para.Add("OWNER", createUserName);


            //Dictionary<string, string> para2 = new Dictionary<string, string>();
            //para2.Add("T_HR_COMPANYReference", Department.T_HR_COMPANY == null ? "" : Department.T_HR_COMPANY.COMPANYID + "#" + Department.T_HR_COMPANY.CNAME);
            //para2.Add("T_HR_DEPARTMENTDICTIONARYReference", Department.T_HR_DEPARTMENTDICTIONARY == null ? "" : Department.T_HR_DEPARTMENTDICTIONARY.DEPARTMENTDICTIONARYID + "#" + Department.T_HR_DEPARTMENTDICTIONARY.DEPARTMENTNAME);
            //para2.Add("DEPARTMENTBOSSHEAD", (lkHead.DataContext as T_HR_POST) == null ? "" : (lkHead.DataContext as T_HR_POST).POSTID + "#" + (lkHead.DataContext as T_HR_POST).T_HR_POSTDICTIONARY.POSTNAME);

            entity.SystemCode = "HR";
            string strXmlObjectSource = string.Empty;
            if (!string.IsNullOrEmpty(entity.BusinessObjectDefineXML))
                strXmlObjectSource = this.GetXmlString(entity.BusinessObjectDefineXML, Department);
            // strXmlObjectSource = Utility.ObjListToXml<T_HR_DEPARTMENT>(Department, para, "HR", para2, null);
            Utility.SetAuditEntity(entity, "T_HR_DEPARTMENT", Department.DEPARTMENTID, strXmlObjectSource);
        }
开发者ID:JuRogn,项目名称:OA,代码行数:22,代码来源:DepartmentForm.xaml.cs


示例17: AuditCtrl_Auditing

        void AuditCtrl_Auditing(object sender, SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs e)
        {
            //if (SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID != Department.OWNERID && Department.CHECKSTATE == Convert.ToInt32(CheckStates.UnSubmit).ToString())
            //{
            //    RefreshUI(RefreshedTypes.HideProgressBar);
            //    e.Result = SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs.AuditResult.Cancel;
            //    ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"),
            //        Utility.GetResourceStr("OPERATINGWITHOUTAUTHORITY"),
            //    Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
            //    return;
            //}
            if (FormType == FormTypes.Resubmit && canSubmit == false)
            {
                RefreshUI(RefreshedTypes.HideProgressBar);
                e.Result = SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs.AuditResult.Cancel;
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"),
                    Utility.GetResourceStr("请先保存修改的记录"),
                Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
                return;
            }
            /// Added by 罗捷
            ///如果有可用的部门,则不允许再添加
            if (Department.EDITSTATE == "1")
            {
                RefreshUI(RefreshedTypes.HideProgressBar);
                e.Result=SMT.SaaS.FrameworkUI.AuditControl.AuditEventArgs.AuditResult.Cancel;
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"),
                    Utility.GetResourceStr("该部门已经存在,不能提交"),
                Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
                return;
            }


        }
开发者ID:JuRogn,项目名称:OA,代码行数:34,代码来源:DepartmentForm.xaml.cs


示例18: GetAllPost

 private void GetAllPost(SMT.Saas.Tools.PersonnelWS.V_EMPLOYEEPOST ent)//获取当前员工、所属公司、所属部门
 {
     if (ent != null && ent.EMPLOYEEPOSTS != null)
     {
         txtEMPLOYEENAME.Text = ent.EMPLOYEEPOSTS[0].T_HR_EMPLOYEE.EMPLOYEECNAME; //员工姓名
         txtCompanyId.Text = ent.EMPLOYEEPOSTS[0].T_HR_POST.T_HR_DEPARTMENT.T_HR_COMPANY.CNAME;//公司
         txtDepartmentId.Text = ent.EMPLOYEEPOSTS[0].T_HR_POST.T_HR_DEPARTMENT.T_HR_DEPARTMENTDICTIONARY.DEPARTMENTNAME;//部门
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:9,代码来源:ProxySettingsForm.xaml.cs


示例19: AddDistributeObjList

 /// <summary>
 ///保存 发布对象
 /// </summary>
 /// <param name="issuanceExtOrgObj"></param>
 /// <param name="issuanceID"></param>
 private void AddDistributeObjList(SMT.SaaS.FrameworkUI.OrganizationControl.ExtOrgObj issuanceExtOrgObj, string issuanceID)
 {
     SMT.SaaS.OA.UI.SmtOACommonOfficeService.T_OA_DISTRIBUTEUSER distributeTmp = new SMT.SaaS.OA.UI.SmtOACommonOfficeService.T_OA_DISTRIBUTEUSER();
     distributeTmp.DISTRIBUTEUSERID = Guid.NewGuid().ToString();
     distributeTmp.MODELNAME = "OASatisfactionDistribute";
     distributeTmp.FORMID = issuanceID;
     distributeTmp.VIEWTYPE = ((int)GetObjectType(issuanceExtOrgObj)).ToString();
     if (distributeTmp.VIEWTYPE == ((int)IssuanceObjectType.Post).ToString())    //如果是选择岗位,则保存岗位级别
     {
         T_HR_POST hr = (T_HR_POST)issuanceExtOrgObj.ObjectInstance;
         if (!string.IsNullOrEmpty(hr.POSTLEVEL.ToString()))
             distributeTmp.VIEWER = hr.POSTLEVEL.ToString();
         else
             distributeTmp.VIEWER = hr.T_HR_POSTDICTIONARY.POSTLEVEL.ToString();
     }
     else
     {
         distributeTmp.VIEWER = issuanceExtOrgObj.ObjectID;
     }
     distributeTmp.CREATEDATE = DateTime.Now;
     distributeTmp.CREATEUSERID = Common.CurrentLoginUserInfo.EmployeeID;
     distributeTmp.CREATEUSERNAME = Common.CurrentLoginUserInfo.EmployeeName;
     distributeTmp.CREATEPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID;
     distributeTmp.CREATEDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID;
     distributeTmp.CREATECOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID;
     distributeTmp.OWNERID = Common.CurrentLoginUserInfo.EmployeeID;
     distributeTmp.OWNERNAME = Common.CurrentLoginUserInfo.EmployeeName;
     distributeTmp.OWNERPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID;
     distributeTmp.OWNERDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID;
     distributeTmp.OWNERCOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID;
     distributeLists.Add(distributeTmp);
 }
开发者ID:JuRogn,项目名称:OA,代码行数:37,代码来源:SatisfactionDistribute_upd.xaml.cs


示例20: SetFlowRecordEntity

        public void SetFlowRecordEntity(SMT.SaaS.FrameworkUI.AuditControl.Flow_FlowRecord_T entity)
        {
            Dictionary<string, string> para = new Dictionary<string, string>();
            para.Add("EntityKey", Complain.COMPLAINID);

            Dictionary<string, string> para2 = new Dictionary<string, string>();

            string strXmlObjectSource = string.Empty;
            string strKeyName = "COMPLAINID";
            string strKeyValue = Complain.COMPLAINID;
            strXmlObjectSource = Utility.ObjListToXml<T_HR_KPIRECORDCOMPLAIN>(Complain, para, "HR", para2, strKeyName, strKeyValue);

            // 1s 冉龙军
            //Utility.SetAuditEntity(entity, "T_HR_KPIRECORDCOMPLAIN", Complain.COMPLAINANTID, strXmlObjectSource);
            Utility.SetAuditEntity(entity, "T_HR_KPIRECORDCOMPLAIN", Complain.COMPLAINID, strXmlObjectSource);
            // 1e
        }
开发者ID:JuRogn,项目名称:OA,代码行数:17,代码来源:PerformanceComplain.xaml.cs



注:本文中的SMT类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# SNIPacket类代码示例发布时间:2022-05-24
下一篇:
C# SLThemeColorIndexValues类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap