xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 34.97MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2023-06-30
  • 語言: 數(shù)據(jù)庫
  • 標(biāo)簽:

資源簡介

spring+springmvc+mybatis搭建的一個(gè)醫(yī)院管理系統(tǒng)附帶mysql數(shù)據(jù)庫

資源截圖

代碼片段和文件信息

package?com.cjj.core.common;

import?javax.servlet.ServletRequest;
import?javax.servlet.ServletResponse;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;

import?org.springframework.web.bind.annotation.ModelAttribute;

import?com.cjj.vo.PagingVo;

public?abstract?class?baseController?{
private?static?ThreadLocal?requestLocal?=?new?ThreadLocal();
private?static?ThreadLocal?responseLocal?=?new?ThreadLocal();
protected?PagingVo?pagingVo;

@ModelAttribute
public?void?setReqAndRes(HttpServletRequest?request?HttpServletResponse?response){
requestLocal.set(request);
responseLocal.set(response);
}

/**
?*?線程安全
?*?@return
?*/
public?HttpServletRequest?request(){
return?(HttpServletRequest)?requestLocal.get();
}

/**
?*?線程安全
?*?@return
?*/
public?HttpServletResponse?response(){
return?(HttpServletResponse)?responseLocal.get();
}

/**
?*?設(shè)置分頁參數(shù)
?*?@param?pagesize?每頁顯示行數(shù)
?*?@param?sumrow?總行數(shù)
?*?@param?currentpage?當(dāng)前頁數(shù)
?*/
public?void?setPaging(int?pagesize?int?sumrow?int?currentpage){
//總頁數(shù)
int?sumpage?=?(int)Math.ceil(Double.parseDouble(sumrow+““)/Double.parseDouble(pagesize+““));
if(sumpage<1){//如果總頁數(shù)小于1,則賦值為1
sumpage?=?1;
}
if(currentpage? currentpage?=?1;
}else?if(currentpage?>?sumpage){//如果當(dāng)前頁數(shù)大于總頁數(shù),則賦值為總頁數(shù)
currentpage?=?sumpage;
}
//分頁標(biāo)簽,開始循環(huán)數(shù)
int?beginpage?=?currentpage?-?2;
//分頁標(biāo)簽,結(jié)束循環(huán)數(shù)
int?endpage?=?currentpage?+?2;
//調(diào)整分頁標(biāo)簽
while?(beginpage? if(beginpage?!=?1?&&?endpage? endpage++;?//結(jié)束循環(huán)數(shù)+1
}
beginpage++;//開始循環(huán)數(shù)+1
}
while?(endpage?>=?sumpage)?{//循環(huán),一直到結(jié)束循環(huán)數(shù)>=總頁數(shù)
if(endpage?!=?sumpage?&&?beginpage?>?2){//結(jié)束循環(huán)數(shù)?!=?總頁數(shù)?且?開始循環(huán)數(shù)?>?2
beginpage--;?//開始循環(huán)數(shù)-1
}
endpage--;?//結(jié)束循環(huán)數(shù)-1
}
//生成分頁參數(shù)類
pagingVo?=?new?PagingVo(sumrow?currentpage?sumpage?beginpage?endpage);
request().getSession().setAttribute(“pagingVo“?pagingVo);

}
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-03-15?16:41??20170315\
?????目錄???????????0??2017-03-15?16:22??20170315\任務(wù)計(jì)劃書和需求\
?????文件????16190254??2016-11-04?16:01??20170315\任務(wù)計(jì)劃書和需求\4醫(yī)院管理系統(tǒng)使用說明書.doc
?????目錄???????????0??2017-03-15?16:22??20170315\數(shù)據(jù)庫文件\
?????目錄???????????0??2017-03-15?16:44??20170315\數(shù)據(jù)庫文件\pdm\
?????文件??????322532??2017-03-15?15:14??20170315\數(shù)據(jù)庫文件\pdm\醫(yī)院管理系統(tǒng)數(shù)據(jù)庫.pdm
?????目錄???????????0??2017-03-15?16:43??20170315\數(shù)據(jù)庫文件\sql\
?????文件???????62874??2017-03-15?16:43??20170315\數(shù)據(jù)庫文件\sql\hospitalmanage20170315164318.sql
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\
?????文件?????????529??2017-03-07?11:37??20170315\源代碼\hospitalmanage\.classpath
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\.myeclipse\
?????文件?????????315??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.mymetadata
?????文件????????1757??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.project
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\.settings\
?????文件?????????500??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\.jsdtscope
?????文件?????????364??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\org.eclipse.jdt.core.prefs
?????文件?????????480??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\org.eclipse.wst.common.component
?????文件?????????252??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\org.eclipse.wst.common.project.facet.core.xml
?????文件??????????49??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2017-03-07?11:38??20170315\源代碼\hospitalmanage\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\
?????文件????????1267??2017-03-07?11:38??20170315\源代碼\hospitalmanage\src\applicationContext.xml
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\com\
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\com\cjj\
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\com\cjj\core\
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\com\cjj\core\common\
?????文件????????2510??2017-03-07?11:38??20170315\源代碼\hospitalmanage\src\com\cjj\core\common\baseController.java
?????文件?????????553??2017-03-13?21:45??20170315\源代碼\hospitalmanage\src\com\cjj\core\common\baseService.java
?????目錄???????????0??2017-03-15?16:44??20170315\源代碼\hospitalmanage\src\com\cjj\core\interceptor\
?????文件????????1983??2017-03-15?09:14??20170315\源代碼\hospitalmanage\src\com\cjj\core\interceptor\CommonInterceptor.java
............此處省略1477個(gè)文件信息

評(píng)論

共有 條評(píng)論