Commit 01d86b31 authored by 赵啸非's avatar 赵啸非

修改热门词汇

parent cecc66a6
Pipeline #2403 canceled with stages
......@@ -79,10 +79,13 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
hotwordEntity.setSiteId(query.getSiteId());
hotwordEntity.setHotwords(query.getMateriaFullName());
hotwordEntity.setSearchCount(1);
hotwordEntity.setCreateTime(new Date());
hotwordEntity.setCreateUserId(this.service.getContextUserId(context));
hotwordService.save(hotwordEntity, context);
} else {
//更新
hotwordEntity.setSearchCount(1 + hotwordEntity.getSearchCount());
hotwordEntity.setUpdateTime(new Date());
hotwordService.update(hotwordEntity, context);
}
......
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