public static JobGrade AddJobGrade(string salary_plan, string name, int order) { JobGrade item = GetJobGrade(salary_plan, name); if (item == null) { item = new JobGrade(); item.标识 = Guid.NewGuid(); item.薪酬体系 = salary_plan; item.称 = name; item.序号 = order; item.Save(); } return(item); }