1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225 |
- <?xml version="1.0"?>
- <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
- DTS:refId="Package"
- DTS:CreationDate="8/9/2022 6:15:57 PM"
- DTS:CreationName="Microsoft.Package"
- DTS:CreatorComputerName="FAN"
- DTS:CreatorName="FAN\dell"
- DTS:DTSID="{7D7DBAAE-BAF8-4210-ACAB-274073393209}"
- DTS:ExecutableType="Microsoft.Package"
- DTS:LastModifiedProductVersion="16.0.694.0"
- DTS:LocaleID="2052"
- DTS:ObjectName="Package1"
- DTS:PackageType="5"
- DTS:VersionBuild="9"
- DTS:VersionGUID="{0C3731D5-BD95-4146-924C-AD2B278072D1}">
- <DTS:Property
- DTS:Name="PackageFormatVersion">8</DTS:Property>
- <DTS:ConnectionManagers>
- <DTS:ConnectionManager
- DTS:refId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- DTS:CreationName="OLEDB"
- DTS:DTSID="{63EE832F-E514-4E7B-B217-EBB321554F89}"
- DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1">
- <DTS:ObjectData>
- <DTS:ConnectionManager
- DTS:ConnectRetryCount="1"
- DTS:ConnectRetryInterval="5"
- DTS:ConnectionString="Data Source=rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433;User ID=xyy;Initial Catalog=xyy_wms;Provider=SQLNCLI11.1;Persist Security Info=True;Application Name=SSIS-Package1-{63EE832F-E514-4E7B-B217-EBB321554F89}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1;Auto Translate=False;">
- <DTS:Password
- DTS:Name="Password"
- Sensitive="1"
- Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtGIR4s1JgEi7Qe8qlaV7EQAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAADF1EKSrgxgAWNrmLn9zG81JlsYzCpU7uVM7CtrR50SHQAAAAAOgAAAAAIAACAAAABlGCcTI5ufxFj9YjiSQDyMoz+mBlNG7LWJo6B3HlnD4zAAAAATxLm5sEkOYR/XmommI4jq/TzT2qsoZ0Bxlob19+kj5Rsn+QzMJmuyhuypnHpyHwZAAAAA/ZrkxYPbXue7+Rc7UiyOsSKCTn+OCFNqhghe1hUeccTnMQqY7Qty0qIxeR0gflAt8aI6cyZOjips1zVYaGcMiA</DTS:Password>
- </DTS:ConnectionManager>
- </DTS:ObjectData>
- </DTS:ConnectionManager>
- </DTS:ConnectionManagers>
- <DTS:Variables />
- <DTS:Executables>
- <DTS:Executable
- DTS:refId="Package\内部出库时效"
- DTS:CreationName="Microsoft.Pipeline"
- DTS:Description="数据流任务"
- DTS:DTSID="{57D3C612-D62E-42D4-989D-19620821D0A6}"
- DTS:ExecutableType="Microsoft.Pipeline"
- DTS:LocaleID="-1"
- DTS:ObjectName="内部出库时效"
- DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
- <DTS:Variables />
- <DTS:ObjectData>
- <pipeline
- version="1">
- <components>
- <component
- refId="Package\内部出库时效\OLE DB 源"
- componentClassID="Microsoft.OLEDBSource"
- contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
- description="OLE DB 源"
- name="OLE DB 源"
- usesDispositions="true"
- version="7">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset"></property>
- <property
- dataType="System.String"
- description="指定包含用于打开行集的数据库对象名的变量。"
- name="OpenRowsetVariable"></property>
- <property
- dataType="System.String"
- description="要执行的 SQL 命令。"
- name="SqlCommand"
- UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select
- convert(nvarchar(10), a.称重时间 ,120)[称重时间],
- 所属客户,渠道名称,实际派送渠道,
- AVG(DATEDIFF(hour,a.下单时间,a.称重时间)/24.0) as [客户平均出库时间],
- AVG(DATEDIFF(hour,a.称重时间,d.CreateTime)/24.0) as [内部平均出库时间],
- AVG(DATEDIFF(hour,a.称重时间,d.DepartTime)/24.0) as [操作-起飞平均时长]
- from BaseOrderInfo(nolock)a
- left join Logistics_BoxDetail(nolock)b on a.OrderId=b.OrderId
- left join logistics_box(nolock)c on c.Id=b.BoxId and c.IsDelete=0
- left join Logistics_LadingBill(nolock)d on d.LadingBillNumber=c.LadingBillNumber and d.IsDeleted = 0
- left join Logistics_Trace(nolock)e on e.OrderId=a.OrderId
- where a.称重时间>'2022-05-01'
- group by
- convert(nvarchar(10), a.称重时间 ,120),
- 所属客户,渠道名称,实际派送渠道;</property>
- <property
- dataType="System.String"
- description="包含要执行的 SQL 命令的变量。"
- name="SqlCommandVariable"></property>
- <property
- dataType="System.Int32"
- description="指定当数据源中没有代码页信息时使用的列代码页。"
- name="DefaultCodePage">936</property>
- <property
- dataType="System.Boolean"
- description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
- name="AlwaysUseDefaultCodePage">false</property>
- <property
- dataType="System.Int32"
- description="指定用于访问数据库的模式。"
- name="AccessMode"
- typeConverter="AccessMode">2</property>
- <property
- dataType="System.String"
- description="SQL 命令中的参数与变量之间的映射。"
- name="ParameterMapping"></property>
- </properties>
- <connections>
- <connection
- refId="Package\内部出库时效\OLE DB 源.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <outputs>
- <output
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出]"
- name="OLE DB 源输出">
- <outputColumns>
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
- length="10"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
- name="称重时间"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
- length="64"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
- name="所属客户"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
- length="50"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
- name="渠道名称"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
- length="64"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
- name="实际派送渠道"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[客户平均出库时间]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]"
- name="客户平均出库时间"
- precision="38"
- scale="6"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[内部平均出库时间]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]"
- name="内部平均出库时间"
- precision="38"
- scale="6"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[操作-起飞平均时长]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]"
- name="操作-起飞平均时长"
- precision="38"
- scale="6"
- truncationRowDisposition="FailComponent" />
- </outputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
- dataType="wstr"
- length="10"
- name="称重时间" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
- dataType="wstr"
- length="64"
- name="所属客户" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="50"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
- dataType="wstr"
- length="64"
- name="实际派送渠道" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[客户平均出库时间]"
- dataType="numeric"
- name="客户平均出库时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[内部平均出库时间]"
- dataType="numeric"
- name="内部平均出库时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[操作-起飞平均时长]"
- dataType="numeric"
- name="操作-起飞平均时长"
- precision="38"
- scale="6" />
- </externalMetadataColumns>
- </output>
- <output
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出]"
- isErrorOut="true"
- name="OLE DB 源错误输出">
- <outputColumns>
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
- dataType="wstr"
- length="10"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
- name="称重时间" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
- dataType="wstr"
- length="64"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
- name="所属客户" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
- dataType="wstr"
- length="50"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
- name="渠道名称" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
- dataType="wstr"
- length="64"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
- name="实际派送渠道" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[客户平均出库时间]"
- dataType="numeric"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[客户平均出库时间]"
- name="客户平均出库时间"
- precision="38"
- scale="6" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[内部平均出库时间]"
- dataType="numeric"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[内部平均出库时间]"
- name="内部平均出库时间"
- precision="38"
- scale="6" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[操作-起飞平均时长]"
- dataType="numeric"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[操作-起飞平均时长]"
- name="操作-起飞平均时长"
- precision="38"
- scale="6" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- <component
- refId="Package\内部出库时效\OLE DB 目标"
- componentClassID="Microsoft.OLEDBDestination"
- contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
- description="OLE DB 目标"
- name="OLE DB 目标"
- usesDispositions="true"
- version="4">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset">[BASEETL_Internal_Operation_Timeliness]</property>
- <property
- dataType="System.String"
- description="指定包含用于打开行集的数据库对象名的变量。"
- name="OpenRowsetVariable"></property>
- <property
- dataType="System.String"
- description="要执行的 SQL 命令。"
- name="SqlCommand"
- UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
- <property
- dataType="System.Int32"
- description="指定当数据源中没有代码页信息时使用的列代码页。"
- name="DefaultCodePage">936</property>
- <property
- dataType="System.Boolean"
- description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
- name="AlwaysUseDefaultCodePage">false</property>
- <property
- dataType="System.Int32"
- description="指定用于访问数据库的模式。"
- name="AccessMode"
- typeConverter="AccessMode">3</property>
- <property
- dataType="System.Boolean"
- description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
- name="FastLoadKeepIdentity">false</property>
- <property
- dataType="System.Boolean"
- description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
- name="FastLoadKeepNulls">false</property>
- <property
- dataType="System.String"
- description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
- name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
- <property
- dataType="System.Int32"
- description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
- name="FastLoadMaxInsertCommitSize">2147483647</property>
- </properties>
- <connections>
- <connection
- refId="Package\内部出库时效\OLE DB 目标.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <inputs>
- <input
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
- errorOrTruncationOperation="插入"
- errorRowDisposition="FailComponent"
- hasSideEffects="true"
- name="OLE DB 目标输入">
- <inputColumns>
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[称重时间]"
- cachedDataType="wstr"
- cachedLength="10"
- cachedName="称重时间"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="所属客户"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
- cachedDataType="wstr"
- cachedLength="50"
- cachedName="渠道名称"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际派送渠道]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="实际派送渠道"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[客户平均出库时间]"
- cachedDataType="numeric"
- cachedName="客户平均出库时间"
- cachedPrecision="38"
- cachedScale="6"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[客户平均出库时间]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[内部平均出库时间]"
- cachedDataType="numeric"
- cachedName="内部平均出库时间"
- cachedPrecision="38"
- cachedScale="6"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[内部平均出库时间]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]" />
- <inputColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[操作-起飞平均时长]"
- cachedDataType="numeric"
- cachedName="操作-起飞平均时长"
- cachedPrecision="38"
- cachedScale="6"
- externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[操作-起飞平均时长]"
- lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]" />
- </inputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
- dataType="wstr"
- length="10"
- name="称重时间" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
- dataType="wstr"
- length="64"
- name="所属客户" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="50"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
- dataType="wstr"
- length="64"
- name="实际派送渠道" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[客户平均出库时间]"
- dataType="numeric"
- name="客户平均出库时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[内部平均出库时间]"
- dataType="numeric"
- name="内部平均出库时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[操作-起飞平均时长]"
- dataType="numeric"
- name="操作-起飞平均时长"
- precision="38"
- scale="6" />
- </externalMetadataColumns>
- </input>
- </inputs>
- <outputs>
- <output
- refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
- exclusionGroup="1"
- isErrorOut="true"
- name="OLE DB 目标错误输出"
- synchronousInputId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]">
- <outputColumns>
- <outputColumn
- refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- </components>
- <paths>
- <path
- refId="Package\内部出库时效.Paths[OLE DB 源输出]"
- endId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
- name="OLE DB 源输出"
- startId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出]" />
- </paths>
- </pipeline>
- </DTS:ObjectData>
- </DTS:Executable>
- <DTS:Executable
- DTS:refId="Package\外部出库时效"
- DTS:CreationName="Microsoft.Pipeline"
- DTS:Description="数据流任务"
- DTS:DTSID="{40c92748-bf76-44b8-a5c7-0ce227640ac1}"
- DTS:ExecutableType="Microsoft.Pipeline"
- DTS:LocaleID="-1"
- DTS:ObjectName="外部出库时效"
- DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
- <DTS:Variables />
- <DTS:ObjectData>
- <pipeline
- version="1">
- <components>
- <component
- refId="Package\外部出库时效\OLE DB 源"
- componentClassID="Microsoft.OLEDBSource"
- contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
- description="OLE DB 源"
- name="OLE DB 源"
- usesDispositions="true"
- version="7">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset"></property>
- <property
- dataType="System.String"
- description="指定包含用于打开行集的数据库对象名的变量。"
- name="OpenRowsetVariable"></property>
- <property
- dataType="System.String"
- description="要执行的 SQL 命令。"
- name="SqlCommand"
- UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select
- convert(nvarchar(10), e.SignTime ,120)[签收时间],
- 所属客户,渠道名称,实际派送渠道,
- AVG(DATEDIFF(hour,d.ArrivalTime,e.onlinetime)/24.0) as [落地-上网时间],
- AVG(DATEDIFF(hour,e.OnlineTime,e.SignTime)/24.0) as [上网-签收时长]
- from BaseOrderInfo(nolock)a
- left join Logistics_BoxDetail(nolock)b on a.OrderId=b.OrderId
- left join logistics_box(nolock)c on c.Id=b.BoxId and c.IsDelete=0
- left join Logistics_LadingBill(nolock)d on d.LadingBillNumber=c.LadingBillNumber and d.IsDeleted = 0
- left join Logistics_Trace(nolock)e on e.OrderId=a.OrderId
- where e.SignTime>'2022-05-01'
- group by
- convert(nvarchar(10), e.SignTime ,120),
- 所属客户,渠道名称,实际派送渠道</property>
- <property
- dataType="System.String"
- description="包含要执行的 SQL 命令的变量。"
- name="SqlCommandVariable"></property>
- <property
- dataType="System.Int32"
- description="指定当数据源中没有代码页信息时使用的列代码页。"
- name="DefaultCodePage">936</property>
- <property
- dataType="System.Boolean"
- description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
- name="AlwaysUseDefaultCodePage">false</property>
- <property
- dataType="System.Int32"
- description="指定用于访问数据库的模式。"
- name="AccessMode"
- typeConverter="AccessMode">2</property>
- <property
- dataType="System.String"
- description="SQL 命令中的参数与变量之间的映射。"
- name="ParameterMapping"></property>
- </properties>
- <connections>
- <connection
- refId="Package\外部出库时效\OLE DB 源.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <outputs>
- <output
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出]"
- name="OLE DB 源输出">
- <outputColumns>
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
- length="64"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
- name="所属客户"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
- length="50"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
- name="渠道名称"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
- length="64"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
- name="实际派送渠道"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[签收时间]"
- length="10"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]"
- name="签收时间"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[落地-上网时间]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]"
- name="落地-上网时间"
- precision="38"
- scale="6"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[上网-签收时长]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]"
- name="上网-签收时长"
- precision="38"
- scale="6"
- truncationRowDisposition="FailComponent" />
- </outputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
- dataType="wstr"
- length="64"
- name="所属客户" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="50"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
- dataType="wstr"
- length="64"
- name="实际派送渠道" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[签收时间]"
- dataType="wstr"
- length="10"
- name="签收时间" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[落地-上网时间]"
- dataType="numeric"
- name="落地-上网时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[上网-签收时长]"
- dataType="numeric"
- name="上网-签收时长"
- precision="38"
- scale="6" />
- </externalMetadataColumns>
- </output>
- <output
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出]"
- isErrorOut="true"
- name="OLE DB 源错误输出">
- <outputColumns>
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[签收时间]"
- dataType="wstr"
- length="10"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[签收时间]"
- name="签收时间" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
- dataType="wstr"
- length="64"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
- name="所属客户" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
- dataType="wstr"
- length="50"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
- name="渠道名称" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
- dataType="wstr"
- length="64"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
- name="实际派送渠道" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[落地-上网时间]"
- dataType="numeric"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[落地-上网时间]"
- name="落地-上网时间"
- precision="38"
- scale="6" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[上网-签收时长]"
- dataType="numeric"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[上网-签收时长]"
- name="上网-签收时长"
- precision="38"
- scale="6" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- <component
- refId="Package\外部出库时效\OLE DB 目标"
- componentClassID="Microsoft.OLEDBDestination"
- contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
- description="OLE DB 目标"
- name="OLE DB 目标"
- usesDispositions="true"
- version="4">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset">[BASEETL_External_Operation_Timeliness]</property>
- <property
- dataType="System.String"
- description="指定包含用于打开行集的数据库对象名的变量。"
- name="OpenRowsetVariable"></property>
- <property
- dataType="System.String"
- description="要执行的 SQL 命令。"
- name="SqlCommand"
- UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
- <property
- dataType="System.Int32"
- description="指定当数据源中没有代码页信息时使用的列代码页。"
- name="DefaultCodePage">936</property>
- <property
- dataType="System.Boolean"
- description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
- name="AlwaysUseDefaultCodePage">false</property>
- <property
- dataType="System.Int32"
- description="指定用于访问数据库的模式。"
- name="AccessMode"
- typeConverter="AccessMode">3</property>
- <property
- dataType="System.Boolean"
- description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
- name="FastLoadKeepIdentity">false</property>
- <property
- dataType="System.Boolean"
- description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
- name="FastLoadKeepNulls">false</property>
- <property
- dataType="System.String"
- description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
- name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
- <property
- dataType="System.Int32"
- description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
- name="FastLoadMaxInsertCommitSize">2147483647</property>
- </properties>
- <connections>
- <connection
- refId="Package\外部出库时效\OLE DB 目标.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <inputs>
- <input
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
- errorOrTruncationOperation="插入"
- errorRowDisposition="FailComponent"
- hasSideEffects="true"
- name="OLE DB 目标输入">
- <inputColumns>
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="所属客户"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
- cachedDataType="wstr"
- cachedLength="50"
- cachedName="渠道名称"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际派送渠道]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="实际派送渠道"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]" />
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[签收时间]"
- cachedDataType="wstr"
- cachedLength="10"
- cachedName="签收时间"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[签收时间]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]" />
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[落地-上网时间]"
- cachedDataType="numeric"
- cachedName="落地-上网时间"
- cachedPrecision="38"
- cachedScale="6"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[落地-上网时间]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]" />
- <inputColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[上网-签收时长]"
- cachedDataType="numeric"
- cachedName="上网-签收时长"
- cachedPrecision="38"
- cachedScale="6"
- externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[上网-签收时长]"
- lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]" />
- </inputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
- dataType="wstr"
- length="64"
- name="所属客户" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="50"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
- dataType="wstr"
- length="64"
- name="实际派送渠道" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[签收时间]"
- dataType="wstr"
- length="10"
- name="签收时间" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[落地-上网时间]"
- dataType="numeric"
- name="落地-上网时间"
- precision="38"
- scale="6" />
- <externalMetadataColumn
- refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[上网-签收时长]"
- dataType="numeric"
- name="上网-签收时长"
- precision="38"
- scale="6" />
- </externalMetadataColumns>
- </input>
- </inputs>
- <outputs>
- <output
- refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
- exclusionGroup="1"
- isErrorOut="true"
- name="OLE DB 目标错误输出"
- synchronousInputId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]">
- <outputColumns>
- <outputColumn
- refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- </components>
- <paths>
- <path
- refId="Package\外部出库时效.Paths[OLE DB 源输出]"
- endId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
- name="OLE DB 源输出"
- startId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出]" />
- </paths>
- </pipeline>
- </DTS:ObjectData>
- </DTS:Executable>
- <DTS:Executable
- DTS:refId="Package\执行 SQL 任务"
- DTS:CreationName="Microsoft.ExecuteSQLTask"
- DTS:Description="执行 SQL 任务"
- DTS:DTSID="{29502879-FEB8-4351-ACE7-D68C51CB8A5E}"
- DTS:ExecutableType="Microsoft.ExecuteSQLTask"
- DTS:LocaleID="-1"
- DTS:ObjectName="执行 SQL 任务"
- DTS:ThreadHint="0">
- <DTS:Variables />
- <DTS:ObjectData>
- <SQLTask:SqlTaskData
- SQLTask:Connection="{63EE832F-E514-4E7B-B217-EBB321554F89}"
- SQLTask:SqlStatementSource="truncate table BASEETL_External_Operation_Timeliness
truncate table BASEETL_Internal_Operation_Timeliness" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
- </DTS:ObjectData>
- </DTS:Executable>
- </DTS:Executables>
- <DTS:PrecedenceConstraints>
- <DTS:PrecedenceConstraint
- DTS:refId="Package.PrecedenceConstraints[Constraint]"
- DTS:CreationName=""
- DTS:DTSID="{4B30AFF8-1A97-487E-8A25-3C81FF1A059B}"
- DTS:From="Package\内部出库时效"
- DTS:LogicalAnd="True"
- DTS:ObjectName="Constraint"
- DTS:To="Package\外部出库时效" />
- <DTS:PrecedenceConstraint
- DTS:refId="Package.PrecedenceConstraints[Constraint 1]"
- DTS:CreationName=""
- DTS:DTSID="{7FAF21F2-4B8B-4A82-9EC7-B2CD696C5066}"
- DTS:From="Package\执行 SQL 任务"
- DTS:LogicalAnd="True"
- DTS:ObjectName="Constraint 1"
- DTS:To="Package\内部出库时效" />
- </DTS:PrecedenceConstraints>
- <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
- <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
- <!--If you manually edit this section and make a mistake, you can delete it. -->
- <!--The package will still be able to load normally but the previous layout information will be lost and the designer will automatically re-arrange the elements on the design surface.-->
- <Objects
- Version="8">
- <!--Each node below will contain properties that do not affect runtime behavior.-->
- <Package
- design-time-name="Package">
- <LayoutInfo>
- <GraphLayout
- Capacity="8" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
- <NodeLayout
- Size="151,42"
- Id="Package\内部出库时效"
- TopLeft="219.166657957766,114.214279879113" />
- <NodeLayout
- Size="151,42"
- Id="Package\外部出库时效"
- TopLeft="269.166655970945,217.285703184654" />
- <EdgeLayout
- Id="Package.PrecedenceConstraints[Constraint]"
- TopLeft="294.666657957766,156.214279879113">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="49.9999980131786,61.0714233055409"
- Start="0,0"
- End="49.9999980131786,53.5714233055409">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,26.5357116527705" />
- <mssgle:CubicBezierSegment
- Point1="0,26.5357116527705"
- Point2="0,30.5357116527705"
- Point3="4,30.5357116527705" />
- <mssgle:LineSegment
- End="45.9999980131786,30.5357116527705" />
- <mssgle:CubicBezierSegment
- Point1="45.9999980131786,30.5357116527705"
- Point2="49.9999980131786,30.5357116527705"
- Point3="49.9999980131786,34.5357116527705" />
- <mssgle:LineSegment
- End="49.9999980131786,53.5714233055409" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- <NodeLayout
- Size="157,42"
- Id="Package\执行 SQL 任务"
- TopLeft="198.333325452275,33.428569720716" />
- <EdgeLayout
- Id="Package.PrecedenceConstraints[Constraint 1]"
- TopLeft="276.833325452275,75.428569720716">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="17.8333325054911,38.785710158397"
- Start="0,0"
- End="17.8333325054911,31.285710158397">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,15.3928550791985" />
- <mssgle:CubicBezierSegment
- Point1="0,15.3928550791985"
- Point2="0,19.3928550791985"
- Point3="4,19.3928550791985" />
- <mssgle:LineSegment
- End="13.8333325054911,19.3928550791985" />
- <mssgle:CubicBezierSegment
- Point1="13.8333325054911,19.3928550791985"
- Point2="17.8333325054911,19.3928550791985"
- Point3="17.8333325054911,23.3928550791985" />
- <mssgle:LineSegment
- End="17.8333325054911,31.285710158397" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- </GraphLayout>
- </LayoutInfo>
- </Package>
- <TaskHost
- design-time-name="Package\内部出库时效">
- <LayoutInfo>
- <GraphLayout
- Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
- <NodeLayout
- Size="133,42"
- Id="Package\内部出库时效\OLE DB 源"
- TopLeft="301.666654679511,168.071419984711" />
- <NodeLayout
- Size="145,42"
- Id="Package\内部出库时效\OLE DB 目标"
- TopLeft="353.333319293129,347.285696542994" />
- <EdgeLayout
- Id="Package\内部出库时效.Paths[OLE DB 源输出]"
- TopLeft="368.166654679511,210.071419984711">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="57.6666646136179,137.214276558283"
- Start="0,0"
- End="57.6666646136179,129.714276558283">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,64.6071382791414" />
- <mssgle:CubicBezierSegment
- Point1="0,64.6071382791414"
- Point2="0,68.6071382791414"
- Point3="4,68.6071382791414" />
- <mssgle:LineSegment
- End="53.6666646136179,68.6071382791414" />
- <mssgle:CubicBezierSegment
- Point1="53.6666646136179,68.6071382791414"
- Point2="57.6666646136179,68.6071382791414"
- Point3="57.6666646136179,72.6071382791414" />
- <mssgle:LineSegment
- End="57.6666646136179,129.714276558283" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- </GraphLayout>
- </LayoutInfo>
- </TaskHost>
- <PipelineComponentMetadata
- design-time-name="Package\内部出库时效\OLE DB 源">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <PipelineComponentMetadata
- design-time-name="Package\内部出库时效\OLE DB 目标">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- <Property>
- <Name>TableInfoObjectType</Name>
- <Value
- type="q2:string">Table</Value>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <TaskHost
- design-time-name="Package\外部出库时效">
- <LayoutInfo>
- <GraphLayout
- Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
- <NodeLayout
- Size="133,42"
- Id="Package\外部出库时效\OLE DB 源"
- TopLeft="301.666654679511,168.071419984711" />
- <NodeLayout
- Size="145,42"
- Id="Package\外部出库时效\OLE DB 目标"
- TopLeft="353.333319293129,347.285696542994" />
- <EdgeLayout
- Id="Package\外部出库时效.Paths[OLE DB 源输出]"
- TopLeft="368.166654679511,210.071419984711">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="57.6666646136179,137.214276558283"
- Start="0,0"
- End="57.6666646136179,129.714276558283">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,64.6071382791414" />
- <mssgle:CubicBezierSegment
- Point1="0,64.6071382791414"
- Point2="0,68.6071382791414"
- Point3="4,68.6071382791414" />
- <mssgle:LineSegment
- End="53.6666646136179,68.6071382791414" />
- <mssgle:CubicBezierSegment
- Point1="53.6666646136179,68.6071382791414"
- Point2="57.6666646136179,68.6071382791414"
- Point3="57.6666646136179,72.6071382791414" />
- <mssgle:LineSegment
- End="57.6666646136179,129.714276558283" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- </GraphLayout>
- </LayoutInfo>
- </TaskHost>
- <PipelineComponentMetadata
- design-time-name="Package\外部出库时效\OLE DB 源">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <PipelineComponentMetadata
- design-time-name="Package\外部出库时效\OLE DB 目标">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- <Property>
- <Name>TableInfoObjectType</Name>
- <Value
- type="q2:string">Table</Value>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- </Objects>]]></DTS:DesignTimeProperties>
- </DTS:Executable>
|