【修改】 删除无用代码,新增docx4j代码读取docx文档
This commit is contained in:
@@ -3,7 +3,7 @@ package pc.exam.pp.module.exam.controller.admin.wps.vo.docx;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "考试模块 - PPT考点列表 Request VO")
|
||||
@Schema(description = "考试模块 - Word考点列表 Request VO")
|
||||
@Data
|
||||
public class DocxListReqVO {
|
||||
|
||||
|
@@ -5,7 +5,7 @@ import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(description = "考试模块 - PPT考点信息 Response VO")
|
||||
@Schema(description = "考试模块 - Word考点信息 Response VO")
|
||||
@Data
|
||||
public class DocxRespVO {
|
||||
|
||||
@@ -23,17 +23,9 @@ public class DocxRespVO {
|
||||
|
||||
private String chineseName;
|
||||
|
||||
private String dataType;
|
||||
private String functions;
|
||||
|
||||
private Integer isText;
|
||||
|
||||
private String valueList;
|
||||
|
||||
private Integer isTrue;
|
||||
|
||||
private Integer titleType;
|
||||
|
||||
private Integer isParameter;
|
||||
private String parameter;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
@@ -3,7 +3,7 @@ package pc.exam.pp.module.exam.controller.admin.wps.vo.docx;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "考试模块 - PPT考点创建/修改 Request VO")
|
||||
@Schema(description = "考试模块 - Word考点创建/修改 Request VO")
|
||||
@Data
|
||||
public class DocxSaveReqVO {
|
||||
|
||||
@@ -21,16 +21,8 @@ public class DocxSaveReqVO {
|
||||
|
||||
private String chineseName;
|
||||
|
||||
private String dataType;
|
||||
private String parameter;
|
||||
|
||||
private Integer isText;
|
||||
|
||||
private String valueList;
|
||||
|
||||
private Integer isTrue;
|
||||
|
||||
private Integer titleType;
|
||||
|
||||
private Integer isParameter;
|
||||
private String functions;
|
||||
|
||||
}
|
||||
|
@@ -29,13 +29,9 @@ public class ExamWpsDocx extends TenantBaseDO {
|
||||
private String title;
|
||||
private Integer sort;
|
||||
private String chineseName;
|
||||
private String dataType;
|
||||
private String functions;
|
||||
private String parameter;
|
||||
private Integer status;
|
||||
private String valueList;
|
||||
private Integer isTrue;
|
||||
private Integer isText;
|
||||
private Integer titleType;
|
||||
private Integer isParameter;
|
||||
@TableField(exist = false)
|
||||
private List<ExamWpsDocx> children = new ArrayList<>();
|
||||
}
|
||||
|
Reference in New Issue
Block a user