快线完成率.dtsx 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. <?xml version="1.0"?>
  2. <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
  3. DTS:refId="Package"
  4. DTS:CreationDate="8/3/2022 3:25:04 PM"
  5. DTS:CreationName="Microsoft.Package"
  6. DTS:CreatorComputerName="FAN"
  7. DTS:CreatorName="FAN\dell"
  8. DTS:DTSID="{8C7EECC0-85CE-44A6-9958-7A55B43B3825}"
  9. DTS:ExecutableType="Microsoft.Package"
  10. DTS:LastModifiedProductVersion="16.0.694.0"
  11. DTS:LocaleID="2052"
  12. DTS:ObjectName="Package2"
  13. DTS:PackageType="5"
  14. DTS:VersionBuild="9"
  15. DTS:VersionGUID="{C4D282EA-6CD6-474E-948C-DA72A854B914}">
  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="{9B1BBCA2-4301-4298-BD8D-58ECBF3E4855}"
  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;Auto Translate=False;Application Name=SSIS-Package2-{9B1BBCA2-4301-4298-BD8D-58ECBF3E4855}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1;">
  29. <DTS:Password
  30. DTS:Name="Password"
  31. Sensitive="1"
  32. Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAo9GuKPMDY0aemO4cp96DtgAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAAAyFg5oJPZ1ElsANQmDqMNSjVHH4/cCgwmD6DRiMEHikwAAAAAOgAAAAAIAACAAAACG2J5rq29MgOfxkppyBNPq6KBwPiT9nAWzyPzXRUYTqTAAAAB9rCu7jriNcedo/3Zjzb61+AwfZmVp3ok2tIhyPl0unj6zVi9vYhRGWWAbntY6VmNAAAAAtjbtpBPSPELu/enmySzefnUiz6j6t0GEqd+i97Bz/2kj9CxcgMOcbyVSTNGlicNnT+EQHetRqZ7fHxVz2jmFiQ</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\执行 SQL 任务"
  41. DTS:CreationName="Microsoft.ExecuteSQLTask"
  42. DTS:Description="执行 SQL 任务"
  43. DTS:DTSID="{90F57723-60A2-43FF-BAE5-EBB93AE842B7}"
  44. DTS:ExecutableType="Microsoft.ExecuteSQLTask"
  45. DTS:LocaleID="-1"
  46. DTS:ObjectName="执行 SQL 任务"
  47. DTS:ThreadHint="0">
  48. <DTS:Variables />
  49. <DTS:ObjectData>
  50. <SQLTask:SqlTaskData
  51. SQLTask:Connection="{9B1BBCA2-4301-4298-BD8D-58ECBF3E4855}"
  52. SQLTask:SqlStatementSource="truncate table BaseETL_KXZB" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
  53. </DTS:ObjectData>
  54. </DTS:Executable>
  55. <DTS:Executable
  56. DTS:refId="Package\数据流任务"
  57. DTS:CreationName="Microsoft.Pipeline"
  58. DTS:Description="数据流任务"
  59. DTS:DTSID="{83CA71F9-6F2D-42E5-B891-6D16D8FCBFE7}"
  60. DTS:ExecutableType="Microsoft.Pipeline"
  61. DTS:LocaleID="-1"
  62. DTS:ObjectName="数据流任务"
  63. 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">
  64. <DTS:Variables />
  65. <DTS:ObjectData>
  66. <pipeline
  67. version="1">
  68. <components>
  69. <component
  70. refId="Package\数据流任务\OLE DB 源"
  71. componentClassID="Microsoft.OLEDBSource"
  72. contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
  73. description="OLE DB 源"
  74. name="OLE DB 源"
  75. usesDispositions="true"
  76. version="7">
  77. <properties>
  78. <property
  79. dataType="System.Int32"
  80. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  81. name="CommandTimeout">0</property>
  82. <property
  83. dataType="System.String"
  84. description="指定用于打开行集的数据库对象的名称。"
  85. name="OpenRowset"></property>
  86. <property
  87. dataType="System.String"
  88. description="指定包含用于打开行集的数据库对象名的变量。"
  89. name="OpenRowsetVariable"></property>
  90. <property
  91. dataType="System.String"
  92. description="要执行的 SQL 命令。"
  93. name="SqlCommand"
  94. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select a.称重时间,a.渠道名称,a.业务员,a.所属客户,a.分公司名称,sum(b.ShippingFee+b.EUTariff+b.AttachFee )运费
  95. from BaseOrderINfo(nolock)a join Finance_Order_Charges(nolock)b
  96. on a.系统单号 = b.SystemNo and b.Offset =0 and b.ChargeTarget=1
  97. and a.渠道名称 like '%快线' and a.称重时间 between '2022-08-01' and '2022-09-01'
  98. group by a.称重时间,a.渠道名称,a.业务员,a.所属客户,a.分公司名称</property>
  99. <property
  100. dataType="System.String"
  101. description="包含要执行的 SQL 命令的变量。"
  102. name="SqlCommandVariable"></property>
  103. <property
  104. dataType="System.Int32"
  105. description="指定当数据源中没有代码页信息时使用的列代码页。"
  106. name="DefaultCodePage">936</property>
  107. <property
  108. dataType="System.Boolean"
  109. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  110. name="AlwaysUseDefaultCodePage">false</property>
  111. <property
  112. dataType="System.Int32"
  113. description="指定用于访问数据库的模式。"
  114. name="AccessMode"
  115. typeConverter="AccessMode">2</property>
  116. <property
  117. dataType="System.String"
  118. description="SQL 命令中的参数与变量之间的映射。"
  119. name="ParameterMapping"></property>
  120. </properties>
  121. <connections>
  122. <connection
  123. refId="Package\数据流任务\OLE DB 源.Connections[OleDbConnection]"
  124. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  125. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  126. description="指定用于访问数据库的 OLE DB 运行时连接。"
  127. name="OleDbConnection" />
  128. </connections>
  129. <outputs>
  130. <output
  131. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]"
  132. name="OLE DB 源输出">
  133. <outputColumns>
  134. <outputColumn
  135. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  136. dataType="dbTimeStamp"
  137. errorOrTruncationOperation="转换"
  138. errorRowDisposition="FailComponent"
  139. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  140. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  141. name="称重时间"
  142. truncationRowDisposition="FailComponent" />
  143. <outputColumn
  144. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  145. dataType="wstr"
  146. errorOrTruncationOperation="转换"
  147. errorRowDisposition="FailComponent"
  148. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  149. length="50"
  150. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  151. name="渠道名称"
  152. truncationRowDisposition="FailComponent" />
  153. <outputColumn
  154. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]"
  155. dataType="wstr"
  156. errorOrTruncationOperation="转换"
  157. errorRowDisposition="FailComponent"
  158. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[业务员]"
  159. length="32"
  160. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]"
  161. name="业务员"
  162. truncationRowDisposition="FailComponent" />
  163. <outputColumn
  164. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  165. dataType="wstr"
  166. errorOrTruncationOperation="转换"
  167. errorRowDisposition="FailComponent"
  168. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  169. length="64"
  170. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  171. name="所属客户"
  172. truncationRowDisposition="FailComponent" />
  173. <outputColumn
  174. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[分公司名称]"
  175. codePage="936"
  176. dataType="str"
  177. errorOrTruncationOperation="转换"
  178. errorRowDisposition="FailComponent"
  179. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[分公司名称]"
  180. length="10"
  181. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[分公司名称]"
  182. name="分公司名称"
  183. truncationRowDisposition="FailComponent" />
  184. <outputColumn
  185. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[运费]"
  186. dataType="numeric"
  187. errorOrTruncationOperation="转换"
  188. errorRowDisposition="FailComponent"
  189. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[运费]"
  190. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[运费]"
  191. name="运费"
  192. precision="38"
  193. scale="4"
  194. truncationRowDisposition="FailComponent" />
  195. </outputColumns>
  196. <externalMetadataColumns
  197. isUsed="True">
  198. <externalMetadataColumn
  199. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  200. dataType="dbTimeStamp"
  201. name="称重时间" />
  202. <externalMetadataColumn
  203. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  204. dataType="wstr"
  205. length="50"
  206. name="渠道名称" />
  207. <externalMetadataColumn
  208. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[业务员]"
  209. dataType="wstr"
  210. length="32"
  211. name="业务员" />
  212. <externalMetadataColumn
  213. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  214. dataType="wstr"
  215. length="64"
  216. name="所属客户" />
  217. <externalMetadataColumn
  218. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[分公司名称]"
  219. codePage="936"
  220. dataType="str"
  221. length="10"
  222. name="分公司名称" />
  223. <externalMetadataColumn
  224. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[运费]"
  225. dataType="numeric"
  226. name="运费"
  227. precision="38"
  228. scale="4" />
  229. </externalMetadataColumns>
  230. </output>
  231. <output
  232. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出]"
  233. isErrorOut="true"
  234. name="OLE DB 源错误输出">
  235. <outputColumns>
  236. <outputColumn
  237. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  238. dataType="dbTimeStamp"
  239. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  240. name="称重时间" />
  241. <outputColumn
  242. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  243. dataType="wstr"
  244. length="50"
  245. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  246. name="渠道名称" />
  247. <outputColumn
  248. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[业务员]"
  249. dataType="wstr"
  250. length="32"
  251. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[业务员]"
  252. name="业务员" />
  253. <outputColumn
  254. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  255. dataType="wstr"
  256. length="64"
  257. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  258. name="所属客户" />
  259. <outputColumn
  260. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[分公司名称]"
  261. codePage="936"
  262. dataType="str"
  263. length="10"
  264. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[分公司名称]"
  265. name="分公司名称" />
  266. <outputColumn
  267. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[运费]"
  268. dataType="numeric"
  269. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[运费]"
  270. name="运费"
  271. precision="38"
  272. scale="4" />
  273. <outputColumn
  274. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  275. dataType="i4"
  276. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  277. name="ErrorCode"
  278. specialFlags="1" />
  279. <outputColumn
  280. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  281. dataType="i4"
  282. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  283. name="ErrorColumn"
  284. specialFlags="2" />
  285. </outputColumns>
  286. <externalMetadataColumns />
  287. </output>
  288. </outputs>
  289. </component>
  290. <component
  291. refId="Package\数据流任务\OLE DB 目标"
  292. componentClassID="Microsoft.OLEDBDestination"
  293. contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
  294. description="OLE DB 目标"
  295. name="OLE DB 目标"
  296. usesDispositions="true"
  297. version="4">
  298. <properties>
  299. <property
  300. dataType="System.Int32"
  301. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  302. name="CommandTimeout">0</property>
  303. <property
  304. dataType="System.String"
  305. description="指定用于打开行集的数据库对象的名称。"
  306. name="OpenRowset">[BaseETL_KXZB]</property>
  307. <property
  308. dataType="System.String"
  309. description="指定包含用于打开行集的数据库对象名的变量。"
  310. name="OpenRowsetVariable"></property>
  311. <property
  312. dataType="System.String"
  313. description="要执行的 SQL 命令。"
  314. name="SqlCommand"
  315. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
  316. <property
  317. dataType="System.Int32"
  318. description="指定当数据源中没有代码页信息时使用的列代码页。"
  319. name="DefaultCodePage">936</property>
  320. <property
  321. dataType="System.Boolean"
  322. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  323. name="AlwaysUseDefaultCodePage">false</property>
  324. <property
  325. dataType="System.Int32"
  326. description="指定用于访问数据库的模式。"
  327. name="AccessMode"
  328. typeConverter="AccessMode">3</property>
  329. <property
  330. dataType="System.Boolean"
  331. description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
  332. name="FastLoadKeepIdentity">false</property>
  333. <property
  334. dataType="System.Boolean"
  335. description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
  336. name="FastLoadKeepNulls">false</property>
  337. <property
  338. dataType="System.String"
  339. description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
  340. name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
  341. <property
  342. dataType="System.Int32"
  343. description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
  344. name="FastLoadMaxInsertCommitSize">2147483647</property>
  345. </properties>
  346. <connections>
  347. <connection
  348. refId="Package\数据流任务\OLE DB 目标.Connections[OleDbConnection]"
  349. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  350. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1]"
  351. description="指定用于访问数据库的 OLE DB 运行时连接。"
  352. name="OleDbConnection" />
  353. </connections>
  354. <inputs>
  355. <input
  356. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  357. errorOrTruncationOperation="插入"
  358. errorRowDisposition="FailComponent"
  359. hasSideEffects="true"
  360. name="OLE DB 目标输入">
  361. <inputColumns>
  362. <inputColumn
  363. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[称重时间]"
  364. cachedDataType="dbTimeStamp"
  365. cachedName="称重时间"
  366. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  367. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]" />
  368. <inputColumn
  369. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
  370. cachedDataType="wstr"
  371. cachedLength="50"
  372. cachedName="渠道名称"
  373. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  374. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
  375. <inputColumn
  376. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[业务员]"
  377. cachedDataType="wstr"
  378. cachedLength="32"
  379. cachedName="业务员"
  380. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[业务员]"
  381. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]" />
  382. <inputColumn
  383. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
  384. cachedDataType="wstr"
  385. cachedLength="64"
  386. cachedName="所属客户"
  387. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  388. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
  389. <inputColumn
  390. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[分公司名称]"
  391. cachedCodepage="936"
  392. cachedDataType="str"
  393. cachedLength="10"
  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="numeric"
  400. cachedName="运费"
  401. cachedPrecision="38"
  402. cachedScale="4"
  403. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[运费]"
  404. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[运费]" />
  405. </inputColumns>
  406. <externalMetadataColumns
  407. isUsed="True">
  408. <externalMetadataColumn
  409. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  410. dataType="dbTimeStamp"
  411. name="称重时间" />
  412. <externalMetadataColumn
  413. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  414. dataType="wstr"
  415. length="50"
  416. name="渠道名称" />
  417. <externalMetadataColumn
  418. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[业务员]"
  419. dataType="wstr"
  420. length="32"
  421. name="业务员" />
  422. <externalMetadataColumn
  423. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  424. dataType="wstr"
  425. length="64"
  426. name="所属客户" />
  427. <externalMetadataColumn
  428. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[分公司名称]"
  429. codePage="936"
  430. dataType="str"
  431. length="10"
  432. name="分公司名称" />
  433. <externalMetadataColumn
  434. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[运费]"
  435. dataType="numeric"
  436. name="运费"
  437. precision="38"
  438. scale="4" />
  439. <externalMetadataColumn
  440. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[指标]"
  441. dataType="i4"
  442. name="指标" />
  443. </externalMetadataColumns>
  444. </input>
  445. </inputs>
  446. <outputs>
  447. <output
  448. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
  449. exclusionGroup="1"
  450. isErrorOut="true"
  451. name="OLE DB 目标错误输出"
  452. synchronousInputId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]">
  453. <outputColumns>
  454. <outputColumn
  455. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  456. dataType="i4"
  457. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  458. name="ErrorCode"
  459. specialFlags="1" />
  460. <outputColumn
  461. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  462. dataType="i4"
  463. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  464. name="ErrorColumn"
  465. specialFlags="2" />
  466. </outputColumns>
  467. <externalMetadataColumns />
  468. </output>
  469. </outputs>
  470. </component>
  471. </components>
  472. <paths>
  473. <path
  474. refId="Package\数据流任务.Paths[OLE DB 源输出]"
  475. endId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  476. name="OLE DB 源输出"
  477. startId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]" />
  478. </paths>
  479. </pipeline>
  480. </DTS:ObjectData>
  481. </DTS:Executable>
  482. </DTS:Executables>
  483. <DTS:PrecedenceConstraints>
  484. <DTS:PrecedenceConstraint
  485. DTS:refId="Package.PrecedenceConstraints[Constraint]"
  486. DTS:CreationName=""
  487. DTS:DTSID="{7CD79A14-D34F-48C0-93CA-D5E804C7B7D7}"
  488. DTS:From="Package\执行 SQL 任务"
  489. DTS:LogicalAnd="True"
  490. DTS:ObjectName="Constraint"
  491. DTS:To="Package\数据流任务" />
  492. </DTS:PrecedenceConstraints>
  493. <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
  494. <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
  495. <!--If you manually edit this section and make a mistake, you can delete it. -->
  496. <!--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.-->
  497. <Objects
  498. Version="8">
  499. <!--Each node below will contain properties that do not affect runtime behavior.-->
  500. <Package
  501. design-time-name="Package">
  502. <LayoutInfo>
  503. <GraphLayout
  504. 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">
  505. <NodeLayout
  506. Size="139.2,41.6"
  507. Id="Package\数据流任务"
  508. TopLeft="150.833327339755,105.857137448934" />
  509. <NodeLayout
  510. Size="156.8,41.6"
  511. Id="Package\执行 SQL 任务"
  512. TopLeft="137.499994536241,20.428570384882" />
  513. <EdgeLayout
  514. Id="Package.PrecedenceConstraints[Constraint]"
  515. TopLeft="218.166660937998,62.428570384882">
  516. <EdgeLayout.Curve>
  517. <mssgle:Curve
  518. StartConnector="{assembly:Null}"
  519. EndConnector="0,43.428567064052"
  520. Start="0,0"
  521. End="0,35.928567064052">
  522. <mssgle:Curve.Segments>
  523. <mssgle:SegmentCollection
  524. Capacity="5">
  525. <mssgle:LineSegment
  526. End="0,35.928567064052" />
  527. </mssgle:SegmentCollection>
  528. </mssgle:Curve.Segments>
  529. </mssgle:Curve>
  530. </EdgeLayout.Curve>
  531. <EdgeLayout.Labels>
  532. <EdgeLabelCollection />
  533. </EdgeLayout.Labels>
  534. </EdgeLayout>
  535. </GraphLayout>
  536. </LayoutInfo>
  537. </Package>
  538. <TaskHost
  539. design-time-name="Package\数据流任务">
  540. <LayoutInfo>
  541. <GraphLayout
  542. 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">
  543. <NodeLayout
  544. Size="132.8,41.6"
  545. Id="Package\数据流任务\OLE DB 源"
  546. TopLeft="201.666658653154,142.999992694174" />
  547. <NodeLayout
  548. Size="144.8,41.6"
  549. Id="Package\数据流任务\OLE DB 目标"
  550. TopLeft="184.166659348541,245.142844618584" />
  551. <EdgeLayout
  552. Id="Package\数据流任务.Paths[OLE DB 源输出]"
  553. TopLeft="268.166658653154,184.999992694174">
  554. <EdgeLayout.Curve>
  555. <mssgle:Curve
  556. StartConnector="{assembly:Null}"
  557. EndConnector="-11.4999993046123,60.14285192441"
  558. Start="0,0"
  559. End="-11.4999993046123,52.64285192441">
  560. <mssgle:Curve.Segments>
  561. <mssgle:SegmentCollection
  562. Capacity="5">
  563. <mssgle:LineSegment
  564. End="0,26.071425962205" />
  565. <mssgle:CubicBezierSegment
  566. Point1="0,26.071425962205"
  567. Point2="0,30.071425962205"
  568. Point3="-4,30.071425962205" />
  569. <mssgle:LineSegment
  570. End="-7.49999930461235,30.071425962205" />
  571. <mssgle:CubicBezierSegment
  572. Point1="-7.49999930461235,30.071425962205"
  573. Point2="-11.4999993046123,30.071425962205"
  574. Point3="-11.4999993046123,34.071425962205" />
  575. <mssgle:LineSegment
  576. End="-11.4999993046123,52.64285192441" />
  577. </mssgle:SegmentCollection>
  578. </mssgle:Curve.Segments>
  579. </mssgle:Curve>
  580. </EdgeLayout.Curve>
  581. <EdgeLayout.Labels>
  582. <EdgeLabelCollection />
  583. </EdgeLayout.Labels>
  584. </EdgeLayout>
  585. </GraphLayout>
  586. </LayoutInfo>
  587. </TaskHost>
  588. <PipelineComponentMetadata
  589. design-time-name="Package\数据流任务\OLE DB 源">
  590. <Properties>
  591. <Property>
  592. <Name>DataSourceViewID</Name>
  593. </Property>
  594. </Properties>
  595. </PipelineComponentMetadata>
  596. <PipelineComponentMetadata
  597. design-time-name="Package\数据流任务\OLE DB 目标">
  598. <Properties>
  599. <Property>
  600. <Name>DataSourceViewID</Name>
  601. </Property>
  602. <Property>
  603. <Name>TableInfoObjectType</Name>
  604. <Value
  605. type="q2:string">Table</Value>
  606. </Property>
  607. </Properties>
  608. </PipelineComponentMetadata>
  609. </Objects>]]></DTS:DesignTimeProperties>
  610. </DTS:Executable>