//更新到正式表
        public void UpdateToFormalTable()
        {
            if (this.内容不同的字段.Count > 0)
            {
                return;
            }

            ManagementSpecialtyProperty m = ManagementSpecialtyProperty.GetManagementSpecialtyProperty(届别, 岗位级别, 学历, 专业名称);

            if (m == null)
            {
                m    = new ManagementSpecialtyProperty();
                m.标识 = Guid.NewGuid();
            }
            this.CopyWatchMember(m);
            m.序号   = this.序号;
            m.更新时间 = DateTime.Now;
            m.Save();

            //更新生效标记
            if (!this.已生效)
            {
                this.生效时间 = DateTime.Now;
                this.Save();

                ManagementSpecialtyPropertyInput opposite = 另一人录入的记录;
                opposite.生效时间 = DateTime.Now;
                opposite.Save();
            }
        }
        public static ManagementSpecialtyPropertyInput AddManagementSpecialtyPropertyInput(string year, string grade, string xueli, string specialty, bool isVerify, bool copyEffective)
        {
            ManagementSpecialtyPropertyInput item = GetManagementSpecialtyPropertyInput(year, grade, xueli, specialty, isVerify);

            if (item == null)
            {
                item = new ManagementSpecialtyPropertyInput();

                if (copyEffective)
                {
                    //将当前的管培生信息带进来
                    ManagementSpecialtyProperty effectiveManagementSpecialtyProperty = ManagementSpecialtyProperty.GetManagementSpecialtyProperty(year, grade, xueli, specialty);
                    if (effectiveManagementSpecialtyProperty != null)
                    {
                        item.CopyEffective = copyEffective;
                        effectiveManagementSpecialtyProperty.CopyWatchMember(item);
                    }
                }

                item.标识   = Guid.NewGuid();
                item.届别   = year;
                item.岗位级别 = grade;
                item.学历   = xueli;
                item.专业名称 = specialty;

                item.是验证录入 = isVerify;
                item.录入人   = "   ";
                item.录入时间  = DateTime.Now;

                item.Save();
            }
            return(item);
        }