提交 38495c56 作者: 925993793@qq.com

增加编辑和删除功能(研究中心调用)

上级 cff9d628
......@@ -78,6 +78,7 @@ public class EventApi {
if (keywordsVO != null) {
Event event = simpleSave(addEventVO);
KeyWords keyWords = keyWordsService.saveKeyword(event, keywordsVO.getKeyword(), keywordsVO.getExclusionWord());
event.setKeyWords(keyWords);
CompletableFuture.runAsync(()->{
iXxlJobInfoService.subjectInsert(event);
//关键词
......@@ -100,7 +101,7 @@ public class EventApi {
}
/**
* 新增事件(页面简化版)
* 编辑事件
*
* @param addEventVO 事件信息
* @author lkg
......
......@@ -139,7 +139,7 @@ public class Event {
private Integer otherHot;
/**发布状态(0-未发布;1-已发布)*/
private Integer publishStatus;
/**发布状态(0-未发布;1-已发布)*/
/**关联事件*/
private String relationEvents;
/**发布时间*/
private String publishDate;
......@@ -148,7 +148,9 @@ public class Event {
/**事件创建方式(1-用户直接创建;2-基于挖掘的事件创建)*/
private Integer category;
/**关键词信息*/
@TableField(exist = false)
private KeyWords keyWords;
@TableField(exist = false)
private String typeName;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论