Skip to content

Commit

Permalink
🐛 Fixing a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHENFENG13 committed Aug 7, 2019
1 parent 9db6c07 commit 83d76cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/mapper/BlogCategoryMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
select
<include refid="Base_Column_List"/>
from tb_blog_category
where category_name = #{categoryName,jdbcType=INTEGER} AND is_deleted = 0
where category_name = #{categoryName,jdbcType=VARCHAR} AND is_deleted = 0
</select>
<update id="deleteByPrimaryKey" parameterType="java.lang.Integer">
UPDATE tb_blog_category SET is_deleted = 1
where category_id = #{categoryId,jdbcType=VARCHAR} AND is_deleted = 0
where category_id = #{categoryId,jdbcType=INTEGER} AND is_deleted = 0
</update>
<update id="deleteBatch">
update tb_blog_category
Expand Down

0 comments on commit 83d76cc

Please sign in to comment.