package com.gkhy.safePlatform.account.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.safePlatform.account.entity.user.RoleMenuInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Collection; @Repository public interface RoleMenuInfoRepository extends BaseMapper { int deleteByMenuId(Long menuId); int insertBatch(@Param("list")Collection roleMenuInfos); int deleteByRoleId(Long roleId); }