diff --git a/blogserver/target/classes/org/sang/mapper/CategoryMapper.xml b/blogserver/target/classes/org/sang/mapper/CategoryMapper.xml new file mode 100644 index 0000000..c11c3a8 --- /dev/null +++ b/blogserver/target/classes/org/sang/mapper/CategoryMapper.xml @@ -0,0 +1,21 @@ + + + + + + DELETE FROM category WHERE id IN + + #{id} + + + + UPDATE category SET cateName=#{cateName} WHERE id=#{id} + + + INSERT INTO category SET date=#{date},cateName=#{cateName} + + \ No newline at end of file