• 大小: 20.1MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-28
  • 语言: Java
  • 标签: 北大青鸟  SSM  App  

资源简介

内含数据库SQL语句、jar包、登录、增删改查(分页),可直接运行

资源截图

代码片段和文件信息

package com.twt.ch14App.controller.back;

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

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONobject;
import com.twt.ch14App.Service.prev.appCategory.AppCategoryService;
import com.twt.ch14App.Service.prev.appInfo.AppInfoService;
import com.twt.ch14App.Service.prev.appVersion.AppVersionService;
import com.twt.ch14App.Service.prev.dataDictionary.DataDictionaryService;
import com.twt.ch14App.Service.prev.devUser.DevUserService;
import com.twt.ch14App.tools.page;

@Controller
@RequestMapping(“/user“)
public class BackstageAppInfoController {
private Logger logger = Logger.getLogger(BackstageAppInfoController.class);
@Resource
private DevUserService devUserService;
@Resource
private AppInfoService appInfoService;
@Resource
private DataDictionaryService dataDictionaryService;
@Resource
private AppCategoryService appCategoryService;
@Resource
private AppVersionService appVersionService;

/**
 * 
 * @param querySoftwareName 软件名称
 * @param queryStatus APP状态
 * @param queryFlatformId 所属平台
 * @param queryCategoryLevel1 一级分类
 * @param queryCategoryLevel2 二级分类
 * @param queryCategoryLevel3 三级分类
 * @return
 */
@RequestMapping(“/applist“)
public String applist(@RequestParam(value=“querySoftwareName“required=false)String querySoftwareName
@RequestParam(value=“queryStatus“required=false)Integer queryStatus
@RequestParam(value=“queryFlatformId“required=false)Integer queryFlatformId
@RequestParam(value=“queryCategoryLevel1“required=false)Integer queryCategoryLevel1
@RequestParam(value=“queryCategoryLevel2“required=false)Integer queryCategoryLevel2
@RequestParam(value=“queryCategoryLevel3“required=false)Integer queryCategoryLevel3
@RequestParam(value=“pageIndex“required=false)Integer pageIndexModel model){
pageIndex = pageIndex == null?1:pageIndex;
queryCategoryLevel1 = queryCategoryLevel1 == null?0:queryCategoryLevel1;
queryCategoryLevel2 = queryCategoryLevel2 == null?0:queryCategoryLevel2;
page page = new page();
page.setCurrentPageNo(pageIndex);
page.setPageSize(5);
page.setTotalCount(appInfoService.queryCount(querySoftwareName queryStatus queryFlatformId queryCategoryLevel1 queryCategoryLevel2 queryCategoryLevel31));
model.addAttribute(“queryStatus“ queryStatus);
model.addAttribute(“queryFlatformId“ queryFlatformId);
model.addAttribute(“queryCategoryLevel1“ queryCategoryLevel1);
model.addAttribute(“queryCategoryLevel2“ queryCategoryLevel2);
model.addAttribute(“queryCategoryLevel3“ queryCate

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       30120  2018-12-15 09:48  数据库appinfodb.sql
     目录           0  2018-12-09 15:06  ch14App\
     文件        3226  2018-12-03 11:44  ch14App\.classpath
     文件        1040  2018-12-01 16:48  ch14App\.project
     目录           0  2018-12-01 16:48  ch14App\.settings\
     文件         503  2018-12-01 16:48  ch14App\.settings\.jsdtscope
     文件         364  2018-12-01 16:48  ch14App\.settings\org.eclipse.jdt.core.prefs
     文件         553  2018-12-03 11:44  ch14App\.settings\org.eclipse.wst.common.component
     文件         345  2018-12-01 16:48  ch14App\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-12-01 16:48  ch14App\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-12-01 16:48  ch14App\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-12-11 17:21  ch14App\WebContent\
     文件        2139  2018-12-12 08:27  ch14App\WebContent\403.jsp
     目录           0  2018-12-01 16:48  ch14App\WebContent\meta-INF\
     文件          39  2018-12-01 16:48  ch14App\WebContent\meta-INF\MANIFEST.MF
     目录           0  2018-12-11 16:42  ch14App\WebContent\WEB-INF\
     目录           0  2018-12-11 17:21  ch14App\WebContent\WEB-INF\jsp\
     目录           0  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\backend\
     文件        9139  2018-12-11 15:51  ch14App\WebContent\WEB-INF\jsp\backend\appcheck.jsp
     文件       10091  2018-12-11 15:17  ch14App\WebContent\WEB-INF\jsp\backend\applist.jsp
     目录           0  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\backend\common\
     文件         312  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\backend\common\footer.jsp
     文件        9336  2018-12-11 14:47  ch14App\WebContent\WEB-INF\jsp\backend\common\header.jsp
     文件         741  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\backend\common\js.jsp
     文件         422  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\backend\main.jsp
     文件        2397  2018-12-11 14:02  ch14App\WebContent\WEB-INF\jsp\backendlogin.jsp
     目录           0  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\developer\
     文件        7798  2018-12-07 17:17  ch14App\WebContent\WEB-INF\jsp\developer\appinfoadd.jsp
     文件       13242  2018-12-09 16:09  ch14App\WebContent\WEB-INF\jsp\developer\appinfolist.jsp
     文件        8615  2018-12-07 18:38  ch14App\WebContent\WEB-INF\jsp\developer\appinfomodify.jsp
     文件        9086  2018-12-01 17:00  ch14App\WebContent\WEB-INF\jsp\developer\appinfoview.jsp
............此处省略283个文件信息

评论

共有 条评论