|
|
|
@ -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"); |
|
|
|
|