cls_house.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:3k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.liu
  2. Class Cls_House
  3. private hs_id,hs_HouseName,hs_Position,hs_Direction,hs_Class,hs_OpenDate,hs_PreSaleNumber,hs_IssueDate,hs_PreSaleRange,hs_Status,hs_Price,hs_PubDate,hs_tel,hs_Click,hs_UserNumber,hs_Audited,hs_editor,hs_picNumber,hs_introduction
  4. Private house_rs
  5. public Function getQuotationInfo(id)
  6. Set house_rs=Server.CreateObject(G_FS_RS)
  7. house_rs.open "select ID,HouseName,Position,Direction,Class,OpenDate,PreSaleNumber,IssueDate,PreSaleRange,Status,Price,PubDate,Tel,Click,UserNumber,Audited,editor,picNumber,introduction from FS_HS_Quotation where id="&id,Conn,1,1
  8. hs_id=house_rs("id")
  9. hs_HouseName=house_rs("HouseName")
  10. hs_Position=house_rs("Position")
  11. hs_Direction=house_rs("Direction")
  12. hs_Class=house_rs("Class")
  13. hs_OpenDate=house_rs("OpenDate")
  14. hs_PreSaleNumber=house_rs("PreSaleNumber")
  15. hs_IssueDate=house_rs("IssueDate")
  16. hs_PreSaleRange=house_rs("PreSaleRange")
  17. hs_Status=house_rs("Status")
  18. hs_Price=house_rs("Price")
  19. hs_PubDate=house_rs("PubDate")
  20. hs_tel=house_rs("tel")
  21. hs_Click=house_rs("Click")
  22. hs_UserNumber=house_rs("UserNumber")
  23. hs_Audited=house_rs("Audited")
  24. hs_editor=house_rs("editor")
  25. hs_picNumber=house_rs("picNumber")
  26. hs_introduction=house_rs("introduction")
  27. End Function
  28. public property get id()
  29. id=hs_id
  30. end property
  31. public property get houseName()'1.楼盘名称
  32. houseName=hs_HouseName
  33. end property
  34. public property get position()'2.位置
  35. position=hs_Position
  36. end property
  37. public property get direction()'3.方位
  38. direction=hs_Direction
  39. end property
  40. public property get hclass()'4.类型
  41. hclass=hs_class
  42. end property
  43. public property get openDate()'5.开盘日期
  44. openDate=hs_OpenDate
  45. end property
  46. public property get preSaleNumber()'6.预售许可证号码
  47. preSaleNumber=hs_PreSaleNumber
  48. end property
  49. public property get issueDate()'7.发证日期
  50. issueDate=hs_IssueDate
  51. end property
  52. public property get preSaleRange()'8.预售范围
  53. preSaleRange=hs_PreSaleRange
  54. end property
  55. public property get status()'9.楼盘状态[1.展示;2.期房;3.现房]
  56. status=hs_Status
  57. end property
  58. public property get price()'10.价格
  59. price=hs_Price
  60. end property
  61. public property get pubDate()'11.发布日期
  62. pubDate=hs_PubDate
  63. end property
  64. public property get click()'12.点击数
  65. click=hs_Click
  66. end property
  67. public property get userNumber()'13.发布信息者
  68. userNumber=hs_UserNumber
  69. end property
  70. public property get audited()'14.审核状态
  71. audited=hs_Audited
  72. end property
  73. public property get editor()'15.编辑者
  74. editor=hs_editor
  75. end property
  76. public property get picNumber()'16.图片数量
  77. picNumber=hs_picNumber
  78. end property
  79. public property get tel()'17.联系电话
  80. tel=hs_Tel
  81. end property
  82. public property get introduction()'18.介绍
  83. introduction=hs_introduction
  84. end property
  85. End Class
  86. %>