feat:[REQ-3282] 删除无用依赖
This commit is contained in:
parent
b9d296f004
commit
013954f7da
@ -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);
|
||||
|
||||
}
|
||||
@ -61,10 +61,6 @@
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.axzo.tyr</groupId>
|
||||
<artifactId>tyr-api</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user