/// <summary> /// 根据sql条件查询单一字段内容 /// </summary> /// <param name="where">sql条件</param> /// <param name="param">参数化</param> /// <returns></returns> public object Scalar(string sql, object param = null) { return(dal.Scalar(sql, param)); }