diff --git a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
index acc2dc507..9f1f98794 100644
--- a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
+++ b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
@@ -46,7 +46,6 @@
com.microsoft.sqlserver
mssql-jdbc
- true
com.dameng
diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/OutApiController.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/OutApiController.java
new file mode 100644
index 000000000..f15cdd354
--- /dev/null
+++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/OutApiController.java
@@ -0,0 +1,64 @@
+package cn.iocoder.yudao.module.system.controller.admin.outapi;
+
+import cn.iocoder.yudao.framework.common.pojo.CommonResult;
+import cn.iocoder.yudao.framework.common.util.object.BeanUtils;
+import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
+import cn.iocoder.yudao.module.system.controller.admin.outapi.vo.*;
+import cn.iocoder.yudao.module.system.dal.dataobject.contrastorg.ContrastOrgDO;
+import cn.iocoder.yudao.module.system.dal.mysql.contrastorg.*;
+import io.swagger.v3.oas.annotations.*;
+import io.swagger.v3.oas.annotations.tags.*;
+import org.springframework.validation.annotation.*;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.util.UUID;
+
+import static cn.iocoder.yudao.framework.common.pojo.CommonResult.error;
+import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
+
+@Tag(name = "管理后台 - OutApiController")
+@RestController
+@RequestMapping("/system/outapi")
+@Validated
+public class OutApiController {
+
+ @Resource
+ private ContrastOrgMapper contrastOrgMapper;
+
+ @PostMapping("/addContrastOrg")
+ @Operation(summary = "addContrastOrg")
+ public CommonResult addContrastOrg(@RequestBody ContrastOrgSaveReqVO createReqVO) {
+ String _out = "";
+
+ try {
+ if ((createReqVO.getRegid() != null && !createReqVO.getRegid().isEmpty()) &&
+ (createReqVO.getOrgid() != null && !createReqVO.getOrgid().isEmpty())) {
+
+ ContrastOrgDO contrastOrgDO = null;
+
+ contrastOrgDO = contrastOrgMapper.selectOne(new LambdaQueryWrapperX()
+ .eq(ContrastOrgDO::getRegid, createReqVO.getRegid().trim()));
+
+ if (contrastOrgDO == null) {
+ UUID guid = UUID.randomUUID();
+ contrastOrgDO = BeanUtils.toBean(createReqVO, ContrastOrgDO.class);
+ contrastOrgDO.setId(guid.toString());
+ contrastOrgDO.setRegid(contrastOrgDO.getRegid().trim());
+ contrastOrgDO.setOrgid(contrastOrgDO.getOrgid().trim());
+ contrastOrgMapper.insert(contrastOrgDO);
+ _out = "成功";
+ } else
+ _out = "失败,参数regid对应的数据已存在";
+ } else
+ _out = "失败,参数regid、orgid都不能为空";
+ } catch (Exception ex) {
+ _out = "失败," + ex.getMessage();
+ }
+
+ if (_out.equals("成功"))
+ return success(_out);
+ else
+ return error(400, _out);
+ }
+}
diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/vo/ContrastOrgSaveReqVO.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/vo/ContrastOrgSaveReqVO.java
new file mode 100644
index 000000000..8ee7da172
--- /dev/null
+++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/outapi/vo/ContrastOrgSaveReqVO.java
@@ -0,0 +1,22 @@
+package cn.iocoder.yudao.module.system.controller.admin.outapi.vo;
+
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.*;
+
+import java.util.*;
+import javax.validation.constraints.*;
+
+@Schema(description = "管理后台 - tb_contrast_org新增/修改 Request VO")
+@Data
+public class ContrastOrgSaveReqVO {
+
+ @Schema(description = "ID", example = "30850")
+ private String id;
+
+ @Schema(description = "regid", example = "32407")
+ private String regid;
+
+ @Schema(description = "orgid", example = "17889")
+ private String orgid;
+
+}
\ No newline at end of file
diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/contrastorg/ContrastOrgDO.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/contrastorg/ContrastOrgDO.java
new file mode 100644
index 000000000..9d85e3d20
--- /dev/null
+++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/contrastorg/ContrastOrgDO.java
@@ -0,0 +1,38 @@
+package cn.iocoder.yudao.module.system.dal.dataobject.contrastorg;
+
+import lombok.*;
+import com.baomidou.mybatisplus.annotation.*;
+
+/**
+ * tb_contrast_org DO
+ *
+ * @author 李传洋
+ */
+@TableName("tb_contrast_org")
+@KeySequence("tb_contrast_org_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
+@Data
+@ToString(callSuper = true)
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ContrastOrgDO {
+
+ /**
+ * ID
+ */
+ @TableId(value = "ID", type = IdType.INPUT)
+ private String id;
+
+ /**
+ * regid
+ */
+ @TableField("regid")
+ private String regid;
+
+ /**
+ * orgid
+ */
+ @TableField("orgid")
+ private String orgid;
+
+}
\ No newline at end of file
diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/contrastorg/ContrastOrgMapper.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/contrastorg/ContrastOrgMapper.java
new file mode 100644
index 000000000..506e59921
--- /dev/null
+++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/contrastorg/ContrastOrgMapper.java
@@ -0,0 +1,23 @@
+package cn.iocoder.yudao.module.system.dal.mysql.contrastorg;
+
+import java.util.*;
+
+import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
+import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
+import cn.iocoder.yudao.module.system.dal.dataobject.contrastorg.*;
+import com.baomidou.mybatisplus.annotation.*;
+import org.apache.ibatis.annotations.*;
+
+/**
+ * tb_contrast_org Mapper
+ *
+ * @author 李传洋
+ */
+@InterceptorIgnore(tenantLine = "true")
+@Mapper
+public interface ContrastOrgMapper extends BaseMapperX {
+
+ @Select(" SELECT t1.ID AS ID,t1.orgid AS orgid,t1.regid AS regid,t2.orgName FROM tb_contrast_org t1 LEFT JOIN tb_org t2 ON t1.orgid=t2.orgID WHERE t1.regid=#{regid} ")
+ List