• 大小: 9.99MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-16
  • 语言: 其他
  • 标签:

资源简介

北大青鸟 APP信息管理,包含前台,后台,还包含数据库

资源截图

代码片段和文件信息

package cn.appsys.controller;

import java.io.File;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

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

import org.apache.commons.io.FilenameUtils;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;

import com.alibaba.fastjson.JSONArray;

import cn.appsys.pojo.AppCategory;
import cn.appsys.pojo.AppInfo;
import cn.appsys.pojo.AppVersion;
import cn.appsys.pojo.BackendUser;
import cn.appsys.pojo.DataDictionary;
import cn.appsys.pojo.DevUser;
import cn.appsys.service.AppCategoryService;
import cn.appsys.service.AppInfoService;
import cn.appsys.service.AppversionService;
import cn.appsys.service.DataDictionaryService;
import cn.appsys.tools.Constants;
import cn.appsys.tools.PageSupport;

@Controller
@RequestMapping(“/appInfo“)
public class Appinfocontroller {
private static Logger logger = Logger.getLogger(Appinfocontroller.class);

@Resource
private AppInfoService appInfoService;

@Resource
private AppCategoryService appCategoryService;

@Resource
private DataDictionaryService dataDictionaryService;
@Resource
public AppversionService appverSion;

public List getDataDictionaryList(String typeCode) {
List dataDictionaryList = null;
try {
dataDictionaryList = dataDictionaryService
.getDataDictionaryList(typeCode);
} catch (Exception e) {
e.printStackTrace();
}
return dataDictionaryList;
}

@RequestMapping(value = “/datadictionarylist.json“ method = RequestMethod.GET)
@ResponseBody
public List getDataDicList(@RequestParam String tcode) {
logger.debug(“getDataDicList tcode ============ “ + tcode);
return this.getDataDictionaryList(tcode);
}

// 获取类型列表

public List getCategoryList(String pid) {
List categoryLevelList = null;
try {
categoryLevelList = appCategoryService
.getAppCategoryListByParentId(pid == null ? null : Integer
.parseInt(pid));
} catch (Exception e) {
e.printStackTrace();
}
return categoryLevelList;
}

// 根据parentId查询出相应的分类级别列表

@RequestMapping(value = “/categorylevellist.json“ method = RequestMethod.GET)
@ResponseBody
public List getAppCategoryList(@RequestParam String pid) {
logger.debug(“getAppCategoryList pid ============ “ + pid);
if (pid.equals(““))
pid = null;
retu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3078  2017-09-13 19:06  AppInfoSystem\.classpath

     文件        548  2017-09-14 11:49  AppInfoSystem\.externalToolBuilders\org.eclipse.wst.jsdt.core.javascriptValidator (1).launch

     文件       1281  2017-09-14 11:49  AppInfoSystem\.project

     文件        503  2017-09-13 17:44  AppInfoSystem\.settings\.jsdtscope

     文件         57  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.core.resources.prefs

     文件        364  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.jdt.core.prefs

     文件        571  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.wst.common.component

     文件        345  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-09-13 17:44  AppInfoSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       3375  2017-09-21 08:30  AppInfoSystem\build\classes\applicationContext-mybatis.xml

     文件      19756  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\controller\Appinfocontroller.class

     文件       8456  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\controller\AppversionController.class

     文件       2704  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\controller\Backcontroller.class

     文件       2903  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\controller\Devcontroller.class

     文件        460  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\AppCategoryMapper.class

     文件        507  2017-09-16 11:10  AppInfoSystem\build\classes\cn\appsys\dao\AppCategoryMapper.xml

     文件       1786  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\AppInfoMapper.class

     文件       6442  2017-09-21 18:31  AppInfoSystem\build\classes\cn\appsys\dao\AppInfoMapper.xml

     文件        568  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\AppversionMapper.class

     文件       1668  2017-09-16 11:10  AppInfoSystem\build\classes\cn\appsys\dao\AppversionMapper.xml

     文件        306  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\BackMapper.class

     文件        333  2017-09-16 11:10  AppInfoSystem\build\classes\cn\appsys\dao\BackMapper.xml

     文件        460  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\DataDictionaryMapper.class

     文件        450  2017-09-16 14:25  AppInfoSystem\build\classes\cn\appsys\dao\DataDictionaryMapper.xml

     文件        299  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\dao\DevMapper.class

     文件        322  2017-09-16 11:11  AppInfoSystem\build\classes\cn\appsys\dao\DevMapper.xml

     文件       1079  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\interceptor\StringFormatDate.class

     文件       1728  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\interceptor\SysInterceptor.class

     文件       2632  2017-11-08 09:53  AppInfoSystem\build\classes\cn\appsys\pojo\AdPromotion.class

............此处省略228个文件信息

评论

共有 条评论