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
98881a8b
Commit
98881a8b
authored
Dec 13, 2022
by
shenjunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加主品牌brandId
parent
0851005e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
src/main/java/com/zhiwei/brandkbs2/pojo/Project.java
+5
-1
src/main/java/com/zhiwei/brandkbs2/pojo/vo/ProjectVO.java
+1
-0
No files found.
src/main/java/com/zhiwei/brandkbs2/pojo/Project.java
View file @
98881a8b
package
com
.
zhiwei
.
brandkbs2
.
pojo
;
import
com.zhiwei.brandkbs2.pojo.vo.ProjectVO
;
import
com.zhiwei.middleware.event.pojo.dto.EventTagRelatedDTO
;
import
lombok.Getter
;
import
lombok.Setter
;
import
org.springframework.data.mongodb.core.mapping.Document
;
...
...
@@ -22,6 +21,11 @@ import java.util.Map;
public
class
Project
extends
AbstractProject
{
/**
* 主品牌id
*/
private
String
brandId
;
/**
* 全网搜数据源(1:舆情库,2:商业数据库)
*/
private
Integer
wholeSearchDataSource
;
...
...
src/main/java/com/zhiwei/brandkbs2/pojo/vo/ProjectVO.java
View file @
98881a8b
...
...
@@ -138,6 +138,7 @@ public class ProjectVO {
Project
project
=
new
Project
();
project
.
setId
(
this
.
getId
());
project
.
setProjectName
(
this
.
getProjectName
());
project
.
setBrandId
(
ObjectId
.
get
().
toString
());
project
.
setBrandName
(
this
.
getBrandName
());
project
.
setBrandLinkedGroup
(
this
.
getBrandLinkedGroup
());
project
.
setBrandLinkedGroupId
(
this
.
getBrandLinkedGroupId
());
...
...
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