资源简介

项目名称 餐厅点餐系统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.xml
     文件        3905  2016-12-20 00:59  mealsystem-master\configs\applicationContext.xml
     文件         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.xml
     目录           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.xml
     文件         485  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\LoadControllerlMapper.xml
     文件        2804  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\MenuManageMapper.xml
     文件        1749  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\NoticeManageMapper.xml
     文件        1294  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\PerformanceMapper.xml
     文件        2033  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\UserManageMapper.xml
     文件         370  2016-12-20 00:59  mealsystem-master\configs\mybatis\menumanage\frontdeskMapper.xml
     目录           0  2016-12-20 00:59  mealsystem-master\dbscripts\
     文件       11000  2016-12-20 00:59  mealsystem-master\dbscripts\mealsystem.sql
     目录           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.xml
............此处省略215个文件信息

评论

共有 条评论