diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.java new file mode 100644 index 0000000000..63e27d3233 --- /dev/null +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.java @@ -0,0 +1,11 @@ +package io.metersphere.base.mapper.ext; + +import io.metersphere.base.domain.Role; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +public interface ExtRoleMapper { + + List getRoleList(@Param("sign") String sign); +} diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.xml new file mode 100644 index 0000000000..554dc2a138 --- /dev/null +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtRoleMapper.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserRoleMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserRoleMapper.xml index 8b8363a306..87c3fc4cde 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserRoleMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserRoleMapper.xml @@ -47,7 +47,7 @@