|
@@ -132,8 +132,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<delete id="deletePostByIds" parameterType="Long">
|
|
|
delete from sys_post where post_id in
|
|
|
- <foreach collection="array" item="postId" open="(" separator="," close=")">
|
|
|
- #{postId}
|
|
|
+ <foreach collection="postIds" item="postIds" open="(" separator="," close=")">
|
|
|
+ #{postIds}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
|