Commit 9866089b by 吴博

fix 1002907

parent bbd725c5
......@@ -1604,8 +1604,13 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
appletUserBookcase.getReadType();
if (null != rightsSettingDto) {
Long rightsSettingId = rightsSettingDto.getId();
ReadTypeCountDTO readTypeCountDTO = rightsSettingTitleMapper.getCount4Title(rightsSettingId);
List<RightsReadType> rightsReadTypes = rightsReadTypeMapper.getByRightsSettingId(rightsSettingId);
ReadTypeCountDTO readTypeCountDTO = new ReadTypeCountDTO();
readTypeCountDTO.setRightsSettingId(rightsSettingId);
ReadTypeCountDTO readTypeCountDTO4Title = rightsSettingTitleMapper.getCount4Title(rightsSettingId);
ReadTypeCountDTO readTypeCountDTO4Item = rightsSettingItemDao.getCount4Item(rightsSettingId);
ReadTypeCountDTO readTypeCountDTO4Group = rightsItemGroupDao.getCount4Group(rightsSettingId);
getAllCount(readTypeCountDTO, readTypeCountDTO4Title, readTypeCountDTO4Item, readTypeCountDTO4Group);
setReadType(rightsSettingDto, readTypeCountDTO, rightsReadTypes);
rightsSettingDto.setChooseReadType(chooseReadType);
return rightsSettingDto;
......
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