carCylinderResult.jsp 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.bean.AppCylinder" %>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. List<AppCylinder> acList = new ArrayList<AppCylinder>();
  7. acList = (List<AppCylinder>)session.getAttribute("carCylinderList");
  8. AppCylinder ac = new AppCylinder();
  9. if(acList.size()>0){
  10. ac = acList.get(0);
  11. }
  12. %>
  13. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  14. <html>
  15. <head>
  16. <base href="<%=basePath%>">
  17. <title>车辆气瓶信息表</title>
  18. <meta http-equiv="pragma" content="no-cache">
  19. <meta http-equiv="cache-control" content="no-cache">
  20. <meta http-equiv="expires" content="0">
  21. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  22. <meta http-equiv="description" content="This is my page">
  23. </head>
  24. <body>
  25. <div>
  26. <center>
  27. <table width="auto" border="1" cellpadding="2" cellspacing="0">
  28. <tr>
  29. <td>使用登记证号</td>
  30. <td colspan="2"><%=ac.getCertNo() %></td>
  31. <td>车牌号码</td>
  32. <td colspan="3"><%=ac.getCarNo() %></td>
  33. </tr>
  34. <tr>
  35. <td>使用单位(人)</td>
  36. <td colspan="2"><%=ac.getUseUnit() %></td>
  37. <td>车架号</td>
  38. <td colspan="3"><%=ac.getFrameNo() %></td>
  39. </tr>
  40. <tr>
  41. <td>品牌型号</td>
  42. <td colspan="2"><%=ac.getBrand() %></td>
  43. <td>车辆种类</td>
  44. <td colspan="3"><%=ac.getCarType() %></td>
  45. </tr>
  46. <tr>
  47. <td>整备质量</td>
  48. <td colspan="2"><%=ac.getCarWeight() %></td>
  49. <td>安装单位</td>
  50. <td colspan="3"><%=ac.getInstallUnit() %></td>
  51. </tr>
  52. <tr>
  53. <td>监检单位</td>
  54. <td colspan="2"><%=ac.getCheckUnit() %></td>
  55. <td>安装日期</td>
  56. <td colspan="3"><%=ac.getInstallDate() %></td>
  57. </tr>
  58. <tr>
  59. <td>监检日期</td>
  60. <td colspan="2"><%=ac.getCheckDate() %></td>
  61. <td>安装数量</td>
  62. <td colspan="3"><%=ac.getInstallNum() %></td>
  63. </tr>
  64. <tr>
  65. <td>检验证书编号</td>
  66. <td colspan="2"><%=ac.getCheckCertNo() %></td>
  67. <td>安装许可证号</td>
  68. <td colspan="3"><%=ac.getInstallCertNo() %></td>
  69. </tr>
  70. <tr>
  71. <td></td>
  72. <td colspan="2"></td>
  73. <td>充装介质</td>
  74. <td colspan="3"><%=ac.getMedia() %></td>
  75. </tr>
  76. <tr>
  77. <td colspan="7" align="center">气瓶情况</td>
  78. </tr>
  79. <tr>
  80. <td>气瓶编号</td>
  81. <td>制造单位</td>
  82. <td>制造日期</td>
  83. <td>气瓶品种</td>
  84. <td>气瓶重量</td>
  85. <td>气瓶容积</td>
  86. <td>下次检验日期</td>
  87. </tr>
  88. <% for(AppCylinder appc:acList){ %>
  89. <tr>
  90. <td>
  91. <%=appc.getCylinderNo() %>
  92. </td>
  93. <td>
  94. <%=appc.getProductUnit() %>
  95. </td>
  96. <td>
  97. <%=appc.getProductDate() %>
  98. </td>
  99. <td>
  100. <%=appc.getCylinderType() %>
  101. </td>
  102. <td>
  103. <%=appc.getCylinderWeight() %>
  104. </td>
  105. <td>
  106. <%=appc.getCylinderVol() %>
  107. </td>
  108. <td>
  109. <%=appc.getNextCheckDate() %>
  110. </td>
  111. </tr>
  112. <%} %>
  113. </table>
  114. </center>
  115. </body>
  116. </html>