konghe 1 rok temu
rodzic
commit
c8cebc7cb5
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      DK.Service/PMModuleLogic/PMModuleLogicDAL.cs

+ 3 - 1
DK.Service/PMModuleLogic/PMModuleLogicDAL.cs

@@ -31004,8 +31004,10 @@ updateuserid=:updateuserid where barcode=:barcode";
             IDBTransaction oracleTrConn = ClsDbFactory.CreateDBTransaction(DataBaseType.ORACLE, DataManager.ConnectionString);
             string mes = "";
             List<DataTable> tables = new List<DataTable>();
+
             DataSet ds = new DataSet();
-            var dt = SapApi.ZMM_WMS016("1000", null, lgort, out mes);
+            string LGORT = oracleTrConn.GetSqlResultToStr("select  DICTIONARYVALUE from TP_MST_DATADICTIONARY where dictionaryid='" + lgort + "'");
+            var dt = SapApi.ZMM_WMS016("1000", null, LGORT, out mes);
             DataTable table = new DataTable();
 
             table.Columns.Add("WERKS", typeof(string));