You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							44 lines
						
					
					
						
							964 B
						
					
					
				
			
		
		
	
	
							44 lines
						
					
					
						
							964 B
						
					
					
				package com.ruoyi.system.mapper; | 
						|
 | 
						|
import java.util.List; | 
						|
import com.ruoyi.system.domain.SysRoleDept; | 
						|
 | 
						|
/** | 
						|
 * 角色与部门关联表 数据层 | 
						|
 *  | 
						|
 * @author ruoyi | 
						|
 */ | 
						|
public interface SysRoleDeptMapper | 
						|
{ | 
						|
    /** | 
						|
     * 通过角色ID删除角色和部门关联 | 
						|
     *  | 
						|
     * @param roleId 角色ID | 
						|
     * @return 结果 | 
						|
     */ | 
						|
    public int deleteRoleDeptByRoleId(Long roleId); | 
						|
 | 
						|
    /** | 
						|
     * 批量删除角色部门关联信息 | 
						|
     *  | 
						|
     * @param ids 需要删除的数据ID | 
						|
     * @return 结果 | 
						|
     */ | 
						|
    public int deleteRoleDept(Long[] ids); | 
						|
 | 
						|
    /** | 
						|
     * 查询部门使用数量 | 
						|
     *  | 
						|
     * @param deptId 部门ID | 
						|
     * @return 结果 | 
						|
     */ | 
						|
    public int selectCountRoleDeptByDeptId(Long deptId); | 
						|
 | 
						|
    /** | 
						|
     * 批量新增角色部门信息 | 
						|
     *  | 
						|
     * @param roleDeptList 角色部门列表 | 
						|
     * @return 结果 | 
						|
     */ | 
						|
    public int batchRoleDept(List<SysRoleDept> roleDeptList); | 
						|
}
 | 
						|
 |