|
@@ -53,7 +53,7 @@ public class HceArticleServiceImpl extends AbstractCrudService<HceArticleMapper,
|
|
|
List<HceCategory> list = hceCategoryMapper.selectList(queryWrapper1);
|
|
|
if(CollectionUtils.isNotEmpty(list)){
|
|
|
for(int i=0;i<page.getRecords().size();i++){
|
|
|
- page.getRecords().get(i).setContent(HtmlUtils.htmlUnescape(page.getRecords().get(i).getContent()));
|
|
|
+// page.getRecords().get(i).setContent(HtmlUtils.htmlUnescape(page.getRecords().get(i).getContent()));
|
|
|
for(int j=0;j<list.size();j++){
|
|
|
Integer categoryId1 = page.getRecords().get(i).getCategoryid();
|
|
|
Integer categoryId2 = list.get(j).getId();
|
|
@@ -79,7 +79,7 @@ public class HceArticleServiceImpl extends AbstractCrudService<HceArticleMapper,
|
|
|
throw new BusinessException("同一个栏目下面内容标题重复,请重新填写内容标题");
|
|
|
}
|
|
|
|
|
|
- hceArticle.setContent(HtmlUtils.htmlEscapeHex(hceArticle.getContent()));
|
|
|
+// hceArticle.setContent(HtmlUtils.htmlEscapeHex(hceArticle.getContent()));
|
|
|
hceArticle.setCreatedate(LocalDateTime.now());
|
|
|
|
|
|
this.save(hceArticle);
|
|
@@ -95,7 +95,7 @@ public class HceArticleServiceImpl extends AbstractCrudService<HceArticleMapper,
|
|
|
throw new BusinessException("同一个栏目下面内容标题重复,请重新填写内容标题");
|
|
|
}
|
|
|
|
|
|
- hceArticle.setContent(HtmlUtils.htmlEscapeHex(hceArticle.getContent()));
|
|
|
+// hceArticle.setContent(HtmlUtils.htmlEscapeHex(hceArticle.getContent()));
|
|
|
hceArticle.setModifydate(LocalDateTime.now());
|
|
|
this.updateById(hceArticle);
|
|
|
}
|