|
|
|
|
@ -92,7 +92,7 @@ public class DaCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出档案目录列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:catalog:export')")
|
|
|
|
|
/*@PreAuthorize("@ss.hasPermi('dangan:catalog:export')")
|
|
|
|
|
@Log(title = "档案目录", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, DaCatalog daCatalog)
|
|
|
|
|
@ -100,6 +100,19 @@ public class DaCatalogController extends BaseController
|
|
|
|
|
List<DaCatalog> list = daCatalogService.selectDaCatalogList(daCatalog, getLoginUser());
|
|
|
|
|
ExcelUtil<DaCatalog> util = new ExcelUtil<DaCatalog>(DaCatalog.class);
|
|
|
|
|
util.exportExcel(response, list, "档案目录数据");
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据父级id导出档案目录列表(第一层级)
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:catalog:export')")
|
|
|
|
|
@Log(title = "档案目录", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, DaCatalog daCatalog)
|
|
|
|
|
{
|
|
|
|
|
List<DaCatalog> list = daCatalogService.exportDaCatalogList(daCatalog, getLoginUser());
|
|
|
|
|
ExcelUtil<DaCatalog> util = new ExcelUtil<DaCatalog>(DaCatalog.class);
|
|
|
|
|
util.exportExcel(response, list, "档案目录数据");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|