Kaynağa Gözat

优化萤石的报文

callm 2 hafta önce
ebeveyn
işleme
947a6eff28
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      UAS_MES_HYSX/PublicMethod/HttpServer.cs

+ 2 - 2
UAS_MES_HYSX/PublicMethod/HttpServer.cs

@@ -1054,12 +1054,12 @@ namespace UAS_MES_NEW.PublicMethod
             string password = "c5e^4{RSt}";
             var root = new RootObjectYS
             {
-                nub = iBox,
+                nub = "01",
                 login_key = "PRD90904837",
                 ebeln = dt.Rows[0]["ma_custpo"].ToString(),
                 ebelp = dt.Rows[0]["ma_custpodetno"].ToString(),
                 pkcde = iBox,
-                brgew = 0,
+                brgew = double.Parse(dh.getFieldDataByCondition("package", "nvl(pa_weight,0)", "pa_outboxcode='" + iBox + "'").ToString()),
                 mak01 = "mak01",
                 BindList = new List<BindItemYS>()
             };