Browse Source

保存草稿

master
zhaoqifeng 5 years ago
parent
commit
9f8f7dfb2a
  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

@ -195,7 +195,9 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit
draftEntity.setCustomerId(tokenDto.getCustomerId()); draftEntity.setCustomerId(tokenDto.getCustomerId());
draftEntity.setIsTop(DraftConstant.UN_TOP); draftEntity.setIsTop(DraftConstant.UN_TOP);
draftEntity.setStatusFlag(DraftConstant.UNPUBLISH); draftEntity.setStatusFlag(DraftConstant.UNPUBLISH);
draftEntity.setOrgId(loginUserDetails.getData().getAgencyId()); String orgIdPath = loginUserDetails.getData().getOrgIdPath();
String agencyId = orgIdPath.split(":")[orgIdPath.split(":").length - 1];
draftEntity.setOrgId(agencyId);
draftEntity.setOrgIdPath(loginUserDetails.getData().getOrgIdPath()); draftEntity.setOrgIdPath(loginUserDetails.getData().getOrgIdPath());
draftEntity.setGridId(""); draftEntity.setGridId("");
draftEntity.setDepartmentId(loginUserDetails.getData().getCustomerId()); draftEntity.setDepartmentId(loginUserDetails.getData().getCustomerId());

Loading…
Cancel
Save