資源簡介
北大青鳥6.0,使用ssm框架開發手機app發布系統的項目案例,包含數據庫設計,無bug。
代碼片段和文件信息
package?cn.appsys.controller.backend;
import?java.util.List;
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.RequestMethod;
import?org.springframework.web.bind.annotation.RequestParam;
import?org.springframework.web.bind.annotation.ResponseBody;
import?cn.appsys.pojo.AppCategory;
import?cn.appsys.pojo.AppInfo;
import?cn.appsys.pojo.AppVersion;
import?cn.appsys.pojo.DataDictionary;
import?cn.appsys.pojo.DevUser;
import?cn.appsys.service.backend.AppService;
import?cn.appsys.service.developer.AppCategoryService;
import?cn.appsys.service.developer.AppVersionService;
import?cn.appsys.service.developer.DataDictionaryService;
import?cn.appsys.tools.Constants;
import?cn.appsys.tools.PageSupport;
@Controller
@RequestMapping(value=“/manager/backend/app“)
public?class?AppCheckController?{
private?Logger?logger?=?Logger.getLogger(AppCheckController.class);
@Resource
private?AppService?appService;
@Resource
private?AppVersionService?appVersionService;
@Resource?
private?DataDictionaryService?dataDictionaryService;
@Resource?
private?AppCategoryService?appCategoryService;
@RequestMapping(value=“/list“)
public?String?getAppInfoList(Model?modelHttpSession?session
@RequestParam(value=“querySoftwareName“required=false)?String?querySoftwareName
@RequestParam(value=“queryCategoryLevel1“required=false)?String?_queryCategoryLevel1
@RequestParam(value=“queryCategoryLevel2“required=false)?String?_queryCategoryLevel2
@RequestParam(value=“queryCategoryLevel3“required=false)?String?_queryCategoryLevel3
@RequestParam(value=“queryFlatformId“required=false)?String?_queryFlatformId
@RequestParam(value=“pageIndex“required=false)?String?pageIndex){
logger.info(“getAppInfoList?--?>?querySoftwareName:?“?+?querySoftwareName);
logger.info(“getAppInfoList?--?>?queryCategoryLevel1:?“?+?_queryCategoryLevel1);
logger.info(“getAppInfoList?--?>?queryCategoryLevel2:?“?+?_queryCategoryLevel2);
logger.info(“getAppInfoList?--?>?queryCategoryLevel3:?“?+?_queryCategoryLevel3);
logger.info(“getAppInfoList?--?>?queryFlatformId:?“?+?_queryFlatformId);
logger.info(“getAppInfoList?--?>?pageIndex:?“?+?pageIndex);
List?appInfoList?=?null;
List?flatFormList?=?null;
List?categoryLevel1List?=?null;//列出一級分類列表,注:二級和三級分類列表通過異步ajax獲取
List?categoryLevel2List?=?null;
List?categoryLevel3List?=?null;
//頁面容量
int?pageSize?=?Constants.pageSize;
//當前頁碼
Integer?currentPageNo?=?1;
if(pageIndex?!=?null){
try{
currentPageNo?=?Integer.valueOf(pageIndex);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-15?15:18??ssm項目案列:app信息管理平臺\
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\
?????文件????????2822??2018-09-09?21:22??ssm項目案列:app信息管理平臺\AppInfoSystem\.classpath
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\
?????文件???????????9??2018-09-10?17:44??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\COMMIT_EDITMSG
?????文件?????????322??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\FETCH_HEAD
?????文件??????????24??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\HEAD
?????文件??????????41??2016-08-22?16:29??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\ORIG_HEAD
?????文件?????????394??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\config
?????文件??????????73??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\desc
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\
?????文件?????????478??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\applypatch-msg.sample
?????文件?????????896??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\commit-msg.sample
?????文件?????????189??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\post-update.sample
?????文件?????????424??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\pre-applypatch.sample
?????文件????????1642??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\pre-commit.sample
?????文件????????1348??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\pre-push.sample
?????文件????????4951??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\pre-reba
?????文件????????1239??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\prepare-commit-msg.sample
?????文件????????3611??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\hooks\update.sample
?????文件???????23472??2018-09-10?17:44??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\index
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\info\
?????文件?????????240??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\info\exclude
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\
?????文件????????3066??2018-09-10?17:44??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\HEAD
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\heads\
?????文件????????2880??2018-09-10?17:44??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\heads\branch2
?????文件?????????182??2016-08-22?16:28??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\heads\master
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\remotes\
?????目錄???????????0??2018-09-15?15:17??ssm項目案列:app信息管理平臺\AppInfoSystem\.git\logs\refs\remotes\origin\
............此處省略1255個文件信息
評論
共有 條評論