ShuanghongS 1 день назад
Родитель
Сommit
02ff4dd841
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      service/ocean_order.class.php

+ 2 - 2
service/ocean_order.class.php

@@ -1427,7 +1427,7 @@ class ocean_order {
         $document = _getViewDocType($_REQUEST["_schemas"]);
 
         $Enable_New_DMS = common::excuteOneSql("select item_value from config where item = 'Enable_New_DMS'");
-        if ($ocean['source_user'] == 'K5' || $ocean['source_user'] == 'KSMART_AIR2' || $Enable_New_DMS == "True"){
+        if ($Enable_New_DMS == "True"){
             //DMS的接口 K5和KSMART AIR的文檔數
             if (!empty($document)) {
                 $docTypes = array();
@@ -1636,7 +1636,7 @@ class ocean_order {
         $document = _getAirViewDocType($_REQUEST["_schemas"]);
 
         $Enable_New_DMS = common::excuteOneSql("select item_value from config where item = 'Enable_New_DMS'");
-        if($air['source_user'] == 'K5' || $air['source_user'] == 'KSMART_AIR2' || $Enable_New_DMS == "True"){
+        if($Enable_New_DMS == "True"){
             //DMS的接口 K5和KSMART AIR的文檔數
             if (!empty($document)) {
                 $docTypes = array();