|
|
@ -2154,15 +2154,10 @@ c.Sequence, |
|
|
|
callresult = HTTPHelper.RestFulGet(InspectJosn, postUrlStr); |
|
|
|
#region 货柜接口调用后日志
|
|
|
|
logsql = @"update ICSWMS_HGLog set ReturnResult='{0}'
|
|
|
|
where ID='{1}'";
|
|
|
|
where ID='{1}'";
|
|
|
|
logsql = string.Format(logsql, callresult, logID); |
|
|
|
SqlHelper.CmdExecuteNonQueryLi(logsql); |
|
|
|
#endregion
|
|
|
|
//if (!callresult.Contains("successo"))
|
|
|
|
//{
|
|
|
|
// ICSHGResult hgresult = JsonConvert.DeserializeObject<ICSHGResult>(callresult.TrimStart('[').TrimEnd(']'));
|
|
|
|
// throw new Exception("货柜单据传输接口调用报错,主要报错信息:" + hgresult.PrimaryError + ",次要报错信息:" + hgresult.SecondaryError + "");
|
|
|
|
//}
|
|
|
|
} |
|
|
|
} |
|
|
|
#endregion
|
|
|
|