forked from liweijie/education
1、停用教员的同时禁用该教员的账号;
2、教员导入的时候,如果有错误,跳过并返回具体报错行; 3、教研室接口权限添加控制
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
package com.roomroot.jwgl.dto.faculty;
|
||||
|
||||
import com.roomroot.jwgl.entity.JYB;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 教员(教员表)导入行解析结果。
|
||||
* <p>
|
||||
* 保留 Excel 中的原始行号,便于把校验失败原因定位到具体行。
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
public class TeacherImportRowDTO {
|
||||
|
||||
/**
|
||||
* Excel 行号(1 起始,含表头行)。
|
||||
*/
|
||||
private int rowNum;
|
||||
|
||||
/**
|
||||
* 该行解析出的教员实体。
|
||||
*/
|
||||
private JYB entity;
|
||||
|
||||
public TeacherImportRowDTO() {
|
||||
}
|
||||
|
||||
public TeacherImportRowDTO(int rowNum, JYB entity) {
|
||||
this.rowNum = rowNum;
|
||||
this.entity = entity;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user