Authored by mlge

种草--文章删除修改

@@ -856,9 +856,10 @@ public class GrassArticleServiceImpl implements IGrassArticleService{ @@ -856,9 +856,10 @@ public class GrassArticleServiceImpl implements IGrassArticleService{
856 grassArticleDeleteLogDao.insertByGrassArticleDeleteLog(grassArticleDeleteLog); 856 grassArticleDeleteLogDao.insertByGrassArticleDeleteLog(grassArticleDeleteLog);
857 //删除文章关联数据 857 //删除文章关联数据
858 grassArticleBlockDao.deleteRealByArticleId(articleId); 858 grassArticleBlockDao.deleteRealByArticleId(articleId);
859 - grassArticleCommentDao.deleteByDestIdAndColumnType(articleId,GrassArticleComment.ColumnType.ARTICLE.getValue());  
860 - grassArticlePraiseDao.deleteByArticleId(articleId);  
861 - userFavoriteArticleDao.deleteByArticleId(articleId); 859 + //前台展示消息盒子的时候存在问题,所以不执行以下操作
  860 +// grassArticleCommentDao.deleteByDestIdAndColumnType(articleId,GrassArticleComment.ColumnType.ARTICLE.getValue());
  861 +// grassArticlePraiseDao.deleteByArticleId(articleId);
  862 +// userFavoriteArticleDao.deleteByArticleId(articleId);
862 grassArticleLabelDao.deleteByArticleId(articleId); 863 grassArticleLabelDao.deleteByArticleId(articleId);
863 grassArticleProductDao.deleteRealByArticleId(articleId); 864 grassArticleProductDao.deleteRealByArticleId(articleId);
864 865