|
|
@ -840,8 +840,9 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
|
draftDao.updateById(draft); |
|
|
|
//2.查找草稿内容、封面、发布范围
|
|
|
|
String draftId = draft.getId(); |
|
|
|
List<DraftContentEntity> draftContents = draftContentDao.selectByDraftId(draftId,ModuleConstant.AUDIT_STATUS_PASS); |
|
|
|
DraftCoverEntity draftCover = draftCoverDao.selectByDraftId(draftId,ModuleConstant.AUDIT_STATUS_PASS); |
|
|
|
//直接查询改草稿的 封面及内容
|
|
|
|
List<DraftContentEntity> draftContents = draftContentDao.selectByDraftId(draftId,null); |
|
|
|
DraftCoverEntity draftCover = draftCoverDao.selectByDraftId(draftId,null); |
|
|
|
List<DraftPublishRangeDTO> draftPublishRange = draftPublishRangeDao.selectByDraftId(draftId); |
|
|
|
|
|
|
|
//3.生成文章以及相关记录
|
|
|
|