feat:[REQ-3282] 删除无用依赖

This commit is contained in:
liuyang 2024-12-26 10:11:15 +08:00
parent b9d296f004
commit 013954f7da
3 changed files with 0 additions and 53 deletions

View File

@ -1,20 +0,0 @@
package cn.axzo.orgmanax.infra.client.tyr;
import cn.axzo.orgmanax.infra.client.tyr.dto.BatchSuperAdminListReq;
import cn.axzo.orgmanax.infra.client.tyr.dto.BatchSuperAdminListResp;
import org.springframework.web.bind.annotation.RequestBody;
import javax.validation.Valid;
import java.util.List;
public interface TyrSaasRoleUserClient {
/**
* 批量获取超管
* @param param
* @return
*/
List<BatchSuperAdminListResp> batchSuperAdminList(List<BatchSuperAdminListReq> param);
}

View File

@ -61,10 +61,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cn.axzo.tyr</groupId>
<artifactId>tyr-api</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -1,29 +0,0 @@
package cn.axzo.orgmanax.integration.sdk.tyr;
import cn.axzo.orgmanax.infra.client.tyr.TyrSaasRoleUserClient;
import cn.axzo.orgmanax.infra.client.tyr.dto.BatchSuperAdminListReq;
import cn.axzo.orgmanax.infra.client.tyr.dto.BatchSuperAdminListResp;
import cn.axzo.orgmanax.integration.core.RpcWrapper;
import cn.axzo.tyr.client.feign.TyrSaasRoleUserApi;
import cn.axzo.tyr.client.model.roleuser.dto.SuperAminInfoResp;
import cn.axzo.tyr.client.model.roleuser.req.RoleUserReq;
import cn.axzo.tyr.client.model.roleuser.req.SuperAdminParam;
import cn.hutool.core.bean.BeanUtil;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component;
import java.util.List;
@AllArgsConstructor
@Component
public class TyrSaasRoleUserClientImpl implements TyrSaasRoleUserClient {
private final TyrSaasRoleUserApi tyrSaasRoleUserApi;
@Override
public List<BatchSuperAdminListResp> batchSuperAdminList(List<BatchSuperAdminListReq> param) {
List<SuperAdminParam> reqList = BeanUtil.copyToList(param, SuperAdminParam.class);
List<SuperAminInfoResp> superAminInfoResps = RpcWrapper.wrapApiResult(() -> tyrSaasRoleUserApi.batchSuperAdminList(reqList));
return BeanUtil.copyToList(superAminInfoResps, BatchSuperAdminListResp.class);
}
}