資源簡介
基于https://blog.csdn.net/khxu666/article/details/79851070#commentBox,鏈接中,實現代碼。
代碼片段和文件信息
package?com.controller;
import?com.pojo.Paper;
import?com.service.PaperService;
import?org.springframework.beans.factory.annotation.Autowired;
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?java.util.List;
/**
?*?Created?by?GYF-PC?on?2019/4/25?22:47
?*/
@Controller
@RequestMapping(“/paper“)
public?class?PaperController?{
????@Autowired
????private?PaperService?paperService;
????@RequestMapping(“/allPaper“)
????public?String?list(Model?model)?{
????????List?list?=?paperService.queryAllPaper();
????????model.addAttribute(“list“?list);
????????return?“allPaper“;
????}
????@RequestMa
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-04-26?08:59??PaperSystem\.idea\
?????文件?????????544??2019-04-25?11:26??PaperSystem\.idea\compiler.xm
?????目錄???????????0??2019-04-25?23:33??PaperSystem\.idea\dataSources\
?????文件???????44560??2019-04-25?23:33??PaperSystem\.idea\dataSources\b522c408-18cd-4b16-8dcb-2d3448fdf82c.xm
?????文件?????????854??2019-04-25?23:36??PaperSystem\.idea\dataSources.local.xm
?????文件?????????907??2019-04-25?23:33??PaperSystem\.idea\dataSources.xm
?????文件?????????177??2019-04-25?11:38??PaperSystem\.idea\encodings.xm
?????文件?????????656??2019-04-25?11:28??PaperSystem\.idea\misc.xm
?????文件???????52361??2019-04-26?08:59??PaperSystem\.idea\workspace.xm
?????文件??????????81??2019-04-25?11:26??PaperSystem\PaperSystem.iml
?????文件????????6067??2019-04-25?23:08??PaperSystem\pom.xm
?????目錄???????????0??2019-04-25?11:27??PaperSystem\src\
?????目錄???????????0??2019-04-25?11:28??PaperSystem\src\main\
?????目錄???????????0??2019-04-25?11:29??PaperSystem\src\main\java\
?????目錄???????????0??2019-04-25?11:29??PaperSystem\src\main\java\com\
?????目錄???????????0??2019-04-25?22:49??PaperSystem\src\main\java\com\controller\
?????文件????????1762??2019-04-25?22:49??PaperSystem\src\main\java\com\controller\PaperController.java
?????目錄???????????0??2019-04-25?23:17??PaperSystem\src\main\java\com\dao\
?????文件?????????332??2019-04-25?22:44??PaperSystem\src\main\java\com\dao\PaperDao.java
?????目錄???????????0??2019-04-25?22:40??PaperSystem\src\main\java\com\pojo\
?????文件?????????820??2019-04-25?22:40??PaperSystem\src\main\java\com\pojo\Paper.java
?????目錄???????????0??2019-04-25?23:03??PaperSystem\src\main\java\com\service\
?????目錄???????????0??2019-04-25?23:03??PaperSystem\src\main\java\com\service\impl\
?????文件?????????883??2019-04-25?23:03??PaperSystem\src\main\java\com\service\impl\PaperServiceImpl.java
?????文件?????????345??2019-04-25?23:03??PaperSystem\src\main\java\com\service\PaperService.java
?????目錄???????????0??2019-04-25?23:39??PaperSystem\src\main\resources\
?????文件?????????188??2019-04-25?23:39??PaperSystem\src\main\resources\jdbc.properties
?????文件?????????211??2019-04-25?22:53??PaperSystem\src\main\resources\log4j.properties
?????目錄???????????0??2019-04-25?22:50??PaperSystem\src\main\resources\mapper\
?????文件????????1348??2019-04-25?22:50??PaperSystem\src\main\resources\mapper\PaperMapper.xm
?????文件?????????678??2019-04-25?22:53??PaperSystem\src\main\resources\mybatis-config.xm
............此處省略15個文件信息
- 上一篇:C_1三次插值樣條曲線曲面
- 下一篇:Fragment底部導航
評論
共有 條評論