123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908 |
- <?xml version="1.0"?>
- <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
- DTS:refId="Package"
- DTS:CreationDate="4/7/2023 3:51:24 PM"
- DTS:CreationName="Microsoft.Package"
- DTS:CreatorComputerName="LZKPC20200625"
- DTS:CreatorName="LZKPC20200625\lzk"
- DTS:DTSID="{F009599C-89F8-4476-A2BD-5DD2110FE592}"
- DTS:ExecutableType="Microsoft.Package"
- DTS:LastModifiedProductVersion="16.0.694.0"
- DTS:LocaleID="2052"
- DTS:ObjectName="派送渠道非提单称重上网分位数"
- DTS:PackageType="5"
- DTS:VersionBuild="9"
- DTS:VersionGUID="{029B8282-FABB-4B31-BC69-50A43FC36C17}">
- <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.xyy]"
- DTS:CreationName="OLEDB"
- DTS:DTSID="{36B26974-14F9-458E-B205-472F5A7F7A1A}"
- DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy">
- <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-{36B26974-14F9-458E-B205-472F5A7F7A1A}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy;Auto Translate=False;">
- <DTS:Password
- DTS:Name="Password"
- Sensitive="1"
- Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAYaXc47IOuU6ltmljCrTt9wAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAAA88ORGtin1+wL1UuOs0jsFROjc3NxCBif1o1X33KB2GAAAAAAOgAAAAAIAACAAAADAz31zrYDvqesnlNKoaQM06RmjqVj7I77ctVhKyxV3UzAAAADDTdC5mmwQpAjIbUQSFvcQRuwqETSx+4JMSOnHwvjnZKWMuXAHdU0T+BcDYRl1xRNAAAAAY+ywyqeSAs6ppjEuns011sMRe2W7f5NvTjmDQVpa2V0/CObRc6dDHAFUEDO0wVlanICsET/s9VhsQp60ayAv7w</DTS:Password>
- </DTS:ConnectionManager>
- </DTS:ObjectData>
- </DTS:ConnectionManager>
- </DTS:ConnectionManagers>
- <DTS:Variables />
- <DTS:Executables>
- <DTS:Executable
- DTS:refId="Package\执行 SQL 任务"
- DTS:CreationName="Microsoft.ExecuteSQLTask"
- DTS:Description="执行 SQL 任务"
- DTS:DTSID="{6EA30A5A-B5B1-48C3-9663-D4075C305BCF}"
- DTS:ExecutableType="Microsoft.ExecuteSQLTask"
- DTS:LocaleID="-1"
- DTS:ObjectName="执行 SQL 任务"
- DTS:ThreadHint="0">
- <DTS:Variables />
- <DTS:ObjectData>
- <SQLTask:SqlTaskData
- SQLTask:Connection="{36B26974-14F9-458E-B205-472F5A7F7A1A}"
- SQLTask:SqlStatementSource="Truncate table BaseETL_95P_DeliveryChanne_Weight
Truncate table BaseETL_90P_DeliveryChanne_Weight" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
- </DTS:ObjectData>
- </DTS:Executable>
- <DTS:Executable
- DTS:refId="Package\称重-签收分位数"
- DTS:CreationName="Microsoft.Pipeline"
- DTS:Description="数据流任务"
- DTS:DTSID="{856E8A39-08A5-4DDD-ABFA-0FCF5AE13A1D}"
- 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\称重-签收分位数\90%称重签收分位数"
- 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="90%称重签收分位数"
- 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">with t1 as(
- select
- PERCENT_RANK()
- over ( partition by convert(nvarchar(10),ReceiveTime,120),f.PublicName
- order by datediff(HOUR,e.ReceiveTime,isnull(d.signtime,'9999-01-01'))/24.0) pr
- ,datediff(HOUR,e.ReceiveTime,d.signtime)/24.0 as r,
- convert(nvarchar(10),ReceiveTime,120) ReceiveTimeStr,d.TrackingNumber,f.PublicName name
- from
- Order_Order(nolock)e
- join Logistics_Trace(nolock)d on d.OrderId=e.Id
- join Logistics_Channel(nolock) f on f.id=e.ChannelId
- where e.CreateTime>'2022-05-01'
- )
- select ReceiveTimeStr,Name,MIN(r)time from t1 where pr>=0.90
- group by ReceiveTimeStr,Name
- order by ReceiveTimeStr desc</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\称重-签收分位数\90%称重签收分位数.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <outputs>
- <output
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出]"
- name="OLE DB 源输出">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[time]"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]"
- name="分位时间"
- precision="17"
- scale="6"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[Name]"
- length="64"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]"
- name="渠道名称"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[ReceiveTimeStr]"
- length="10"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]"
- name="收货日期"
- truncationRowDisposition="FailComponent" />
- </outputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[time]"
- dataType="numeric"
- name="time"
- precision="17"
- scale="6" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[Name]"
- dataType="wstr"
- length="64"
- name="Name" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[ReceiveTimeStr]"
- dataType="wstr"
- length="10"
- name="ReceiveTimeStr" />
- </externalMetadataColumns>
- </output>
- <output
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出]"
- isErrorOut="true"
- name="OLE DB 源错误输出">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ReceiveTimeStr]"
- dataType="wstr"
- length="10"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ReceiveTimeStr]"
- name="ReceiveTimeStr" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[Name]"
- dataType="wstr"
- length="64"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[Name]"
- name="Name" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[time]"
- dataType="numeric"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[time]"
- name="time"
- precision="17"
- scale="6" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- <component
- refId="Package\称重-签收分位数\90称重签收"
- 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="90称重签收"
- usesDispositions="true"
- version="4">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset">[dbo].[BaseETL_90P_DeliveryChanne_Weight]</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">CHECK_CONSTRAINTS</property>
- <property
- dataType="System.Int32"
- description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
- name="FastLoadMaxInsertCommitSize">2147483647</property>
- </properties>
- <connections>
- <connection
- refId="Package\称重-签收分位数\90称重签收.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <inputs>
- <input
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入]"
- errorOrTruncationOperation="插入"
- errorRowDisposition="FailComponent"
- hasSideEffects="true"
- name="OLE DB 目标输入">
- <inputColumns>
- <inputColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].Columns[分位时间]"
- cachedDataType="numeric"
- cachedName="分位时间"
- cachedPrecision="17"
- cachedScale="6"
- externalMetadataColumnId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[分位时间]"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]" />
- <inputColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].Columns[渠道名称]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="渠道名称"
- externalMetadataColumnId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]" />
- <inputColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].Columns[收货日期]"
- cachedDataType="wstr"
- cachedLength="10"
- cachedName="收货日期"
- externalMetadataColumnId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[收货日期]"
- lineageId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]" />
- </inputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[分位时间]"
- dataType="numeric"
- name="分位时间"
- precision="17"
- scale="6" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="64"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入].ExternalColumns[收货日期]"
- dataType="wstr"
- length="10"
- name="收货日期" />
- </externalMetadataColumns>
- </input>
- </inputs>
- <outputs>
- <output
- refId="Package\称重-签收分位数\90称重签收.Outputs[OLE DB 目标错误输出]"
- exclusionGroup="1"
- isErrorOut="true"
- name="OLE DB 目标错误输出"
- synchronousInputId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入]">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\90称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\90称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\称重-签收分位数\90称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\90称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- <component
- refId="Package\称重-签收分位数\95%称重签收分位数"
- 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="95%称重签收分位数"
- 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">with t1 as(
- select
- PERCENT_RANK()
- over ( partition by convert(nvarchar(10),ReceiveTime,120),f.PublicName
- order by datediff(HOUR,e.ReceiveTime,isnull(d.signtime,'9999-01-01'))/24.0) pr
- ,datediff(HOUR,e.ReceiveTime,d.signtime)/24.0 as r,
- convert(nvarchar(10),ReceiveTime,120) ReceiveTimeStr,d.TrackingNumber,f.PublicName name
- from
- Order_Order(nolock)e
- join Logistics_Trace(nolock)d on d.OrderId=e.Id
- join Logistics_Channel(nolock) f on f.id=e.ChannelId
- where e.CreateTime>'2022-05-01'
- )
- select ReceiveTimeStr,Name,MIN(r)time from t1 where pr>=0.90
- group by ReceiveTimeStr,Name
- order by ReceiveTimeStr desc</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\称重-签收分位数\95%称重签收分位数.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <outputs>
- <output
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出]"
- name="OLE DB 源输出">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]"
- dataType="numeric"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[time]"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]"
- name="分位时间"
- precision="17"
- scale="6"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[Name]"
- length="64"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]"
- name="渠道名称"
- truncationRowDisposition="FailComponent" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]"
- dataType="wstr"
- errorOrTruncationOperation="转换"
- errorRowDisposition="FailComponent"
- externalMetadataColumnId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[ReceiveTimeStr]"
- length="10"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]"
- name="收货日期"
- truncationRowDisposition="FailComponent" />
- </outputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[time]"
- dataType="numeric"
- name="time"
- precision="17"
- scale="6" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[Name]"
- dataType="wstr"
- length="64"
- name="Name" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].ExternalColumns[ReceiveTimeStr]"
- dataType="wstr"
- length="10"
- name="ReceiveTimeStr" />
- </externalMetadataColumns>
- </output>
- <output
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出]"
- isErrorOut="true"
- name="OLE DB 源错误输出">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ReceiveTimeStr]"
- dataType="wstr"
- length="10"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ReceiveTimeStr]"
- name="ReceiveTimeStr" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[Name]"
- dataType="wstr"
- length="64"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[Name]"
- name="Name" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[time]"
- dataType="numeric"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[time]"
- name="time"
- precision="17"
- scale="6" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- <component
- refId="Package\称重-签收分位数\95称重签收"
- 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="95称重签收"
- usesDispositions="true"
- version="4">
- <properties>
- <property
- dataType="System.Int32"
- description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
- name="CommandTimeout">0</property>
- <property
- dataType="System.String"
- description="指定用于打开行集的数据库对象的名称。"
- name="OpenRowset">[dbo].[BaseETL_95P_DeliveryChanne_Weight]</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\称重-签收分位数\95称重签收.Connections[OleDbConnection]"
- connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
- description="指定用于访问数据库的 OLE DB 运行时连接。"
- name="OleDbConnection" />
- </connections>
- <inputs>
- <input
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入]"
- errorOrTruncationOperation="插入"
- errorRowDisposition="FailComponent"
- hasSideEffects="true"
- name="OLE DB 目标输入">
- <inputColumns>
- <inputColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].Columns[分位时间]"
- cachedDataType="numeric"
- cachedName="分位时间"
- cachedPrecision="17"
- cachedScale="6"
- externalMetadataColumnId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[分位时间]"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[分位时间]" />
- <inputColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].Columns[渠道名称]"
- cachedDataType="wstr"
- cachedLength="64"
- cachedName="渠道名称"
- externalMetadataColumnId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[渠道名称]" />
- <inputColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].Columns[收货日期]"
- cachedDataType="wstr"
- cachedLength="10"
- cachedName="收货日期"
- externalMetadataColumnId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[收货日期]"
- lineageId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出].Columns[收货日期]" />
- </inputColumns>
- <externalMetadataColumns
- isUsed="True">
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[分位时间]"
- dataType="numeric"
- name="分位时间"
- precision="17"
- scale="6" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
- dataType="wstr"
- length="64"
- name="渠道名称" />
- <externalMetadataColumn
- refId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入].ExternalColumns[收货日期]"
- dataType="wstr"
- length="10"
- name="收货日期" />
- </externalMetadataColumns>
- </input>
- </inputs>
- <outputs>
- <output
- refId="Package\称重-签收分位数\95称重签收.Outputs[OLE DB 目标错误输出]"
- exclusionGroup="1"
- isErrorOut="true"
- name="OLE DB 目标错误输出"
- synchronousInputId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入]">
- <outputColumns>
- <outputColumn
- refId="Package\称重-签收分位数\95称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\95称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
- name="ErrorCode"
- specialFlags="1" />
- <outputColumn
- refId="Package\称重-签收分位数\95称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- dataType="i4"
- lineageId="Package\称重-签收分位数\95称重签收.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
- name="ErrorColumn"
- specialFlags="2" />
- </outputColumns>
- <externalMetadataColumns />
- </output>
- </outputs>
- </component>
- </components>
- <paths>
- <path
- refId="Package\称重-签收分位数.Paths[OLE DB 源输出]"
- endId="Package\称重-签收分位数\95称重签收.Inputs[OLE DB 目标输入]"
- name="OLE DB 源输出"
- startId="Package\称重-签收分位数\95%称重签收分位数.Outputs[OLE DB 源输出]" />
- <path
- refId="Package\称重-签收分位数.Paths[OLE DB 源输出1]"
- endId="Package\称重-签收分位数\90称重签收.Inputs[OLE DB 目标输入]"
- name="OLE DB 源输出"
- startId="Package\称重-签收分位数\90%称重签收分位数.Outputs[OLE DB 源输出]" />
- </paths>
- </pipeline>
- </DTS:ObjectData>
- </DTS:Executable>
- </DTS:Executables>
- <DTS:PrecedenceConstraints>
- <DTS:PrecedenceConstraint
- DTS:refId="Package.PrecedenceConstraints[Constraint]"
- DTS:CreationName=""
- DTS:DTSID="{A99E96DD-7E60-4E7B-96DA-211E7313901D}"
- DTS:From="Package\执行 SQL 任务"
- DTS:LogicalAnd="True"
- DTS:ObjectName="Constraint"
- 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="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="168.8,41.6"
- Id="Package\称重-签收分位数"
- TopLeft="439.791660903849,187.730152879563" />
- <NodeLayout
- Size="156.8,41.6"
- Id="Package\执行 SQL 任务"
- TopLeft="435.624994402751,87.444443717415" />
- <EdgeLayout
- Id="Package.PrecedenceConstraints[Constraint]"
- TopLeft="514.024994402751,129.044443717415">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="10.166666501098,58.685709162148"
- Start="0,0"
- End="10.166666501098,51.185709162148">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,25.342854581074" />
- <mssgle:CubicBezierSegment
- Point1="0,25.342854581074"
- Point2="0,29.342854581074"
- Point3="4,29.342854581074" />
- <mssgle:LineSegment
- End="6.16666650109801,29.342854581074" />
- <mssgle:CubicBezierSegment
- Point1="6.16666650109801,29.342854581074"
- Point2="10.166666501098,29.342854581074"
- Point3="10.166666501098,33.342854581074" />
- <mssgle:LineSegment
- End="10.166666501098,51.185709162148" />
- </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="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="138.4,41.6"
- Id="Package\称重-签收分位数\90称重签收"
- TopLeft="735.208321239593,232.555544917967" />
- <NodeLayout
- Size="138.4,41.6"
- Id="Package\称重-签收分位数\95称重签收"
- TopLeft="368.666663024161,241.999990701676" />
- <NodeLayout
- Size="180,41.6"
- Id="Package\称重-签收分位数\90%称重签收分位数"
- TopLeft="689.999989718199,51.2777764193805" />
- <NodeLayout
- Size="180,41.6"
- Id="Package\称重-签收分位数\95%称重签收分位数"
- TopLeft="323.458331502767,60.7222222030899" />
- <EdgeLayout
- Id="Package\称重-签收分位数.Paths[OLE DB 源输出1]"
- TopLeft="779.999989718199,92.8777764193805">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="24.4083315213941,139.677768498587"
- Start="0,0"
- End="24.4083315213941,132.177768498587">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,65.8388842492933" />
- <mssgle:CubicBezierSegment
- Point1="0,65.8388842492933"
- Point2="0,69.8388842492933"
- Point3="4,69.8388842492933" />
- <mssgle:LineSegment
- End="20.4083315213941,69.8388842492933" />
- <mssgle:CubicBezierSegment
- Point1="20.4083315213941,69.8388842492933"
- Point2="24.4083315213941,69.8388842492933"
- Point3="24.4083315213941,73.8388842492933" />
- <mssgle:LineSegment
- End="24.4083315213941,132.177768498587" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- <EdgeLayout
- Id="Package\称重-签收分位数.Paths[OLE DB 源输出]"
- TopLeft="413.458331502767,102.32222220309">
- <EdgeLayout.Curve>
- <mssgle:Curve
- StartConnector="{assembly:Null}"
- EndConnector="24.408331521394,139.677768498586"
- Start="0,0"
- End="24.408331521394,132.177768498586">
- <mssgle:Curve.Segments>
- <mssgle:SegmentCollection
- Capacity="5">
- <mssgle:LineSegment
- End="0,65.838884249293" />
- <mssgle:CubicBezierSegment
- Point1="0,65.838884249293"
- Point2="0,69.838884249293"
- Point3="4,69.838884249293" />
- <mssgle:LineSegment
- End="20.408331521394,69.838884249293" />
- <mssgle:CubicBezierSegment
- Point1="20.408331521394,69.838884249293"
- Point2="24.408331521394,69.838884249293"
- Point3="24.408331521394,73.838884249293" />
- <mssgle:LineSegment
- End="24.408331521394,132.177768498586" />
- </mssgle:SegmentCollection>
- </mssgle:Curve.Segments>
- </mssgle:Curve>
- </EdgeLayout.Curve>
- <EdgeLayout.Labels>
- <EdgeLabelCollection />
- </EdgeLayout.Labels>
- </EdgeLayout>
- </GraphLayout>
- </LayoutInfo>
- </TaskHost>
- <PipelineComponentMetadata
- design-time-name="Package\称重-签收分位数\90称重签收">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- <Property>
- <Name>TableInfoObjectType</Name>
- <Value
- type="q2:string">Table</Value>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <PipelineComponentMetadata
- design-time-name="Package\称重-签收分位数\95称重签收">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- <Property>
- <Name>TableInfoObjectType</Name>
- <Value
- type="q2:string">Table</Value>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <PipelineComponentMetadata
- design-time-name="Package\称重-签收分位数\90%称重签收分位数">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- <PipelineComponentMetadata
- design-time-name="Package\称重-签收分位数\95%称重签收分位数">
- <Properties>
- <Property>
- <Name>DataSourceViewID</Name>
- </Property>
- </Properties>
- </PipelineComponentMetadata>
- </Objects>]]></DTS:DesignTimeProperties>
- </DTS:Executable>
|