|
@ -119,8 +119,8 @@ namespace Stone.WinBiz.JISAdmin |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
MyLogger.Write(file.Name + " 处理失败,原因为:" + ex.Message); |
|
|
// MyLogger.Write(file.Name + " 处理失败,原因为:" + ex.Message);
|
|
|
|
|
|
MyLogger.Write(file.Name + " 处理失败,原因为:报文异常解析失败!"); |
|
|
if (sr != null) sr.Close(); |
|
|
if (sr != null) sr.Close(); |
|
|
|
|
|
|
|
|
drJIS_Log["EndTime"] = MyDateTime.GetServerDateTime(); |
|
|
drJIS_Log["EndTime"] = MyDateTime.GetServerDateTime(); |
|
@ -287,6 +287,11 @@ namespace Stone.WinBiz.JISAdmin |
|
|
if (strState == "0" || string.IsNullOrEmpty(strState)) |
|
|
if (strState == "0" || string.IsNullOrEmpty(strState)) |
|
|
strPartMsg += "卸货点 " + location + " 已失效!" + Environment.NewLine; |
|
|
strPartMsg += "卸货点 " + location + " 已失效!" + Environment.NewLine; |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
strPartMsg += "卸货点 " + location + " 未在系统中定义效!" + Environment.NewLine; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//校验卸货点、卸货点代码是否匹配
|
|
|
//校验卸货点、卸货点代码是否匹配
|
|
|
strsql = "select top 1 * from t_Location" + |
|
|
strsql = "select top 1 * from t_Location" + |
|
|
" where Code = '" + location + "'" + |
|
|
" where Code = '" + location + "'" + |
|
|