|
@@ -184,19 +184,25 @@ namespace WCS.WMSWorkflow
|
|
|
public GetMatureContinueModeReply I_WCS_GetMatureContinueMode(GetMatureContinueParam param)
|
|
|
{
|
|
|
GetMatureContinueModeReply reply = null;
|
|
|
+ string replyTxt = "";
|
|
|
try
|
|
|
{
|
|
|
Log4netHelper.Logger_Info.Info(string.Format("开始:WCS调用WMS接口函数I_WCS_GetMatureContinueMode。参数:[{0}]", WebApiHelper.GetJson(param)));
|
|
|
JArray ja = new JArray();
|
|
|
ja.Add(WebApiHelper.GetJson(param));
|
|
|
JObject jobj = WebApiHelper.SendInfoToAPI(AppSettingsHelper.AppSettings.GetMatureContinueMode, "", "Post", ja);
|
|
|
- reply = WebApiHelper.ParseFromJson<GetMatureContinueModeReply>(jobj.ToString());
|
|
|
+ replyTxt = jobj.ToString();
|
|
|
+ reply = WebApiHelper.ParseFromJson<GetMatureContinueModeReply>(replyTxt);
|
|
|
Log4netHelper.Logger_Info.Info(string.Format("结束:WCS调用WMS接口函数I_WCS_GetMatureContinueMode。参数:[{0}]反馈结果:[{1}]", WebApiHelper.GetJson(param), WebApiHelper.GetJson(reply)));
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
LogMessageHelper.RecordLogMessage(ex);
|
|
|
}
|
|
|
+ finally
|
|
|
+ {
|
|
|
+ reply.ResType = replyTxt.Contains("true") ? true : false;
|
|
|
+ }
|
|
|
return reply;
|
|
|
}
|
|
|
public GetWeightReply I_WCS_GetWeight(GetWeightParam param)
|