Commit 1f34d3f6 by 田超

Merge branch 'fixbug/addbook' into 'master'

bug:[none]添加书刊报错

See merge request rays/pcloud-book!1378
parents c934dec2 4ee85b1d
......@@ -190,7 +190,9 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
gradeId = resourcePageBiz.getGradeByDepLabelId(bookAdviserDto.getDepLabelId());
}
//书刊匹配不到且用户当前没有标签,取已工作年龄段
gradeId = (null == gradeId && !hasLabel) ? 29L : gradeId;
if (null == gradeId && !hasLabel) {
gradeId = 29L;
}
//更新用户年级标签
if (null != gradeId) {
readerConsr.addUserGradeLabel(appletUserBookcase.getWechatUserId(), appletUserBookcase.getOfficialAccountsId(), gradeId);
......
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