|
|
|
@ -58,7 +58,7 @@ public class DaCatalogController extends BaseController
|
|
|
|
//查询全部目录列表
|
|
|
|
//查询全部目录列表
|
|
|
|
List<DaCatalog> catalogs = daCatalogService.selectDaCatalogList(new DaCatalog());
|
|
|
|
List<DaCatalog> catalogs = daCatalogService.selectDaCatalogList(new DaCatalog());
|
|
|
|
AjaxResult ajax = AjaxResult.success();
|
|
|
|
AjaxResult ajax = AjaxResult.success();
|
|
|
|
ajax.put("checkedKeys", daCatalogService.selectCatalogListByUserId(userId));
|
|
|
|
ajax.put("checkedKeys", daCatalogService.selectCatalogIdsByUserId(userId));
|
|
|
|
ajax.put("catalogs", daCatalogService.buildCatalogTreeSelect(catalogs));
|
|
|
|
ajax.put("catalogs", daCatalogService.buildCatalogTreeSelect(catalogs));
|
|
|
|
return ajax;
|
|
|
|
return ajax;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|