91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 596KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-18
  • 語言: Java
  • 標簽:

資源簡介

基于SSM下的JAVA項目 包含登錄驗證、權限分配、EXCEL生成下載等

資源截圖

代碼片段和文件信息

package?controller;

import?java.io.IOException;
import?java.io.OutputStream;
import?java.io.Serializable;
import?java.util.List;
import?java.util.Map;

import?javax.annotation.Resource;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?javax.servlet.http.HttpSession;

import?org.apache.poi.ss.usermodel.Cell;
import?org.apache.poi.ss.usermodel.Row;
import?org.apache.poi.xssf.usermodel.XSSFCell;
import?org.apache.poi.xssf.usermodel.XSSFCellstyle;
import?org.apache.poi.xssf.usermodel.XSSFFont;
import?org.apache.poi.xssf.usermodel.XSSFSheet;
import?org.apache.poi.xssf.usermodel.XSSFWorkbook;
import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.http.HttpRequest;
import?org.springframework.stereotype.Controller;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.bind.annotation.ResponseBody;

import?com.fasterxml.jackson.databind.util.JSONPobject;

import?entity.JinwangMap;
import?service.AdminService;
import?service.JinwangService;

@Controller
@RequestMapping(“/user“)
public?class?IndexController?implements?Serializable{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
@Resource
private?AdminService?adminService;
@Autowired
private?JinwangService?jinwangService;

//主頁
@RequestMapping(“toLogin.do“)
public?String?toLogin(HttpServletRequest?reqHttpSession?session){
int?page?=?0;
Integer?start?=?(page*15)+1;
Integer?end?=?start+14;
//查詢一共有多少條確定有多少頁
Double?allpage?=?Double.parseDouble(jinwangService.findall());
allpage?=?Math.ceil(allpage/15);
page+=1;
req.setAttribute(“allpage“?allpage);
req.setAttribute(“page“?page);

List?list?=jinwangService.findAll1(start?end);
req.setAttribute(“all“?list);
String?qx?=?req.getSession().getAttribute(“qx“).toString();
if(qx.equals(“2“))
{
return?“index“;
}
if(qx.equals(“1“)){
return?“index1“;
}
if(qx.equals(“0“)){
return?“index2“;
}
return?“error“;
}

@RequestMapping(“indexFY.do“)
public?String?indexFY(HttpServletRequest?reqHttpSession?session){
int?page?=?Integer.parseInt(req.getParameter(“page“).toString());
Integer?start?=?(page*15)+1;
Integer?end?=?start+14;
//查詢一共有多少條確定有多少頁
Double?allpage?=?Double.parseDouble(jinwangService.findall());
allpage?=?Math.ceil(allpage/15);
page+=1;
req.setAttribute(“allpage“?allpage);
req.setAttribute(“page“?page);

List?list?=jinwangService.findAll1(start?end);
req.setAttribute(“all“?list);
String?qx?=?req.getSession().getAttribute(“qx“).toString();
if(qx.equals(“2“))
{
return?“index“;
}
if(qx.equals(“1“)){
return?“index1“;
}
if(qx.equals(“0“)){
return?“index2“;
}
return?“error“;
}




//各分公司主頁
//寧波分頁
@RequestMapping(“indexNB1.do“)
public?String?indexnb(HttpServletRequest?req

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1772??2018-05-24?19:45??telephone_list\.classpath

?????文件???????1223??2018-05-24?19:14??telephone_list\.project

?????文件????????639??2018-05-24?19:14??telephone_list\.settings\.jsdtscope

?????文件????????430??2018-05-24?19:14??telephone_list\.settings\org.eclipse.jdt.core.prefs

?????文件?????????90??2018-05-24?19:14??telephone_list\.settings\org.eclipse.m2e.core.prefs

?????文件????????683??2018-05-24?19:14??telephone_list\.settings\org.eclipse.wst.common.component

?????文件????????292??2018-05-24?19:45??telephone_list\.settings\org.eclipse.wst.common.project.facet.core.xml

?????文件?????????49??2018-05-24?19:14??telephone_list\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2018-05-24?19:14??telephone_list\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件?????????50??2018-05-24?19:14??telephone_list\.settings\org.eclipse.wst.validation.prefs

?????文件???????2722??2018-06-10?19:00??telephone_list\pom.xml

?????文件??????40378??2018-06-11?20:23??telephone_list\src\main\java\controller\IndexController.java

?????文件???????1216??2018-05-27?16:40??telephone_list\src\main\java\controller\JsonResult.java

?????文件???????2269??2018-06-06?08:48??telephone_list\src\main\java\controller\LoginController.java

?????文件???????3053??2018-06-01?16:11??telephone_list\src\main\java\controller\TJController.java

?????文件???????3075??2018-05-30?22:06??telephone_list\src\main\java\controller\UserController.java

?????文件????????402??2018-06-05?19:53??telephone_list\src\main\java\dao\AdminDao.java

?????文件???????1411??2018-06-03?12:17??telephone_list\src\main\java\dao\JinwangMapDao.java

?????文件???????2020??2018-05-30?17:07??telephone_list\src\main\java\entity\Admin.java

?????文件???????1423??2018-06-08?16:48??telephone_list\src\main\java\entity\AdminMapper.xml

?????文件???????5860??2018-06-01?02:28??telephone_list\src\main\java\entity\JinwangMap.java

?????文件???????7036??2018-06-08?16:31??telephone_list\src\main\java\entity\JinwangMapMapper.xml

?????文件???????1510??2018-06-08?21:42??telephone_list\src\main\java\interceptors\SomeInterceptor.java

?????文件????????625??2018-06-05?19:55??telephone_list\src\main\java\service\AdminService.java

?????文件???????3881??2018-06-12?14:37??telephone_list\src\main\java\service\AdminServiceImpl.java

?????文件???????1617??2018-06-08?15:18??telephone_list\src\main\java\service\JinwangService.java

?????文件???????5797??2018-06-08?15:19??telephone_list\src\main\java\service\JinwangServiceImpl.java

?????文件????????757??2018-05-27?10:14??telephone_list\src\main\java\service\PasswordException.java

?????文件????????595??2018-05-29?19:34??telephone_list\src\main\java\service\PhoneException.java

?????文件????????785??2018-05-27?10:12??telephone_list\src\main\java\service\UserNotFoundException.java

............此處省略119個文件信息

評論

共有 條評論