修复主数据显示问题
This commit is contained in:
parent
08c8cb3e30
commit
d182dec59c
|
@ -704,7 +704,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
|||
continue;
|
||||
}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;
|
||||
}
|
||||
}
|
||||
|
@ -885,7 +885,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
|||
continue;
|
||||
}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;
|
||||
}
|
||||
}
|
||||
|
@ -1124,7 +1124,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
|||
continue;
|
||||
}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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -379,7 +379,7 @@ where id = #{id}
|
|||
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
||||
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
||||
`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 test="tableType == '4'.toString()">
|
||||
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
|
||||
|
@ -397,7 +397,7 @@ where id = #{id}
|
|||
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
||||
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
|
||||
`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',
|
||||
`api_id` varchar(50) DEFAULT NULL COMMENT 'apiid',
|
||||
`app_id` varchar(50) DEFAULT NULL COMMENT 'app_id',
|
||||
|
@ -985,20 +985,20 @@ where id = #{id}
|
|||
<when test="item.connectionSymbol == '1'.toString() ">
|
||||
<choose>
|
||||
<when test="item.rightParenthesis == ')'.toString() ">
|
||||
${item.rightParenthesis} and
|
||||
${item.rightParenthesis}
|
||||
</when>
|
||||
<otherwise>
|
||||
${item.rightParenthesis}
|
||||
${item.rightParenthesis} and
|
||||
</otherwise>
|
||||
</choose>
|
||||
</when>
|
||||
<when test="item.connectionSymbol == '2'.toString() ">
|
||||
<choose>
|
||||
<when test="item.rightParenthesis == ')'.toString() ">
|
||||
${item.rightParenthesis} or
|
||||
${item.rightParenthesis}
|
||||
</when>
|
||||
<otherwise>
|
||||
${item.rightParenthesis}
|
||||
${item.rightParenthesis} or
|
||||
</otherwise>
|
||||
</choose>
|
||||
</when>
|
||||
|
|
|
@ -1935,7 +1935,7 @@ public class MdmServiceImpl implements IMdmService {
|
|||
}
|
||||
} catch (Exception e) {
|
||||
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错误");
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
return BaseResult.getSuccessMessageEntity("发送成功");
|
||||
} 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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue