您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

29 行
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. }