Commit 87a5e5ff by 陈健智

新增非人工项目商业数据源默认关闭

parent 9e2c0d01
......@@ -552,8 +552,8 @@ public class ProjectServiceImpl implements ProjectService {
return ResponseResult.failure(ProjectCodeEnum.PROJECT_EXISTSNAME_ERROR.message());
}
Project project = ProjectVO.createNonManualProject(projectVO);
// 添加时默认商业数据源
project.setExternalDataSource(true);
// 添加时默认关闭商业数据源
project.setExternalDataSource(false);
projectDao.insertOneWithoutId(project);
// 绑定事件标签,默认已绑定情感标签
eventMiddlewareDao.bindBrandkbs(project.getBrandLinkedGroup(), project.getBrandLinkedGroupId(), Collections.emptyList(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment