From bc56aae219a574eabfdb391d219116baaa8ba5ed Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: 星期五, 10 七月 2020 10:28:57 +0800
Subject: [PATCH] !33 RedisCache中所有方法参数添加final,并优化list和set存取效率,添加其它常用redis方法 RedisCache中所有方法参数添加final,并优化list和set存取效率,添加其它常用redis方法

---
 ruoyi/src/main/resources/mybatis/system/SysPostMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi/src/main/resources/mybatis/system/SysPostMapper.xml b/ruoyi/src/main/resources/mybatis/system/SysPostMapper.xml
index 232136c..1fb6f45 100644
--- a/ruoyi/src/main/resources/mybatis/system/SysPostMapper.xml
+++ b/ruoyi/src/main/resources/mybatis/system/SysPostMapper.xml
@@ -111,5 +111,12 @@
 	<delete id="deletePostById" parameterType="Long">
 		delete from sys_post where post_id = #{postId}
 	</delete>
+	
+	<delete id="deletePostByIds" parameterType="Long">
+ 		delete from sys_post where post_id in
+ 		<foreach collection="array" item="postId" open="(" separator="," close=")">
+ 			#{postId}
+        </foreach> 
+ 	</delete>
 
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.2