|
@@ -4,6 +4,7 @@ using JLHHJSvr.LJException;
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
+using System.Diagnostics;
|
|
|
using LJLib.DAL.SQL;
|
|
|
|
|
|
namespace JLHHJSvr.Helper
|
|
@@ -156,6 +157,7 @@ namespace JLHHJSvr.Helper
|
|
|
if (string.IsNullOrEmpty(errMsg))
|
|
|
{
|
|
|
mtrl.erp_mtrlid = (l1Rslt.GetValue("mtrlids") as JArray)[0].Value<int>();
|
|
|
+ Trace.Write($"Update erp_mtrlid={mtrl.erp_mtrlid} WHERE mattressid={mtrl.mattressid} AND erp_mtrlcode={mtrl.erp_mtrlcode}");
|
|
|
DbSqlHelper.Update(cmd, mtrl, "erp_mtrlid");
|
|
|
}
|
|
|
return errMsg;
|