资源简介
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个文件信息
相关资源
- springboot2+activiti 7 -- maven工程依赖配置
- [软件工程—实践者的研究方法].Roge
- SpringMVC文件上传与的实现.rar
- SpringBoot+H2+mybatis-plus59130
- SSM+Shiro+redis实现单点登陆
- 基于J2EE物资出入库管理系统
- 基于SSM+CXF构建的RESTFul webservice
- 大数据中的云网络Cloud Networking for B
- Spring+MyBatis企业应用实战第一二版的源
- ssm框架登录注册demo
- MSSM中双光子共振的增强速率
- springboot+rabbitmq项目demo(亲测可正常运
- springboot整合RabbitMQ实现延时队列的两
- 关于Spring MVC项目maven中通过fileupload上
- Spring-Data-Redis2.0+Spring5
- 2017年-传智播客-张志君老师-SpringBoo
- 软件工程Roger S.Pressman
- springboot+mybatis整合实现注册登录
-
spring-fr
amework-5.0.2.RELEASE 源码包 - 基于web的图书馆运营系统
- springboot+webflux+mongodb+freemarker
- springboot整合activiti完整demo
- SpringBoot实战(第4版)清晰版.pdf.zip
- SpringBoot 中文文档
- springboot+jpa+thymeleaf实现增删改查分页
- es(elasticsearch)整合SpringCloudSpringBo
- Springboot日志开启SLF4J过程解析
- 原银在线信贷平台概要设计说明书v
- springcloud 微服务(全套视频)
- springCloud教学视频
评论
共有 条评论