資源簡介
內(nèi)含數(shù)據(jù)庫、jar包,登錄 增刪改查(分頁) 上傳文件 后臺審核代碼等等
代碼片段和文件信息
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);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????28854??2016-08-22?16:28??項目工程\appinfodb.sql
?????文件???????2683??2016-08-22?16:28??項目工程\AppInfoSystem\.classpath
?????文件??????????6??2016-08-22?16:28??項目工程\AppInfoSystem\.git\COMMIT_EDITMSG
?????文件????????394??2016-08-22?16:28??項目工程\AppInfoSystem\.git\config
?????文件?????????73??2016-08-22?16:28??項目工程\AppInfoSystem\.git\desc
?????文件????????322??2016-08-22?16:28??項目工程\AppInfoSystem\.git\FETCH_HEAD
?????文件?????????24??2016-08-22?16:28??項目工程\AppInfoSystem\.git\HEAD
?????文件????????478??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\applypatch-msg.sample
?????文件????????896??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\commit-msg.sample
?????文件????????189??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\post-update.sample
?????文件????????424??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\pre-applypatch.sample
?????文件???????1642??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\pre-commit.sample
?????文件???????1348??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\pre-push.sample
?????文件???????4951??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\pre-reba
?????文件???????1239??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\prepare-commit-msg.sample
?????文件???????3611??2016-08-22?16:28??項目工程\AppInfoSystem\.git\hooks\update.sample
?????文件??????25457??2016-08-22?16:28??項目工程\AppInfoSystem\.git\index
?????文件????????240??2016-08-22?16:28??項目工程\AppInfoSystem\.git\info\exclude
?????文件???????2926??2016-08-22?16:28??項目工程\AppInfoSystem\.git\logs\HEAD
?????文件???????2740??2016-08-22?16:28??項目工程\AppInfoSystem\.git\logs\refs\heads\branch2
?????文件????????182??2016-08-22?16:28??項目工程\AppInfoSystem\.git\logs\refs\heads\master
?????文件???????2604??2016-08-22?16:28??項目工程\AppInfoSystem\.git\logs\refs\remotes\origin\branch2
?????文件????????182??2016-08-22?16:28??項目工程\AppInfoSystem\.git\logs\refs\remotes\origin\HEAD
?????文件?????????73??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件????????295??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件????????140??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件???????1626??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件????????204??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件?????????49??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
?????文件????????203??2016-08-22?16:28??項目工程\AppInfoSystem\.git\ob
............此處省略1045個文件信息
評論
共有 條評論