案件新增,查询
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.ruoyi.system.domain.SysUserRole;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户与角色关联表 数据层
|
||||
@@ -59,4 +60,11 @@ public interface SysUserRoleMapper
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteUserRoleInfos(@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
* @param userId
|
||||
* @param roleId
|
||||
*/
|
||||
void insertUserRole(@Param("userId")Long userId, @Param("roleId")Long roleId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user