📄 borrowbooklendgotwo.jsp
字号:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage=""%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@page import="com.actionForm.BorrowBookForm"%>
<%@page import="com.actionForm.ReaderForm"%>
<%@page import="java.sql.Date"%>
<jsp:useBean id="readerDao" scope="request" class="com.dao.ReaderDao">
</jsp:useBean>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>翼飞图书管理系统——图书管理</title>
</head>
<%
com.tool.ShowTime showTime=new com.tool.ShowTime();
BorrowBookForm form=(BorrowBookForm)request.getAttribute("form");
String account=(String)session.getAttribute("account");
//==================================================
Date lendTime=Date.valueOf(showTime.showLaterTime(60));
ReaderForm reader=new ReaderForm();
reader.setBookCardMark(form.getReaderCard());
ReaderForm readerForm=readerDao.selectReader(reader);
Date overTime=Date.valueOf(readerForm.getOverTime());
if(lendTime.after(overTime)){
lendTime=overTime;
}
%>
<body>
<div align="center">
<jsp:include page="../topOne.jsp" flush="true"/>
<jsp:include page="../topTwo.jsp" flush="true"/>
<table width="799" border="0" cellpadding="0" cellspacing="0" background="Images/upPlace.jpg">
<tr>
<td height="21" class="word_black">
您当前的位置——借阅管理——图书续借</td>
</tr>
</table>
<table width="799" height="28" border="0" cellpadding="0" cellspacing="0" background="Images/operationOne.jpg">
<tr align="center" class="style2">
<td> ———————确认续借图书——————— </td>
</tr>
</table>
<table width="799" height="457" border="0" cellpadding="0" cellspacing="0" class="tableBorder_B_dashed">
<tr>
<td valign="top" align="center">
<br><br>
<html:form action="borrowBookAction.do?method=borrowBookLendGoThree">
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#819BBC" bordercolorlight="#FFFFFF">
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的条形码</td>
<td width="150"><%=form.getBooklink()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">书的名称</td>
<td width="150"><%=form.getBookName()%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的作者</td>
<td width="150"><%=form.getBookAuthor()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">出版社</td>
<td width="150"><%=form.getBookPunbilc()%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">书的定价</td>
<td width="150"><%=form.getBookPrice()%>元</td>
<td width="100" bgcolor="#83B9FF" class="word_white">押金</td>
<td width="150"><%=form.getBookPrice()+100%>元</td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">借书时间</td>
<td width="150"><html:hidden property="startTime" value="<%=showTime.showCurrentTime()%>"/><%=showTime.showCurrentTime()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">还书时间</td>
<td width="150"><html:hidden property="overTime" value="<%=String.valueOf(lendTime)%>"/><%=String.valueOf(lendTime)%></td>
</tr>
<tr align="center">
<td width="100" height="30" bgcolor="#83B9FF" class="word_white">借书人证号</td>
<td width="150"><html:hidden property="readerCard" value="<%=form.getReaderCard()%>"/><%=form.getReaderCard()%></td>
<td width="100" bgcolor="#83B9FF" class="word_white">操作员</td>
<td width="150"><html:hidden property="operation" value="<%=account%>"/><%=account%></td>
</tr>
</table><br>
<html:submit>确认继借</html:submit> <html:button property="back" onclick="javascript:history.go(-1);">返回操作</html:button>
</html:form>
</td>
</tr>
</table>
<jsp:include page="../bottom.jsp" flush="true"/>
</div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -