Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elleai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
E
ellehuis-group
backend
elleai
Commits
4813be8a
Commit
4813be8a
authored
Dec 13, 2024
by
yangyw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 过滤资料库分类
parent
63f1090e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
WikiSaveDto.java
...cn/breeze/elleai/application/dto/request/WikiSaveDto.java
+2
-1
AppExamineService.java
.../breeze/elleai/application/service/AppExamineService.java
+1
-1
No files found.
src/main/java/cn/breeze/elleai/application/dto/request/WikiSaveDto.java
View file @
4813be8a
...
@@ -6,6 +6,7 @@ import com.mybatisflex.annotation.KeyType;
...
@@ -6,6 +6,7 @@ import com.mybatisflex.annotation.KeyType;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
@Data
public
class
WikiSaveDto
implements
Serializable
{
public
class
WikiSaveDto
implements
Serializable
{
...
@@ -37,7 +38,7 @@ public class WikiSaveDto implements Serializable {
...
@@ -37,7 +38,7 @@ public class WikiSaveDto implements Serializable {
* 资料分类ID
* 资料分类ID
*/
*/
@JsonProperty
(
"wiki_category_id"
)
@JsonProperty
(
"wiki_category_id"
)
private
Integer
wikiCategoryId
;
private
List
<
Integer
>
wikiCategoryId
;
/**
/**
* 场景分类ID
* 场景分类ID
...
...
src/main/java/cn/breeze/elleai/application/service/AppExamineService.java
View file @
4813be8a
...
@@ -1011,8 +1011,8 @@ public class AppExamineService {
...
@@ -1011,8 +1011,8 @@ public class AppExamineService {
* @param dto
* @param dto
*/
*/
public
void
saveWiki
(
WikiSaveDto
dto
)
{
public
void
saveWiki
(
WikiSaveDto
dto
)
{
WikiSaveModel
model
=
BeanUtil
.
copyProperties
(
dto
,
WikiSaveModel
.
class
);
WikiSaveModel
model
=
BeanUtil
.
copyProperties
(
dto
,
WikiSaveModel
.
class
);
model
.
setWikiCategoryId
(
CollUtil
.
getLast
(
dto
.
getWikiCategoryId
()));
examineService
.
saveWiki
(
model
);
examineService
.
saveWiki
(
model
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment