Commit 9a2ab4f0 by pansy

bug: [none] 分组类型为null时,提示空指针异常

parent e02a66de
...@@ -868,15 +868,19 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -868,15 +868,19 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
Long classifyId = groupActivity4AppletDTO.getClassifyId(); Long classifyId = groupActivity4AppletDTO.getClassifyId();
String groupQrCode = groupQrcodeBiz.getChangeGroupQrCode(classifyId); String groupQrCode = groupQrcodeBiz.getChangeGroupQrCode(classifyId);
// 通过群二维码链接反查群ID 并补充信息 // 通过群二维码链接反查群ID 并补充信息
if (!StringUtil.isEmpty(groupQrCode)){ //2020/06/30 add by pansy 第三方群为空
ClassifyQrcodeVO groupQrcodeInfo = groupQrcodeBiz.getGroupQrcodeInfo(groupQrCode, classifyId); ClassifyQrcodeVO groupQrcodeInfo = groupQrcodeBiz.getGroupQrcodeInfo(groupQrCode, classifyId);
groupActivity4AppletDTO.setBookGroupQrcodeId(groupQrcodeInfo.getId()); groupActivity4AppletDTO.setBookGroupQrcodeId(groupQrcodeInfo.getId());
groupActivity4AppletDTO.setGroupName(groupQrcodeInfo.getGroupName()); groupActivity4AppletDTO.setGroupName(groupQrcodeInfo.getGroupName());
groupActivity4AppletDTO.setGroupPic(groupQrcodeInfo.getQrcodeUrl()); groupActivity4AppletDTO.setGroupPic(groupQrcodeInfo.getQrcodeUrl());
groupActivity4AppletDTO.setUserNumber(groupQrcodeInfo.getUserNumber()); groupActivity4AppletDTO.setUserNumber(groupQrcodeInfo.getUserNumber());
//头像列表从缓存里取 //头像列表从缓存里取
List<String> headUrlList = appletGroupSearchRecordBiz List<String> headUrlList = appletGroupSearchRecordBiz
.getHeadUrlList(groupActivity4AppletDTO.getUserNumber(), groupActivity4AppletDTO.getBookGroupQrcodeId()); .getHeadUrlList(groupActivity4AppletDTO.getUserNumber(), groupActivity4AppletDTO.getBookGroupQrcodeId());
groupActivity4AppletDTO.setHeadUrlList(headUrlList); groupActivity4AppletDTO.setHeadUrlList(headUrlList);
List<AppletGroupStatementDTO> statementDTOS = appletGroupSearchRecordBiz List<AppletGroupStatementDTO> statementDTOS = appletGroupSearchRecordBiz
.getStatementList(groupActivity4AppletDTO.getUserNumber(), headUrlList, .getStatementList(groupActivity4AppletDTO.getUserNumber(), headUrlList,
groupActivity4AppletDTO.getBookGroupQrcodeId()); groupActivity4AppletDTO.getBookGroupQrcodeId());
...@@ -884,6 +888,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -884,6 +888,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
} }
} }
} }
}
/** /**
* @return void * @return void
......
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