93fedadb by chentao

新增系列、问题是否打包

1 parent 5ccdb9ae
......@@ -100,6 +100,7 @@ public class CourseController extends BaseController {
String originalfileName = sysOss.getOriginalName();
String suffix = StringUtils.substring(originalfileName, originalfileName.lastIndexOf("."), originalfileName.length());
UploadResult uploadResult = null;
if (".pdf".equals(suffix)) {
byte[] fileBytes = null;
try {
......
......@@ -47,6 +47,11 @@ public class BuildingBlock extends BaseEntity {
*/
private String type;
/**
* 是否打包,默认否
*/
private Integer canPack;
/**
* 删除标志(0代表存在 2代表删除)
......
......@@ -62,6 +62,8 @@ public class Question extends BaseEntity {
*/
private String status;
private Integer canPack;
/**
* 排序
*/
......
......@@ -38,6 +38,8 @@ public class BuildingBlockBo extends BaseBO {
@NotBlank(message = "类型不能为空")
private String type;
private Integer canPack;
/**
* 排序
*/
......
......@@ -59,6 +59,8 @@ public class QuestionBo extends BaseBO {
*/
private String status;
private Integer canPack;
/**
* 排序
*/
......
......@@ -43,6 +43,8 @@ public class BuildingBlockVo {
private String type;
private Integer canPack;
/**
* 排序
*/
......
......@@ -74,6 +74,8 @@ public class QuestionVo {
*/
private String status;
private Integer canPack;
/**
* 前端APP数据国际化(zh_CN、en_US、ru_RU)
*/
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!