Commit a7f21a45 by 陈健智

事件标签调整主品牌id

parent 69474fa9
...@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject; ...@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
import com.zhiwei.brandkbs2.auth.UserThreadLocal; import com.zhiwei.brandkbs2.auth.UserThreadLocal;
import com.zhiwei.brandkbs2.common.GenericAttribute; import com.zhiwei.brandkbs2.common.GenericAttribute;
import com.zhiwei.brandkbs2.common.GlobalPojo; import com.zhiwei.brandkbs2.common.GlobalPojo;
import com.zhiwei.brandkbs2.config.Constant;
import com.zhiwei.brandkbs2.dao.ProjectDao; import com.zhiwei.brandkbs2.dao.ProjectDao;
import com.zhiwei.brandkbs2.dao.UserDao; import com.zhiwei.brandkbs2.dao.UserDao;
import com.zhiwei.brandkbs2.enmus.response.ProjectCodeEnum; import com.zhiwei.brandkbs2.enmus.response.ProjectCodeEnum;
...@@ -97,7 +98,7 @@ public class ProjectServiceImpl implements ProjectService { ...@@ -97,7 +98,7 @@ public class ProjectServiceImpl implements ProjectService {
// 主品牌绑定事件标签 // 主品牌绑定事件标签
List<EventTagRelatedDTO> eventTagsList = projectVO.getEventTagsList(); List<EventTagRelatedDTO> eventTagsList = projectVO.getEventTagsList();
eventTagClient.bindBrandkbs(project.getBrandLinkedGroup(), project.getBrandLinkedGroupId(), eventTagsList, eventTagClient.bindBrandkbs(project.getBrandLinkedGroup(), project.getBrandLinkedGroupId(), eventTagsList,
project.getProjectName(), project.getId(), project.getBrandName(), project.getId(), submitter, submitterId); project.getProjectName(), project.getId(), project.getBrandName(), Constant.PRIMARY_CONTEND_ID, submitter, submitterId);
// 竞品绑定事件标签 // 竞品绑定事件标签
List<Contend> contendList = project.getContendList(); List<Contend> contendList = project.getContendList();
if (CollectionUtils.isNotEmpty(contendList)) { if (CollectionUtils.isNotEmpty(contendList)) {
...@@ -181,7 +182,7 @@ public class ProjectServiceImpl implements ProjectService { ...@@ -181,7 +182,7 @@ public class ProjectServiceImpl implements ProjectService {
// 主品牌修改绑定事件标签 // 主品牌修改绑定事件标签
List<EventTagRelatedDTO> eventTagsList = projectVO.getEventTagsList(); List<EventTagRelatedDTO> eventTagsList = projectVO.getEventTagsList();
eventTagClient.modifyBrandkbsEventTags(project.getBrandLinkedGroup(), project.getBrandLinkedGroupId(), eventTagsList, eventTagClient.modifyBrandkbsEventTags(project.getBrandLinkedGroup(), project.getBrandLinkedGroupId(), eventTagsList,
project.getProjectName(), project.getId(), project.getBrandName(), project.getId(), submitter, submitterId); project.getProjectName(), project.getId(), project.getBrandName(), Constant.PRIMARY_CONTEND_ID, submitter, submitterId);
// 竞品修改绑定事件标签 // 竞品修改绑定事件标签
List<Contend> contendList = project.getContendList(); List<Contend> contendList = project.getContendList();
if (CollectionUtils.isNotEmpty(contendList)) { if (CollectionUtils.isNotEmpty(contendList)) {
......
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