using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; /// /// 网站配置 /// 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; } } }