-
大小: 55.16MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2022-08-25
- 語言: 數(shù)據(jù)庫
- 標(biāo)簽: 北大青鳥??ssm??spring??
資源簡介
包含數(shù)據(jù)庫文件(appinfodb.sql)!可根據(jù)錄制的視頻和參考本項(xiàng)目完整的實(shí)現(xiàn)代碼,同步實(shí)現(xiàn),達(dá)到學(xué)習(xí)框架思路效果,idea導(dǎo)入即可使用、
代碼片段和文件信息
package?cn.appsys.android.backend;
import?cn.appsys.pojo.*;
import?cn.appsys.service.backend.BackendUserService;
import?cn.appsys.service.developer.AppCategoryService;
import?cn.appsys.service.developer.AppInfoService;
import?cn.appsys.service.developer.AppVersionService;
import?cn.appsys.service.developer.DataDictionaryService;
import?cn.appsys.tool.Constants;
import?cn.appsys.tool.EmptyUtils;
import?cn.appsys.tool.PageSupport;
import?org.springframework.stereotype.Controller;
import?org.springframework.ui.Model;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.bind.annotation.RequestParam;
import?org.springframework.web.bind.annotation.ResponseBody;
import?javax.annotation.Resource;
import?javax.servlet.http.HttpSession;
import?java.util.List;
@Controller
@RequestMapping(value?=?“/android/backend/appInfo“)
public?class?AndroidBackendController?{
@Resource
private?AppInfoService?appInfoService;
@RequestMapping(value?=?“/appList“)
@ResponseBody
public?List?applist(
@RequestParam(value?=?“querySoftwareName“?required?=?false)?String?querySoftwareName
@RequestParam(value?=?“queryStatus“?required?=?false)?String?_queryStatus
@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)?{
//?定義各種變量
List?appInfos?=?null;//?APP信息集合
//?轉(zhuǎn)換數(shù)據(jù)類型
Integer?queryStatus?=?null;
if?(EmptyUtils.isNotEmpty(_queryStatus))?{
queryStatus?=?Integer.parseInt(_queryStatus);
}
Integer?queryCategoryLevel1?=?null;
if?(EmptyUtils.isNotEmpty(_queryCategoryLevel1))?{
queryCategoryLevel1?=?Integer.parseInt(_queryCategoryLevel1);
}
Integer?queryCategoryLevel2?=?null;
if?(EmptyUtils.isNotEmpty(_queryCategoryLevel2))?{
queryCategoryLevel2?=?Integer.parseInt(_queryCategoryLevel2);
}
Integer?queryCategoryLevel3?=?null;
if?(EmptyUtils.isNotEmpty(_queryCategoryLevel3))?{
queryCategoryLevel3?=?Integer.parseInt(_queryCategoryLevel3);
}
Integer?queryFlatformId?=?null;
if?(EmptyUtils.isNotEmpty(_queryFlatformId))?{
queryFlatformId?=?Integer.parseInt(_queryFlatformId);
}
//?分頁數(shù)據(jù)處理
int?pageSize?=?Constants.PAGESIZE;
Integer?currentPageNo?=?1;
if?(pageIndex?!=?null)?{
currentPageNo?=?Integer.parseInt(pageIndex);
}
int?totalCount?=?0;
try?{
totalCount?=?appInfoService.getAppInfoCount(querySoftwareName?queryStatus?queryCategoryLevel1?queryCategoryLevel2
queryCategoryLevel3?queryFlatformId?null);
}?catch?(Exception?e)?{
e.printStackTrace();
}
PageSupport?pages?=?new?PageSupport(currentPageNo?totalCount?pageSize);
int?from?=?pages.getFrom();/
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\.idea\
?????文件??????????13??2018-12-14?08:59??AppInfoSys-master\.idea\.name
?????文件?????????534??2018-12-14?08:59??AppInfoSys-master\.idea\compiler.xm
?????文件?????????172??2018-12-14?08:59??AppInfoSys-master\.idea\encodings.xm
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\.idea\libraries\
?????文件?????????685??2018-12-14?08:59??AppInfoSys-master\.idea\libraries\Java_EE_6_Java_EE_6.xm
?????文件?????????640??2018-12-14?08:59??AppInfoSys-master\.idea\misc.xm
?????文件?????????180??2018-12-14?08:59??AppInfoSys-master\.idea\vcs.xm
?????文件??????172739??2018-12-14?08:59??AppInfoSys-master\.idea\workspace.xm
?????文件???????28854??2018-12-14?08:59??AppInfoSys-master\appinfodb.sql
?????文件?????????206??2018-12-14?08:59??AppInfoSys-master\appinfosystem.iml
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\lib\
?????文件????????7713??2018-12-14?08:59??AppInfoSys-master\lib\javax.annotation.jar
?????文件???????47581??2018-12-14?08:59??AppInfoSys-master\lib\javax.ejb.jar
?????文件???????25957??2018-12-14?08:59??AppInfoSys-master\lib\javax.jms.jar
?????文件??????129793??2018-12-14?08:59??AppInfoSys-master\lib\javax.persistence.jar
?????文件???????44511??2018-12-14?08:59??AppInfoSys-master\lib\javax.resource.jar
?????文件???????69933??2018-12-14?08:59??AppInfoSys-master\lib\javax.servlet.jar
?????文件???????78836??2018-12-14?08:59??AppInfoSys-master\lib\javax.servlet.jsp.jar
?????文件????????9714??2018-12-14?08:59??AppInfoSys-master\lib\javax.transaction.jar
?????文件????????9559??2018-12-14?08:59??AppInfoSys-master\pom.xm
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\java\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\appsys\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\appsys\android\
?????目錄???????????0??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\appsys\android\backend\
?????文件????????3882??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\appsys\android\backend\AndroidBackendController.java
?????文件????????1660??2018-12-14?08:59??AppInfoSys-master\src\main\java\cn\appsys\android\backend\AndroidBackendLoginController.java
............此處省略1189個(gè)文件信息
評論
共有 條評論