CylinderMonitorListdo.jsp 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.bean.CylinderMonitor" %>
  3. <%@ page import="com.runzhixing.tool.Util" %>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. List<CylinderMonitor> list = (List)session.getAttribute("CylinderMonitorListdo");
  8. %>
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  10. <html>
  11. <head>
  12. <base href="<%=basePath%>">
  13. <title>气瓶信息查询-监检</title>
  14. <meta http-equiv="pragma" content="no-cache">
  15. <meta http-equiv="cache-control" content="no-cache">
  16. <meta http-equiv="expires" content="0">
  17. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  18. <meta http-equiv="description" content="This is my page">
  19. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  20. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  21. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  22. </head>
  23. <body>
  24. <center>
  25. <% if(list.size()>0){%>
  26. <table class="hzbspan" width="auto" border="1" cellpadding="2" cellspacing="0">
  27. <tr style="text-align: center; COLOR: #0076C8; BACKGROUND-COLOR: #F4FAFF; font-weight: bold">
  28. <td>序号</td>
  29. <td>所属车辆</td>
  30. <td>车牌类型名</td>
  31. <td>气瓶出厂编号</td>
  32. <td>气瓶类型</td>
  33. <td>应用类型</td>
  34. <td>厂家简称</td>
  35. <td>生产年月</td>
  36. <td>安装监检单位</td>
  37. <td>安装监检日期</td>
  38. <td>安装监检许可</td>
  39. <td>安装合格证</td>
  40. <td>安装人</td>
  41. <td>登记(修改)站点名</td>
  42. <td>登记(修改)人</td>
  43. <td>状态</td>
  44. <td>录入时间</td>
  45. </tr>
  46. <%
  47. int xuhao = 1;
  48. for(CylinderMonitor ca:list){ %>
  49. <tr style="text-align: center; COLOR: #0076C8; BACKGROUND-COLOR: #F4FAFF; font-weight: bold">
  50. <td><%=xuhao %></td>
  51. <td><%=Util.removeNull(ca.getCarNo()) %></td>
  52. <td><%=Util.removeNull(ca.getPlateTypeName()) %></td>
  53. <td><%=Util.removeNull(ca.getCylinderNo()) %></td>
  54. <td><%=Util.removeNull(ca.getCylinderTypeName()) %></td>
  55. <td><%=Util.removeNull(ca.getAppTypeName()) %></td>
  56. <td><%=Util.removeNull(ca.getProductNo()) %></td>
  57. <td><%=Util.removeNull(ca.getProductDate1()) %></td>
  58. <td><%=Util.removeNull(ca.getMonitorStation()) %></td>
  59. <td><%=Util.removeNull(ca.getMonitorDate1()) %></td>
  60. <td><%=Util.removeNull(ca.getMonitorLicence()) %></td>
  61. <td><%=Util.removeNull(ca.getMonitorCert()) %></td>
  62. <td><%=Util.removeNull(ca.getMonitorWorkerName()) %></td>
  63. <td><%=Util.removeNull(ca.getEditStation()) %></td>
  64. <td><%=Util.removeNull(ca.getEditOperator()) %></td>
  65. <td><%=Util.removeNull(ca.getOperStateName()) %></td>
  66. <td><%=Util.removeNull(ca.getEditOperTime1()) %></td>
  67. </tr>
  68. <%
  69. xuhao++;
  70. }%>
  71. </table>
  72. <%}else{%>
  73. <font class="hzbspan">没有查询到相关信息!!!</font>
  74. <% } %>
  75. </center>
  76. </body>
  77. </html>