XMTT 7 years ago
parent
commit
bbc354f505

+ 2 - 0
src/main/java/com/ekexiu/console/system/service/ArticleService.java

@ -270,6 +270,8 @@ public class ArticleService {
270 270
                this.saveArtImg(article.getArticleImg(), article.getArticleId());
271 271
                article.setArticleImg(this.createDate() + "/" + article.getArticleId() + "." + JPG);
272 272
            }
273
            Article article1 = this.articleDao.query(con, article.getArticleId());
274
            article.setColNum(article1.getColNum());
273 275
            this.articleDao.update(con, article);
274 276
            this.keyWordService.refreshArticle(con, article.getArticleId(), article.getSubject());
275 277
            return article.getArticleId();