mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 02:08:43 +08:00 
			
		
		
		
	解决由于mybatis-plus无法过滤软删除导致角色去掉菜单缓存未刷新的问题。
解决去掉菜单缓存未刷新的问题。
This commit is contained in:
		| @@ -33,9 +33,7 @@ public interface SysRoleMenuMapper extends BaseMapperX<SysRoleMenuDO> { | |||||||
|                 .in("menu_id", menuIds)); |                 .in("menu_id", menuIds)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     default boolean selectExistsByUpdateTimeAfter(Date maxUpdateTime) { |     @Select("select id from sys_role_menu where update_time > #{maxUpdateTime} limit 1") | ||||||
|         return selectOne(new QueryWrapper<SysRoleMenuDO>().select("id") |     List<Long> selectExistsByUpdateTimeAfter(Date maxUpdateTime);  | ||||||
|                 .gt("update_time", maxUpdateTime).last("LIMIT 1")) != null; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 dxyx
					dxyx