Commit 41f72e3c by 吴博

Merge branch 'fixbug/fixrights' into 'master'

bug: [none] fixUserCount

See merge request rays/pcloud-book!1145
parents ba47b084 174bc5f1
...@@ -3333,8 +3333,10 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -3333,8 +3333,10 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
rightsSettingDto = getByLabel(adviserDto.getTempletId(), adviserDto.getSecondTempletId(), adviserDto.getGraLabelId(), rightsSettingDto = getByLabel(adviserDto.getTempletId(), adviserDto.getSecondTempletId(), adviserDto.getGraLabelId(),
adviserDto.getSubLabelId(), adviserDto.getVolLabelId(), adviserDto.getVerLabelId(), adviserDto.getThirdTempletId()); adviserDto.getSubLabelId(), adviserDto.getVolLabelId(), adviserDto.getVerLabelId(), adviserDto.getThirdTempletId());
if (null == rightsSettingDto) { if (null == rightsSettingDto) {
log.error("该书没有匹配的分类权益,bookId=" + bookId); RightsSetting rightsSetting = rightsSettingDAO.selectByPrimaryKey(2267L);
return new RightsSettingDto(); RightsSettingDto rightsSettingDto1 = new RightsSettingDto();
BeanUtils.copyProperties(rightsSetting,rightsSettingDto1);
return rightsSettingDto1;
} }
Long rightsSettingId = rightsSettingDto.getId(); Long rightsSettingId = rightsSettingDto.getId();
List<RightsReadType> rightsReadTypes = rightsReadTypeMapper.getByRightsSettingId(rightsSettingId); List<RightsReadType> rightsReadTypes = rightsReadTypeMapper.getByRightsSettingId(rightsSettingId);
......
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