Commit d1413f99 by 朱亚洁

合并

parent cc1d520e
......@@ -4696,6 +4696,11 @@ public class BookGroupBizImpl implements BookGroupBiz {
@ParamLog("生成小程序码")
@Override
public void createBookGroupAppletUrl( Long bookGroupId, Long bookId, Long channelId, Long adviserId ) {
BookAppletScene appletScene = bookAppletSceneDao.getByBookGroupId(bookGroupId);
if (null != appletScene) {
LOGGER.info("小程序码已存在, bookGroupId"+bookGroupId);
return;
}
BookAdviserDto bookAdviserDto = bookAdviserDao.getBase(bookId, channelId, adviserId);
Long raysClassifyId = bookRaysClassifyDao.getClassifyIdByBookTemplateId(bookAdviserDto.getTempletId());
if (null == raysClassifyId) {
......
......@@ -188,7 +188,7 @@
</if>
FROM
book_group t1
STRAIGHT_JOIN app_click_record t ON t.book_group_id = t1.id
INNER JOIN app_click_record t ON t.book_group_id = t1.id
WHERE
1 = 1
<if test="joinGroupType!=null">
......
......@@ -77,6 +77,7 @@
FROM book_applet_scene
WHERE book_group_id=#{bookGroupId}
AND is_delete = 0
limit 1
</select>
<select id="getBySceneId" parameterType="long" resultMap="BaseResultMap">
......
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