达梦适配修改
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ import java.util.List;
|
||||
public interface CustomAuthUserMapper extends BaseMapper<CustomAuthUserEntity> {
|
||||
|
||||
List<CustomAuthRoleOrUserPO> getCustomAuthByRoleOrUserId(CustomAuthDO customAuthDO);
|
||||
@Select("SELECT * FROM `custom_auth_role` WHERE role_id IN (SELECT role_id FROM user_role WHERE user_id = #{userId})")
|
||||
@Select("SELECT * FROM custom_auth_role WHERE role_id IN (SELECT role_id FROM user_role WHERE user_id = #{userId})")
|
||||
List<CustomAuthRoleOrUserPO> getCustomAuthByRole(@Param("userId") Long userId);
|
||||
|
||||
void deleteCustomAuthUserByUserId(CustomAuthDO customAuthDO);
|
||||
|
||||
Reference in New Issue
Block a user