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.

29 rivejä
677 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Data;
  6. /// <summary>
  7. /// 网站配置
  8. /// </summary>
  9. namespace Basic.BLL
  10. {
  11. public class address
  12. {
  13. public static DataTable GetListByUser(Basic.Model.user muser)
  14. {
  15. Basic.DAL.address daladd = new Basic.DAL.address();
  16. string strWhere = " id=0 ";
  17. if (muser != null)
  18. {
  19. strWhere = " user_id=" + muser.id;
  20. }
  21. DataTable dst = daladd.GetList(0,strWhere," status desc , id desc ").Tables[0];
  22. return dst;
  23. }
  24. }
  25. }