-
大小: 16.33MB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2023-07-14
- 語言: 其他
- 標(biāo)簽:
資源簡介
該圖書管理系統(tǒng)是由shh框架編寫,可以作為一個課程設(shè)計(jì)使用,簡單易懂!
代碼片段和文件信息
package?com.hactcm.action;
import?java.io.File;
import?java.io.FileInputStream;
import?java.io.FileOutputStream;
import?java.io.IOException;
import?java.io.InputStream;
import?java.io.OutputStream;
import?java.util.ArrayList;
import?java.util.UUID;
import?org.apache.struts2.ServletActionContext;
import?org.springframework.context.annotation.Scope;
import?org.springframework.stereotype.Controller;
import?javax.annotation.Resource;
import?javax.servlet.http.HttpServletResponse;
import?java.util.List;
import?com.hactcm.dao.BookDAO;
import?com.hactcm.dao.BookTypeDAO;
import?com.hactcm.domain.Book;
import?com.hactcm.domain.BookType;
import?com.hactcm.utils.ExportExcelUtil;
import?com.opensymphony.xwork2.ActionContext;
import?com.opensymphony.xwork2.ActionSupport;
@Controller?@Scope(“prototype“)
public?class?BookAction?extends?ActionSupport?{
/*圖片字段bookPhoto參數(shù)接收*/
?private?File?bookPhotoFile;
?private?String?bookPhotoFileFileName;
?private?String?bookPhotoFileContentType;
?public?File?getBookPhotoFile()?{
return?bookPhotoFile;
}
public?void?setBookPhotoFile(File?bookPhotoFile)?{
this.bookPhotoFile?=?bookPhotoFile;
}
public?String?getBookPhotoFileFileName()?{
return?bookPhotoFileFileName;
}
public?void?setBookPhotoFileFileName(String?bookPhotoFileFileName)?{
this.bookPhotoFileFileName?=?bookPhotoFileFileName;
}
public?String?getBookPhotoFileContentType()?{
return?bookPhotoFileContentType;
}
public?void?setBookPhotoFileContentType(String?bookPhotoFileContentType)?{
this.bookPhotoFileContentType?=?bookPhotoFileContentType;
}
????/*界面層需要查詢的屬性:?圖書條形碼*/
????private?String?barcode;
????public?void?setBarcode(String?barcode)?{
????????this.barcode?=?barcode;
????}
????public?String?getBarcode()?{
????????return?this.barcode;
????}
????/*界面層需要查詢的屬性:?圖書名稱*/
????private?String?bookName;
????public?void?setBookName(String?bookName)?{
????????this.bookName?=?bookName;
????}
????public?String?getBookName()?{
????????return?this.bookName;
????}
????/*界面層需要查詢的屬性:?圖書所在類別*/
????private?BookType?bookType;
????public?void?setBookType(BookType?bookType)?{
????????this.bookType?=?bookType;
????}
????public?BookType?getBookType()?{
????????return?this.bookType;
????}
????/*界面層需要查詢的屬性:?出版日期*/
????private?String?publishDate;
????public?void?setPublishDate(String?publishDate)?{
????????this.publishDate?=?publishDate;
????}
????public?String?getPublishDate()?{
????????return?this.publishDate;
????}
????/*當(dāng)前第幾頁*/
????private?int?currentPage;
????public?void?setCurrentPage(int?currentPage)?{
????????this.currentPage?=?currentPage;
????}
????public?int?getCurrentPage()?{
????????return?currentPage;
????}
????/*一共多少頁*/
????private?int?totalPage;
????public?void?setTotalPage(int?totalPage)?{
????????this.totalPage?=?totalPage;
????}
????public?int?getTotalPage()?{
????????return?totalPage;
????}
????/*當(dāng)前查詢的總記錄數(shù)目*/
????private?int?recordNumber;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????5750??2016-06-16?20:27??ssh圖書管理系統(tǒng)\ssh2_db.sql
?????文件???????3225??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.classpath
?????文件????????286??2016-05-21?16:10??ssh圖書管理系統(tǒng)\book\.myme
?????文件?????????66??2016-05-21?16:47??ssh圖書管理系統(tǒng)\book\.myumldata
?????文件???????1757??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.project
?????文件????????500??2013-01-20?22:05??ssh圖書管理系統(tǒng)\book\.settings\.jsdtscope
?????文件???????1040??2016-05-21?16:10??ssh圖書管理系統(tǒng)\book\.settings\com.genuitec.eclipse.j2eedt.core.prefs
?????文件????????228??2016-05-28?09:33??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.core.resources.prefs
?????文件????????395??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.jdt.core.prefs
?????文件????????137??2016-05-21?16:11??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.ltk.core.refactoring.prefs
?????文件????????450??2016-05-21?16:11??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.wst.common.component
?????文件????????252??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2016-05-20?22:15??ssh圖書管理系統(tǒng)\book\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????3235??2016-05-21?16:33??ssh圖書管理系統(tǒng)\book\src\beans.xm
?????文件???????6323??2016-05-21?16:28??ssh圖書管理系統(tǒng)\book\src\struts.xm
?????文件??????14260??2016-05-28?09:32??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\BookAction.java
?????文件???????7991??2016-05-28?09:33??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\BookTypeAction.java
?????文件???????2091??2016-05-28?09:35??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\ChangePasswordAction.java
?????文件??????10682??2016-05-28?09:36??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\LoanInfoAction.java
?????文件????????477??2012-08-25?19:56??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\LoginAction-login_CheckLogin-validation.xm
?????文件???????2031??2016-05-28?10:36??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\LoginAction.java
?????文件??????14983??2016-05-28?09:37??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\ReaderAction.java
?????文件???????8215??2016-05-28?09:38??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\ReaderTypeAction.java
?????文件????????262??2016-05-20?22:48??ssh圖書管理系統(tǒng)\book\src\com\hactcm\action\UserAction.java
?????文件???????1654??2016-05-28?10:46??ssh圖書管理系統(tǒng)\book\src\com\hactcm\dao\AdminDAO.java
?????文件???????5061??2016-05-28?10:47??ssh圖書管理系統(tǒng)\book\src\com\hactcm\dao\BookDAO.java
?????文件???????3801??2016-05-28?10:47??ssh圖書管理系統(tǒng)\book\src\com\hactcm\dao\BookTypeDAO.java
?????文件???????4682??2016-05-28?10:48??ssh圖書管理系統(tǒng)\book\src\com\hactcm\dao\LoanInfoDAO.java
?????文件???????5586??2016-05-28?10:49??ssh圖書管理系統(tǒng)\book\src\com\hactcm\dao\ReaderDAO.java
............此處省略262個文件信息
- 上一篇:人工智能馬少平,朱小燕
- 下一篇:存儲器管理
評論
共有 條評論