<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %> <%@ page import="com.dao.BorrowDAO" %> <%@ page import="com.actionForm.BorrowForm" %> <%@ page import="java.util.*"%> <% Collection coll=(Collection)request.getAttribute("borrowQuery"); %> 图书馆管理系统 <%@include file="banner.jsp"%> <%@include file="navigation.jsp"%>
当前位置:系统查询 > 图书借阅查询 >>>
  请选择查询依据:
借阅时间: 从 (日期格式为:2011-02-14)
<% if(coll==null || coll.isEmpty()){ %>
暂无图书借阅信息!
<% }else{ //通过迭代方式显示数据 Iterator it=coll.iterator(); String bookname=""; String bookbarcode=""; String readerbar=""; String readername=""; String borrowTime=""; String backTime=""; int ifback=0; String ifbackstr=""; %> <% while(it.hasNext()){ BorrowForm borrowForm=(BorrowForm)it.next(); bookname=borrowForm.getBookName(); bookbarcode=borrowForm.getBookBarcode(); readerbar=borrowForm.getReaderBarcode(); readername=borrowForm.getReaderName(); borrowTime=borrowForm.getBorrowTime(); backTime=borrowForm.getBackTime(); ifback=borrowForm.getIfBack(); if(ifback==0){ ifbackstr="未归还"; }else{ ifbackstr="已归还"; } %> <% } } %>
图书条形码 图书名称 读者条形码 读者名称 借阅时间 应还时间 是否归还
 <%=bookbarcode%> <%=bookname%>  <%=readerbar%>  <%=readername%>  <%=borrowTime%>  <%=backTime%>  <%=ifbackstr%>
<%@ include file="copyright.jsp"%>