|
@@ -4,6 +4,7 @@ import com.alipay.sofa.runtime.api.annotation.SofaReference;
|
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
|
|
import com.winsea.svc.base.base.entity.CommonCompany;
|
|
|
import com.winsea.svc.base.base.entity.CommonTenant;
|
|
|
+import com.winsea.svc.base.base.service.ICommonCompanyService;
|
|
|
import com.winsea.svc.base.base.service.ICommonTenantService;
|
|
|
import com.winsea.svc.base.plugin.entity.TenantService;
|
|
|
import com.winsea.svc.base.security.util.AuthSecurityUtils;
|
|
@@ -28,6 +29,8 @@ public class TenantController {
|
|
|
|
|
|
@Autowired
|
|
|
private IOperationTenantService tenantService;
|
|
|
+ @Autowired
|
|
|
+ private ICommonCompanyService commonCompanyService;
|
|
|
|
|
|
@SofaReference
|
|
|
private ICommonTenantService commonTenantService;
|
|
@@ -116,6 +119,18 @@ public class TenantController {
|
|
|
return tenantService.getTenantDetail(tenantId);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取详情
|
|
|
+ *
|
|
|
+ * @param compId 租户ID
|
|
|
+ * @return 租户详情
|
|
|
+ */
|
|
|
+ @GetMapping("/query/getCompIpm")
|
|
|
+ public CommonCompany getCompIpm(@RequestParam String compId) throws ParseException {
|
|
|
+ return commonCompanyService.selectById(compId);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 租户名称重复检查
|
|
|
*
|