Commit 26af4ffd by Administrator

Merge branch 'fixbug/fixnull' into 'master'

bug: [none] fixnull

See merge request rays/pcloud-book!867
parents 42aa9b8c 9cd01a1f
......@@ -1589,7 +1589,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
RightsSettingDto dto = rightsSettingDAO.getByLabel(firstClassify, secondClassify, gradeLabelId, subjectLabelId, volLabelId, verLabelId);
//有版本筛选但权益未配置
if (null == dto && verLabelId > 0) {
if (null == dto && null != verLabelId && verLabelId > 0) {
Long commonLabelId = bookLabelDao.getByNameType("通用版",3);
dto = rightsSettingDAO.getByLabel(firstClassify, secondClassify, gradeLabelId, subjectLabelId, volLabelId, commonLabelId);
}
......
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