/// <summary> /// 保存医生分组数据 /// </summary> /// <param name="entity">医生分组实体</param> public void SaveInfo(AI_DoctorGroup entity) { if (!string.IsNullOrWhiteSpace(entity.DoctorGroupId) && entity.DoctorGroupId != "null") { entity.UpdateM("DoctorGroupId"); } else { entity.CreateTime = entity.UpdateTime; entity.Creator = entity.Creator; entity.DoctorGroupId = GetPrimaryId(); entity.SaveModelM(); } }