指标库新增web页面树形接口
This commit is contained in:
parent
7eb0e3cf71
commit
f659a05620
@ -52,13 +52,13 @@ public class IndexLibController extends DefaultBaseController {
|
|||||||
|
|
||||||
@ApiOperation(value = "web页面指标库树形列表", notes = "web页面指标库树形列表接口")
|
@ApiOperation(value = "web页面指标库树形列表", notes = "web页面指标库树形列表接口")
|
||||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||||
@GetMapping("listztreeweb")
|
@GetMapping("listztreeweb/{indexLibParentId}")
|
||||||
public List<IndexLibZTreeDTO> listZTreeWeb() {
|
public List<IndexLibZTreeDTO> listZTreeWeb(@PathVariable("indexLibParentId") String indexLibParentId ) {
|
||||||
Map<String, Object> params = requestParams();
|
Map<String, Object> params = requestParams();
|
||||||
String indexLibParentId = "0";
|
/* String indexLibParentId = "0";
|
||||||
if (!StringUtils.isBlank(params.get("id") == null ? null : params.get("id").toString())) {
|
if (!StringUtils.isBlank(params.get("id") == null ? null : params.get("id").toString())) {
|
||||||
indexLibParentId = params.get("id").toString();
|
indexLibParentId = params.get("id").toString();
|
||||||
}
|
}*/
|
||||||
params.put("indexLibParentId",indexLibParentId);
|
params.put("indexLibParentId",indexLibParentId);
|
||||||
return indexLibService.listZTreeWeb(params);
|
return indexLibService.listZTreeWeb(params);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user