修复主数据显示问题
This commit is contained in:
parent
08c8cb3e30
commit
d182dec59c
|
@ -704,7 +704,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
||||||
continue;
|
continue;
|
||||||
}else {
|
}else {
|
||||||
//保存日志
|
//保存日志
|
||||||
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败",mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"3");
|
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败:"+jsonResultEntity.getAttribute(),mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"3");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -885,7 +885,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
||||||
continue;
|
continue;
|
||||||
}else {
|
}else {
|
||||||
//保存日志
|
//保存日志
|
||||||
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败",mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"2");
|
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败:"+jsonResultEntity.getAttribute(),mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"2");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1124,7 +1124,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
||||||
continue;
|
continue;
|
||||||
}else {
|
}else {
|
||||||
//保存日志
|
//保存日志
|
||||||
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败",mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"1");
|
saveMdmModuleSendLogEntity(mainCode,mdmModuleDistributeEntities.get(i1).getId(),"2","转发失败:"+jsonResultEntity.getAttribute(),mainDb,objects.get(i).getString("id"),sysApplicationEntity.getName(),sysApplicationEntity.getId(),apiEntity.getApiName(),apiEntity.getId(),doObjects.get(i).toJSONString(),"1");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -379,7 +379,7 @@ where id = #{id}
|
||||||
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
||||||
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
||||||
`data_type` varchar(255) DEFAULT NULL COMMENT '状态 1、成功2、失败',
|
`data_type` varchar(255) DEFAULT NULL COMMENT '状态 1、成功2、失败',
|
||||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
`remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
|
||||||
</when>
|
</when>
|
||||||
<when test="tableType == '4'.toString()">
|
<when test="tableType == '4'.toString()">
|
||||||
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
|
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
|
||||||
|
@ -397,7 +397,7 @@ where id = #{id}
|
||||||
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
||||||
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
||||||
`data_type` varchar(50) DEFAULT NULL COMMENT '状态 1、成功2、失败',
|
`data_type` varchar(50) DEFAULT NULL COMMENT '状态 1、成功2、失败',
|
||||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
`remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
|
||||||
`distribute_id` varchar(50) DEFAULT NULL COMMENT 'distribute_id',
|
`distribute_id` varchar(50) DEFAULT NULL COMMENT 'distribute_id',
|
||||||
`api_id` varchar(50) DEFAULT NULL COMMENT 'apiid',
|
`api_id` varchar(50) DEFAULT NULL COMMENT 'apiid',
|
||||||
`app_id` varchar(50) DEFAULT NULL COMMENT 'app_id',
|
`app_id` varchar(50) DEFAULT NULL COMMENT 'app_id',
|
||||||
|
@ -985,20 +985,20 @@ where id = #{id}
|
||||||
<when test="item.connectionSymbol == '1'.toString() ">
|
<when test="item.connectionSymbol == '1'.toString() ">
|
||||||
<choose>
|
<choose>
|
||||||
<when test="item.rightParenthesis == ')'.toString() ">
|
<when test="item.rightParenthesis == ')'.toString() ">
|
||||||
${item.rightParenthesis} and
|
${item.rightParenthesis}
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
${item.rightParenthesis}
|
${item.rightParenthesis} and
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
</when>
|
</when>
|
||||||
<when test="item.connectionSymbol == '2'.toString() ">
|
<when test="item.connectionSymbol == '2'.toString() ">
|
||||||
<choose>
|
<choose>
|
||||||
<when test="item.rightParenthesis == ')'.toString() ">
|
<when test="item.rightParenthesis == ')'.toString() ">
|
||||||
${item.rightParenthesis} or
|
${item.rightParenthesis}
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
${item.rightParenthesis}
|
${item.rightParenthesis} or
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
</when>
|
</when>
|
||||||
|
|
|
@ -1935,7 +1935,7 @@ public class MdmServiceImpl implements IMdmService {
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("新增返回脚本解析保存三方id错误" + jsonResultEntity.getAttribute());
|
logger.error("新增返回脚本解析保存三方id错误" + jsonResultEntity.getAttribute());
|
||||||
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "2", "转发失败", dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "2", "转发失败:"+jsonResultEntity.getAttribute(), dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
||||||
return BaseResult.getFailureMessageEntity("发送错误:新增返回脚本解析保存三方id错误");
|
return BaseResult.getFailureMessageEntity("发送错误:新增返回脚本解析保存三方id错误");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1943,7 +1943,7 @@ public class MdmServiceImpl implements IMdmService {
|
||||||
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "1", "发送成功", dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "1", "发送成功", dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
||||||
return BaseResult.getSuccessMessageEntity("发送成功");
|
return BaseResult.getSuccessMessageEntity("发送成功");
|
||||||
} else {
|
} else {
|
||||||
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "2", "转发失败", dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "2", "转发失败:"+jsonResultEntity.getAttribute(), dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
|
||||||
return BaseResult.getFailureMessageEntity("发送错误:" + jsonResultEntity.getAttribute());
|
return BaseResult.getFailureMessageEntity("发送错误:" + jsonResultEntity.getAttribute());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue