角色配置数据权限 bug修复
This commit is contained in:
@@ -4,6 +4,7 @@ import com.adc.da.slrs.sarRole.entity.TsRole;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Delete;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
|
||||
import java.util.List;
|
||||
@@ -75,7 +76,7 @@ public interface TsRoleDao extends BaseMapper<TsRole> {
|
||||
* @param resourceId:权限ID
|
||||
*/
|
||||
@Insert("insert into ts_role_resource (role_id,resource_id) values (#{roleId},#{resourceId})")
|
||||
void addResource(String roleId, String resourceId);
|
||||
void addResource(@Param("roleId") String roleId, @Param("resourceId") String resourceId);
|
||||
|
||||
/**
|
||||
* 删除权限
|
||||
|
||||
Reference in New Issue
Block a user