Commit 46c8b3fe by 田超

Merge branch 'fixbug/fixrui' into 'master'

bug: [none] fixrui

See merge request rays/pcloud-book!1161
parents 7aeb7329 d351a473
...@@ -827,7 +827,7 @@ ...@@ -827,7 +827,7 @@
IF(is_open_robot_process = 1 OR join_group_type = 4,1,0) isRui IF(is_open_robot_process = 1 OR join_group_type = 4,1,0) isRui
FROM FROM
book_adviser a book_adviser a
LEFT JOIN book_group b ON a.BOOK_ID = b.book_id LEFT JOIN book_group b ON a.BOOK_ID = b.book_id and b.is_delete = 0
AND a.CHANNEL_ID = b.channel_id AND a.CHANNEL_ID = b.channel_id
WHERE WHERE
a.BOOK_ID = #{bookId} a.BOOK_ID = #{bookId}
...@@ -837,8 +837,6 @@ ...@@ -837,8 +837,6 @@
a.ADVISER_ID = #{adviserId} a.ADVISER_ID = #{adviserId}
and and
a.is_delete =0 a.is_delete =0
and
b.is_delete = 0
limit 1 limit 1
</select> </select>
......
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