专业添加导入模板下载和数据上传

This commit is contained in:
2026-09-15 17:43:34 +08:00
parent c7397ad457
commit 6e767947f7
8 changed files with 691 additions and 10 deletions
@@ -0,0 +1,32 @@
package com.roomroot.jwgl.dto.discipline;
import com.roomroot.jwgl.entity.ZYB;
import lombok.Data;
/**
* 专业(专业表)导入行解析结果。
* <p>
* 保留 Excel 中的原始行号,便于把校验失败原因定位到具体行。
* </p>
*/
@Data
public class MajorImportRowDTO {
/**
* Excel 行号(1 起始,含表头行)。
*/
private int rowNum;
/**
* 该行解析出的专业实体。
*/
private ZYB entity;
public MajorImportRowDTO() {
}
public MajorImportRowDTO(int rowNum, ZYB entity) {
this.rowNum = rowNum;
this.entity = entity;
}
}