Commit 8a66bdf5 by 阮思源

修改显示书名的bug

parent 6aefdabe
......@@ -167,6 +167,10 @@ public class BookGroupBizImpl implements BookGroupBiz {
bookGroup.setBookId(bookId);
bookGroup.setChannelId(channelId);
bookGroup.setCreateUser(adviserId);
Boolean isShowBookName = bookGroupDao.getIsShowBookName(adviserId);
if (isShowBookName != null) {
bookGroup.setIsShowBookName(isShowBookName);
}
if (addType != null && addType == 1) {
GroupQrcodeVO groupQrcodeVO = null;
if (sceneId != null) {
......
......@@ -156,6 +156,7 @@
create_user,
create_time,
update_time,
is_show_book_name,
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{bookId,jdbcType=BIGINT},
......@@ -173,6 +174,7 @@
#{createUser,jdbcType=BIGINT},
NOW(),
NOW(),
#{isShowBookName,jdbcType=BOOLEAN},
</trim>
</insert>
......
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