课时统计功能提交
This commit is contained in:
+11
@@ -195,6 +195,17 @@ public class KSController {
|
||||
return Result.success(ksService.pageHourStatistics(new PageQuery(pageNum, pageSize), cond));
|
||||
}
|
||||
|
||||
/**
|
||||
* 课时核算:按指定自然年的已排课次聚合生成课时统计表(覆盖该年数据)。
|
||||
* 仅教务人员可执行。
|
||||
*
|
||||
* @param year 自然年(可选,默认当前年)
|
||||
*/
|
||||
@PostMapping("/hour-stat/recalculate")
|
||||
public Result<Integer> recalcHourStatistics(@RequestParam(required = false) Integer year) {
|
||||
return Result.success(ksService.recalcHourStatistics(year));
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出课时统计 Excel。
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user