From 0edc796206d0915dc8e14aae7d258e751fdfa77e Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期四, 01 六月 2023 17:56:03 +0800 Subject: [PATCH] 接口管理-集成系统界面接口添加 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/pagemodel/DockingSystemConfigVO.java | 672 +++++++++++++++++++ Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemConfigService.java | 13 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemService.java | 30 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemConfigServiceImpl.java | 23 Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemConfigMapper.xml | 65 + Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemMapper.xml | 34 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingManagement.java | 4 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDokingSysManaentService.java | 10 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemConfigMapper.java | 7 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemConfigWrapper.java | 66 + Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemServiceImpl.java | 88 ++ Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/DockingSystemConfigDTO.java | 675 +++++++++++++++++++ Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystemConfig.java | 311 ++++++++ Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemWrapper.java | 67 + Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystem.java | 24 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemMapper.java | 7 16 files changed, 2,096 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/DockingSystemConfigDTO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/DockingSystemConfigDTO.java new file mode 100644 index 0000000..9ff7b57 --- /dev/null +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/dto/DockingSystemConfigDTO.java @@ -0,0 +1,675 @@ +package com.vci.ubcs.code.dto; + + +import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; +import com.vci.ubcs.code.vo.pagemodel.SysIntHeaderVO; +import com.vci.ubcs.code.vo.pagemodel.SysIntParamVO; + +import java.util.List; + +/** + * 绯荤粺闆嗘垚鍩虹淇℃伅鏁版嵁浼犺緭瀵硅薄 + * + * @author lihang + * @date 2022-03-07 + */ +public class DockingSystemConfigDTO extends BaseModelVO { + + /** + * 绂佹淇敼杩欎釜鍊� + */ + private static final long serialVersionUID = 4615707120053955466L; + + + /** + * 璁よ瘉鏂瑰紡 + */ + private String authorityOid; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + private String authorityOidName; + + /** + * 璁よ瘉鏂瑰紡 + */ + private String authorityType; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + private String authorityTypeText; + + /** + * 楠岃瘉鐢ㄦ埛 + */ + private String userAccount; + + /** + * 楠岃瘉瀵嗙爜 + */ + private String userCode; + + /** + * 楠岃瘉浠ょ墝 + */ + private String token; + + /** + * 鎺ュ彛鍑芥暟 + */ + private String interfaceFunction; + + /** + * 鎺ュ彛鎻忚堪 + */ + private String description; + + + /** + * 鎺ュ彛绫诲瀷 + */ + private String interfaceType; + + + /** + * 鎺ュ彛绫诲瀷鏄剧ず鏂囨湰 + */ + private String interfaceTypeText; + /** + * 鍙傛暟绫诲瀷 + */ + private String paramType; + + + /** + * 鍙傛暟绫诲瀷鏄剧ず鏂囨湰 + */ + private String paramTypeText; + /** + * 璇锋眰鏂瑰紡 + */ + private String requestMethod; + + + /** + * 璇锋眰鏂瑰紡鏄剧ず鏂囨湰 + */ + private String requestMethodText; + /** + * 鍒嗙被oid + */ + private String classifyOid; + + /** + * 鍚敤銆佸仠鐢╰rue/false锛屼笉鐢ㄥ钩鍙扮殑鏋氫妇锛屽噺灏戝骞冲彴鐨勮�﹀悎 + */ + private String usedFlag; + + /** + * 鎺ㄩ�佺郴缁無id + */ + private String sysBaseOid; + + /** + * 鎺ㄩ�佺郴缁熺紪鍙� + */ + private String sysBaseId; + + /** + * 鎺ㄩ�佺郴缁熷悕绉� + */ + private String sysBaseName; + + /** + * 璇锋眰鍦板潃 + */ + private String requestUrl; + + + /** + * 杩斿洖鍊肩被鍨� + */ + private String returnType; + + + /** + * 杩斿洖鍊肩被鍨嬫樉绀烘枃鏈� + */ + private String returnTypeText; + /** + * 鏉ユ簮绯荤粺涓婚敭 + */ + private String sourceSystemOid; + + /** + * 鏉ユ簮绯荤粺鍚嶇О + */ + private String sourceSysName; + + /** + * 鏉ユ簮绯荤粺鏍囪瘑 + */ + private String sourceSysId; + + /** + * 鏉ユ簮绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + private String sourceSystemOidName; + + /** + * 鐩爣绯荤粺涓婚敭 + */ + private String targetSystemOid; + + /** + * 鐩爣绯荤粺鍚嶇О + */ + private String targetSysName; + + /** + * 鐩爣绯荤粺鏍囪瘑 + */ + private String targetSysId; + + /** + * 鐩爣绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + private String targetSystemOidName; + + /** + * 绫昏矾寰� + */ + private String classPath; + + /** + * 鏁版嵁娴佸悜鏂瑰紡 + */ + private String dataFlowType; + + /** + * 鏁版嵁娴佸悜鏂瑰紡鐨勬樉绀哄瓧娈� + */ + private String dataFlowTypeText; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨� + */ + private String btmTypeId; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨嬬殑涓枃鍚嶇О + */ + private String btmTypeName; + + /** + * 鍛藉悕绌洪棿 + */ + private String namespace; + + /** + * soapAction + */ + private String soapAction; + + /** + * cxfaxis + */ + private String cxfAxis; + + /** + * 鍙傛暟鍚嶇О + */ + private String targetName; + + /*** + * 鎺ㄩ�佺被鍨� 1:鏁版嵁鎺ㄩ��/2鍒嗙被鎺ㄩ�侊紝榛樿鏁版嵁鎺ㄩ�� + */ + private String pushType; + /*** + * 鎺ㄩ�佺被鍨嬫樉绀哄�� + */ + private String pushTypeText; + + /** + * 鍒嗙被id + */ + private String classifyId; + + /** + * 鍒嗙被鍚嶇О + */ + private String classifyName; + + /*** + * 鍙傛暟淇℃伅瀵硅薄 + */ + private List<SysIntParamVO> sysIntParamVOs; + /*** + * header淇℃伅瀵硅薄 + */ + private List<SysIntHeaderVO> sysIntHeaderVOs; + + public String getAuthorityOid() { + return authorityOid; + } + + public void setAuthorityOid(String authorityOid) { + this.authorityOid = authorityOid; + } + + public String getAuthorityOidName() { + return authorityOidName; + } + + public void setAuthorityOidName(String authorityOidName) { + this.authorityOidName = authorityOidName; + } + + public String getAuthorityType() { + return authorityType; + } + + public void setAuthorityType(String authorityType) { + this.authorityType = authorityType; + } + + public String getAuthorityTypeText() { + return authorityTypeText; + } + + public void setAuthorityTypeText(String authorityTypeText) { + this.authorityTypeText = authorityTypeText; + } + + public String getUserAccount() { + return userAccount; + } + + public void setUserAccount(String userAccount) { + this.userAccount = userAccount; + } + + public String getUserCode() { + return userCode; + } + + public void setUserCode(String userCode) { + this.userCode = userCode; + } + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getInterfaceFunction() { + return interfaceFunction; + } + + public void setInterfaceFunction(String interfaceFunction) { + this.interfaceFunction = interfaceFunction; + } + + @Override + public String getDescription() { + return description; + } + + @Override + public void setDescription(String description) { + this.description = description; + } + + public String getInterfaceType() { + return interfaceType; + } + + public void setInterfaceType(String interfaceType) { + this.interfaceType = interfaceType; + } + + public String getInterfaceTypeText() { + return interfaceTypeText; + } + + public void setInterfaceTypeText(String interfaceTypeText) { + this.interfaceTypeText = interfaceTypeText; + } + + public String getParamType() { + return paramType; + } + + public void setParamType(String paramType) { + this.paramType = paramType; + } + + public String getParamTypeText() { + return paramTypeText; + } + + public void setParamTypeText(String paramTypeText) { + this.paramTypeText = paramTypeText; + } + + public String getRequestMethod() { + return requestMethod; + } + + public void setRequestMethod(String requestMethod) { + this.requestMethod = requestMethod; + } + + public String getRequestMethodText() { + return requestMethodText; + } + + public void setRequestMethodText(String requestMethodText) { + this.requestMethodText = requestMethodText; + } + + public String getClassifyOid() { + return classifyOid; + } + + public void setClassifyOid(String classifyOid) { + this.classifyOid = classifyOid; + } + + public String getUsedFlag() { + return usedFlag; + } + + public void setUsedFlag(String usedFlag) { + this.usedFlag = usedFlag; + } + + public String getSysBaseOid() { + return sysBaseOid; + } + + public void setSysBaseOid(String sysBaseOid) { + this.sysBaseOid = sysBaseOid; + } + + public String getSysBaseId() { + return sysBaseId; + } + + public void setSysBaseId(String sysBaseId) { + this.sysBaseId = sysBaseId; + } + + public String getSysBaseName() { + return sysBaseName; + } + + public void setSysBaseName(String sysBaseName) { + this.sysBaseName = sysBaseName; + } + + public String getRequestUrl() { + return requestUrl; + } + + public void setRequestUrl(String requestUrl) { + this.requestUrl = requestUrl; + } + + public String getReturnType() { + return returnType; + } + + public void setReturnType(String returnType) { + this.returnType = returnType; + } + + public String getReturnTypeText() { + return returnTypeText; + } + + public void setReturnTypeText(String returnTypeText) { + this.returnTypeText = returnTypeText; + } + + public String getSourceSystemOid() { + return sourceSystemOid; + } + + public void setSourceSystemOid(String sourceSystemOid) { + this.sourceSystemOid = sourceSystemOid; + } + + public String getSourceSysName() { + return sourceSysName; + } + + public void setSourceSysName(String sourceSysName) { + this.sourceSysName = sourceSysName; + } + + public String getSourceSysId() { + return sourceSysId; + } + + public void setSourceSysId(String sourceSysId) { + this.sourceSysId = sourceSysId; + } + + public String getSourceSystemOidName() { + return sourceSystemOidName; + } + + public void setSourceSystemOidName(String sourceSystemOidName) { + this.sourceSystemOidName = sourceSystemOidName; + } + + public String getTargetSystemOid() { + return targetSystemOid; + } + + public void setTargetSystemOid(String targetSystemOid) { + this.targetSystemOid = targetSystemOid; + } + + public String getTargetSysName() { + return targetSysName; + } + + public void setTargetSysName(String targetSysName) { + this.targetSysName = targetSysName; + } + + public String getTargetSysId() { + return targetSysId; + } + + public void setTargetSysId(String targetSysId) { + this.targetSysId = targetSysId; + } + + public String getTargetSystemOidName() { + return targetSystemOidName; + } + + public void setTargetSystemOidName(String targetSystemOidName) { + this.targetSystemOidName = targetSystemOidName; + } + + public String getClassPath() { + return classPath; + } + + public void setClassPath(String classPath) { + this.classPath = classPath; + } + + public String getDataFlowType() { + return dataFlowType; + } + + public void setDataFlowType(String dataFlowType) { + this.dataFlowType = dataFlowType; + } + + public String getDataFlowTypeText() { + return dataFlowTypeText; + } + + public void setDataFlowTypeText(String dataFlowTypeText) { + this.dataFlowTypeText = dataFlowTypeText; + } + + public String getBtmTypeId() { + return btmTypeId; + } + + public void setBtmTypeId(String btmTypeId) { + this.btmTypeId = btmTypeId; + } + + public String getBtmTypeName() { + return btmTypeName; + } + + public void setBtmTypeName(String btmTypeName) { + this.btmTypeName = btmTypeName; + } + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + public String getSoapAction() { + return soapAction; + } + + public void setSoapAction(String soapAction) { + this.soapAction = soapAction; + } + + public String getCxfAxis() { + return cxfAxis; + } + + public void setCxfAxis(String cxfAxis) { + this.cxfAxis = cxfAxis; + } + + public String getTargetName() { + return targetName; + } + + public void setTargetName(String targetName) { + this.targetName = targetName; + } + + public String getPushType() { + return pushType; + } + + public void setPushType(String pushType) { + this.pushType = pushType; + } + + public String getPushTypeText() { + return pushTypeText; + } + + public void setPushTypeText(String pushTypeText) { + this.pushTypeText = pushTypeText; + } + + public String getClassifyId() { + return classifyId; + } + + public void setClassifyId(String classifyId) { + this.classifyId = classifyId; + } + + public String getClassifyName() { + return classifyName; + } + + public void setClassifyName(String classifyName) { + this.classifyName = classifyName; + } + + public List<SysIntParamVO> getSysIntParamVOs() { + return sysIntParamVOs; + } + + public void setSysIntParamVOs(List<SysIntParamVO> sysIntParamVOs) { + this.sysIntParamVOs = sysIntParamVOs; + } + + public List<SysIntHeaderVO> getSysIntHeaderVOs() { + return sysIntHeaderVOs; + } + + public void setSysIntHeaderVOs(List<SysIntHeaderVO> sysIntHeaderVOs) { + this.sysIntHeaderVOs = sysIntHeaderVOs; + } + + @Override + public String toString() { + return "SysIntInfoDTO{" + + "authorityOid='" + authorityOid + '\'' + + ", authorityOidName='" + authorityOidName + '\'' + + ", authorityType='" + authorityType + '\'' + + ", authorityTypeText='" + authorityTypeText + '\'' + + ", userAccount='" + userAccount + '\'' + + ", userCode='" + userCode + '\'' + + ", token='" + token + '\'' + + ", interfaceFunction='" + interfaceFunction + '\'' + + ", description='" + description + '\'' + + ", interfaceType='" + interfaceType + '\'' + + ", interfaceTypeText='" + interfaceTypeText + '\'' + + ", paramType='" + paramType + '\'' + + ", paramTypeText='" + paramTypeText + '\'' + + ", requestMethod='" + requestMethod + '\'' + + ", requestMethodText='" + requestMethodText + '\'' + + ", classifyOid='" + classifyOid + '\'' + + ", usedFlag='" + usedFlag + '\'' + + ", sysBaseOid='" + sysBaseOid + '\'' + + ", sysBaseId='" + sysBaseId + '\'' + + ", sysBaseName='" + sysBaseName + '\'' + + ", requestUrl='" + requestUrl + '\'' + + ", returnType='" + returnType + '\'' + + ", returnTypeText='" + returnTypeText + '\'' + + ", sourceSystemOid='" + sourceSystemOid + '\'' + + ", sourceSysName='" + sourceSysName + '\'' + + ", sourceSysId='" + sourceSysId + '\'' + + ", sourceSystemOidName='" + sourceSystemOidName + '\'' + + ", targetSystemOid='" + targetSystemOid + '\'' + + ", targetSysName='" + targetSysName + '\'' + + ", targetSysId='" + targetSysId + '\'' + + ", targetSystemOidName='" + targetSystemOidName + '\'' + + ", classPath='" + classPath + '\'' + + ", dataFlowType='" + dataFlowType + '\'' + + ", dataFlowTypeText='" + dataFlowTypeText + '\'' + + ", btmTypeId='" + btmTypeId + '\'' + + ", btmTypeName='" + btmTypeName + '\'' + + ", namespace='" + namespace + '\'' + + ", soapAction='" + soapAction + '\'' + + ", cxfAxis='" + cxfAxis + '\'' + + ", targetName='" + targetName + '\'' + + ", pushType='" + pushType + '\'' + + ", pushTypeText='" + pushTypeText + '\'' + + ", classifyId='" + classifyId + '\'' + + ", classifyName='" + classifyName + '\'' + + ", sysIntParamVOs=" + sysIntParamVOs + + ", sysIntHeaderVOs=" + sysIntHeaderVOs + + '}'; + } +} diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystem.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystem.java new file mode 100644 index 0000000..126af2f --- /dev/null +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystem.java @@ -0,0 +1,24 @@ +package com.vci.ubcs.code.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.vci.ubcs.starter.revision.model.BaseModel; +import io.swagger.annotations.ApiModel; +import lombok.Data; +import lombok.EqualsAndHashCode; + +/**** + * 闆嗘垚绠$悊鎺ュ彛-闆嗘垚绯荤粺缁存姢瀵硅薄 + * @author xiejun + * @date 2023-06-01 + */ +@Data +@TableName("PL_CODE_SYSINTBASE") +@ApiModel(value = "DockingSystem", description = "闆嗘垚绠$悊鎺ュ彛-闆嗘垚绯荤粺缁存姢瀵硅薄") +@EqualsAndHashCode(callSuper = true) +public class DockingSystem extends BaseModel { + /** + * 绂佹淇敼杩欎釜鍊� + */ + private static final long serialVersionUID = 4615707117716142023L; + +} diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystemConfig.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystemConfig.java new file mode 100644 index 0000000..528d94f --- /dev/null +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/DockingSystemConfig.java @@ -0,0 +1,311 @@ +package com.vci.ubcs.code.entity; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.vci.ubcs.code.vo.pagemodel.SysIntHeaderVO; +import com.vci.ubcs.code.vo.pagemodel.SysIntParamVO; +import com.vci.ubcs.starter.revision.model.BaseModel; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.List; + +/*** + * 闆嗘垚鎺ュ彛-闆嗘垚鎺ュ彛绠$悊瀵硅薄 + * @author xiejun + * @date 2023-06-01 + */ +@Data +@TableName("PL_CODE_SYSINTINFO") +@ApiModel(value = "DockingSystemConfig", description = "闆嗘垚鎺ュ彛-闆嗘垚鎺ュ彛绠$悊瀵硅薄") +@EqualsAndHashCode(callSuper = true) +public class DockingSystemConfig extends BaseModel{ + /** + * 绂佹淇敼杩欎釜鍊� + */ + private static final long serialVersionUID = 4615707117716142069L; + + /** + * 璁よ瘉鏂瑰紡 + */ + /*** + * 闆嗗洟鍒嗙被oid + */ + @ApiModelProperty(value = "璁よ瘉鏂瑰紡") + //@TableField(value = "authorityOid") + private String authorityOid; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "璁よ瘉鏂瑰紡鏄剧ず鏂囨湰") + @TableField(exist = false) + private String authorityOidName; + + /** + * 璁よ瘉鏂瑰紡 + */ + @ApiModelProperty(value = "璁よ瘉鏂瑰紡") + @TableField(exist = false) + private String authorityType; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "璁よ瘉鏂瑰紡鏄剧ず鏂囨湰") + @TableField(exist = false) + private String authorityTypeText; + + /** + * 楠岃瘉鐢ㄦ埛 + */ + @ApiModelProperty(value = "楠岃瘉鐢ㄦ埛") + @TableField(exist = false) + private String userAccount; + + /** + * 楠岃瘉瀵嗙爜 + */ + @ApiModelProperty(value = "楠岃瘉瀵嗙爜") + @TableField(exist = false) + private String userCode; + + /** + * 楠岃瘉浠ょ墝 + */ + @ApiModelProperty(value = "楠岃瘉浠ょ墝") + @TableField(exist = false) + private String token; + + /** + * 鎺ュ彛鍑芥暟 + */ + @ApiModelProperty(value = "鎺ュ彛鍑芥暟") + private String interfaceFunction; + + /** + * 鎺ュ彛鎻忚堪 + *//* + @ApiModelProperty(value = "鎺ュ彛鎻忚堪") + private String description;*/ + + + /** + * 鎺ュ彛绫诲瀷 + */ + @ApiModelProperty(value = "鎺ュ彛绫诲瀷") + private String interfaceType; + + /** + * 鎺ュ彛绫诲瀷鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "鎺ュ彛绫诲瀷鏄剧ず鏂囨湰") + @TableField(exist = false) + private String interfaceTypeText; + /** + * 鍙傛暟绫诲瀷 + */ + @ApiModelProperty(value = "鍙傛暟绫诲瀷") + private String paramType; + + + /** + * 鍙傛暟绫诲瀷鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "鍙傛暟绫诲瀷鏄剧ず鏂囨湰") + @TableField(exist = false) + private String paramTypeText; + /** + * 璇锋眰鏂瑰紡 + */ + @ApiModelProperty(value = "璇锋眰鏂瑰紡") + private String requestMethod; + + /** + * 璇锋眰鏂瑰紡鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "璇锋眰鏂瑰紡鏄剧ず鏂囨湰") + @TableField(exist = false) + private String requestMethodText; + /** + * 鍒嗙被oid + */ + @ApiModelProperty(value = "鍒嗙被oid") + private String classifyOid; + + /** + * 鍚敤銆佸仠鐢╰rue/false锛屼笉鐢ㄥ钩鍙扮殑鏋氫妇锛屽噺灏戝骞冲彴鐨勮�﹀悎 + */ + @ApiModelProperty(value = "鍚敤銆佸仠鐢╰rue/false锛屼笉鐢ㄥ钩鍙扮殑鏋氫妇锛屽噺灏戝骞冲彴鐨勮�﹀悎") + private String usedFlag; + + /** + * 鎺ㄩ�佺郴缁無id + */ + @ApiModelProperty(value = "鎺ㄩ�佺郴缁無id") + private String sysBaseOid; + + /** + * 鎺ㄩ�佺郴缁熺紪鍙� + */ + @ApiModelProperty(value = "鎺ㄩ�佺郴缁熺紪鍙�") + private String sysBaseId; + + /** + * 鎺ㄩ�佺郴缁熷悕绉� + */ + @ApiModelProperty(value = "鎺ㄩ�佺郴缁熷悕绉�") + private String sysBaseName; + + /** + * 璇锋眰鍦板潃 + */ + @ApiModelProperty(value = "璇锋眰鍦板潃") + private String requestUrl; + + + /** + * 杩斿洖鍊肩被鍨� + */ + @ApiModelProperty(value = "杩斿洖鍊肩被鍨�") + private String returnType; + + + /** + * 杩斿洖鍊肩被鍨嬫樉绀烘枃鏈� + */ + @ApiModelProperty(value = "杩斿洖鍊肩被鍨嬫樉绀烘枃鏈�") + @TableField(exist = false) + private String returnTypeText; + /** + * 鏉ユ簮绯荤粺涓婚敭 + */ + @ApiModelProperty(value = "鏉ユ簮绯荤粺涓婚敭") + private String sourceSystemOid; + + /** + * 鏉ユ簮绯荤粺鍚嶇О + */ + @ApiModelProperty(value = "鏉ユ簮绯荤粺鍚嶇О") + private String sourceSysName; + + /** + * 鏉ユ簮绯荤粺鏍囪瘑 + */ + @ApiModelProperty(value = "鏉ユ簮绯荤粺鏍囪瘑") + private String sourceSysId; + + /** + * 鏉ユ簮绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "鏉ユ簮绯荤粺涓婚敭鏄剧ず鏂囨湰") + @TableField(exist = false) + private String sourceSystemOidName; + + /** + * 鐩爣绯荤粺涓婚敭 + */ + @ApiModelProperty(value = "鐩爣绯荤粺涓婚敭") + private String targetSystemOid; + + /** + * 鐩爣绯荤粺鍚嶇О + */ + @ApiModelProperty(value = "鐩爣绯荤粺鍚嶇О") + private String targetSysName; + + /** + * 鐩爣绯荤粺鏍囪瘑 + */ + @ApiModelProperty(value = "鐩爣绯荤粺鏍囪瘑") + private String targetSysId; + + /** + * 鐩爣绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + @ApiModelProperty(value = "鐩爣绯荤粺涓婚敭鏄剧ず鏂囨湰") + @TableField(exist = false) + private String targetSystemOidName; + + /** + * 绫昏矾寰� + */ + @ApiModelProperty(value = "绫昏矾寰�") + private String classPath; + + /** + * 鏁版嵁娴佸悜鏂瑰紡 + */ + @ApiModelProperty(value = "璁よ瘉鏂瑰紡鏄剧ず鏂囨湰") + private String dataFlowType; + + /** + * 鏁版嵁娴佸悜鏂瑰紡鐨勬樉绀哄瓧娈� + */ + @ApiModelProperty(value = "鏁版嵁娴佸悜鏂瑰紡鐨勬樉绀哄瓧娈�") + @TableField(exist = false) + private String dataFlowTypeText; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨� + */ + @ApiModelProperty(value = "瀛樺偍鐨勪笟鍔$被鍨�") + private String btmTypeId; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨嬬殑涓枃鍚嶇О + */ + @ApiModelProperty(value = "瀛樺偍鐨勪笟鍔$被鍨嬬殑涓枃鍚嶇О") + private String btmTypeName; + + /** + * 鍛藉悕绌洪棿 + */ + @ApiModelProperty(value = "鍛藉悕绌洪棿") + private String namespace; + + /** + * soapAction + */ + @ApiModelProperty(value = "soapAction") + private String soapAction; + + /** + * cxfaxis + */ + @ApiModelProperty(value = "cxfaxis") + private String cxfAxis; + + /** + * 鍙傛暟鍚嶇О + */ + @ApiModelProperty(value = "鍙傛暟鍚嶇О") + @TableField(value = "targname") + private String targetName; + + /*** + * 鎺ㄩ�佺被鍨� 1:鏁版嵁鎺ㄩ��/2鍒嗙被鎺ㄩ�侊紝榛樿鏁版嵁鎺ㄩ�� + */ + @ApiModelProperty(value = "鎺ㄩ�佺被鍨� 1:鏁版嵁鎺ㄩ��/2鍒嗙被鎺ㄩ�侊紝榛樿鏁版嵁鎺ㄩ��") + private String pushType; + /*** + * 鎺ㄩ�佺被鍨嬫樉绀哄�� + */ + @ApiModelProperty(value = "鎺ㄩ�佺被鍨嬫樉绀哄��") + @TableField(exist = false) + private String pushTypeText; + + /** + * 鍒嗙被id + */ + @ApiModelProperty(value = "鍒嗙被id") + private String classifyId; + + /** + * 鍒嗙被鍚嶇О + */ + @ApiModelProperty(value = "鍒嗙被鍚嶇О") + private String classifyName; +} diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/pagemodel/DockingSystemConfigVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/pagemodel/DockingSystemConfigVO.java new file mode 100644 index 0000000..94b2849 --- /dev/null +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/pagemodel/DockingSystemConfigVO.java @@ -0,0 +1,672 @@ +package com.vci.ubcs.code.vo.pagemodel; + +import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; + +import java.util.List; + +/** + * 绯荤粺闆嗘垚鍩虹淇℃伅鏄剧ず瀵硅薄 + * + * @author lihang + * @date 2022-03-07 + */ +public class DockingSystemConfigVO extends BaseModelVO { + + /** + * 绂佹淇敼杩欎釜鍊� + */ + private static final long serialVersionUID = 4615707117716142069L; + + /** + * 璁よ瘉鏂瑰紡 + */ + private String authorityOid; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + private String authorityOidName; + + /** + * 璁よ瘉鏂瑰紡 + */ + private String authorityType; + + /** + * 璁よ瘉鏂瑰紡鏄剧ず鏂囨湰 + */ + private String authorityTypeText; + + /** + * 楠岃瘉鐢ㄦ埛 + */ + private String userAccount; + + /** + * 楠岃瘉瀵嗙爜 + */ + private String userCode; + + /** + * 楠岃瘉浠ょ墝 + */ + private String token; + + /** + * 鎺ュ彛鍑芥暟 + */ + private String interfaceFunction; + + /** + * 鎺ュ彛鎻忚堪 + */ + private String description; + + + /** + * 鎺ュ彛绫诲瀷 + */ + private String interfaceType; + + + /** + * 鎺ュ彛绫诲瀷鏄剧ず鏂囨湰 + */ + private String interfaceTypeText; + /** + * 鍙傛暟绫诲瀷 + */ + private String paramType; + + + /** + * 鍙傛暟绫诲瀷鏄剧ず鏂囨湰 + */ + private String paramTypeText; + /** + * 璇锋眰鏂瑰紡 + */ + private String requestMethod; + + + /** + * 璇锋眰鏂瑰紡鏄剧ず鏂囨湰 + */ + private String requestMethodText; + /** + * 鍒嗙被oid + */ + private String classifyOid; + + /** + * 鍚敤銆佸仠鐢╰rue/false锛屼笉鐢ㄥ钩鍙扮殑鏋氫妇锛屽噺灏戝骞冲彴鐨勮�﹀悎 + */ + private String usedFlag; + + /** + * 鎺ㄩ�佺郴缁無id + */ + private String sysBaseOid; + + /** + * 鎺ㄩ�佺郴缁熺紪鍙� + */ + private String sysBaseId; + + /** + * 鎺ㄩ�佺郴缁熷悕绉� + */ + private String sysBaseName; + + /** + * 璇锋眰鍦板潃 + */ + private String requestUrl; + + + /** + * 杩斿洖鍊肩被鍨� + */ + private String returnType; + + + /** + * 杩斿洖鍊肩被鍨嬫樉绀烘枃鏈� + */ + private String returnTypeText; + /** + * 鏉ユ簮绯荤粺涓婚敭 + */ + private String sourceSystemOid; + + /** + * 鏉ユ簮绯荤粺鍚嶇О + */ + private String sourceSysName; + + /** + * 鏉ユ簮绯荤粺鏍囪瘑 + */ + private String sourceSysId; + + /** + * 鏉ユ簮绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + private String sourceSystemOidName; + + /** + * 鐩爣绯荤粺涓婚敭 + */ + private String targetSystemOid; + + /** + * 鐩爣绯荤粺鍚嶇О + */ + private String targetSysName; + + /** + * 鐩爣绯荤粺鏍囪瘑 + */ + private String targetSysId; + + /** + * 鐩爣绯荤粺涓婚敭鏄剧ず鏂囨湰 + */ + private String targetSystemOidName; + + /** + * 绫昏矾寰� + */ + private String classPath; + + /** + * 鏁版嵁娴佸悜鏂瑰紡 + */ + private String dataFlowType; + + /** + * 鏁版嵁娴佸悜鏂瑰紡鐨勬樉绀哄瓧娈� + */ + private String dataFlowTypeText; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨� + */ + private String btmTypeId; + + /** + * 瀛樺偍鐨勪笟鍔$被鍨嬬殑涓枃鍚嶇О + */ + private String btmTypeName; + + /** + * 鍛藉悕绌洪棿 + */ + private String namespace; + + /** + * soapAction + */ + private String soapAction; + + /** + * cxfaxis + */ + private String cxfAxis; + + /** + * 鍙傛暟鍚嶇О + */ + private String targetName; + + /*** + * 鎺ㄩ�佺被鍨� 1:鏁版嵁鎺ㄩ��/2鍒嗙被鎺ㄩ�侊紝榛樿鏁版嵁鎺ㄩ�� + */ + private String pushType; + /*** + * 鎺ㄩ�佺被鍨嬫樉绀哄�� + */ + private String pushTypeText; + + /** + * 鍒嗙被id + */ + private String classifyId; + + /** + * 鍒嗙被鍚嶇О + */ + private String classifyName; + + /*** + * 鍙傛暟淇℃伅瀵硅薄 + */ + private List<SysIntParamVO> sysIntParamVOs; + /*** + * header淇℃伅瀵硅薄 + */ + private List<SysIntHeaderVO> sysIntHeaderVOs; + + + public String getAuthorityOid() { + return authorityOid; + } + + public void setAuthorityOid(String authorityOid) { + this.authorityOid = authorityOid; + } + + public String getAuthorityOidName() { + return authorityOidName; + } + + public void setAuthorityOidName(String authorityOidName) { + this.authorityOidName = authorityOidName; + } + + public String getAuthorityType() { + return authorityType; + } + + public void setAuthorityType(String authorityType) { + this.authorityType = authorityType; + } + + public String getAuthorityTypeText() { + return authorityTypeText; + } + + public void setAuthorityTypeText(String authorityTypeText) { + this.authorityTypeText = authorityTypeText; + } + + public String getUserAccount() { + return userAccount; + } + + public void setUserAccount(String userAccount) { + this.userAccount = userAccount; + } + + public String getUserCode() { + return userCode; + } + + public void setUserCode(String userCode) { + this.userCode = userCode; + } + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getInterfaceFunction() { + return interfaceFunction; + } + + public void setInterfaceFunction(String interfaceFunction) { + this.interfaceFunction = interfaceFunction; + } + + @Override + public String getDescription() { + return description; + } + + @Override + public void setDescription(String description) { + this.description = description; + } + + public String getInterfaceType() { + return interfaceType; + } + + public void setInterfaceType(String interfaceType) { + this.interfaceType = interfaceType; + } + + public String getInterfaceTypeText() { + return interfaceTypeText; + } + + public void setInterfaceTypeText(String interfaceTypeText) { + this.interfaceTypeText = interfaceTypeText; + } + + public String getParamType() { + return paramType; + } + + public void setParamType(String paramType) { + this.paramType = paramType; + } + + public String getParamTypeText() { + return paramTypeText; + } + + public void setParamTypeText(String paramTypeText) { + this.paramTypeText = paramTypeText; + } + + public String getRequestMethod() { + return requestMethod; + } + + public void setRequestMethod(String requestMethod) { + this.requestMethod = requestMethod; + } + + public String getRequestMethodText() { + return requestMethodText; + } + + public void setRequestMethodText(String requestMethodText) { + this.requestMethodText = requestMethodText; + } + + public String getClassifyOid() { + return classifyOid; + } + + public void setClassifyOid(String classifyOid) { + this.classifyOid = classifyOid; + } + + public String getUsedFlag() { + return usedFlag; + } + + public void setUsedFlag(String usedFlag) { + this.usedFlag = usedFlag; + } + + public String getSysBaseOid() { + return sysBaseOid; + } + + public void setSysBaseOid(String sysBaseOid) { + this.sysBaseOid = sysBaseOid; + } + + public String getSysBaseId() { + return sysBaseId; + } + + public void setSysBaseId(String sysBaseId) { + this.sysBaseId = sysBaseId; + } + + public String getSysBaseName() { + return sysBaseName; + } + + public void setSysBaseName(String sysBaseName) { + this.sysBaseName = sysBaseName; + } + + public String getRequestUrl() { + return requestUrl; + } + + public void setRequestUrl(String requestUrl) { + this.requestUrl = requestUrl; + } + + public String getReturnType() { + return returnType; + } + + public void setReturnType(String returnType) { + this.returnType = returnType; + } + + public String getReturnTypeText() { + return returnTypeText; + } + + public void setReturnTypeText(String returnTypeText) { + this.returnTypeText = returnTypeText; + } + + public String getSourceSystemOid() { + return sourceSystemOid; + } + + public void setSourceSystemOid(String sourceSystemOid) { + this.sourceSystemOid = sourceSystemOid; + } + + public String getSourceSysName() { + return sourceSysName; + } + + public void setSourceSysName(String sourceSysName) { + this.sourceSysName = sourceSysName; + } + + public String getSourceSysId() { + return sourceSysId; + } + + public void setSourceSysId(String sourceSysId) { + this.sourceSysId = sourceSysId; + } + + public String getSourceSystemOidName() { + return sourceSystemOidName; + } + + public void setSourceSystemOidName(String sourceSystemOidName) { + this.sourceSystemOidName = sourceSystemOidName; + } + + public String getTargetSystemOid() { + return targetSystemOid; + } + + public void setTargetSystemOid(String targetSystemOid) { + this.targetSystemOid = targetSystemOid; + } + + public String getTargetSysName() { + return targetSysName; + } + + public void setTargetSysName(String targetSysName) { + this.targetSysName = targetSysName; + } + + public String getTargetSysId() { + return targetSysId; + } + + public void setTargetSysId(String targetSysId) { + this.targetSysId = targetSysId; + } + + public String getTargetSystemOidName() { + return targetSystemOidName; + } + + public void setTargetSystemOidName(String targetSystemOidName) { + this.targetSystemOidName = targetSystemOidName; + } + + public String getClassPath() { + return classPath; + } + + public void setClassPath(String classPath) { + this.classPath = classPath; + } + + public String getDataFlowType() { + return dataFlowType; + } + + public void setDataFlowType(String dataFlowType) { + this.dataFlowType = dataFlowType; + } + + public String getDataFlowTypeText() { + return dataFlowTypeText; + } + + public void setDataFlowTypeText(String dataFlowTypeText) { + this.dataFlowTypeText = dataFlowTypeText; + } + + public String getBtmTypeId() { + return btmTypeId; + } + + public void setBtmTypeId(String btmTypeId) { + this.btmTypeId = btmTypeId; + } + + public String getBtmTypeName() { + return btmTypeName; + } + + public void setBtmTypeName(String btmTypeName) { + this.btmTypeName = btmTypeName; + } + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + public String getSoapAction() { + return soapAction; + } + + public void setSoapAction(String soapAction) { + this.soapAction = soapAction; + } + + public String getCxfAxis() { + return cxfAxis; + } + + public void setCxfAxis(String cxfAxis) { + this.cxfAxis = cxfAxis; + } + + public String getTargetName() { + return targetName; + } + + public void setTargetName(String targetName) { + this.targetName = targetName; + } + + public String getPushType() { + return pushType; + } + + public void setPushType(String pushType) { + this.pushType = pushType; + } + + public String getPushTypeText() { + return pushTypeText; + } + + public void setPushTypeText(String pushTypeText) { + this.pushTypeText = pushTypeText; + } + + public String getClassifyId() { + return classifyId; + } + + public void setClassifyId(String classifyId) { + this.classifyId = classifyId; + } + + public String getClassifyName() { + return classifyName; + } + + public void setClassifyName(String classifyName) { + this.classifyName = classifyName; + } + + public List<SysIntParamVO> getSysIntParamVOs() { + return sysIntParamVOs; + } + + public void setSysIntParamVOs(List<SysIntParamVO> sysIntParamVOs) { + this.sysIntParamVOs = sysIntParamVOs; + } + + public List<SysIntHeaderVO> getSysIntHeaderVOs() { + return sysIntHeaderVOs; + } + + public void setSysIntHeaderVOs(List<SysIntHeaderVO> sysIntHeaderVOs) { + this.sysIntHeaderVOs = sysIntHeaderVOs; + } + + @Override + public String toString() { + return "SysIntInfoVO{" + + "authorityOid='" + authorityOid + '\'' + + ", authorityOidName='" + authorityOidName + '\'' + + ", authorityType='" + authorityType + '\'' + + ", authorityTypeText='" + authorityTypeText + '\'' + + ", userAccount='" + userAccount + '\'' + + ", userCode='" + userCode + '\'' + + ", token='" + token + '\'' + + ", interfaceFunction='" + interfaceFunction + '\'' + + ", description='" + description + '\'' + + ", interfaceType='" + interfaceType + '\'' + + ", interfaceTypeText='" + interfaceTypeText + '\'' + + ", paramType='" + paramType + '\'' + + ", paramTypeText='" + paramTypeText + '\'' + + ", requestMethod='" + requestMethod + '\'' + + ", requestMethodText='" + requestMethodText + '\'' + + ", classifyOid='" + classifyOid + '\'' + + ", usedFlag='" + usedFlag + '\'' + + ", sysBaseOid='" + sysBaseOid + '\'' + + ", sysBaseId='" + sysBaseId + '\'' + + ", sysBaseName='" + sysBaseName + '\'' + + ", requestUrl='" + requestUrl + '\'' + + ", returnType='" + returnType + '\'' + + ", returnTypeText='" + returnTypeText + '\'' + + ", sourceSystemOid='" + sourceSystemOid + '\'' + + ", sourceSysName='" + sourceSysName + '\'' + + ", sourceSysId='" + sourceSysId + '\'' + + ", sourceSystemOidName='" + sourceSystemOidName + '\'' + + ", targetSystemOid='" + targetSystemOid + '\'' + + ", targetSysName='" + targetSysName + '\'' + + ", targetSysId='" + targetSysId + '\'' + + ", targetSystemOidName='" + targetSystemOidName + '\'' + + ", classPath='" + classPath + '\'' + + ", dataFlowType='" + dataFlowType + '\'' + + ", dataFlowTypeText='" + dataFlowTypeText + '\'' + + ", btmTypeId='" + btmTypeId + '\'' + + ", btmTypeName='" + btmTypeName + '\'' + + ", namespace='" + namespace + '\'' + + ", soapAction='" + soapAction + '\'' + + ", cxfAxis='" + cxfAxis + '\'' + + ", targetName='" + targetName + '\'' + + ", pushType='" + pushType + '\'' + + ", pushTypeText='" + pushTypeText + '\'' + + ", classifyId='" + classifyId + '\'' + + ", classifyName='" + classifyName + '\'' + + ", sysIntParamVOs=" + sysIntParamVOs + + ", sysIntHeaderVOs=" + sysIntHeaderVOs + + '}'; + } +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemConfigMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemConfigMapper.java new file mode 100644 index 0000000..a72c66c --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemConfigMapper.java @@ -0,0 +1,7 @@ +package com.vci.ubcs.code.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.vci.ubcs.code.entity.DockingSystemConfig; + +public interface DockingSystemConfigMapper extends BaseMapper<DockingSystemConfig> { +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemMapper.java new file mode 100644 index 0000000..4e4041e --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/DockingSystemMapper.java @@ -0,0 +1,7 @@ +package com.vci.ubcs.code.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.vci.ubcs.code.entity.DockingSystem; + +public interface DockingSystemMapper extends BaseMapper<DockingSystem> { +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingManagement.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingManagement.java new file mode 100644 index 0000000..17e6b99 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingManagement.java @@ -0,0 +1,4 @@ +package com.vci.ubcs.code.service; + +public interface IDockingManagement { +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemConfigService.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemConfigService.java new file mode 100644 index 0000000..7a208c3 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemConfigService.java @@ -0,0 +1,13 @@ +package com.vci.ubcs.code.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.vci.ubcs.code.entity.DockingSystem; +import com.vci.ubcs.code.entity.DockingSystemConfig; + +/*** + * 绯荤粺鎺ュ彛绠$悊-鎺ュ彛閰嶇疆鏈嶅姟 + * @author xiejun + * @date 2023-06-01 + */ +public interface IDockingSystemConfigService extends IService<DockingSystemConfig> { +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemService.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemService.java new file mode 100644 index 0000000..b53618f --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDockingSystemService.java @@ -0,0 +1,30 @@ +package com.vci.ubcs.code.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.vci.ubcs.code.dto.DockingSystemDTO; +import com.vci.ubcs.code.entity.DockingSystem; +import com.vci.ubcs.code.vo.pagemodel.DockingSystemVO; +import org.springblade.core.tool.api.R; + +/*** + * 绯荤粺鎺ュ彛绠$悊-闆嗘垚绯荤粺鏈嶅姟 + * @author xiejun + * @date 2023-06-01 + */ +public interface IDockingSystemService extends IService<DockingSystem> { + /** + * 澧炲姞 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭� + * @param dockingSystemDTO 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭暟鎹紶杈撳璞� + * @return 鎵ц缁撴灉锛宻uccess涓簍rue琛ㄧず鎴愬姛锛宮sg鏄け璐ョ殑鎻愮ず淇℃伅锛宱bj鏄坊鍔犲畬鎴愬悗鐨勬樉绀哄璞� + */ + public boolean addSave(DockingSystemDTO dockingSystemDTO); + /** + * 淇敼 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭� + * @param dockingSystemDTO 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭暟鎹紶杈撳璞� + * @return 鎵ц缁撴灉锛宻uccess涓簍rue琛ㄧず鎴愬姛锛宮sg鏄け璐ョ殑鎻愮ず淇℃伅锛宱bj鏄坊鍔犲畬鎴愬悗鐨勬樉绀哄璞� + */ + DockingSystemVO editSave(DockingSystemDTO dockingSystemDTO); + + + boolean delSystemData(DockingSystemDTO dockingSystemDTO); +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDokingSysManaentService.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDokingSysManaentService.java new file mode 100644 index 0000000..3539281 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IDokingSysManaentService.java @@ -0,0 +1,10 @@ +package com.vci.ubcs.code.service; + +/*** + * 绯荤当绠$悊鐩稿叧鏈嶅姟 + */ +public interface IDokingSysManaentService { + + + +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemConfigServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemConfigServiceImpl.java new file mode 100644 index 0000000..2341b7d --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemConfigServiceImpl.java @@ -0,0 +1,23 @@ +package com.vci.ubcs.code.service.impl; + +import com.baomidou.mybatisplus.core.conditions.Wrapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.vci.ubcs.code.entity.DockingSystemConfig; +import com.vci.ubcs.code.mapper.DockingSystemConfigMapper; +import com.vci.ubcs.code.service.IDockingSystemConfigService; +import org.springframework.stereotype.Service; + +import java.util.Collection; +import java.util.Map; +import java.util.function.Function; + +/*** + * 绯荤粺鎺ュ彛绠$悊-鎺ュ彛閰嶇疆鏈嶅姟 + * @author xiejun + * @date 2023-06-01 + */ +@Service +public class DockingSystemConfigServiceImpl extends ServiceImpl<DockingSystemConfigMapper, DockingSystemConfig> implements IDockingSystemConfigService{ + +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemServiceImpl.java new file mode 100644 index 0000000..46a17e6 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/DockingSystemServiceImpl.java @@ -0,0 +1,88 @@ +package com.vci.ubcs.code.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.vci.ubcs.code.constant.MdmBtmTypeConstant; +import com.vci.ubcs.code.dto.DockingSystemDTO; +import com.vci.ubcs.code.entity.CodeRule; +import com.vci.ubcs.code.entity.DockingSystem; +import com.vci.ubcs.code.mapper.DockingSystemMapper; +import com.vci.ubcs.code.service.IDockingSystemService; +import com.vci.ubcs.code.vo.pagemodel.DockingSystemVO; +import com.vci.ubcs.code.wrapper.DockingSystemWrapper; +import com.vci.ubcs.starter.revision.service.RevisionModelUtil; +import com.vci.ubcs.starter.util.DefaultAttrAssimtUtil; +import com.vci.ubcs.starter.web.util.VciBaseUtil; +import org.springblade.core.secure.utils.AuthUtil; +import org.springblade.core.tool.api.R; +import org.springblade.core.tool.utils.BeanUtil; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.Objects; + +import static com.vci.ubcs.code.constant.FrameWorkDefaultValueConstant.FRAMEWORK_RELEASE_EDITING; +import static com.vci.ubcs.code.constant.MdmLifeCycleConstant.CODE_RULE_LC; + +/*** + * 绯荤粺鎺ュ彛绠$悊-闆嗘垚绯荤粺鏈嶅姟 + * @author xiejun + * @date 2023-06-01 + */ +@Service +public class DockingSystemServiceImpl extends ServiceImpl<DockingSystemMapper, DockingSystem> implements IDockingSystemService { + /*** + * 闆嗘垚绯荤粺绠$悊鏈嶅姟 + */ + @Autowired(required = false) + private DockingSystemMapper dockingSystemMapper; + + /** + * 瀵硅薄鐨勬搷浣� + */ + @Autowired + private RevisionModelUtil revisionModelUtil; + @Override + public boolean addSave(DockingSystemDTO dockingSystemDTO) { + + VciBaseUtil.alertNotNull(dockingSystemDTO, "闇�瑕佹坊鍔犵殑鏁版嵁瀵硅薄"); + //灏咲TO杞崲涓篋O + DockingSystem dockingSystem = Objects.requireNonNull(BeanUtil.copy(dockingSystemDTO, DockingSystem.class)); + String userId = AuthUtil.getUserId().toString(); + DefaultAttrAssimtUtil.addDefaultAttrAssimt(dockingSystem, MdmBtmTypeConstant.SYS_INT_BASE); + dockingSystem.setLctid(CODE_RULE_LC); + dockingSystem.setLcStatus(FRAMEWORK_RELEASE_EDITING); + return dockingSystemMapper.insert(dockingSystem)>0; + } + /** + * 淇敼 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭� + * @param dockingSystemDTO 绯荤粺闆嗘垚鐨勭郴缁熶俊鎭暟鎹紶杈撳璞� + * @return 鎵ц缁撴灉锛宻uccess涓簍rue琛ㄧず鎴愬姛锛宮sg鏄け璐ョ殑鎻愮ず淇℃伅锛宱bj鏄坊鍔犲畬鎴愬悗鐨勬樉绀哄璞� + */ + @Override + public DockingSystemVO editSave(DockingSystemDTO dockingSystemDTO) { + VciBaseUtil.alertNotNull(dockingSystemDTO,"鏁版嵁瀵硅薄",dockingSystemDTO.getOid(),"绯荤粺闆嗘垚鐨勭郴缁熶俊鎭富閿�"); + //灏咲TO杞崲涓篋O + DockingSystem dockingSystem = dockingSystemMapper.selectById(dockingSystemDTO.getOid()); + revisionModelUtil.copyFromDTOIgnore(dockingSystemDTO,dockingSystem); + DefaultAttrAssimtUtil.updateDefaultAttrAssimt(dockingSystem); + dockingSystemMapper.updateById(dockingSystem); + return DockingSystemWrapper.build().entityVO(dockingSystem); + } + + @Override + public boolean delSystemData(DockingSystemDTO dockingSystemDTO) { + VciBaseUtil.alertNotNull(dockingSystemDTO,"绯荤粺闆嗘垚鐨勭郴缁熶俊鎭暟鎹璞�",dockingSystemDTO.getOid(),"绯荤粺闆嗘垚鐨勭郴缁熶俊鎭殑涓婚敭"); + /*DockingSystem dockingSystem = dockingSystemMapper.selectById(dockingSystemDTO.getOid()); + BaseResult baseResult = checkIsCanDeleteForDO(sysIntBaseDTO,sysIntBaseDO); + if(baseResult.isSuccess()) { + + }else{ + return baseResult; + } + //鎵ц鍒犻櫎鎿嶄綔 + BatchCBO batchCBO = sysIntBaseMapper.deleteByPrimaryKey(sysIntBaseDO.getOid()); + return (batchCBO!=null && batchCBO.getDeleteCbos() !=null &&batchCBO.getDeleteCbos().size() > 0)?BaseResult.successMsg(DELETE_SUCCESS):BaseResult.fail(DELETE_FAIL); +*/ + return false; + } +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemConfigWrapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemConfigWrapper.java new file mode 100644 index 0000000..c41e9fb --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemConfigWrapper.java @@ -0,0 +1,66 @@ +package com.vci.ubcs.code.wrapper; + +import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; +import com.vci.ubcs.code.entity.DockingSystemConfig; +import com.vci.ubcs.code.vo.pagemodel.DockingSystemConfigVO; +import org.springblade.core.mp.support.BaseEntityWrapper; +import org.springblade.core.tool.utils.BeanUtil; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.Objects; + +public class DockingSystemConfigWrapper extends BaseEntityWrapper<DockingSystemConfig, DockingSystemConfigVO> { + public static DockingSystemConfigWrapper build() { + return new DockingSystemConfigWrapper(); + } + @Override + public DockingSystemConfigVO entityVO(DockingSystemConfig entity) { + DockingSystemConfigVO vo = Objects.requireNonNull(BeanUtil.copy(entity, DockingSystemConfigVO.class)); + return vo; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param entitys + * @return + */ + public List<DockingSystemConfigVO> entityVOs(Collection<DockingSystemConfig> entitys) { + if(CollectionUtils.isEmpty(entitys)) { + return new ArrayList<>(); + } + List<DockingSystemConfigVO> vos=new ArrayList<>(); + if(!CollectionUtils.isEmpty(entitys)) { + entitys.stream().forEach(DockingSystem -> { + vos.add(entityVO(DockingSystem)); + }); + } + return vos; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param vos + * @return + */ + public List<DockingSystemConfig> voentitys(Collection<DockingSystemConfigVO> vos) { + if(CollectionUtils.isEmpty(vos)) {return new ArrayList<>();} + List<DockingSystemConfig>entitys =new ArrayList<>(); + if(!CollectionUtils.isEmpty(vos)) { + vos.stream().forEach(entity -> { + entitys.add(voentity(entity)); + }); + } + return entitys; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param vo + * @return + */ + public DockingSystemConfig voentity(DockingSystemConfigVO vo) { + DockingSystemConfig entity = Objects.requireNonNull(BeanUtil.copy(vo, DockingSystemConfig.class)); + return entity; + } +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemWrapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemWrapper.java new file mode 100644 index 0000000..7e91799 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/wrapper/DockingSystemWrapper.java @@ -0,0 +1,67 @@ +package com.vci.ubcs.code.wrapper; + +import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; +import com.vci.ubcs.code.entity.DockingSystem; +import com.vci.ubcs.code.vo.pagemodel.DockingSystemVO; +import org.springblade.core.mp.support.BaseEntityWrapper; +import org.springblade.core.tool.utils.BeanUtil; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.Objects; + +public class DockingSystemWrapper extends BaseEntityWrapper<DockingSystem, DockingSystemVO> { + public static DockingSystemWrapper build() { + return new DockingSystemWrapper(); + } + @Override + public DockingSystemVO entityVO(DockingSystem entity) { + DockingSystemVO vo = Objects.requireNonNull(BeanUtil.copy(entity, DockingSystemVO.class)); + return vo; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param entitys + * @return + */ + public List<DockingSystemVO> entityVOs(Collection<DockingSystem> entitys) { + if(CollectionUtils.isEmpty(entitys)) { + return new ArrayList<>(); + } + List<DockingSystemVO> vos=new ArrayList<>(); + if(!CollectionUtils.isEmpty(entitys)) { + entitys.stream().forEach(DockingSystem -> { + vos.add(entityVO(DockingSystem)); + }); + } + return vos; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param vos + * @return + */ + public List<DockingSystem> voentitys(Collection<DockingSystemVO> vos) { + if(CollectionUtils.isEmpty(vos)) {return new ArrayList<>();} + List<DockingSystem>entitys =new ArrayList<>(); + if(!CollectionUtils.isEmpty(vos)) { + vos.stream().forEach(entity -> { + entitys.add(voentity(entity)); + }); + } + return entitys; + } + + /*** + * 鏁扮粍瀵硅薄杞崲 + * @param vo + * @return + */ + public DockingSystem voentity(DockingSystemVO vo) { + DockingSystem entity = Objects.requireNonNull(BeanUtil.copy(vo, DockingSystem.class)); + return entity; + } +} diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemConfigMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemConfigMapper.xml new file mode 100644 index 0000000..6831b11 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemConfigMapper.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.vci.ubcs.code.mapper.DockingSystemConfigMapper"> + <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> + <resultMap id="plDockingLogResultMap" type="com.vci.ubcs.code.entity.DockingSystemConfig"> + <result column="OID" property="oid"/> + <result column="REVISIONOID" property="revisionOid"/> + <result column="NAMEOID" property="nameOid"/> + <result column="BTMNAME" property="btmname"/> + <result column="LASTR" property="lastR"/> + <result column="FIRSTR" property="firstR"/> + <result column="LASTV" property="lastV"/> + <result column="FIRSTV" property="firstV"/> + <result column="CREATOR" property="creator"/> + <result column="CREATETIME" property="createTime"/> + <result column="LASTMODIFIER" property="lastModifier"/> + <result column="LASTMODIFYTIME" property="lastModifyTime"/> + <result column="REVISIONRULE" property="revisionRule"/> + <result column="VERSIONRULE" property="versionRule"/> + <result column="REVISIONSEQ" property="revisionSeq"/> + <result column="REVISIONVALUE" property="revisionValue"/> + <result column="VERSIONSEQ" property="versionSeq"/> + <result column="VERSIONVALUE" property="versionValue"/> + <result column="LCTID" property="lctid"/> + <result column="LCSTATUS" property="lcStatus"/> + <result column="TS" property="ts"/> + <result column="ID" property="id"/> + <result column="NAME" property="name"/> + <result column="DESCRIPTION" property="description"/> + <result column="OWNER" property="owner"/> + <result column="COPYFROMVERSION" property="copyFromVersion"/> + <result column="AUTHORITYOID" property="authorityOid"/> + <result column="INTERFACEFUNCTION" property="interfaceFunction"/> + <result column="INTERFACETYPE" property="interfaceType"/> + <result column="PARAMTYPE" property="paramType"/> + <result column="REQUESTMETHOD" property="requestMethod"/> + <result column="TYPE" property="pushType"/> + <result column="CLASSIFYID" property="classifyId"/> + <result column="CLASSIFYNAME" property="classifyName"/> + <result column="PUSHTYPE" property="pushType"/> + <result column="USEDFLAG" property="usedFlag"/> + <result column="SYSBASEOID" property="sysBaseOid"/> + <result column="SYSBASEID" property="sysBaseId"/> + <result column="SYSBASENAME" property="sysBaseName"/> + <result column="RETURNTYPE" property="returnType"/> + <result column="REQUESTURL" property="requestUrl"/> + <result column="SOURCESYSTEMOID" property="sourceSystemOid"/> + <result column="SOURCESYSNAME" property="sourceSysName"/> + <result column="SOURCESYSID" property="sourceSysId"/> + <result column="TARGETSYSTEMOID" property="targetSystemOid"/> + <result column="TARGETSYSNAME" property="targetSysName"/> + <result column="TARGETSYSID" property="targetSysId"/> + <result column="CLASSPATH" property="classPath"/> + <result column="DATAFLOWTYPE" property="dataFlowType"/> + + <result column="BTMTYPEID" property="btmTypeId"/> + <result column="BTMTYPENAME" property="btmTypeName"/> + <result column="NAMESPACE" property="namespace"/> + <result column="SOAPACTION" property="soapAction"/> + <result column="CXFAXIS" property="cxfAxis"/> + + </resultMap> + + +</mapper> diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemMapper.xml new file mode 100644 index 0000000..30a16ac --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/DockingSystemMapper.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.vci.ubcs.code.mapper.DockingSystemMapper"> + <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> + <resultMap id="plDockingLogResultMap" type="com.vci.ubcs.code.entity.DockingSystem"> + <result column="OID" property="oid"/> + <result column="REVISIONOID" property="revisionOid"/> + <result column="NAMEOID" property="nameOid"/> + <result column="BTMNAME" property="btmname"/> + <result column="LASTR" property="lastR"/> + <result column="FIRSTR" property="firstR"/> + <result column="LASTV" property="lastV"/> + <result column="FIRSTV" property="firstV"/> + <result column="CREATOR" property="creator"/> + <result column="CREATETIME" property="createTime"/> + <result column="LASTMODIFIER" property="lastModifier"/> + <result column="LASTMODIFYTIME" property="lastModifyTime"/> + <result column="REVISIONRULE" property="revisionRule"/> + <result column="VERSIONRULE" property="versionRule"/> + <result column="REVISIONSEQ" property="revisionSeq"/> + <result column="REVISIONVALUE" property="revisionValue"/> + <result column="VERSIONSEQ" property="versionSeq"/> + <result column="VERSIONVALUE" property="versionValue"/> + <result column="LCTID" property="lctid"/> + <result column="LCSTATUS" property="lcStatus"/> + <result column="TS" property="ts"/> + <result column="ID" property="id"/> + <result column="NAME" property="name"/> + <result column="DESCRIPTION" property="description"/> + <result column="OWNER" property="owner"/> + <result column="COPYFROMVERSION" property="copyFromVersion"/> + </resultMap> + +</mapper> -- Gitblit v1.9.3