Commit b617b8aa by 吴博

Merge branch 'fixbug/fixNull' into 'master'

bug:[none] fixnull

See merge request rays/pcloud-book!1023
parents e97daead 1e9ef105
...@@ -598,8 +598,13 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz { ...@@ -598,8 +598,13 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
} }
private void fillReadGuide(AppletUserBookcaseDTO appletUserBookcaseDTO,Long rightsSettingId){ private void fillReadGuide(AppletUserBookcaseDTO appletUserBookcaseDTO,Long rightsSettingId){
if (null == rightsSettingId) {
return;
}
RightsSetting rightsSetting = rightsSettingDAO.selectByPrimaryKey(rightsSettingId); RightsSetting rightsSetting = rightsSettingDAO.selectByPrimaryKey(rightsSettingId);
if (null == rightsSetting) {
return;
}
if (rightsSetting != null){ if (rightsSetting != null){
appletUserBookcaseDTO.setGuideId(rightsSetting.getGuideId()); appletUserBookcaseDTO.setGuideId(rightsSetting.getGuideId());
appletUserBookcaseDTO.setGuideIsOpen(rightsSetting.getGuideIsOpen()); appletUserBookcaseDTO.setGuideIsOpen(rightsSetting.getGuideIsOpen());
......
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