主数据下发修改返回提示

This commit is contained in:
lvleigang 2024-08-07 09:13:09 +08:00
parent ee1195cbfa
commit 9d2875e3ba
1 changed files with 3 additions and 3 deletions

View File

@ -1884,7 +1884,7 @@ public class MdmServiceImpl implements IMdmService {
JsonResultEntity rzjsonResultEntity = sendData(loginApi, rzheaders, rzbodys, rzquerys);
if (!rzjsonResultEntity.isFlag()) {
saveMdmModuleSendLogEntity(mdmModuleEntity.getMdmCode(), mdmModuleDistributeEntity.getId(), "2", "转发失败,认证接口调用失败", dbname, object.getString("id"), sysApplicationEntity.getName(), sysApplicationEntity.getId(), apiEntity.getApiName(), apiEntity.getId(), object.toJSONString(), type);
return BaseResult.getFailureMessageEntity("发送错误:" + rzjsonResultEntity.getMsg());
return BaseResult.getFailureMessageEntity("发送错误:转发失败,认证接口调用失败");
}
JSONObject attritube = JSONObject.parseObject(rzjsonResultEntity.getAttribute().toString());
//logger.info("认证接口返回信息:"+ attritube.toJSONString());
@ -1936,7 +1936,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);
return BaseResult.getFailureMessageEntity("发送错误:" + jsonResultEntity.getMsg());
return BaseResult.getFailureMessageEntity("发送错误:新增返回脚本解析保存三方id错误");
}
}
}
@ -1944,7 +1944,7 @@ public class MdmServiceImpl implements IMdmService {
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);
return BaseResult.getFailureMessageEntity("发送错误:" + jsonResultEntity.getMsg());
return BaseResult.getFailureMessageEntity("发送错误:" + jsonResultEntity.getAttribute());
}
}