public new Sys_Organize Insert(Sys_Organize model) { model.Id = Guid.NewGuid().ToString(); model.Layer = _organizeRepository.GetById(model.ParentId).Layer += 1; model.IsDeleted = false; model.CreateUser = OperatorProvider.Instance.Current.Account; model.CreateTime = DateTime.Now; model.ModifyUser = model.CreateUser; model.ModifyTime = model.CreateTime; return(_organizeRepository.Insert(model)); }