客服报表基础数据.dtsx 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  1. <?xml version="1.0"?>
  2. <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
  3. DTS:refId="Package"
  4. DTS:CreationDate="8/9/2022 6:15:57 PM"
  5. DTS:CreationName="Microsoft.Package"
  6. DTS:CreatorComputerName="FAN"
  7. DTS:CreatorName="FAN\dell"
  8. DTS:DTSID="{7D7DBAAE-BAF8-4210-ACAB-274073393209}"
  9. DTS:ExecutableType="Microsoft.Package"
  10. DTS:LastModifiedProductVersion="16.0.694.0"
  11. DTS:LocaleID="2052"
  12. DTS:ObjectName="Package1"
  13. DTS:PackageType="5"
  14. DTS:VersionBuild="9"
  15. DTS:VersionGUID="{0C3731D5-BD95-4146-924C-AD2B278072D1}">
  16. <DTS:Property
  17. DTS:Name="PackageFormatVersion">8</DTS:Property>
  18. <DTS:ConnectionManagers>
  19. <DTS:ConnectionManager
  20. DTS:refId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  21. DTS:CreationName="OLEDB"
  22. DTS:DTSID="{63EE832F-E514-4E7B-B217-EBB321554F89}"
  23. DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1">
  24. <DTS:ObjectData>
  25. <DTS:ConnectionManager
  26. DTS:ConnectRetryCount="1"
  27. DTS:ConnectRetryInterval="5"
  28. 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;">
  29. <DTS:Password
  30. DTS:Name="Password"
  31. Sensitive="1"
  32. Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtGIR4s1JgEi7Qe8qlaV7EQAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAADF1EKSrgxgAWNrmLn9zG81JlsYzCpU7uVM7CtrR50SHQAAAAAOgAAAAAIAACAAAABlGCcTI5ufxFj9YjiSQDyMoz+mBlNG7LWJo6B3HlnD4zAAAAATxLm5sEkOYR/XmommI4jq/TzT2qsoZ0Bxlob19+kj5Rsn+QzMJmuyhuypnHpyHwZAAAAA/ZrkxYPbXue7+Rc7UiyOsSKCTn+OCFNqhghe1hUeccTnMQqY7Qty0qIxeR0gflAt8aI6cyZOjips1zVYaGcMiA</DTS:Password>
  33. </DTS:ConnectionManager>
  34. </DTS:ObjectData>
  35. </DTS:ConnectionManager>
  36. </DTS:ConnectionManagers>
  37. <DTS:Variables />
  38. <DTS:Executables>
  39. <DTS:Executable
  40. DTS:refId="Package\内部出库时效"
  41. DTS:CreationName="Microsoft.Pipeline"
  42. DTS:Description="数据流任务"
  43. DTS:DTSID="{57D3C612-D62E-42D4-989D-19620821D0A6}"
  44. DTS:ExecutableType="Microsoft.Pipeline"
  45. DTS:LocaleID="-1"
  46. DTS:ObjectName="内部出库时效"
  47. 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">
  48. <DTS:Variables />
  49. <DTS:ObjectData>
  50. <pipeline
  51. version="1">
  52. <components>
  53. <component
  54. refId="Package\内部出库时效\OLE DB 源"
  55. componentClassID="Microsoft.OLEDBSource"
  56. contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
  57. description="OLE DB 源"
  58. name="OLE DB 源"
  59. usesDispositions="true"
  60. version="7">
  61. <properties>
  62. <property
  63. dataType="System.Int32"
  64. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  65. name="CommandTimeout">0</property>
  66. <property
  67. dataType="System.String"
  68. description="指定用于打开行集的数据库对象的名称。"
  69. name="OpenRowset"></property>
  70. <property
  71. dataType="System.String"
  72. description="指定包含用于打开行集的数据库对象名的变量。"
  73. name="OpenRowsetVariable"></property>
  74. <property
  75. dataType="System.String"
  76. description="要执行的 SQL 命令。"
  77. name="SqlCommand"
  78. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select
  79. convert(nvarchar(10), a.称重时间 ,120)[称重时间],
  80. 所属客户,渠道名称,实际派送渠道,
  81. AVG(DATEDIFF(hour,a.下单时间,a.称重时间)/24.0) as [客户平均出库时间],
  82. AVG(DATEDIFF(hour,a.称重时间,d.CreateTime)/24.0) as [内部平均出库时间],
  83. AVG(DATEDIFF(hour,a.称重时间,d.DepartTime)/24.0) as [操作-起飞平均时长]
  84. from BaseOrderInfo(nolock)a
  85. left join Logistics_BoxDetail(nolock)b on a.OrderId=b.OrderId
  86. left join logistics_box(nolock)c on c.Id=b.BoxId and c.IsDelete=0
  87. left join Logistics_LadingBill(nolock)d on d.LadingBillNumber=c.LadingBillNumber and d.IsDeleted = 0
  88. left join Logistics_Trace(nolock)e on e.OrderId=a.OrderId
  89. where a.称重时间&gt;'2022-05-01'
  90. group by
  91. convert(nvarchar(10), a.称重时间 ,120),
  92. 所属客户,渠道名称,实际派送渠道;</property>
  93. <property
  94. dataType="System.String"
  95. description="包含要执行的 SQL 命令的变量。"
  96. name="SqlCommandVariable"></property>
  97. <property
  98. dataType="System.Int32"
  99. description="指定当数据源中没有代码页信息时使用的列代码页。"
  100. name="DefaultCodePage">936</property>
  101. <property
  102. dataType="System.Boolean"
  103. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  104. name="AlwaysUseDefaultCodePage">false</property>
  105. <property
  106. dataType="System.Int32"
  107. description="指定用于访问数据库的模式。"
  108. name="AccessMode"
  109. typeConverter="AccessMode">2</property>
  110. <property
  111. dataType="System.String"
  112. description="SQL 命令中的参数与变量之间的映射。"
  113. name="ParameterMapping"></property>
  114. </properties>
  115. <connections>
  116. <connection
  117. refId="Package\内部出库时效\OLE DB 源.Connections[OleDbConnection]"
  118. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  119. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  120. description="指定用于访问数据库的 OLE DB 运行时连接。"
  121. name="OleDbConnection" />
  122. </connections>
  123. <outputs>
  124. <output
  125. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出]"
  126. name="OLE DB 源输出">
  127. <outputColumns>
  128. <outputColumn
  129. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  130. dataType="wstr"
  131. errorOrTruncationOperation="转换"
  132. errorRowDisposition="FailComponent"
  133. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  134. length="10"
  135. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  136. name="称重时间"
  137. truncationRowDisposition="FailComponent" />
  138. <outputColumn
  139. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  140. dataType="wstr"
  141. errorOrTruncationOperation="转换"
  142. errorRowDisposition="FailComponent"
  143. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  144. length="64"
  145. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  146. name="所属客户"
  147. truncationRowDisposition="FailComponent" />
  148. <outputColumn
  149. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  150. dataType="wstr"
  151. errorOrTruncationOperation="转换"
  152. errorRowDisposition="FailComponent"
  153. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  154. length="50"
  155. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  156. name="渠道名称"
  157. truncationRowDisposition="FailComponent" />
  158. <outputColumn
  159. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  160. dataType="wstr"
  161. errorOrTruncationOperation="转换"
  162. errorRowDisposition="FailComponent"
  163. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  164. length="64"
  165. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  166. name="实际派送渠道"
  167. truncationRowDisposition="FailComponent" />
  168. <outputColumn
  169. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]"
  170. dataType="numeric"
  171. errorOrTruncationOperation="转换"
  172. errorRowDisposition="FailComponent"
  173. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[客户平均出库时间]"
  174. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]"
  175. name="客户平均出库时间"
  176. precision="38"
  177. scale="6"
  178. truncationRowDisposition="FailComponent" />
  179. <outputColumn
  180. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]"
  181. dataType="numeric"
  182. errorOrTruncationOperation="转换"
  183. errorRowDisposition="FailComponent"
  184. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[内部平均出库时间]"
  185. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]"
  186. name="内部平均出库时间"
  187. precision="38"
  188. scale="6"
  189. truncationRowDisposition="FailComponent" />
  190. <outputColumn
  191. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]"
  192. dataType="numeric"
  193. errorOrTruncationOperation="转换"
  194. errorRowDisposition="FailComponent"
  195. externalMetadataColumnId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[操作-起飞平均时长]"
  196. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]"
  197. name="操作-起飞平均时长"
  198. precision="38"
  199. scale="6"
  200. truncationRowDisposition="FailComponent" />
  201. </outputColumns>
  202. <externalMetadataColumns
  203. isUsed="True">
  204. <externalMetadataColumn
  205. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  206. dataType="wstr"
  207. length="10"
  208. name="称重时间" />
  209. <externalMetadataColumn
  210. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  211. dataType="wstr"
  212. length="64"
  213. name="所属客户" />
  214. <externalMetadataColumn
  215. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  216. dataType="wstr"
  217. length="50"
  218. name="渠道名称" />
  219. <externalMetadataColumn
  220. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  221. dataType="wstr"
  222. length="64"
  223. name="实际派送渠道" />
  224. <externalMetadataColumn
  225. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[客户平均出库时间]"
  226. dataType="numeric"
  227. name="客户平均出库时间"
  228. precision="38"
  229. scale="6" />
  230. <externalMetadataColumn
  231. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[内部平均出库时间]"
  232. dataType="numeric"
  233. name="内部平均出库时间"
  234. precision="38"
  235. scale="6" />
  236. <externalMetadataColumn
  237. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[操作-起飞平均时长]"
  238. dataType="numeric"
  239. name="操作-起飞平均时长"
  240. precision="38"
  241. scale="6" />
  242. </externalMetadataColumns>
  243. </output>
  244. <output
  245. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出]"
  246. isErrorOut="true"
  247. name="OLE DB 源错误输出">
  248. <outputColumns>
  249. <outputColumn
  250. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  251. dataType="wstr"
  252. length="10"
  253. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  254. name="称重时间" />
  255. <outputColumn
  256. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  257. dataType="wstr"
  258. length="64"
  259. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  260. name="所属客户" />
  261. <outputColumn
  262. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  263. dataType="wstr"
  264. length="50"
  265. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  266. name="渠道名称" />
  267. <outputColumn
  268. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  269. dataType="wstr"
  270. length="64"
  271. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  272. name="实际派送渠道" />
  273. <outputColumn
  274. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[客户平均出库时间]"
  275. dataType="numeric"
  276. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[客户平均出库时间]"
  277. name="客户平均出库时间"
  278. precision="38"
  279. scale="6" />
  280. <outputColumn
  281. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[内部平均出库时间]"
  282. dataType="numeric"
  283. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[内部平均出库时间]"
  284. name="内部平均出库时间"
  285. precision="38"
  286. scale="6" />
  287. <outputColumn
  288. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[操作-起飞平均时长]"
  289. dataType="numeric"
  290. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[操作-起飞平均时长]"
  291. name="操作-起飞平均时长"
  292. precision="38"
  293. scale="6" />
  294. <outputColumn
  295. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  296. dataType="i4"
  297. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  298. name="ErrorCode"
  299. specialFlags="1" />
  300. <outputColumn
  301. refId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  302. dataType="i4"
  303. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  304. name="ErrorColumn"
  305. specialFlags="2" />
  306. </outputColumns>
  307. <externalMetadataColumns />
  308. </output>
  309. </outputs>
  310. </component>
  311. <component
  312. refId="Package\内部出库时效\OLE DB 目标"
  313. componentClassID="Microsoft.OLEDBDestination"
  314. contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
  315. description="OLE DB 目标"
  316. name="OLE DB 目标"
  317. usesDispositions="true"
  318. version="4">
  319. <properties>
  320. <property
  321. dataType="System.Int32"
  322. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  323. name="CommandTimeout">0</property>
  324. <property
  325. dataType="System.String"
  326. description="指定用于打开行集的数据库对象的名称。"
  327. name="OpenRowset">[BASEETL_Internal_Operation_Timeliness]</property>
  328. <property
  329. dataType="System.String"
  330. description="指定包含用于打开行集的数据库对象名的变量。"
  331. name="OpenRowsetVariable"></property>
  332. <property
  333. dataType="System.String"
  334. description="要执行的 SQL 命令。"
  335. name="SqlCommand"
  336. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
  337. <property
  338. dataType="System.Int32"
  339. description="指定当数据源中没有代码页信息时使用的列代码页。"
  340. name="DefaultCodePage">936</property>
  341. <property
  342. dataType="System.Boolean"
  343. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  344. name="AlwaysUseDefaultCodePage">false</property>
  345. <property
  346. dataType="System.Int32"
  347. description="指定用于访问数据库的模式。"
  348. name="AccessMode"
  349. typeConverter="AccessMode">3</property>
  350. <property
  351. dataType="System.Boolean"
  352. description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
  353. name="FastLoadKeepIdentity">false</property>
  354. <property
  355. dataType="System.Boolean"
  356. description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
  357. name="FastLoadKeepNulls">false</property>
  358. <property
  359. dataType="System.String"
  360. description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
  361. name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
  362. <property
  363. dataType="System.Int32"
  364. description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
  365. name="FastLoadMaxInsertCommitSize">2147483647</property>
  366. </properties>
  367. <connections>
  368. <connection
  369. refId="Package\内部出库时效\OLE DB 目标.Connections[OleDbConnection]"
  370. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  371. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  372. description="指定用于访问数据库的 OLE DB 运行时连接。"
  373. name="OleDbConnection" />
  374. </connections>
  375. <inputs>
  376. <input
  377. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
  378. errorOrTruncationOperation="插入"
  379. errorRowDisposition="FailComponent"
  380. hasSideEffects="true"
  381. name="OLE DB 目标输入">
  382. <inputColumns>
  383. <inputColumn
  384. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[称重时间]"
  385. cachedDataType="wstr"
  386. cachedLength="10"
  387. cachedName="称重时间"
  388. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  389. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]" />
  390. <inputColumn
  391. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
  392. cachedDataType="wstr"
  393. cachedLength="64"
  394. cachedName="所属客户"
  395. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  396. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
  397. <inputColumn
  398. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
  399. cachedDataType="wstr"
  400. cachedLength="50"
  401. cachedName="渠道名称"
  402. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  403. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
  404. <inputColumn
  405. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际派送渠道]"
  406. cachedDataType="wstr"
  407. cachedLength="64"
  408. cachedName="实际派送渠道"
  409. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  410. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]" />
  411. <inputColumn
  412. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[客户平均出库时间]"
  413. cachedDataType="numeric"
  414. cachedName="客户平均出库时间"
  415. cachedPrecision="38"
  416. cachedScale="6"
  417. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[客户平均出库时间]"
  418. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[客户平均出库时间]" />
  419. <inputColumn
  420. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[内部平均出库时间]"
  421. cachedDataType="numeric"
  422. cachedName="内部平均出库时间"
  423. cachedPrecision="38"
  424. cachedScale="6"
  425. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[内部平均出库时间]"
  426. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[内部平均出库时间]" />
  427. <inputColumn
  428. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[操作-起飞平均时长]"
  429. cachedDataType="numeric"
  430. cachedName="操作-起飞平均时长"
  431. cachedPrecision="38"
  432. cachedScale="6"
  433. externalMetadataColumnId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[操作-起飞平均时长]"
  434. lineageId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[操作-起飞平均时长]" />
  435. </inputColumns>
  436. <externalMetadataColumns
  437. isUsed="True">
  438. <externalMetadataColumn
  439. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  440. dataType="wstr"
  441. length="10"
  442. name="称重时间" />
  443. <externalMetadataColumn
  444. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  445. dataType="wstr"
  446. length="64"
  447. name="所属客户" />
  448. <externalMetadataColumn
  449. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  450. dataType="wstr"
  451. length="50"
  452. name="渠道名称" />
  453. <externalMetadataColumn
  454. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  455. dataType="wstr"
  456. length="64"
  457. name="实际派送渠道" />
  458. <externalMetadataColumn
  459. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[客户平均出库时间]"
  460. dataType="numeric"
  461. name="客户平均出库时间"
  462. precision="38"
  463. scale="6" />
  464. <externalMetadataColumn
  465. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[内部平均出库时间]"
  466. dataType="numeric"
  467. name="内部平均出库时间"
  468. precision="38"
  469. scale="6" />
  470. <externalMetadataColumn
  471. refId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[操作-起飞平均时长]"
  472. dataType="numeric"
  473. name="操作-起飞平均时长"
  474. precision="38"
  475. scale="6" />
  476. </externalMetadataColumns>
  477. </input>
  478. </inputs>
  479. <outputs>
  480. <output
  481. refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
  482. exclusionGroup="1"
  483. isErrorOut="true"
  484. name="OLE DB 目标错误输出"
  485. synchronousInputId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]">
  486. <outputColumns>
  487. <outputColumn
  488. refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  489. dataType="i4"
  490. lineageId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  491. name="ErrorCode"
  492. specialFlags="1" />
  493. <outputColumn
  494. refId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  495. dataType="i4"
  496. lineageId="Package\内部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  497. name="ErrorColumn"
  498. specialFlags="2" />
  499. </outputColumns>
  500. <externalMetadataColumns />
  501. </output>
  502. </outputs>
  503. </component>
  504. </components>
  505. <paths>
  506. <path
  507. refId="Package\内部出库时效.Paths[OLE DB 源输出]"
  508. endId="Package\内部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
  509. name="OLE DB 源输出"
  510. startId="Package\内部出库时效\OLE DB 源.Outputs[OLE DB 源输出]" />
  511. </paths>
  512. </pipeline>
  513. </DTS:ObjectData>
  514. </DTS:Executable>
  515. <DTS:Executable
  516. DTS:refId="Package\外部出库时效"
  517. DTS:CreationName="Microsoft.Pipeline"
  518. DTS:Description="数据流任务"
  519. DTS:DTSID="{40c92748-bf76-44b8-a5c7-0ce227640ac1}"
  520. DTS:ExecutableType="Microsoft.Pipeline"
  521. DTS:LocaleID="-1"
  522. DTS:ObjectName="外部出库时效"
  523. 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">
  524. <DTS:Variables />
  525. <DTS:ObjectData>
  526. <pipeline
  527. version="1">
  528. <components>
  529. <component
  530. refId="Package\外部出库时效\OLE DB 源"
  531. componentClassID="Microsoft.OLEDBSource"
  532. contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
  533. description="OLE DB 源"
  534. name="OLE DB 源"
  535. usesDispositions="true"
  536. version="7">
  537. <properties>
  538. <property
  539. dataType="System.Int32"
  540. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  541. name="CommandTimeout">0</property>
  542. <property
  543. dataType="System.String"
  544. description="指定用于打开行集的数据库对象的名称。"
  545. name="OpenRowset"></property>
  546. <property
  547. dataType="System.String"
  548. description="指定包含用于打开行集的数据库对象名的变量。"
  549. name="OpenRowsetVariable"></property>
  550. <property
  551. dataType="System.String"
  552. description="要执行的 SQL 命令。"
  553. name="SqlCommand"
  554. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select
  555. convert(nvarchar(10), e.SignTime ,120)[签收时间],
  556. 所属客户,渠道名称,实际派送渠道,
  557. AVG(DATEDIFF(hour,d.ArrivalTime,e.onlinetime)/24.0) as [落地-上网时间],
  558. AVG(DATEDIFF(hour,e.OnlineTime,e.SignTime)/24.0) as [上网-签收时长]
  559. from BaseOrderInfo(nolock)a
  560. left join Logistics_BoxDetail(nolock)b on a.OrderId=b.OrderId
  561. left join logistics_box(nolock)c on c.Id=b.BoxId and c.IsDelete=0
  562. left join Logistics_LadingBill(nolock)d on d.LadingBillNumber=c.LadingBillNumber and d.IsDeleted = 0
  563. left join Logistics_Trace(nolock)e on e.OrderId=a.OrderId
  564. where e.SignTime&gt;'2022-05-01'
  565. group by
  566. convert(nvarchar(10), e.SignTime ,120),
  567. 所属客户,渠道名称,实际派送渠道</property>
  568. <property
  569. dataType="System.String"
  570. description="包含要执行的 SQL 命令的变量。"
  571. name="SqlCommandVariable"></property>
  572. <property
  573. dataType="System.Int32"
  574. description="指定当数据源中没有代码页信息时使用的列代码页。"
  575. name="DefaultCodePage">936</property>
  576. <property
  577. dataType="System.Boolean"
  578. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  579. name="AlwaysUseDefaultCodePage">false</property>
  580. <property
  581. dataType="System.Int32"
  582. description="指定用于访问数据库的模式。"
  583. name="AccessMode"
  584. typeConverter="AccessMode">2</property>
  585. <property
  586. dataType="System.String"
  587. description="SQL 命令中的参数与变量之间的映射。"
  588. name="ParameterMapping"></property>
  589. </properties>
  590. <connections>
  591. <connection
  592. refId="Package\外部出库时效\OLE DB 源.Connections[OleDbConnection]"
  593. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  594. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  595. description="指定用于访问数据库的 OLE DB 运行时连接。"
  596. name="OleDbConnection" />
  597. </connections>
  598. <outputs>
  599. <output
  600. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出]"
  601. name="OLE DB 源输出">
  602. <outputColumns>
  603. <outputColumn
  604. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  605. dataType="wstr"
  606. errorOrTruncationOperation="转换"
  607. errorRowDisposition="FailComponent"
  608. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  609. length="64"
  610. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  611. name="所属客户"
  612. truncationRowDisposition="FailComponent" />
  613. <outputColumn
  614. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  615. dataType="wstr"
  616. errorOrTruncationOperation="转换"
  617. errorRowDisposition="FailComponent"
  618. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  619. length="50"
  620. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  621. name="渠道名称"
  622. truncationRowDisposition="FailComponent" />
  623. <outputColumn
  624. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  625. dataType="wstr"
  626. errorOrTruncationOperation="转换"
  627. errorRowDisposition="FailComponent"
  628. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  629. length="64"
  630. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  631. name="实际派送渠道"
  632. truncationRowDisposition="FailComponent" />
  633. <outputColumn
  634. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]"
  635. dataType="wstr"
  636. errorOrTruncationOperation="转换"
  637. errorRowDisposition="FailComponent"
  638. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[签收时间]"
  639. length="10"
  640. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]"
  641. name="签收时间"
  642. truncationRowDisposition="FailComponent" />
  643. <outputColumn
  644. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]"
  645. dataType="numeric"
  646. errorOrTruncationOperation="转换"
  647. errorRowDisposition="FailComponent"
  648. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[落地-上网时间]"
  649. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]"
  650. name="落地-上网时间"
  651. precision="38"
  652. scale="6"
  653. truncationRowDisposition="FailComponent" />
  654. <outputColumn
  655. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]"
  656. dataType="numeric"
  657. errorOrTruncationOperation="转换"
  658. errorRowDisposition="FailComponent"
  659. externalMetadataColumnId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[上网-签收时长]"
  660. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]"
  661. name="上网-签收时长"
  662. precision="38"
  663. scale="6"
  664. truncationRowDisposition="FailComponent" />
  665. </outputColumns>
  666. <externalMetadataColumns
  667. isUsed="True">
  668. <externalMetadataColumn
  669. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  670. dataType="wstr"
  671. length="64"
  672. name="所属客户" />
  673. <externalMetadataColumn
  674. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  675. dataType="wstr"
  676. length="50"
  677. name="渠道名称" />
  678. <externalMetadataColumn
  679. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  680. dataType="wstr"
  681. length="64"
  682. name="实际派送渠道" />
  683. <externalMetadataColumn
  684. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[签收时间]"
  685. dataType="wstr"
  686. length="10"
  687. name="签收时间" />
  688. <externalMetadataColumn
  689. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[落地-上网时间]"
  690. dataType="numeric"
  691. name="落地-上网时间"
  692. precision="38"
  693. scale="6" />
  694. <externalMetadataColumn
  695. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[上网-签收时长]"
  696. dataType="numeric"
  697. name="上网-签收时长"
  698. precision="38"
  699. scale="6" />
  700. </externalMetadataColumns>
  701. </output>
  702. <output
  703. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出]"
  704. isErrorOut="true"
  705. name="OLE DB 源错误输出">
  706. <outputColumns>
  707. <outputColumn
  708. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[签收时间]"
  709. dataType="wstr"
  710. length="10"
  711. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[签收时间]"
  712. name="签收时间" />
  713. <outputColumn
  714. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  715. dataType="wstr"
  716. length="64"
  717. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  718. name="所属客户" />
  719. <outputColumn
  720. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  721. dataType="wstr"
  722. length="50"
  723. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  724. name="渠道名称" />
  725. <outputColumn
  726. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  727. dataType="wstr"
  728. length="64"
  729. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  730. name="实际派送渠道" />
  731. <outputColumn
  732. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[落地-上网时间]"
  733. dataType="numeric"
  734. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[落地-上网时间]"
  735. name="落地-上网时间"
  736. precision="38"
  737. scale="6" />
  738. <outputColumn
  739. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[上网-签收时长]"
  740. dataType="numeric"
  741. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[上网-签收时长]"
  742. name="上网-签收时长"
  743. precision="38"
  744. scale="6" />
  745. <outputColumn
  746. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  747. dataType="i4"
  748. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  749. name="ErrorCode"
  750. specialFlags="1" />
  751. <outputColumn
  752. refId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  753. dataType="i4"
  754. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  755. name="ErrorColumn"
  756. specialFlags="2" />
  757. </outputColumns>
  758. <externalMetadataColumns />
  759. </output>
  760. </outputs>
  761. </component>
  762. <component
  763. refId="Package\外部出库时效\OLE DB 目标"
  764. componentClassID="Microsoft.OLEDBDestination"
  765. contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
  766. description="OLE DB 目标"
  767. name="OLE DB 目标"
  768. usesDispositions="true"
  769. version="4">
  770. <properties>
  771. <property
  772. dataType="System.Int32"
  773. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  774. name="CommandTimeout">0</property>
  775. <property
  776. dataType="System.String"
  777. description="指定用于打开行集的数据库对象的名称。"
  778. name="OpenRowset">[BASEETL_External_Operation_Timeliness]</property>
  779. <property
  780. dataType="System.String"
  781. description="指定包含用于打开行集的数据库对象名的变量。"
  782. name="OpenRowsetVariable"></property>
  783. <property
  784. dataType="System.String"
  785. description="要执行的 SQL 命令。"
  786. name="SqlCommand"
  787. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
  788. <property
  789. dataType="System.Int32"
  790. description="指定当数据源中没有代码页信息时使用的列代码页。"
  791. name="DefaultCodePage">936</property>
  792. <property
  793. dataType="System.Boolean"
  794. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  795. name="AlwaysUseDefaultCodePage">false</property>
  796. <property
  797. dataType="System.Int32"
  798. description="指定用于访问数据库的模式。"
  799. name="AccessMode"
  800. typeConverter="AccessMode">3</property>
  801. <property
  802. dataType="System.Boolean"
  803. description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
  804. name="FastLoadKeepIdentity">false</property>
  805. <property
  806. dataType="System.Boolean"
  807. description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
  808. name="FastLoadKeepNulls">false</property>
  809. <property
  810. dataType="System.String"
  811. description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
  812. name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
  813. <property
  814. dataType="System.Int32"
  815. description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
  816. name="FastLoadMaxInsertCommitSize">2147483647</property>
  817. </properties>
  818. <connections>
  819. <connection
  820. refId="Package\外部出库时效\OLE DB 目标.Connections[OleDbConnection]"
  821. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  822. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  823. description="指定用于访问数据库的 OLE DB 运行时连接。"
  824. name="OleDbConnection" />
  825. </connections>
  826. <inputs>
  827. <input
  828. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
  829. errorOrTruncationOperation="插入"
  830. errorRowDisposition="FailComponent"
  831. hasSideEffects="true"
  832. name="OLE DB 目标输入">
  833. <inputColumns>
  834. <inputColumn
  835. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
  836. cachedDataType="wstr"
  837. cachedLength="64"
  838. cachedName="所属客户"
  839. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  840. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
  841. <inputColumn
  842. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
  843. cachedDataType="wstr"
  844. cachedLength="50"
  845. cachedName="渠道名称"
  846. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  847. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
  848. <inputColumn
  849. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际派送渠道]"
  850. cachedDataType="wstr"
  851. cachedLength="64"
  852. cachedName="实际派送渠道"
  853. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  854. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]" />
  855. <inputColumn
  856. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[签收时间]"
  857. cachedDataType="wstr"
  858. cachedLength="10"
  859. cachedName="签收时间"
  860. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[签收时间]"
  861. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[签收时间]" />
  862. <inputColumn
  863. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[落地-上网时间]"
  864. cachedDataType="numeric"
  865. cachedName="落地-上网时间"
  866. cachedPrecision="38"
  867. cachedScale="6"
  868. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[落地-上网时间]"
  869. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[落地-上网时间]" />
  870. <inputColumn
  871. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[上网-签收时长]"
  872. cachedDataType="numeric"
  873. cachedName="上网-签收时长"
  874. cachedPrecision="38"
  875. cachedScale="6"
  876. externalMetadataColumnId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[上网-签收时长]"
  877. lineageId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出].Columns[上网-签收时长]" />
  878. </inputColumns>
  879. <externalMetadataColumns
  880. isUsed="True">
  881. <externalMetadataColumn
  882. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  883. dataType="wstr"
  884. length="64"
  885. name="所属客户" />
  886. <externalMetadataColumn
  887. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  888. dataType="wstr"
  889. length="50"
  890. name="渠道名称" />
  891. <externalMetadataColumn
  892. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  893. dataType="wstr"
  894. length="64"
  895. name="实际派送渠道" />
  896. <externalMetadataColumn
  897. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[签收时间]"
  898. dataType="wstr"
  899. length="10"
  900. name="签收时间" />
  901. <externalMetadataColumn
  902. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[落地-上网时间]"
  903. dataType="numeric"
  904. name="落地-上网时间"
  905. precision="38"
  906. scale="6" />
  907. <externalMetadataColumn
  908. refId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[上网-签收时长]"
  909. dataType="numeric"
  910. name="上网-签收时长"
  911. precision="38"
  912. scale="6" />
  913. </externalMetadataColumns>
  914. </input>
  915. </inputs>
  916. <outputs>
  917. <output
  918. refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
  919. exclusionGroup="1"
  920. isErrorOut="true"
  921. name="OLE DB 目标错误输出"
  922. synchronousInputId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]">
  923. <outputColumns>
  924. <outputColumn
  925. refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  926. dataType="i4"
  927. lineageId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  928. name="ErrorCode"
  929. specialFlags="1" />
  930. <outputColumn
  931. refId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  932. dataType="i4"
  933. lineageId="Package\外部出库时效\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  934. name="ErrorColumn"
  935. specialFlags="2" />
  936. </outputColumns>
  937. <externalMetadataColumns />
  938. </output>
  939. </outputs>
  940. </component>
  941. </components>
  942. <paths>
  943. <path
  944. refId="Package\外部出库时效.Paths[OLE DB 源输出]"
  945. endId="Package\外部出库时效\OLE DB 目标.Inputs[OLE DB 目标输入]"
  946. name="OLE DB 源输出"
  947. startId="Package\外部出库时效\OLE DB 源.Outputs[OLE DB 源输出]" />
  948. </paths>
  949. </pipeline>
  950. </DTS:ObjectData>
  951. </DTS:Executable>
  952. <DTS:Executable
  953. DTS:refId="Package\执行 SQL 任务"
  954. DTS:CreationName="Microsoft.ExecuteSQLTask"
  955. DTS:Description="执行 SQL 任务"
  956. DTS:DTSID="{29502879-FEB8-4351-ACE7-D68C51CB8A5E}"
  957. DTS:ExecutableType="Microsoft.ExecuteSQLTask"
  958. DTS:LocaleID="-1"
  959. DTS:ObjectName="执行 SQL 任务"
  960. DTS:ThreadHint="0">
  961. <DTS:Variables />
  962. <DTS:ObjectData>
  963. <SQLTask:SqlTaskData
  964. SQLTask:Connection="{63EE832F-E514-4E7B-B217-EBB321554F89}"
  965. SQLTask:SqlStatementSource="truncate table BASEETL_External_Operation_Timeliness&#xA;truncate table BASEETL_Internal_Operation_Timeliness" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
  966. </DTS:ObjectData>
  967. </DTS:Executable>
  968. </DTS:Executables>
  969. <DTS:PrecedenceConstraints>
  970. <DTS:PrecedenceConstraint
  971. DTS:refId="Package.PrecedenceConstraints[Constraint]"
  972. DTS:CreationName=""
  973. DTS:DTSID="{4B30AFF8-1A97-487E-8A25-3C81FF1A059B}"
  974. DTS:From="Package\内部出库时效"
  975. DTS:LogicalAnd="True"
  976. DTS:ObjectName="Constraint"
  977. DTS:To="Package\外部出库时效" />
  978. <DTS:PrecedenceConstraint
  979. DTS:refId="Package.PrecedenceConstraints[Constraint 1]"
  980. DTS:CreationName=""
  981. DTS:DTSID="{7FAF21F2-4B8B-4A82-9EC7-B2CD696C5066}"
  982. DTS:From="Package\执行 SQL 任务"
  983. DTS:LogicalAnd="True"
  984. DTS:ObjectName="Constraint 1"
  985. DTS:To="Package\内部出库时效" />
  986. </DTS:PrecedenceConstraints>
  987. <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
  988. <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
  989. <!--If you manually edit this section and make a mistake, you can delete it. -->
  990. <!--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.-->
  991. <Objects
  992. Version="8">
  993. <!--Each node below will contain properties that do not affect runtime behavior.-->
  994. <Package
  995. design-time-name="Package">
  996. <LayoutInfo>
  997. <GraphLayout
  998. 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">
  999. <NodeLayout
  1000. Size="151,42"
  1001. Id="Package\内部出库时效"
  1002. TopLeft="219.166657957766,114.214279879113" />
  1003. <NodeLayout
  1004. Size="151,42"
  1005. Id="Package\外部出库时效"
  1006. TopLeft="269.166655970945,217.285703184654" />
  1007. <EdgeLayout
  1008. Id="Package.PrecedenceConstraints[Constraint]"
  1009. TopLeft="294.666657957766,156.214279879113">
  1010. <EdgeLayout.Curve>
  1011. <mssgle:Curve
  1012. StartConnector="{assembly:Null}"
  1013. EndConnector="49.9999980131786,61.0714233055409"
  1014. Start="0,0"
  1015. End="49.9999980131786,53.5714233055409">
  1016. <mssgle:Curve.Segments>
  1017. <mssgle:SegmentCollection
  1018. Capacity="5">
  1019. <mssgle:LineSegment
  1020. End="0,26.5357116527705" />
  1021. <mssgle:CubicBezierSegment
  1022. Point1="0,26.5357116527705"
  1023. Point2="0,30.5357116527705"
  1024. Point3="4,30.5357116527705" />
  1025. <mssgle:LineSegment
  1026. End="45.9999980131786,30.5357116527705" />
  1027. <mssgle:CubicBezierSegment
  1028. Point1="45.9999980131786,30.5357116527705"
  1029. Point2="49.9999980131786,30.5357116527705"
  1030. Point3="49.9999980131786,34.5357116527705" />
  1031. <mssgle:LineSegment
  1032. End="49.9999980131786,53.5714233055409" />
  1033. </mssgle:SegmentCollection>
  1034. </mssgle:Curve.Segments>
  1035. </mssgle:Curve>
  1036. </EdgeLayout.Curve>
  1037. <EdgeLayout.Labels>
  1038. <EdgeLabelCollection />
  1039. </EdgeLayout.Labels>
  1040. </EdgeLayout>
  1041. <NodeLayout
  1042. Size="157,42"
  1043. Id="Package\执行 SQL 任务"
  1044. TopLeft="198.333325452275,33.428569720716" />
  1045. <EdgeLayout
  1046. Id="Package.PrecedenceConstraints[Constraint 1]"
  1047. TopLeft="276.833325452275,75.428569720716">
  1048. <EdgeLayout.Curve>
  1049. <mssgle:Curve
  1050. StartConnector="{assembly:Null}"
  1051. EndConnector="17.8333325054911,38.785710158397"
  1052. Start="0,0"
  1053. End="17.8333325054911,31.285710158397">
  1054. <mssgle:Curve.Segments>
  1055. <mssgle:SegmentCollection
  1056. Capacity="5">
  1057. <mssgle:LineSegment
  1058. End="0,15.3928550791985" />
  1059. <mssgle:CubicBezierSegment
  1060. Point1="0,15.3928550791985"
  1061. Point2="0,19.3928550791985"
  1062. Point3="4,19.3928550791985" />
  1063. <mssgle:LineSegment
  1064. End="13.8333325054911,19.3928550791985" />
  1065. <mssgle:CubicBezierSegment
  1066. Point1="13.8333325054911,19.3928550791985"
  1067. Point2="17.8333325054911,19.3928550791985"
  1068. Point3="17.8333325054911,23.3928550791985" />
  1069. <mssgle:LineSegment
  1070. End="17.8333325054911,31.285710158397" />
  1071. </mssgle:SegmentCollection>
  1072. </mssgle:Curve.Segments>
  1073. </mssgle:Curve>
  1074. </EdgeLayout.Curve>
  1075. <EdgeLayout.Labels>
  1076. <EdgeLabelCollection />
  1077. </EdgeLayout.Labels>
  1078. </EdgeLayout>
  1079. </GraphLayout>
  1080. </LayoutInfo>
  1081. </Package>
  1082. <TaskHost
  1083. design-time-name="Package\内部出库时效">
  1084. <LayoutInfo>
  1085. <GraphLayout
  1086. 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">
  1087. <NodeLayout
  1088. Size="133,42"
  1089. Id="Package\内部出库时效\OLE DB 源"
  1090. TopLeft="301.666654679511,168.071419984711" />
  1091. <NodeLayout
  1092. Size="145,42"
  1093. Id="Package\内部出库时效\OLE DB 目标"
  1094. TopLeft="353.333319293129,347.285696542994" />
  1095. <EdgeLayout
  1096. Id="Package\内部出库时效.Paths[OLE DB 源输出]"
  1097. TopLeft="368.166654679511,210.071419984711">
  1098. <EdgeLayout.Curve>
  1099. <mssgle:Curve
  1100. StartConnector="{assembly:Null}"
  1101. EndConnector="57.6666646136179,137.214276558283"
  1102. Start="0,0"
  1103. End="57.6666646136179,129.714276558283">
  1104. <mssgle:Curve.Segments>
  1105. <mssgle:SegmentCollection
  1106. Capacity="5">
  1107. <mssgle:LineSegment
  1108. End="0,64.6071382791414" />
  1109. <mssgle:CubicBezierSegment
  1110. Point1="0,64.6071382791414"
  1111. Point2="0,68.6071382791414"
  1112. Point3="4,68.6071382791414" />
  1113. <mssgle:LineSegment
  1114. End="53.6666646136179,68.6071382791414" />
  1115. <mssgle:CubicBezierSegment
  1116. Point1="53.6666646136179,68.6071382791414"
  1117. Point2="57.6666646136179,68.6071382791414"
  1118. Point3="57.6666646136179,72.6071382791414" />
  1119. <mssgle:LineSegment
  1120. End="57.6666646136179,129.714276558283" />
  1121. </mssgle:SegmentCollection>
  1122. </mssgle:Curve.Segments>
  1123. </mssgle:Curve>
  1124. </EdgeLayout.Curve>
  1125. <EdgeLayout.Labels>
  1126. <EdgeLabelCollection />
  1127. </EdgeLayout.Labels>
  1128. </EdgeLayout>
  1129. </GraphLayout>
  1130. </LayoutInfo>
  1131. </TaskHost>
  1132. <PipelineComponentMetadata
  1133. design-time-name="Package\内部出库时效\OLE DB 源">
  1134. <Properties>
  1135. <Property>
  1136. <Name>DataSourceViewID</Name>
  1137. </Property>
  1138. </Properties>
  1139. </PipelineComponentMetadata>
  1140. <PipelineComponentMetadata
  1141. design-time-name="Package\内部出库时效\OLE DB 目标">
  1142. <Properties>
  1143. <Property>
  1144. <Name>DataSourceViewID</Name>
  1145. </Property>
  1146. <Property>
  1147. <Name>TableInfoObjectType</Name>
  1148. <Value
  1149. type="q2:string">Table</Value>
  1150. </Property>
  1151. </Properties>
  1152. </PipelineComponentMetadata>
  1153. <TaskHost
  1154. design-time-name="Package\外部出库时效">
  1155. <LayoutInfo>
  1156. <GraphLayout
  1157. 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">
  1158. <NodeLayout
  1159. Size="133,42"
  1160. Id="Package\外部出库时效\OLE DB 源"
  1161. TopLeft="301.666654679511,168.071419984711" />
  1162. <NodeLayout
  1163. Size="145,42"
  1164. Id="Package\外部出库时效\OLE DB 目标"
  1165. TopLeft="353.333319293129,347.285696542994" />
  1166. <EdgeLayout
  1167. Id="Package\外部出库时效.Paths[OLE DB 源输出]"
  1168. TopLeft="368.166654679511,210.071419984711">
  1169. <EdgeLayout.Curve>
  1170. <mssgle:Curve
  1171. StartConnector="{assembly:Null}"
  1172. EndConnector="57.6666646136179,137.214276558283"
  1173. Start="0,0"
  1174. End="57.6666646136179,129.714276558283">
  1175. <mssgle:Curve.Segments>
  1176. <mssgle:SegmentCollection
  1177. Capacity="5">
  1178. <mssgle:LineSegment
  1179. End="0,64.6071382791414" />
  1180. <mssgle:CubicBezierSegment
  1181. Point1="0,64.6071382791414"
  1182. Point2="0,68.6071382791414"
  1183. Point3="4,68.6071382791414" />
  1184. <mssgle:LineSegment
  1185. End="53.6666646136179,68.6071382791414" />
  1186. <mssgle:CubicBezierSegment
  1187. Point1="53.6666646136179,68.6071382791414"
  1188. Point2="57.6666646136179,68.6071382791414"
  1189. Point3="57.6666646136179,72.6071382791414" />
  1190. <mssgle:LineSegment
  1191. End="57.6666646136179,129.714276558283" />
  1192. </mssgle:SegmentCollection>
  1193. </mssgle:Curve.Segments>
  1194. </mssgle:Curve>
  1195. </EdgeLayout.Curve>
  1196. <EdgeLayout.Labels>
  1197. <EdgeLabelCollection />
  1198. </EdgeLayout.Labels>
  1199. </EdgeLayout>
  1200. </GraphLayout>
  1201. </LayoutInfo>
  1202. </TaskHost>
  1203. <PipelineComponentMetadata
  1204. design-time-name="Package\外部出库时效\OLE DB 源">
  1205. <Properties>
  1206. <Property>
  1207. <Name>DataSourceViewID</Name>
  1208. </Property>
  1209. </Properties>
  1210. </PipelineComponentMetadata>
  1211. <PipelineComponentMetadata
  1212. design-time-name="Package\外部出库时效\OLE DB 目标">
  1213. <Properties>
  1214. <Property>
  1215. <Name>DataSourceViewID</Name>
  1216. </Property>
  1217. <Property>
  1218. <Name>TableInfoObjectType</Name>
  1219. <Value
  1220. type="q2:string">Table</Value>
  1221. </Property>
  1222. </Properties>
  1223. </PipelineComponentMetadata>
  1224. </Objects>]]></DTS:DesignTimeProperties>
  1225. </DTS:Executable>