/// <summary> /// 更新实体 /// </summary> /// <param name="entity">要更新的实体对象</param> /// <returns></returns> public bool UpdateEntity(T entity) { return(_baseDal.UpdateEntity(entity) > 0); }