运营费用.dtsx 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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 7:11:36 PM"
  5. DTS:CreationName="Microsoft.Package"
  6. DTS:CreatorComputerName="FAN"
  7. DTS:CreatorName="FAN\dell"
  8. DTS:DTSID="{3A8460ED-138E-4703-80F4-A278B150CC8E}"
  9. DTS:ExecutableType="Microsoft.Package"
  10. DTS:LastModifiedProductVersion="16.0.694.0"
  11. DTS:LocaleID="2052"
  12. DTS:ObjectName="Package3"
  13. DTS:PackageType="5"
  14. DTS:VersionBuild="9"
  15. DTS:VersionGUID="{6FF4DE03-C9AA-4389-BBB6-A15D45F560A4}">
  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="{F0752E65-244D-404A-AE48-393228811B91}"
  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-Package3-{F0752E65-244D-404A-AE48-393228811B91}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+sBAAAAtGIR4s1JgEi7Qe8qlaV7EQAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAACjmcz+2HBmpif3z/J3nMMd4c7cAxic9jqXPMqcyeOawQAAAAAOgAAAAAIAACAAAADjgMoZv/w6lXaOUuOZBCtUL3DICfh1aZ2zqhitINsvSzAAAADaOA0lcZFFJxjIamQxqeSOCKZ9bUfIFaOsHSK/aFWnk1phHv+NaDXVWXElmdWFdapAAAAAM6izqak7hWbE6OTzTfy83Thkad1Fr7nHTFaVV3hrmOyC+XQ6QJicq7O7ixb+0eYARtnRW1g2RGSPBYaV2HI1Ug</DTS:Password>
  33. </DTS:ConnectionManager>
  34. </DTS:ObjectData>
  35. </DTS:ConnectionManager>
  36. <DTS:ConnectionManager
  37. DTS:refId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  38. DTS:CreationName="OLEDB"
  39. DTS:DTSID="{588AEDFF-80E4-4EB9-BBE7-20CC8E9E2E47}"
  40. DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1">
  41. <DTS:ObjectData>
  42. <DTS:ConnectionManager
  43. DTS:ConnectRetryCount="1"
  44. DTS:ConnectRetryInterval="5"
  45. 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-Package3-{588AEDFF-80E4-4EB9-BBE7-20CC8E9E2E47}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1;Auto Translate=False;">
  46. <DTS:Password
  47. DTS:Name="Password"
  48. Sensitive="1"
  49. Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtGIR4s1JgEi7Qe8qlaV7EQAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAABx/LWdQnnht1k8vf9PpbiVo2Kvj5IZgo0b2oq2pBbmwgAAAAAOgAAAAAIAACAAAACWZCGDEF+0mo+K65rCy9rYI2aI86Mr1MlnFFlEz69jAzAAAAB3CY6eGjkTlNIAKdqq0Nv4qoMNp4wnOypVcXp32/rsRYtte0MK698rh8uV7yF38fRAAAAAQ3PvqVS+c5U2RXYt/pqjisL1ZKIbJyX+smU/k+HHy2GbFkB8dGU01Tu4F/hEqN350IUl3n7dYJqZhLAGbjP2XA</DTS:Password>
  50. </DTS:ConnectionManager>
  51. </DTS:ObjectData>
  52. </DTS:ConnectionManager>
  53. </DTS:ConnectionManagers>
  54. <DTS:Variables />
  55. <DTS:Executables>
  56. <DTS:Executable
  57. DTS:refId="Package\执行 SQL 任务"
  58. DTS:CreationName="Microsoft.ExecuteSQLTask"
  59. DTS:Description="执行 SQL 任务"
  60. DTS:DTSID="{2CBECD42-42F2-4C15-92CB-2B060729D847}"
  61. DTS:ExecutableType="Microsoft.ExecuteSQLTask"
  62. DTS:LocaleID="-1"
  63. DTS:ObjectName="执行 SQL 任务"
  64. DTS:ThreadHint="0">
  65. <DTS:Variables />
  66. <DTS:ObjectData>
  67. <SQLTask:SqlTaskData
  68. SQLTask:Connection="{F0752E65-244D-404A-AE48-393228811B91}"
  69. SQLTask:SqlStatementSource="Truncate table BaseETL_OperatingExpenses" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
  70. </DTS:ObjectData>
  71. </DTS:Executable>
  72. <DTS:Executable
  73. DTS:refId="Package\数据流任务"
  74. DTS:CreationName="Microsoft.Pipeline"
  75. DTS:Description="数据流任务"
  76. DTS:DTSID="{863A7862-8D85-43BD-933F-25E918449673}"
  77. DTS:ExecutableType="Microsoft.Pipeline"
  78. DTS:LocaleID="-1"
  79. DTS:ObjectName="数据流任务"
  80. 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">
  81. <DTS:Variables />
  82. <DTS:ObjectData>
  83. <pipeline
  84. version="1">
  85. <components>
  86. <component
  87. refId="Package\数据流任务\OLE DB 源"
  88. componentClassID="Microsoft.OLEDBSource"
  89. contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
  90. description="OLE DB 源"
  91. name="OLE DB 源"
  92. usesDispositions="true"
  93. version="7">
  94. <properties>
  95. <property
  96. dataType="System.Int32"
  97. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  98. name="CommandTimeout">0</property>
  99. <property
  100. dataType="System.String"
  101. description="指定用于打开行集的数据库对象的名称。"
  102. name="OpenRowset"></property>
  103. <property
  104. dataType="System.String"
  105. description="指定包含用于打开行集的数据库对象名的变量。"
  106. name="OpenRowsetVariable"></property>
  107. <property
  108. dataType="System.String"
  109. description="要执行的 SQL 命令。"
  110. name="SqlCommand"
  111. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">with t1 as(
  112. select a.companyDName[所属],a.Categories1_Name[一级类别],a.Categories2_Name[二级类别],a.ReimbursementAmount,
  113. convert(nvarchar(10), b.finish_time,120)[报销通过时间]
  114. from DingTalk_ReimbursementDetail(nolock) a join DingTalk_Reimbursement(nolock)b on a.ReimbursementId = b.Id
  115. union
  116. select companyDName[所属],Categories1_Name[一级类别],Categories2_Name,a.[PaymentAmount],CONVERT(nvarchar(10),b.finish_time,120) from DingTalk_PaymentDetail a
  117. join DingTalk_Payment(nolock)b on a.PaymentId=b.Id
  118. )
  119. select 报销通过时间,[所属],[一级类别],[二级类别]
  120. ,sum(ReimbursementAmount) as 金额 from t1
  121. group by 报销通过时间,[所属],[一级类别],[二级类别],ReimbursementAmount</property>
  122. <property
  123. dataType="System.String"
  124. description="包含要执行的 SQL 命令的变量。"
  125. name="SqlCommandVariable"></property>
  126. <property
  127. dataType="System.Int32"
  128. description="指定当数据源中没有代码页信息时使用的列代码页。"
  129. name="DefaultCodePage">936</property>
  130. <property
  131. dataType="System.Boolean"
  132. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  133. name="AlwaysUseDefaultCodePage">false</property>
  134. <property
  135. dataType="System.Int32"
  136. description="指定用于访问数据库的模式。"
  137. name="AccessMode"
  138. typeConverter="AccessMode">2</property>
  139. <property
  140. dataType="System.String"
  141. description="SQL 命令中的参数与变量之间的映射。"
  142. name="ParameterMapping"></property>
  143. </properties>
  144. <connections>
  145. <connection
  146. refId="Package\数据流任务\OLE DB 源.Connections[OleDbConnection]"
  147. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  148. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  149. description="指定用于访问数据库的 OLE DB 运行时连接。"
  150. name="OleDbConnection" />
  151. </connections>
  152. <outputs>
  153. <output
  154. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]"
  155. name="OLE DB 源输出">
  156. <outputColumns>
  157. <outputColumn
  158. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属]"
  159. dataType="wstr"
  160. errorOrTruncationOperation="转换"
  161. errorRowDisposition="FailComponent"
  162. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属]"
  163. length="500"
  164. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属]"
  165. name="所属"
  166. truncationRowDisposition="FailComponent" />
  167. <outputColumn
  168. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[一级类别]"
  169. dataType="wstr"
  170. errorOrTruncationOperation="转换"
  171. errorRowDisposition="FailComponent"
  172. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[一级类别]"
  173. length="50"
  174. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[一级类别]"
  175. name="一级类别"
  176. truncationRowDisposition="FailComponent" />
  177. <outputColumn
  178. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[二级类别]"
  179. dataType="wstr"
  180. errorOrTruncationOperation="转换"
  181. errorRowDisposition="FailComponent"
  182. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[二级类别]"
  183. length="50"
  184. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[二级类别]"
  185. name="二级类别"
  186. truncationRowDisposition="FailComponent" />
  187. <outputColumn
  188. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[金额]"
  189. dataType="numeric"
  190. errorOrTruncationOperation="转换"
  191. errorRowDisposition="FailComponent"
  192. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[金额]"
  193. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[金额]"
  194. name="金额"
  195. precision="38"
  196. scale="2"
  197. truncationRowDisposition="FailComponent" />
  198. <outputColumn
  199. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[报销通过时间]"
  200. dataType="wstr"
  201. errorOrTruncationOperation="转换"
  202. errorRowDisposition="FailComponent"
  203. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[报销通过时间]"
  204. length="10"
  205. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[报销通过时间]"
  206. name="报销通过时间"
  207. truncationRowDisposition="FailComponent" />
  208. </outputColumns>
  209. <externalMetadataColumns
  210. isUsed="True">
  211. <externalMetadataColumn
  212. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属]"
  213. dataType="wstr"
  214. length="500"
  215. name="所属" />
  216. <externalMetadataColumn
  217. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[一级类别]"
  218. dataType="wstr"
  219. length="50"
  220. name="一级类别" />
  221. <externalMetadataColumn
  222. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[二级类别]"
  223. dataType="wstr"
  224. length="50"
  225. name="二级类别" />
  226. <externalMetadataColumn
  227. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[金额]"
  228. dataType="numeric"
  229. name="金额"
  230. precision="38"
  231. scale="2" />
  232. <externalMetadataColumn
  233. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[报销通过时间]"
  234. dataType="wstr"
  235. length="10"
  236. name="报销通过时间" />
  237. </externalMetadataColumns>
  238. </output>
  239. <output
  240. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出]"
  241. isErrorOut="true"
  242. name="OLE DB 源错误输出">
  243. <outputColumns>
  244. <outputColumn
  245. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属]"
  246. dataType="wstr"
  247. length="500"
  248. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属]"
  249. name="所属" />
  250. <outputColumn
  251. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[一级类别]"
  252. dataType="wstr"
  253. length="50"
  254. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[一级类别]"
  255. name="一级类别" />
  256. <outputColumn
  257. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[二级类别]"
  258. dataType="wstr"
  259. length="50"
  260. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[二级类别]"
  261. name="二级类别" />
  262. <outputColumn
  263. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[金额]"
  264. dataType="numeric"
  265. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[金额]"
  266. name="金额"
  267. precision="38"
  268. scale="2" />
  269. <outputColumn
  270. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[报销通过时间]"
  271. dataType="wstr"
  272. length="10"
  273. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[报销通过时间]"
  274. name="报销通过时间" />
  275. <outputColumn
  276. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  277. dataType="i4"
  278. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  279. name="ErrorCode"
  280. specialFlags="1" />
  281. <outputColumn
  282. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  283. dataType="i4"
  284. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  285. name="ErrorColumn"
  286. specialFlags="2" />
  287. </outputColumns>
  288. <externalMetadataColumns />
  289. </output>
  290. </outputs>
  291. </component>
  292. <component
  293. refId="Package\数据流任务\OLE DB 目标"
  294. componentClassID="Microsoft.OLEDBDestination"
  295. contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
  296. description="OLE DB 目标"
  297. name="OLE DB 目标"
  298. usesDispositions="true"
  299. version="4">
  300. <properties>
  301. <property
  302. dataType="System.Int32"
  303. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  304. name="CommandTimeout">0</property>
  305. <property
  306. dataType="System.String"
  307. description="指定用于打开行集的数据库对象的名称。"
  308. name="OpenRowset">[dbo].[BaseETL_OperatingExpenses]</property>
  309. <property
  310. dataType="System.String"
  311. description="指定包含用于打开行集的数据库对象名的变量。"
  312. name="OpenRowsetVariable"></property>
  313. <property
  314. dataType="System.String"
  315. description="要执行的 SQL 命令。"
  316. name="SqlCommand"
  317. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
  318. <property
  319. dataType="System.Int32"
  320. description="指定当数据源中没有代码页信息时使用的列代码页。"
  321. name="DefaultCodePage">936</property>
  322. <property
  323. dataType="System.Boolean"
  324. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  325. name="AlwaysUseDefaultCodePage">false</property>
  326. <property
  327. dataType="System.Int32"
  328. description="指定用于访问数据库的模式。"
  329. name="AccessMode"
  330. typeConverter="AccessMode">3</property>
  331. <property
  332. dataType="System.Boolean"
  333. description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
  334. name="FastLoadKeepIdentity">false</property>
  335. <property
  336. dataType="System.Boolean"
  337. description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
  338. name="FastLoadKeepNulls">false</property>
  339. <property
  340. dataType="System.String"
  341. description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
  342. name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
  343. <property
  344. dataType="System.Int32"
  345. description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
  346. name="FastLoadMaxInsertCommitSize">2147483647</property>
  347. </properties>
  348. <connections>
  349. <connection
  350. refId="Package\数据流任务\OLE DB 目标.Connections[OleDbConnection]"
  351. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  352. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  353. description="指定用于访问数据库的 OLE DB 运行时连接。"
  354. name="OleDbConnection" />
  355. </connections>
  356. <inputs>
  357. <input
  358. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  359. errorOrTruncationOperation="插入"
  360. errorRowDisposition="FailComponent"
  361. hasSideEffects="true"
  362. name="OLE DB 目标输入">
  363. <inputColumns>
  364. <inputColumn
  365. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属]"
  366. cachedDataType="wstr"
  367. cachedLength="500"
  368. cachedName="所属"
  369. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属]"
  370. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属]" />
  371. <inputColumn
  372. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[一级类别]"
  373. cachedDataType="wstr"
  374. cachedLength="50"
  375. cachedName="一级类别"
  376. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[一级类别]"
  377. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[一级类别]" />
  378. <inputColumn
  379. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[二级类别]"
  380. cachedDataType="wstr"
  381. cachedLength="50"
  382. cachedName="二级类别"
  383. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[二级类别]"
  384. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[二级类别]" />
  385. <inputColumn
  386. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[金额]"
  387. cachedDataType="numeric"
  388. cachedName="金额"
  389. cachedPrecision="38"
  390. cachedScale="2"
  391. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[金额]"
  392. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[金额]" />
  393. <inputColumn
  394. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[报销通过时间]"
  395. cachedDataType="wstr"
  396. cachedLength="10"
  397. cachedName="报销通过时间"
  398. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[报销通过时间]"
  399. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[报销通过时间]" />
  400. </inputColumns>
  401. <externalMetadataColumns
  402. isUsed="True">
  403. <externalMetadataColumn
  404. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属]"
  405. dataType="wstr"
  406. length="500"
  407. name="所属" />
  408. <externalMetadataColumn
  409. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[一级类别]"
  410. dataType="wstr"
  411. length="50"
  412. name="一级类别" />
  413. <externalMetadataColumn
  414. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[二级类别]"
  415. dataType="wstr"
  416. length="50"
  417. name="二级类别" />
  418. <externalMetadataColumn
  419. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[金额]"
  420. dataType="numeric"
  421. name="金额"
  422. precision="38"
  423. scale="2" />
  424. <externalMetadataColumn
  425. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[报销通过时间]"
  426. dataType="wstr"
  427. length="10"
  428. name="报销通过时间" />
  429. </externalMetadataColumns>
  430. </input>
  431. </inputs>
  432. <outputs>
  433. <output
  434. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
  435. exclusionGroup="1"
  436. isErrorOut="true"
  437. name="OLE DB 目标错误输出"
  438. synchronousInputId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]">
  439. <outputColumns>
  440. <outputColumn
  441. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  442. dataType="i4"
  443. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  444. name="ErrorCode"
  445. specialFlags="1" />
  446. <outputColumn
  447. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  448. dataType="i4"
  449. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  450. name="ErrorColumn"
  451. specialFlags="2" />
  452. </outputColumns>
  453. <externalMetadataColumns />
  454. </output>
  455. </outputs>
  456. </component>
  457. </components>
  458. <paths>
  459. <path
  460. refId="Package\数据流任务.Paths[OLE DB 源输出]"
  461. endId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  462. name="OLE DB 源输出"
  463. startId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]" />
  464. </paths>
  465. </pipeline>
  466. </DTS:ObjectData>
  467. </DTS:Executable>
  468. </DTS:Executables>
  469. <DTS:PrecedenceConstraints>
  470. <DTS:PrecedenceConstraint
  471. DTS:refId="Package.PrecedenceConstraints[Constraint]"
  472. DTS:CreationName=""
  473. DTS:DTSID="{E7BA121F-1B9B-4D0A-955E-54DB0841F3F8}"
  474. DTS:From="Package\执行 SQL 任务"
  475. DTS:LogicalAnd="True"
  476. DTS:ObjectName="Constraint"
  477. DTS:To="Package\数据流任务" />
  478. </DTS:PrecedenceConstraints>
  479. <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
  480. <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
  481. <!--If you manually edit this section and make a mistake, you can delete it. -->
  482. <!--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.-->
  483. <Objects
  484. Version="8">
  485. <!--Each node below will contain properties that do not affect runtime behavior.-->
  486. <Package
  487. design-time-name="Package">
  488. <LayoutInfo>
  489. <GraphLayout
  490. 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">
  491. <NodeLayout
  492. Size="139,42"
  493. Id="Package\数据流任务"
  494. TopLeft="230.833324160841,213.57141766013" />
  495. <NodeLayout
  496. Size="157,42"
  497. Id="Package\执行 SQL 任务"
  498. TopLeft="247.499990165234,16.714284860358" />
  499. <EdgeLayout
  500. Id="Package.PrecedenceConstraints[Constraint]"
  501. TopLeft="325.999990165234,58.714284860358">
  502. <EdgeLayout.Curve>
  503. <mssgle:Curve
  504. StartConnector="{assembly:Null}"
  505. EndConnector="-25.6666660043932,154.857132799772"
  506. Start="0,0"
  507. End="-25.6666660043932,147.357132799772">
  508. <mssgle:Curve.Segments>
  509. <mssgle:SegmentCollection
  510. Capacity="5">
  511. <mssgle:LineSegment
  512. End="0,73.428566399886" />
  513. <mssgle:CubicBezierSegment
  514. Point1="0,73.428566399886"
  515. Point2="0,77.428566399886"
  516. Point3="-4,77.428566399886" />
  517. <mssgle:LineSegment
  518. End="-21.6666660043932,77.428566399886" />
  519. <mssgle:CubicBezierSegment
  520. Point1="-21.6666660043932,77.428566399886"
  521. Point2="-25.6666660043932,77.428566399886"
  522. Point3="-25.6666660043932,81.428566399886" />
  523. <mssgle:LineSegment
  524. End="-25.6666660043932,147.357132799772" />
  525. </mssgle:SegmentCollection>
  526. </mssgle:Curve.Segments>
  527. </mssgle:Curve>
  528. </EdgeLayout.Curve>
  529. <EdgeLayout.Labels>
  530. <EdgeLabelCollection />
  531. </EdgeLayout.Labels>
  532. </EdgeLayout>
  533. </GraphLayout>
  534. </LayoutInfo>
  535. </Package>
  536. <TaskHost
  537. design-time-name="Package\数据流任务">
  538. <LayoutInfo>
  539. <GraphLayout
  540. 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">
  541. <NodeLayout
  542. Size="145,42"
  543. Id="Package\数据流任务\OLE DB 目标"
  544. TopLeft="66.6666640175715,129.071421977209" />
  545. <NodeLayout
  546. Size="133,42"
  547. Id="Package\数据流任务\OLE DB 源"
  548. TopLeft="74.1666637195482,32.499998339585" />
  549. <EdgeLayout
  550. Id="Package\数据流任务.Paths[OLE DB 源输出]"
  551. TopLeft="139.91666386856,74.499998339585">
  552. <EdgeLayout.Curve>
  553. <mssgle:Curve
  554. StartConnector="{assembly:Null}"
  555. EndConnector="0,54.571423637624"
  556. Start="0,0"
  557. End="0,47.071423637624">
  558. <mssgle:Curve.Segments>
  559. <mssgle:SegmentCollection
  560. Capacity="5">
  561. <mssgle:LineSegment
  562. End="0,47.071423637624" />
  563. </mssgle:SegmentCollection>
  564. </mssgle:Curve.Segments>
  565. </mssgle:Curve>
  566. </EdgeLayout.Curve>
  567. <EdgeLayout.Labels>
  568. <EdgeLabelCollection />
  569. </EdgeLayout.Labels>
  570. </EdgeLayout>
  571. </GraphLayout>
  572. </LayoutInfo>
  573. </TaskHost>
  574. <PipelineComponentMetadata
  575. design-time-name="Package\数据流任务\OLE DB 源">
  576. <Properties>
  577. <Property>
  578. <Name>DataSourceViewID</Name>
  579. </Property>
  580. </Properties>
  581. </PipelineComponentMetadata>
  582. <PipelineComponentMetadata
  583. design-time-name="Package\数据流任务\OLE DB 目标">
  584. <Properties>
  585. <Property>
  586. <Name>DataSourceViewID</Name>
  587. </Property>
  588. <Property>
  589. <Name>TableInfoObjectType</Name>
  590. <Value
  591. type="q2:string">Table</Value>
  592. </Property>
  593. </Properties>
  594. </PipelineComponentMetadata>
  595. </Objects>]]></DTS:DesignTimeProperties>
  596. </DTS:Executable>