xcsnx commented on code in PR #5604:
URL: https://github.com/apache/shenyu/pull/5604#discussion_r1712559198


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/mapper/SelectorMapper.java:
##########
@@ -44,13 +44,22 @@ public interface SelectorMapper extends ExistProvider {
     @Override
     Boolean existed(@Param("id") Serializable id);
 
+    /**
+     * select selector by id.
+     *
+     * @param id          primary key.
+     * @param namespaceId namespaceId.
+     * @return {@linkplain SelectorDO}
+     */
+    SelectorDO selectByIdAndNamespaceId(String id, String namespaceId);
+
     /**
      * select selector by id.
      *
      * @param id primary key.
      * @return {@linkplain SelectorDO}
      */
-    SelectorDO selectById(String id);
+    SelectorDO selectByOnlyId(String id);

Review Comment:
   ok



-- 
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