-
大小: 16.49MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-07-21
- 语言: JavaScript
- 标签: javaweb 软件工程 mysql
资源简介
项目名称
餐厅点餐系统3.0
版本类型
java web版
使用开发工具
myeclipse或者eclipse,Tomcat7.0,mysql
使用框架
Spring+SpringMVC+mybatis+ajax+javascript+jQuery
代码片段和文件信息
package com.diancan.base;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.servlet.ModelAndView;
import com.diancan.entity.Page;
import com.diancan.util.Logger;
import com.diancan.util.PageData;
import com.diancan.util.UuidUtil;
/**
* @author liangzhilin
* 修改时间:2015、12、11
*/
public class baseController {
protected Logger logger = Logger.getLogger(this.getClass());
private static final long serialVersionUID = 6357869213649815390L;
/** new PageData对象
* @return
*/
public PageData getPageData(){
return new PageData(this.getRequest());
}
/**得到ModelAndView
* @return
*/
public ModelAndView getModelAndView(){
return new ModelAndView();
}
/**得到request对象
* @return
*/
public HttpServletRequest getRequest() {
HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
return request;
}
/**得到32位的uuid
* @return
*/
public String get32UUID(){
return UuidUtil.get32UUID();
}
/**得到分页列表的信息
* @return
*/
public Page getPage(){
return new Page();
}
public static void logBefore(Logger logger String interfaceName){
logger.info(““);
logger.info(“start“);
logger.info(interfaceName);
}
public static void logAfter(Logger logger){
logger.info(“end“);
logger.info(““);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-12-20 00:59 mealsystem-master\
文件 281 2016-12-20 00:59 mealsystem-master\README.md
目录 0 2016-12-20 00:59 mealsystem-master\configs\
文件 2250 2016-12-20 00:59 mealsystem-master\configs\applicationContext-mvc.xm
文件 3905 2016-12-20 00:59 mealsystem-master\configs\applicationContext.xm
文件 168 2016-12-20 00:59 mealsystem-master\configs\dbconfig.properties
文件 728 2016-12-20 00:59 mealsystem-master\configs\log4j.properties
文件 635 2016-12-20 00:59 mealsystem-master\configs\mybatis-config.xm
目录 0 2016-12-20 00:59 mealsystem-master\configs\mybatis\
目录 0 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\
文件 2311 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\ChoiceMealMapper.xm
文件 485 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\LoadControllerlMapper.xm
文件 2804 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\MenuManageMapper.xm
文件 1749 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\NoticeManageMapper.xm
文件 1294 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\PerformanceMapper.xm
文件 2033 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\UserManageMapper.xm
文件 370 2016-12-20 00:59 mealsystem-master\configs\mybatis\menumanage\frontdeskMapper.xm
目录 0 2016-12-20 00:59 mealsystem-master\dbsc
文件 11000 2016-12-20 00:59 mealsystem-master\dbsc
目录 0 2016-12-20 00:59 mealsystem-master\docs\
文件 76 2016-12-20 00:59 mealsystem-master\docs\数据库部署说明.txt
目录 0 2016-12-20 00:59 mealsystem-master\src\
目录 0 2016-12-20 00:59 mealsystem-master\src\mealsystem\
文件 1701 2016-12-20 00:59 mealsystem-master\src\mealsystem\.classpath
文件 1362 2016-12-20 00:59 mealsystem-master\src\mealsystem\.project
目录 0 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\
文件 510 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\.jsdtscope
文件 71 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\com.genuitec.eclipse.core.prefs
文件 357 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\org.eclipse.jdt.core.prefs
文件 560 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\org.eclipse.wst.common.component
文件 403 2016-12-20 00:59 mealsystem-master\src\mealsystem\.settings\org.eclipse.wst.common.project.facet.core.xm
............此处省略215个文件信息
评论
共有 条评论