Commit b2666db4 by 裴大威

fix 1001224紧急bug

parent d11bca45
...@@ -574,9 +574,6 @@ public class BookKeywordBizImpl implements BookKeywordBiz { ...@@ -574,9 +574,6 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
if (bookGroupId == null){ if (bookGroupId == null){
throw new BookBizException(BookBizException.ERROR, "缺少参数bookGroupId"); throw new BookBizException(BookBizException.ERROR, "缺少参数bookGroupId");
} }
if (classifyId == null){
classifyId = 0L;
}
return bookKeywordDao.getKeywordCount(bookGroupId, classifyId); return bookKeywordDao.getKeywordCount(bookGroupId, classifyId);
} }
......
...@@ -238,7 +238,9 @@ ...@@ -238,7 +238,9 @@
bk.is_delete = 0 bk.is_delete = 0
AND AND
k.is_delete = 0 k.is_delete = 0
AND classify_id = #{classifyId} <if test="classifyId != null">
AND classify_id = #{classifyId}
</if>
AND book_group_id = #{bookGroupId} AND book_group_id = #{bookGroupId}
</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