admin
2024-11-07 f7f525b79193f1045b8af2b41320fcf005c47aba
计划库存接口优化
已修改1个文件
5 ■■■■ 文件已修改
_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InterfaceDataset/StaticMethod_PushPlanInventoryData.qbl
@@ -11,6 +11,7 @@
  [*
    table         := selectobject( interfaceDataset, InventoryPlanArchiveVersion, version, not version.IsShow() );
    
    totalRow      := 0;
    interfaceTime := DateTime::ActualTime().Format( "Y-M2-D2 H2:m:s" );
    
    jsonarray     := JSON::Array();
@@ -28,6 +29,7 @@
                                   .Add( "fac", ifexpr( r.Unit().Regex( "CC" ), "CC", "DL" ) )
                                   .Add( "interfaceTime", interfaceTime ).Build();
          jsonarray.Add( idsjson );
          totalRow++;
        }
      }
    }
@@ -41,7 +43,8 @@
                                                  Name              := "Plan inventory data", 
                                                  InterfaceDateTime := DateTime::ActualTime(), 
                                                  Message           := "计划库存数据", 
                                                  RequestBody       := requestbody );
                                                  RequestBody       := requestbody,
                                                  TotalRow          := totalRow );
    
    InterfaceLoginfo::CallInterfaceForDataCenter_PlanInventory( interfaceDataset, loginfo );
  *]