|
|
@@ -65,10 +65,11 @@ public class UrlConfigController {
|
|
65
|
65
|
@ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
66
|
66
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
67
|
67
|
@ApiImplicitParam(name = "intranetUrl", value = "内网url", paramType = "query"),
|
|
68
|
|
- @ApiImplicitParam(name = "orgName", value = "所属库", paramType = "query")
|
|
|
68
|
+ @ApiImplicitParam(name = "orgName", value = "所属库", paramType = "query"),
|
|
|
69
|
+ @ApiImplicitParam(name = "updateStatus", value = "更新状态", paramType = "query")
|
|
69
|
70
|
})
|
|
70
|
71
|
public PageInfo<TUrlConfig> getUrlConfig(HttpServletRequest request, Integer pageNum, Integer pageSize,
|
|
71
|
|
- String intranetUrl, String orgName) {
|
|
|
72
|
+ String intranetUrl, String orgName, String updateStatus) {
|
|
72
|
73
|
|
|
73
|
74
|
if (pageNum!=null && pageSize!=null) {
|
|
74
|
75
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
@@ -77,6 +78,7 @@ public class UrlConfigController {
|
|
77
|
78
|
HashMap<String, Object> map = new HashMap<String, Object>();
|
|
78
|
79
|
map.put("intranetUrl", intranetUrl);
|
|
79
|
80
|
map.put("orgName", orgName);
|
|
|
81
|
+ map.put("updateStatus", updateStatus);
|
|
80
|
82
|
List<TUrlConfig> listAll=tUrlConfigService.queryAll(map);
|
|
81
|
83
|
PageInfo<TUrlConfig> pageInfo = new PageInfo<TUrlConfig>(listAll);
|
|
82
|
84
|
return pageInfo;
|