You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
677 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
/// <summary>
/// 网站配置
/// </summary>
namespace Basic.BLL
{
public class address
{
public static DataTable GetListByUser(Basic.Model.user muser)
{
Basic.DAL.address daladd = new Basic.DAL.address();
string strWhere = " id=0 ";
if (muser != null)
{
strWhere = " user_id=" + muser.id;
}
DataTable dst = daladd.GetList(0,strWhere," status desc , id desc ").Tables[0];
return dst;
}
}
}