技术交流服务功能添加bug修改

master
王家东 2 weeks ago
parent 7a89eb6d8d
commit 6900717cf4
  1. 2
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java

@ -162,7 +162,7 @@ public class CmsArticleController extends JeecgController<CmsArticle, ICmsArticl
LoginUser principal = (LoginUser) SecurityUtils.getSubject().getPrincipal();
cmsArticle.setCreateBy(principal.getUsername());
CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId());
cmsArticle.setColumnName(cmsColumn.getName());
/*cmsArticle.setColumnName(cmsColumn.getName());*/
// if (StringUtils.equals("1", cmsArticle.getStatus())) {
cmsArticle.setPublishTime(new Date());
cmsArticle.setStatus("1");

Loading…
Cancel
Save