From 1dc088650dce12f187c5e99718a7499ca7ff5f43 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 07 十一月 2024 17:16:44 +0800
Subject: [PATCH] 数据中台接口info

---
 _Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl                                                                             |    4 ++--
 _Main/BL/InfoMessages.qbl                                                                                                                      |   26 +++++++++++++++++++++++++-
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def |    4 ++--
 _Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForDataCenter.qbl                                                                     |   10 +++++++---
 _Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def                                                               |    2 +-
 _Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl                                                                          |    2 +-
 6 files changed, 38 insertions(+), 10 deletions(-)

diff --git a/_Main/BL/InfoMessages.qbl b/_Main/BL/InfoMessages.qbl
index fa4f3d3..a77e360 100644
--- a/_Main/BL/InfoMessages.qbl
+++ b/_Main/BL/InfoMessages.qbl
@@ -118,7 +118,7 @@
   {
     DefaultText: 'ds-yunrong-gw.dmp.vwfawedl.mobi'
   }
-  InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name
+  InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name
   {
     DefaultText: 'Assembly online plan - PPPS'
   }
@@ -166,6 +166,14 @@
   {
     DefaultText: '/data-service/api/service/post-data/V1.101/f084aa52d19c48d090416936a94f1dab'
   }
+  InfoMessage InterfaceDataset_InventoryPlanPPPSPush_Name
+  {
+    DefaultText: 'Plan inventory data'
+  }
+  InfoMessage InterfaceDataset_InventoryPlanPPPSPush_URL
+  {
+    DefaultText: '/api/plan-stock/saveList'
+  }
   InfoMessage InterfaceDataset_InventoryReport_Name
   {
     DefaultText: 'Inventory report'
@@ -182,10 +190,26 @@
   {
     DefaultText: '/data-service/api/service/post-data/V1.101/2f6c42fe895c45bdb2e8e1ca8489b5a2'
   }
+  InfoMessage InterfaceDataset_ProductionPlaningPPPSPush_Name
+  {
+    DefaultText: 'Production planning data'
+  }
+  InfoMessage InterfaceDataset_ProductionPlaningPPPSPush_URL
+  {
+    DefaultText: '/api/production-planning/saveList'
+  }
   InfoMessage InterfaceDataset_SAP_Address
   {
     DefaultText: '10.120.76.86'
   }
+  InfoMessage InterfaceDataset_ShiftPlanPPPSPush_Name
+  {
+    DefaultText: 'Shift plan data'
+  }
+  InfoMessage InterfaceDataset_ShiftPlanPPPSPush_URL
+  {
+    DefaultText: '/api/shift/saveList'
+  }
   InfoMessage InterfaceDataset_ShippingActualData_Name
   {
     DefaultText: 'Shipping actual data'
diff --git a/_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl b/_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl
index b7670aa..85cac89 100644
--- a/_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl
+++ b/_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl
@@ -10,7 +10,7 @@
   TextBody:
   [*
     // 鐢勫叞楦� Aug-20-2024 (created)
-    loginfo                := maxobject(  interfaceDataset, InterfaceLoginfo, loginfo, loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name(), loginfo.InterfaceDateTime() );
+    loginfo                := maxobject(  interfaceDataset, InterfaceLoginfo, loginfo, loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name(), loginfo.InterfaceDateTime() );
     if( not isnull( loginfo ) ){
       if( not loginfo.IsShow() ){
         loginfo.Delete();
@@ -21,7 +21,7 @@
     }
     nowdate                := DateTime::ActualTime();
     loginfo                := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor
-                                                                 , Name := Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name()
+                                                                 , Name := Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()
                                                                  , InterfaceDateTime := nowdate
                                                                  , Message := '瑁呴厤涓婄嚎璁″垝-PPPS浼犺緭鑷虫暟鎹腑鍙帮紙鍖呭惈鎺掑簭锛�/SAP锛堜笉鍖呭惈鎺掑簭锛�'
                                                                  , Last                      := true
diff --git a/_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl b/_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl
index 4503d47..324c585 100644
--- a/_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl
+++ b/_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl
@@ -40,7 +40,7 @@
     
     loginfo := interfaceDataset.InterfaceLoginfo( relnew, 
                                                   ExecuteUser       := executor, 
-                                                  Name              := "Plan inventory data", 
+                                                  Name              := Translations::InterfaceDataset_InventoryPlanPPPSPush_Name(), 
                                                   InterfaceDateTime := DateTime::ActualTime(), 
                                                   Message           := "璁″垝搴撳瓨鏁版嵁", 
                                                   RequestBody       := requestbody,
diff --git a/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForDataCenter.qbl b/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForDataCenter.qbl
index 923a893..3a3414a 100644
--- a/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForDataCenter.qbl
+++ b/_Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForDataCenter.qbl
@@ -18,10 +18,14 @@
     try{
       if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//瀹㈡埛闇�姹�
         httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() );
-      } else if( loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() ){//瑁呴厤涓婄嚎璁″垝
+      } else if( loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() ){//瑁呴厤涓婄嚎璁″垝
         httpinterface.URL( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_URL() );
-      } else if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//瀹㈡埛闇�姹�
-        httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() );
+      } else if( loginfo.Name() = Translations::InterfaceDataset_InventoryPlanPPPSPush_Name() ){//璁″垝搴撳瓨
+        httpinterface.URL( Translations::InterfaceDataset_InventoryPlanPPPSPush_URL() );
+      } else if( loginfo.Name() = Translations::InterfaceDataset_ShiftPlanPPPSPush_Name() ){//鐝璁″垝
+        httpinterface.URL( Translations::InterfaceDataset_ShiftPlanPPPSPush_URL() );
+      } else if( loginfo.Name() = Translations::InterfaceDataset_ProductionPlaningPPPSPush_Name() ){//鐢熶骇鎺掍骇璁″垝
+        httpinterface.URL( Translations::InterfaceDataset_ProductionPlaningPPPSPush_URL() );
       } 
       httpinterface.Call( loginfo.RequestBody() );
       result := httpinterface.Result();
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def
index 33cf492..4a50618 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def
@@ -14,8 +14,8 @@
     Body:
     [*
       dlg := construct( DialogCustomerDemandPPAIDS );
-      dlg.Title( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() );
-      dlg.New( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() );
+      dlg.Title( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() );
+      dlg.New( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() );
     *]
     GroupServerCalls: false
   }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
index dbb4b14..e76af1c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
@@ -13,7 +13,7 @@
     if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//瀹㈡埛闇�姹�
       CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser );
     }
-    if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name()){//瑁呴厤涓婄嚎
+    if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()){//瑁呴厤涓婄嚎
       AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser );
     }
     

--
Gitblit v1.9.3