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

  • 大小: 20.33MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-20
  • 語言: Html/CSS
  • 標(biāo)簽: SSM??BootStrap??mysql??java??Jq??

資源簡介

一款非常全面的考試系統(tǒng) 有后臺,前臺,數(shù)據(jù)庫齊全 前臺用的是html5+css+bootstrap 后臺是ssm+mysql

資源截圖

代碼片段和文件信息

package?com.ksx.controller;

import?java.io.BufferedReader;
import?java.io.File;
import?java.io.FileInputStream;
import?java.io.IOException;
import?java.io.InputStreamReader;
import?java.sql.Timestamp;
import?java.util.HashMap;
import?java.util.List;
import?java.util.Map;

import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpSession;

import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.stereotype.Controller;
import?org.springframework.web.bind.annotation.RequestBody;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.bind.annotation.ResponseBody;
import?org.springframework.web.multipart.MultipartFile;

import?com.alibaba.fastjson.JSONArray;
import?com.ksx.dao.QuestionMapper;
import?com.ksx.dao.TmQuestionTypeMapper;
import?com.ksx.entity.TmAdmin;
import?com.ksx.entity.TmExamResults;
import?com.ksx.entity.TmPaper;
import?com.ksx.entity.TmQuestion;
import?com.ksx.entity.TmQuestionDb;
import?com.ksx.entity.TmQuestionOptions;
import?com.ksx.entity.TmQuestionPoint;
import?com.ksx.entity.TmUser;
import?com.ksx.service.TmAdminService;
import?com.ksx.service.TmExamResultsService;
import?com.ksx.service.TmPaperService;
import?com.ksx.service.TmQuestionOptionsService;
import?com.ksx.service.TmQuestionPointService;
import?com.ksx.service.TmQuestionService;
import?com.ksx.service.TmUserService;
import?com.ksx.util.ExcelReader;

@Controller
@RequestMapping(“admin“)
public?class?TmAdiminController?{

@Autowired
private?TmAdminService?tmAdmin;
@Autowired?
private?TmUserService?tmUser;
@Autowired
private?QuestionMapper?qm;
@Autowired
private?TmQuestionService?questionService;
@Autowired
private?TmQuestionOptionsService?optionsService;
@Autowired
private?TmQuestionPointService?pointService;
@Autowired
private?TmQuestionTypeMapper?qType;
@Autowired
private?TmPaperService?paperService;
@Autowired
private?TmExamResultsService?resultsService;
/**
?*?顯示管理員信息
?*?@param?session
?*?@return
?*/
@RequestMapping(“l(fā)ist.do“)
public?String?login(HttpSession?session)?{
List?tmAdmins=tmAdmin.getAdmins();
for?(TmAdmin?tmAdmin2?:?tmAdmins)?{
System.out.println(tmAdmin2);
}
session.setAttribute(“tmAdmins“?tmAdmins);
return?“views/test“;
}

/**
?*?管理員登錄
?*?@param?admin
?*?@param?usercode
?*?@param?t
?*?@param?session
?*?@return
?*/
@ResponseBody
@RequestMapping(“l(fā)ogin.do“)
public?String?login(TmAdmin?adminString?usercodeString?tHttpSession?session)?{
Map?date?=?new?HashMap();
TmAdmin?loginAdmin?=?tmAdmin.login(admin);
if?(loginAdmin!=null)?{
int?status=tmAdmin.seachStatus(loginAdmin.getId());
if?(status==0)?{
date.put(“message“?“該用戶被禁用,請聯(lián)系管理員“);
}else?{
session.setAttribute(“l(fā)oginAdmin“?loginAdmin);
date.put(“code“?“1“);
}
}else{
date.put(“code“?“0“

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-03-25?10:20??整合項目\
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\
?????文件?????????914??2018-02-02?10:56??整合項目\TomexamSys\.classpath
?????文件????????1335??2018-01-12?17:24??整合項目\TomexamSys\.project
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\.settings\
?????文件?????????522??2018-01-12?09:51??整合項目\TomexamSys\.settings\.jsdtscope
?????文件????????1414??2018-02-02?11:09??整合項目\TomexamSys\.settings\com.genuitec.eclipse.core.prefs
?????文件????????1009??2018-01-12?17:25??整合項目\TomexamSys\.settings\com.genuitec.eclipse.j2eedt.core.prefs
?????文件?????????205??2018-01-26?10:19??整合項目\TomexamSys\.settings\org.eclipse.core.resources.prefs
?????文件?????????364??2018-01-12?09:51??整合項目\TomexamSys\.settings\org.eclipse.jdt.core.prefs
?????文件?????????492??2018-01-12?17:25??整合項目\TomexamSys\.settings\org.eclipse.wst.common.component
?????文件?????????414??2018-01-12?09:51??整合項目\TomexamSys\.settings\org.eclipse.wst.common.project.facet.core.xml
?????文件??????????49??2018-01-12?09:51??整合項目\TomexamSys\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2018-01-12?09:51??整合項目\TomexamSys\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\meta-INF\
?????文件??????????39??2018-01-12?09:51??整合項目\TomexamSys\WebRoot\meta-INF\MANIFEST.MF
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\WEB-INF\
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\WEB-INF\classes\
?????文件????????2647??2018-01-16?09:05??整合項目\TomexamSys\WebRoot\WEB-INF\classes\applicationContext-mvc.xml
?????文件????????2838??2018-01-12?15:52??整合項目\TomexamSys\WebRoot\WEB-INF\classes\applicationContext.xml
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\
?????目錄???????????0??2018-03-25?10:20??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\
?????文件???????14727??2018-02-03?00:15??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmAdiminController.class
?????文件????????2945??2018-02-02?11:01??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmExamController.class
?????文件????????9378??2018-02-02?11:01??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmPaperController.class
?????文件???????15779??2018-02-02?11:01??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmQuestionController.class
?????文件????????5642??2018-02-02?11:01??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmQuestionDbController.class
?????文件?????????651??2018-02-02?11:01??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmQuestionTypeController.class
?????文件???????19255??2018-02-03?17:17??整合項目\TomexamSys\WebRoot\WEB-INF\classes\com\ksx\controller\TmUserController.class
............此處省略765個文件信息

評論

共有 條評論