Authored by mlge

种草--文章删除修改

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