Commit 4ee85b1d by 朱亚洁

bug:[none]添加书刊报错

parent c934dec2
......@@ -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