Browse Source

Merge remote-tracking branch 'remotes/origin/dev' into release

dev_shibei_match
jianjun 5 years ago
parent
commit
c9d9194b78
  1. 4
      epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java

4
epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java

@ -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);

Loading…
Cancel
Save