Commit 8a66bdf5 by 阮思源

修改显示书名的bug

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