Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
93fedadb
authored
2025-10-21 00:12:53 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增系列、问题是否打包
1 parent
5ccdb9ae
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
0 deletions
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
lego-core/src/main/java/com/lego/core/domain/BuildingBlock.java
lego-core/src/main/java/com/lego/core/domain/Question.java
lego-core/src/main/java/com/lego/core/domain/bo/BuildingBlockBo.java
lego-core/src/main/java/com/lego/core/domain/bo/QuestionBo.java
lego-core/src/main/java/com/lego/core/domain/vo/BuildingBlockVo.java
lego-core/src/main/java/com/lego/core/domain/vo/QuestionVo.java
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
View file @
93fedad
...
...
@@ -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
{
...
...
lego-core/src/main/java/com/lego/core/domain/BuildingBlock.java
View file @
93fedad
...
...
@@ -47,6 +47,11 @@ public class BuildingBlock extends BaseEntity {
*/
private
String
type
;
/**
* 是否打包,默认否
*/
private
Integer
canPack
;
/**
* 删除标志(0代表存在 2代表删除)
...
...
lego-core/src/main/java/com/lego/core/domain/Question.java
View file @
93fedad
...
...
@@ -62,6 +62,8 @@ public class Question extends BaseEntity {
*/
private
String
status
;
private
Integer
canPack
;
/**
* 排序
*/
...
...
lego-core/src/main/java/com/lego/core/domain/bo/BuildingBlockBo.java
View file @
93fedad
...
...
@@ -38,6 +38,8 @@ public class BuildingBlockBo extends BaseBO {
@NotBlank
(
message
=
"类型不能为空"
)
private
String
type
;
private
Integer
canPack
;
/**
* 排序
*/
...
...
lego-core/src/main/java/com/lego/core/domain/bo/QuestionBo.java
View file @
93fedad
...
...
@@ -59,6 +59,8 @@ public class QuestionBo extends BaseBO {
*/
private
String
status
;
private
Integer
canPack
;
/**
* 排序
*/
...
...
lego-core/src/main/java/com/lego/core/domain/vo/BuildingBlockVo.java
View file @
93fedad
...
...
@@ -43,6 +43,8 @@ public class BuildingBlockVo {
private
String
type
;
private
Integer
canPack
;
/**
* 排序
*/
...
...
lego-core/src/main/java/com/lego/core/domain/vo/QuestionVo.java
View file @
93fedad
...
...
@@ -74,6 +74,8 @@ public class QuestionVo {
*/
private
String
status
;
private
Integer
canPack
;
/**
* 前端APP数据国际化(zh_CN、en_US、ru_RU)
*/
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment