资源简介
自行车管理系统毕业设计(含毕业设计论文)
使用Servlet\Hibernate\mySQL\jsp等技术
代码片段和文件信息
package com.zyl.bicycle.bean;
import com.zyl.bicycle.dao.BikeDao;
import com.zyl.bicycle.dao.ServicerDao;
public class PageBean {
private int currentpage=1;
private int totalpage=1;
private static int quantity=2;
private int sort;
public int getCurrentpage() {
return currentpage;
}
public void setCurrentpage(int currentpage) {
this.currentpage = currentpage;
}
public int getTotalpage() {
return totalpage;
}
public void setTotalpage(int totalpage) {
this.totalpage=totalpage;
}
public static int getQuantity() {
return quantity;
}
public static void setQuantity(int quantity) {
PageBean.quantity = quantity;
}
public int getSort() {
return sort;
}
public void setSort(int sort) {
this.sort = sort;
}
public int servicerPage(){
ServicerDao sd=new ServicerDao();
int page;
if(sd.count()%this.quantity==0){
page=sd.count()/this.quantity;
}else{
page=sd.count()/this.quantity+1;
}
return page;
}
public int bikePage(){
BikeDao bd=new BikeDao();
int page;
if(bd.count()%this.quantity==0){
page=bd.count()/this.quantity;
}else{
page=bd.count()/this.quantity+1;
}
return page;
}
public int page(int count){
BikeDao bd=new BikeDao();
int page;
if(count%this.quantity==0){
page=count/this.quantity;
}else{
page=count/this.quantity+1;
}
return page;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 578 2011-05-06 15:53 bicycle\.classpath
文件 565 2011-05-06 11:29 bicycle\.myhibernatedata
文件 294 2011-05-06 11:26 bicycle\.myme
文件 1482 2011-05-06 12:47 bicycle\.project
文件 914 2011-05-15 17:43 bicycle\build\bicycle\admin.jsp
文件 3132 2011-05-19 05:54 bicycle\build\bicycle\adminchangepw.jsp
文件 2580 2011-05-19 05:38 bicycle\build\bicycle\admindelate.jsp
文件 5400 2011-06-06 23:29 bicycle\build\bicycle\adminleft.jsp
文件 2724 2011-05-15 17:50 bicycle\build\bicycle\adminlist.jsp
文件 2349 2011-05-19 05:26 bicycle\build\bicycle\adminlogin.jsp
文件 450 2011-05-14 06:09 bicycle\build\bicycle\admintop.jsp
文件 5171 2011-05-19 05:46 bicycle\build\bicycle\adminzc.jsp
文件 4066 2011-05-21 15:39 bicycle\build\bicycle\bikemanage.jsp
文件 6414 2011-05-21 15:42 bicycle\build\bicycle\bikemd.jsp
文件 3308 2011-05-18 19:56 bicycle\build\bicycle\bikeshow.jsp
文件 4278 2011-05-18 18:58 bicycle\build\bicycle\cart.jsp
文件 2704 2011-05-19 05:06 bicycle\build\bicycle\customermanage.jsp
文件 2593 2011-05-19 06:08 bicycle\build\bicycle\customerpwchange.jsp
文件 6665 2011-06-06 22:01 bicycle\build\bicycle\customerzc.jsp
文件 3370 2011-05-20 00:01 bicycle\build\bicycle\ddbiao.jsp
文件 4887 2011-05-20 00:03 bicycle\build\bicycle\dingdanshow.jsp
文件 3934 2011-05-14 06:09 bicycle\build\bicycle\img\+.png
文件 3917 2011-05-14 06:09 bicycle\build\bicycle\img\-.png
文件 675 2011-05-14 06:09 bicycle\build\bicycle\img\arrow.jpg
文件 20443 2011-05-16 04:39 bicycle\build\bicycle\img\bike\bmjg.jpg
文件 24884 2011-05-16 04:39 bicycle\build\bicycle\img\bike\bmjplx.jpg
文件 21786 2011-05-16 04:39 bicycle\build\bicycle\img\bike\bmxl.jpg
文件 26120 2011-05-16 04:39 bicycle\build\bicycle\img\bike\bsj.jpg
文件 14553 2011-05-16 04:39 bicycle\build\bicycle\img\bike\fgll.jpg
文件 28419 2011-05-16 04:39 bicycle\build\bicycle\img\bike\hmbmwz.jpg
............此处省略391个文件信息
- 上一篇:Java 小游戏
- 下一篇:Android史上最牛逼的音乐播放器—仿网易云音乐
评论
共有 条评论