资源简介
ssm基于ssm+maven的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;
return getCategoryList(pid);
}
@RequestMapping(value = “/list“)
public String getAppInfoList(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-12-10 09:12 appSQL\
目录 0 2018-12-10 09:11 appSQL\.idea\
文件 336 2018-12-10 09:10 appSQL\.idea\appSQL.iml
文件 1210 2018-12-10 09:10 appSQL\.idea\misc.xm
文件 264 2018-12-10 09:10 appSQL\.idea\modules.xm
文件 18462 2018-12-10 09:11 appSQL\.idea\workspace.xm
文件 210 2018-12-10 09:12 appSQL\.project
目录 0 2018-05-29 13:01 appSQL\AppInfoSystem-master\
文件 28854 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppinfoDB.sql
目录 0 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\
文件 3034 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.classpath
目录 0 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.externalToolBuilders\
文件 541 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.externalToolBuilders\org.eclipse.wst.jsdt.core.ja
文件 1240 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.project
目录 0 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\
文件 491 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\.jsdtscope
文件 55 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.core.resources.prefs
文件 357 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.jdt.core.prefs
文件 562 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.wst.common.component
文件 335 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\build\
目录 0 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\
文件 3307 2018-05-29 13:01 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\applicationContext-mybatis.xm
目录 0 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\
目录 0 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\appsys\
目录 0 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\appsys\controller\
文件 6058 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\appsys\controller\Appinfocontroller.class
文件 4489 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\appsys\controller\AppversionController.class
文件 1866 2018-12-10 09:12 appSQL\AppInfoSystem-master\AppInfoSystem\build\classes\cn\appsys\controller\Backcontroller.class
............此处省略231个文件信息
相关资源
- Spring boot 2.2.2官方中文文档
- springboot实现将Excel导入数据库
- springboot+微信端登录demo
-
Geekli
nk极客设备运维系统 - springboot+vue.js搭建图书管理系统开源项
- 基于SSM的酒店客房管理系统的设计与
- springboot+mybatis后台vue.js实现前端的音
- 大觅网源码
- SpringCloud 15个完整
- 高清彩版 high performance spring 5(彩版)
- spring实战源码maven版
- springboot官方英文文档
- springmvc+netty实现聊天功能
- SSM框架模板
- SpringBoot实战.pdf推荐必读
- spring源码4.3(可直接导入eclipse)
- SSM整合KindEditor-4.11编辑器
- 最新 guns v5.1 文档
- 《Spring Boot实战》源代码
- spring-boot-reference.pdf
- spring mvc中启动netty
- spring security教程
- springboot实战源码
- spring boot + plupload实现大文件断点续传
- Mastering Spring Cloud 无水印转化版pdf
-
Introducing Spring fr
amework A Primer 无水印 - spring中文帮助文档.chm
- 大型互联网项目SSM到SpringBoot-从零开发
- spring sagan 源码
- spring mvc官方文档(英文版)
评论
共有 条评论