GITZYY 1 vecka sedan
förälder
incheckning
33245afe7d

+ 4 - 0
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/repository/database/dao/EgressApiChannelDao.java

@@ -2,6 +2,9 @@ package com.hrsk.cloud.eg.infrastructure.repository.database.dao;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgressApiChannelDo;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
 
 
 /**
@@ -11,5 +14,6 @@ import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgressApiChan
  **/
 public interface EgressApiChannelDao extends BaseMapper<EgressApiChannelDo> {
 
+    List<EgressApiChannelDo> selectByApiCode(@Param("apiCode") String apiCode);
 }