/// <summary> /// 返回配送列表 /// </summary> /// <param name="top">显示条数</param> /// <param name="strwhere">查询条件</param> /// <returns>DataTable</returns> protected DataTable get_distribution_list(int top, string strwhere) { DataTable dt = new DataTable(); string _where = "is_lock=0"; if (!string.IsNullOrEmpty(strwhere)) { _where += " and " + strwhere; } dt = new Hoto.BLL.distribution().GetList(top, _where, "sort_id asc,id desc").Tables[0]; return dt; }
/// <summary> /// 返回配送列表 /// </summary> /// <param name="top">显示条数</param> /// <param name="strwhere">查询条件</param> /// <returns>DataTable</returns> protected DataTable get_distribution_list(int top, string strwhere) { DataTable dt = new DataTable(); string _where = "is_lock=0"; if (!string.IsNullOrEmpty(strwhere)) { _where += " and " + strwhere; } dt = new Hoto.BLL.distribution().GetList(top, _where, "sort_id asc,id desc").Tables[0]; return(dt); }