public static PerformanceSalary AddPerformanceSalary(string empNo, DateTime effDt)
        {
            PerformanceSalary item = GetPerformanceSalary(empNo, effDt);

            if (item == null)
            {
                item      = new PerformanceSalary();
                item.标识   = Guid.NewGuid();
                item.员工编号 = empNo;
                item.生效日期 = effDt;
                item.Save();
            }
            return(item);
        }
        /// <summary>
        /// 通过 Id 获取
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static PerformanceSalary GetPerformanceSalary(Guid id)
        {
            PerformanceSalary obj = (PerformanceSalary)MyHelper.XpoSession.GetObjectByKey(typeof(PerformanceSalary), id);

            return(obj);
        }