Authored by min.ling

update

@@ -1022,7 +1022,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService { @@ -1022,7 +1022,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService {
1022 grassArticleLabelDao.deleteByArticleId(articleId); 1022 grassArticleLabelDao.deleteByArticleId(articleId);
1023 List<GrassArticleLabel> grassArticleLabels = buildArticleLabels(articleId, labels, grassArticle.getAuthStatus()); 1023 List<GrassArticleLabel> grassArticleLabels = buildArticleLabels(articleId, labels, grassArticle.getAuthStatus());
1024 try { 1024 try {
1025 - if (CollectionUtils.isNotEmpty(grassArticleLabels) && 3 != req.getSort()) { 1025 + if (CollectionUtils.isNotEmpty(grassArticleLabels) && 3 != sort) {
1026 if (type == 3) { 1026 if (type == 3) {
1027 for (GrassArticleLabel label : grassArticleLabels) { 1027 for (GrassArticleLabel label : grassArticleLabels) {
1028 label.setCreateTime(time); 1028 label.setCreateTime(time);