丽知:成套件修改

This commit is contained in:
zhengyf 2024-09-20 14:00:23 +08:00
parent 8ec6f45fad
commit 28a5450f54
1 changed files with 6 additions and 1 deletions

View File

@ -362,7 +362,12 @@ public class KitPluginInitializer extends PluginBaseEntity {
e.printStackTrace();
logger.error("推送U8C丽知OFS实物组套--->U8C成套件档案失败失败原因" + e);
ReusltStrDto reusltStrDto = JSON.parseObject(response, ReusltStrDto.class);
String ErrMessage = "推送U8C丽知OFS实物组套--->U8C成套件档案失败失败原因" + reusltStrDto.getErrormsg();
String ErrMessage="";
if (reusltStrDto != null) {
ErrMessage = "推送U8C丽知OFS实物组套--->U8C成套件档案失败失败原因" + reusltStrDto.getErrormsg();
}else {
ErrMessage=e.getMessage();
}
//失败
IntegrationTaskLivingDetailsEntity integrationTaskLivingDetailsEntity = new IntegrationTaskLivingDetailsEntity();
integrationTaskLivingDetailsEntity.setNewState(ProfilesActiveConstant.LOG_STATUS_N);