package com.gkhy.safePlatform.account.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.safePlatform.account.entity.user.RoleProjectInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Collection; @Repository public interface RoleProjectInfoRepository extends BaseMapper { RoleProjectInfo getRoleProjectInfo(Long roleId, Long projectId); int deleteByRoleId(Long roleId); int insertBatch(@Param("list") Collection roleProjectInfos); }