教学大纲下载功能

This commit is contained in:
2026-09-15 16:13:06 +08:00
parent 5d928bd303
commit 5903f0c590
6 changed files with 45 additions and 11 deletions
@@ -103,9 +103,13 @@ public class ZYJXJHBController {
/**
* 导出专业教学计划到 Excel(.xlsx)。
* <p>专业代号、停用标识可选,与列表筛选条件一致。</p>
*/
@GetMapping("/export")
public void exportData(HttpServletResponse response) throws Exception {
zyjxjhbService.exportZYJXJHBExcel(response);
public void exportData(
HttpServletResponse response,
@RequestParam(required = false) String zydh,
@RequestParam(required = false) Integer ty) throws Exception {
zyjxjhbService.exportZYJXJHBExcel(response, zydh, ty);
}
}