vernedeng commented on code in PR #8119:
URL: https://github.com/apache/inlong/pull/8119#discussion_r1209798708


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/user/TenantRoleService.java:
##########
@@ -15,20 +15,24 @@
  * limitations under the License.
  */
 
-package org.apache.inlong.manager.service.core;
+package org.apache.inlong.manager.service.user;
 
-import java.util.List;
+import org.apache.inlong.manager.pojo.user.TenantRoleInfo;
+import org.apache.inlong.manager.pojo.user.TenantRolePageRequest;
+import org.apache.inlong.manager.pojo.user.TenantRoleRequest;
+
+import com.github.pagehelper.PageInfo;
 
 /**
  * Role service
  */
-public interface RoleService {
-
-    /**
-     * Get roles based on username
-     *
-     * @param username username
-     * @return Role list
-     */
-    List<String> listByUser(String username);
+public interface TenantRoleService {
+
+    PageInfo<TenantRoleInfo> listByCondition(TenantRolePageRequest request);

Review Comment:
   fixed, thx



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to