Commit b31a9445 by lili
parents 9fc84683 0d4ec172
......@@ -104,7 +104,9 @@
update book_group set is_delete = 1
where book_id = #{bookId,jdbcType=BIGINT}
and channel_id = #{channelId,jdbcType=BIGINT}
and create_user = #{adviserId,jdbcType=BIGINT}
<if test="adviserId != null">
and create_user = #{adviserId,jdbcType=BIGINT}
</if>
and is_delete = 0
</update>
......@@ -112,7 +114,9 @@
update book_group set is_delete = 0
where book_id = #{bookId,jdbcType=BIGINT}
and channel_id = #{channelId,jdbcType=BIGINT}
and create_user = #{adviserId,jdbcType=BIGINT}
<if test="adviserId != null">
and create_user = #{adviserId,jdbcType=BIGINT}
</if>
and is_delete = 1
</update>
......
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