Commit 02ba31e1 by 阮思源

Merge branch 'fix-rsy' into 'master'

修改导出bug

See merge request rays/pcloud-book!289
parents f07f2f7a bb4da69a
......@@ -896,7 +896,12 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
if (!SystemCode.pcloud.code.equalsIgnoreCase(systemCode)) {
throw new PermissionException(PermissionException.PERMISSION_NOT_FOUND);
}
Long partyId = (Long) SessionUtil.getVlaue(token, SessionUtil.PARTY_ID);
Map<String,Object> map = SessionUtil.getToken4Redis(token);
String isSystem = (String)map.get(SessionUtil.IS_SYSTEM);
Long partyId = (Long) map.get(SessionUtil.PARTY_ID);
if (IsSystem.NOT_SYSTEM.code.equals(isSystem)){
partyId = (Long) map.get(SessionUtil.MEMBER_ID);
}
bookGroupBiz.exportSelfBookGroupStatistics(selfBookGroupStParamDTO, systemCode, partyId);
return new ResponseDto<>();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment