班历功能添加

This commit is contained in:
2026-09-16 17:13:57 +08:00
parent 2e151ea228
commit abf616a8ee
19 changed files with 526 additions and 73 deletions
@@ -0,0 +1,22 @@
package com.roomroot.jwgl.dto.calendar;
import lombok.Data;
import java.util.List;
/**
* 班历批量保存入参。一次拖选产生的所有时间格在单事务内 upsert。
*/
@Data
public class ClassCalendarBatchSaveDTO {
/**
* 学员队学期编号(班次学期)
*/
private String xydxqbh;
/**
* 时间格列表。cell.action = "clear" 表示恢复默认(清名称、可排课)。
*/
private List<ClassCalendarEventDTO> cells;
}
@@ -21,4 +21,9 @@ public class ClassCalendarEventDTO {
private Boolean zdpk;
private Boolean zk;
private String courseClass;
/**
* 批量保存动作:"clear" 表示恢复默认(清名称、可排课);空或其它值按事件内容写入。
*/
private String action;
}