|
@ -334,8 +334,8 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
throw new RenException(ModuleConstant.DRAFT_IS_TOP_ERROR); |
|
|
throw new RenException(ModuleConstant.DRAFT_IS_TOP_ERROR); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ( !DraftConstant.AGENCY.equals(fromDTO.getPublisherType()) || !DraftConstant.DEPARTMENT.equals(fromDTO.getPublisherType()) |
|
|
if (!DraftConstant.AGENCY.equals(fromDTO.getPublisherType()) || !DraftConstant.DEPARTMENT.equals(fromDTO.getPublisherType()) |
|
|
!DraftConstant.GRID.equals(fromDTO.getPublisherType())) { |
|
|
|| !DraftConstant.GRID.equals(fromDTO.getPublisherType())) { |
|
|
throw new RenException(ModuleConstant.DRAFT_PUBLISHER_TYPE_ERROR); |
|
|
throw new RenException(ModuleConstant.DRAFT_PUBLISHER_TYPE_ERROR); |
|
|
} |
|
|
} |
|
|
return saveDraftAttr(tokenDto, fromDTO); |
|
|
return saveDraftAttr(tokenDto, fromDTO); |
|
|