| | |
| | | return Result.fail("请选择文章栏目"); |
| | | } |
| | | |
| | | if (!articleEntity.getColumnId().equals(columnId) && articleEntity.getBeforeColumnId() != null) { |
| | | if (!articleEntity.getColumnId().equals(columnId) && articleEntity.getBeforeColumnId() == -1) { |
| | | articleEntity.setBeforeColumnId(articleEntity.getColumnId()); |
| | | } |
| | | articleEntity.setColumnId(columnId); |
| | |
| | | articleEntity.setArticleUrl(adminUpdateArticleDto.getArticleUrl()); |
| | | articleEntity.setType(adminUpdateArticleDto.getType()); |
| | | articleEntity.setContentType(adminUpdateArticleDto.getContentType()); |
| | | articleEntity.setReleaseStatus(ArticleEntity.RELEASE_STATUS_NO); |
| | | |
| | | String authorBelong = adminUpdateArticleDto.getAuthorBelong(); |
| | | articleEntity.setAuthorBelong(authorBelong); |