Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
Details
Activity
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
shenjunjie
brandkbs2
Commits
87a5e5ff
Commit
87a5e5ff
authored
Dec 13, 2024
by
陈健智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增非人工项目商业数据源默认关闭
parent
9e2c0d01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectServiceImpl.java
+2
-2
No files found.
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectServiceImpl.java
View file @
87a5e5ff
...
@@ -552,8 +552,8 @@ public class ProjectServiceImpl implements ProjectService {
...
@@ -552,8 +552,8 @@ public class ProjectServiceImpl implements ProjectService {
return
ResponseResult
.
failure
(
ProjectCodeEnum
.
PROJECT_EXISTSNAME_ERROR
.
message
());
return
ResponseResult
.
failure
(
ProjectCodeEnum
.
PROJECT_EXISTSNAME_ERROR
.
message
());
}
}
Project
project
=
ProjectVO
.
createNonManualProject
(
projectVO
);
Project
project
=
ProjectVO
.
createNonManualProject
(
projectVO
);
// 添加时默认商业数据源
// 添加时默认
关闭
商业数据源
project
.
setExternalDataSource
(
tru
e
);
project
.
setExternalDataSource
(
fals
e
);
projectDao
.
insertOneWithoutId
(
project
);
projectDao
.
insertOneWithoutId
(
project
);
// 绑定事件标签,默认已绑定情感标签
// 绑定事件标签,默认已绑定情感标签
eventMiddlewareDao
.
bindBrandkbs
(
project
.
getBrandLinkedGroup
(),
project
.
getBrandLinkedGroupId
(),
Collections
.
emptyList
(),
eventMiddlewareDao
.
bindBrandkbs
(
project
.
getBrandLinkedGroup
(),
project
.
getBrandLinkedGroupId
(),
Collections
.
emptyList
(),
...
...
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