运费.dtsx 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114
  1. <?xml version="1.0"?>
  2. <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
  3. DTS:refId="Package"
  4. DTS:CreationDate="8/1/2022 4:49:35 PM"
  5. DTS:CreationName="Microsoft.Package"
  6. DTS:CreatorComputerName="FAN"
  7. DTS:CreatorName="FAN\dell"
  8. DTS:DTSID="{E4B024DA-E55A-4A4D-91C9-88F9DB627B24}"
  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="57"
  15. DTS:VersionGUID="{93AD1562-59C8-45C6-9657-C55A84C0BA1C}">
  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.xyy]"
  21. DTS:CreationName="OLEDB"
  22. DTS:DTSID="{BE56446B-F3AB-46FB-91B6-52E949E482C1}"
  23. DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy">
  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;Application Name=SSIS-Package1-{BE56446B-F3AB-46FB-91B6-52E949E482C1}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy;Auto Translate=False;">
  29. <DTS:Password
  30. DTS:Name="Password"
  31. Sensitive="1"
  32. Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAo9GuKPMDY0aemO4cp96DtgAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAACWsFAvy7Ru5cBmIP8MdIwbk7kyLj/tRBQQcYO/olFXmQAAAAAOgAAAAAIAACAAAABw5sjuCIuWqSQa3IbC0eMYqzPYQ0jBDgj6PcTcdf3GuzAAAAAxctj7NvRswxI2FqdAVyHKbb7b2z+iI2TBKanSA7vnmYVQUksSxKwJ1Tyj+zy7xzFAAAAA1hFdtbmKkoEco8dvFtCdGdxYpCUxGZuxPAjeceBcc0csbU+5mL9jBhB9e0QI9jJ5ZU58bLFKMnxxRD8s0LDPrw</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.xyy 1]"
  38. DTS:CreationName="OLEDB"
  39. DTS:DTSID="{0E96A154-52C8-4F6E-A664-EF48BAC996B1}"
  40. DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy 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-Package1-{0E96A154-52C8-4F6E-A664-EF48BAC996B1}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy 1;Auto Translate=False;">
  46. <DTS:Password
  47. DTS:Name="Password"
  48. Sensitive="1"
  49. Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAo9GuKPMDY0aemO4cp96DtgAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAACkvLYGDQmgyiVFIhFUT2g4xDIQ/UrMovUI45Lp9hvjFwAAAAAOgAAAAAIAACAAAACW++6Ayl/64i8p+HeIhCSQjSLImVoDwHVliHKCMS7xiTAAAAD4ZvN6df2eujsflm3dNwOqJv8mPcPrgM/kGqfWiIc8ph+6cYhDaToOiwThB4Ggs1dAAAAAMHgyQKRDfqoYSi/KyjWA1G9/qPUOif3N2b1fXV7D77nP3p9QwlsGqzbq2fjv51EDuuYO+5hsBsGypwhSt8gmmg</DTS:Password>
  50. </DTS:ConnectionManager>
  51. </DTS:ObjectData>
  52. </DTS:ConnectionManager>
  53. <DTS:ConnectionManager
  54. DTS:refId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1]"
  55. DTS:CreationName="OLEDB"
  56. DTS:DTSID="{00510E6A-0018-4D17-B690-96797CE3C7E1}"
  57. DTS:ObjectName="rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1">
  58. <DTS:ObjectData>
  59. <DTS:ConnectionManager
  60. DTS:ConnectRetryCount="1"
  61. DTS:ConnectRetryInterval="5"
  62. 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-Package1-{00510E6A-0018-4D17-B690-96797CE3C7E1}rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy1 1;" />
  63. </DTS:ObjectData>
  64. </DTS:ConnectionManager>
  65. </DTS:ConnectionManagers>
  66. <DTS:Variables>
  67. <DTS:Variable
  68. DTS:CreationName=""
  69. DTS:DTSID="{AFB8E866-2C0E-4E81-8A24-72DFF2845C1B}"
  70. DTS:IncludeInDebugDump="6789"
  71. DTS:Namespace="User"
  72. DTS:ObjectName="LASTTIME">
  73. <DTS:VariableValue
  74. DTS:DataType="7">1/1/2022</DTS:VariableValue>
  75. </DTS:Variable>
  76. </DTS:Variables>
  77. <DTS:Executables>
  78. <DTS:Executable
  79. DTS:refId="Package\执行 SQL 任务"
  80. DTS:CreationName="Microsoft.ExecuteSQLTask"
  81. DTS:Description="执行 SQL 任务"
  82. DTS:DTSID="{213F11AA-AD61-4A0C-B4E7-F38684D8BE07}"
  83. DTS:ExecutableType="Microsoft.ExecuteSQLTask"
  84. DTS:LocaleID="-1"
  85. DTS:ObjectName="执行 SQL 任务"
  86. DTS:ThreadHint="0">
  87. <DTS:Variables />
  88. <DTS:ObjectData>
  89. <SQLTask:SqlTaskData
  90. SQLTask:Connection="{00510E6A-0018-4D17-B690-96797CE3C7E1}"
  91. SQLTask:SqlStatementSource="Truncate table BaseETLGroup" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
  92. </DTS:ObjectData>
  93. </DTS:Executable>
  94. <DTS:Executable
  95. DTS:refId="Package\数据流任务"
  96. DTS:CreationName="Microsoft.Pipeline"
  97. DTS:Description="数据流任务"
  98. DTS:DTSID="{1A2247D2-13C1-4365-84C2-28D5996EC5E2}"
  99. DTS:ExecutableType="Microsoft.Pipeline"
  100. DTS:LocaleID="-1"
  101. DTS:ObjectName="数据流任务">
  102. <DTS:Variables />
  103. <DTS:ObjectData>
  104. <pipeline
  105. version="1">
  106. <components>
  107. <component
  108. refId="Package\数据流任务\OLE DB 源"
  109. componentClassID="Microsoft.OLEDBSource"
  110. contactInfo="OLE DB 源;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;7"
  111. description="OLE DB 源"
  112. name="OLE DB 源"
  113. usesDispositions="true"
  114. version="7">
  115. <properties>
  116. <property
  117. dataType="System.Int32"
  118. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  119. name="CommandTimeout">0</property>
  120. <property
  121. dataType="System.String"
  122. description="指定用于打开行集的数据库对象的名称。"
  123. name="OpenRowset"></property>
  124. <property
  125. dataType="System.String"
  126. description="指定包含用于打开行集的数据库对象名的变量。"
  127. name="OpenRowsetVariable"></property>
  128. <property
  129. dataType="System.String"
  130. description="要执行的 SQL 命令。"
  131. name="SqlCommand"
  132. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SET DATEFIRST 1
  133. select fb.产品类型,fb.渠道名称,fb.实际派送渠道,fb.所属客户,fb.业务员,fb.分公司名称,
  134. CONVERT(nvarchar(10),称重时间, 120) as Weight_Time,
  135. CONVERT(nvarchar(10),称重时间, 120) as 称重时间,
  136. max(convert(varchar(7),称重时间,120) + '第'+ cast((datepart(wk,称重时间) - datepart(wk,convert(varchar(7),称重时间,120) + '-01') + 1) as varchar(2)) + '周')周,
  137. sum(isnull(fb.称重重量,0)/1000.0) as 称重,
  138. count(0) as 票数,
  139. sum(isnull(bc.Profit,0)) as 毛利,
  140. sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))收入,
  141. sum(isnull(bc.ShippingFee,0)+isnull(bc.EUTariff,0)+isnull(bc.AttachFee,0))成本,
  142. case when sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))=0
  143. then 0 else sum(isnull(bc.Profit,0))/ sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))end 毛利占比
  144. ,sum(isnull(smpAmount.fee,0))实际成本
  145. ,case when sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))=0 or sum(isnull(smpAmount.fee,0))=0 then 0
  146. else sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))-sum(isnull(smpAmount.fee,0)) end 实际毛利
  147. ,case when sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))=0 or sum(isnull(smpAmount.fee,0))=0 then 0 else (sum(isnull(mc.ShippingFee,0)+isnull(mc.EUTariff,0)+isnull(mc.AttachFee,0))-sum(isnull(smpAmount.fee,0)))/sum(isnull(smpAmount.fee,0)) end 实际毛利占比
  148. from BaseOrderInfo fb
  149. join Finance_Order_Charges(nolock) bc on fb.BranchCompanyId=bc.CustomerId and fb.系统单号=bc.SystemNo and bc.IncomeOrESxpense='支出' and bc.ChargeTarget=2 and bc.Offset=0
  150. join Finance_Order_Charges(nolock) mc on fb.CustomerId=mc.CustomerId and fb.系统单号=mc.SystemNo and mc.IncomeOrESxpense='支出' and mc.ChargeTarget=1 and mc.Offset=0
  151. left join (
  152. select Number,sum(isnull(SettlementAmount,0)) as fee from xyy_smp.dbo.Compute_ExpenseAmount(nolock) ea
  153. left join xyy_smp.dbo.Compute_ExpenseAmountBatchOperation (nolock) op on ea.BatchNo=op.BatchNo
  154. where ea.BatchNo = op.BatchNo and ea.CostType=1
  155. group by Number
  156. )smpAmount on smpAmount.Number=fb.系统单号
  157. where fb.称重时间&gt;'2022-01-01' and PublicChannelId not in(8,9,15,16,21,32,35,40,42,43,54,55,56,63,64,65) and fb.CustomerId not in(227,294)
  158. group by fb.产品类型,fb.渠道名称,fb.实际派送渠道,fb.所属客户,fb.业务员,fb.分公司名称,CONVERT(nvarchar(10),称重时间, 120)
  159. order by fb.产品类型,fb.渠道名称,fb.实际派送渠道,fb.所属客户,fb.业务员,fb.分公司名称,CONVERT(nvarchar(10),称重时间, 120)</property>
  160. <property
  161. dataType="System.String"
  162. description="包含要执行的 SQL 命令的变量。"
  163. name="SqlCommandVariable"></property>
  164. <property
  165. dataType="System.Int32"
  166. description="指定当数据源中没有代码页信息时使用的列代码页。"
  167. name="DefaultCodePage">936</property>
  168. <property
  169. dataType="System.Boolean"
  170. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  171. name="AlwaysUseDefaultCodePage">false</property>
  172. <property
  173. dataType="System.Int32"
  174. description="指定用于访问数据库的模式。"
  175. name="AccessMode"
  176. typeConverter="AccessMode">2</property>
  177. <property
  178. dataType="System.String"
  179. description="SQL 命令中的参数与变量之间的映射。"
  180. name="ParameterMapping">"LASTTIME:Input",{AFB8E866-2C0E-4E81-8A24-72DFF2845C1B};</property>
  181. </properties>
  182. <connections>
  183. <connection
  184. refId="Package\数据流任务\OLE DB 源.Connections[OleDbConnection]"
  185. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy 1]"
  186. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy 1]"
  187. description="指定用于访问数据库的 OLE DB 运行时连接。"
  188. name="OleDbConnection" />
  189. </connections>
  190. <outputs>
  191. <output
  192. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]"
  193. name="OLE DB 源输出">
  194. <outputColumns>
  195. <outputColumn
  196. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  197. dataType="wstr"
  198. errorOrTruncationOperation="转换"
  199. errorRowDisposition="FailComponent"
  200. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  201. length="50"
  202. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]"
  203. name="渠道名称"
  204. truncationRowDisposition="FailComponent" />
  205. <outputColumn
  206. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  207. dataType="wstr"
  208. errorOrTruncationOperation="转换"
  209. errorRowDisposition="FailComponent"
  210. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  211. length="64"
  212. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]"
  213. name="实际派送渠道"
  214. truncationRowDisposition="FailComponent" />
  215. <outputColumn
  216. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  217. dataType="wstr"
  218. errorOrTruncationOperation="转换"
  219. errorRowDisposition="FailComponent"
  220. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  221. length="64"
  222. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]"
  223. name="所属客户"
  224. truncationRowDisposition="FailComponent" />
  225. <outputColumn
  226. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]"
  227. dataType="wstr"
  228. errorOrTruncationOperation="转换"
  229. errorRowDisposition="FailComponent"
  230. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[业务员]"
  231. length="32"
  232. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]"
  233. name="业务员"
  234. truncationRowDisposition="FailComponent" />
  235. <outputColumn
  236. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[分公司名称]"
  237. codePage="936"
  238. dataType="str"
  239. errorOrTruncationOperation="转换"
  240. errorRowDisposition="FailComponent"
  241. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[分公司名称]"
  242. length="10"
  243. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[分公司名称]"
  244. name="分公司名称"
  245. truncationRowDisposition="FailComponent" />
  246. <outputColumn
  247. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  248. dataType="wstr"
  249. errorOrTruncationOperation="转换"
  250. errorRowDisposition="FailComponent"
  251. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  252. length="10"
  253. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]"
  254. name="称重时间"
  255. truncationRowDisposition="FailComponent" />
  256. <outputColumn
  257. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利]"
  258. dataType="numeric"
  259. errorOrTruncationOperation="转换"
  260. errorRowDisposition="FailComponent"
  261. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[毛利]"
  262. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利]"
  263. name="毛利"
  264. precision="38"
  265. scale="4"
  266. truncationRowDisposition="FailComponent" />
  267. <outputColumn
  268. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[收入]"
  269. dataType="numeric"
  270. errorOrTruncationOperation="转换"
  271. errorRowDisposition="FailComponent"
  272. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[收入]"
  273. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[收入]"
  274. name="收入"
  275. precision="38"
  276. scale="4"
  277. truncationRowDisposition="FailComponent" />
  278. <outputColumn
  279. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[成本]"
  280. dataType="numeric"
  281. errorOrTruncationOperation="转换"
  282. errorRowDisposition="FailComponent"
  283. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[成本]"
  284. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[成本]"
  285. name="成本"
  286. precision="38"
  287. scale="4"
  288. truncationRowDisposition="FailComponent" />
  289. <outputColumn
  290. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利占比]"
  291. dataType="numeric"
  292. errorOrTruncationOperation="转换"
  293. errorRowDisposition="FailComponent"
  294. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[毛利占比]"
  295. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利占比]"
  296. name="毛利占比"
  297. precision="38"
  298. scale="6"
  299. truncationRowDisposition="FailComponent" />
  300. <outputColumn
  301. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重]"
  302. dataType="numeric"
  303. errorOrTruncationOperation="转换"
  304. errorRowDisposition="FailComponent"
  305. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重]"
  306. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重]"
  307. name="称重"
  308. precision="38"
  309. scale="6"
  310. truncationRowDisposition="FailComponent" />
  311. <outputColumn
  312. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[票数]"
  313. dataType="i4"
  314. errorOrTruncationOperation="转换"
  315. errorRowDisposition="FailComponent"
  316. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[票数]"
  317. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[票数]"
  318. name="票数"
  319. truncationRowDisposition="FailComponent" />
  320. <outputColumn
  321. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[Weight_Time]"
  322. dataType="wstr"
  323. errorOrTruncationOperation="转换"
  324. errorRowDisposition="FailComponent"
  325. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[Weight_Time]"
  326. length="10"
  327. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[Weight_Time]"
  328. name="Weight_Time"
  329. truncationRowDisposition="FailComponent" />
  330. <outputColumn
  331. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[产品类型]"
  332. codePage="936"
  333. dataType="str"
  334. errorOrTruncationOperation="转换"
  335. errorRowDisposition="FailComponent"
  336. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[产品类型]"
  337. length="4"
  338. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[产品类型]"
  339. name="产品类型"
  340. truncationRowDisposition="FailComponent" />
  341. <outputColumn
  342. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[周]"
  343. codePage="936"
  344. dataType="str"
  345. errorOrTruncationOperation="转换"
  346. errorRowDisposition="FailComponent"
  347. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[周]"
  348. length="13"
  349. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[周]"
  350. name="周"
  351. truncationRowDisposition="FailComponent" />
  352. <outputColumn
  353. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际成本]"
  354. dataType="numeric"
  355. errorOrTruncationOperation="转换"
  356. errorRowDisposition="FailComponent"
  357. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际成本]"
  358. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际成本]"
  359. name="实际成本"
  360. precision="38"
  361. scale="4"
  362. truncationRowDisposition="FailComponent" />
  363. <outputColumn
  364. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利]"
  365. dataType="numeric"
  366. errorOrTruncationOperation="转换"
  367. errorRowDisposition="FailComponent"
  368. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际毛利]"
  369. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利]"
  370. name="实际毛利"
  371. precision="38"
  372. scale="4"
  373. truncationRowDisposition="FailComponent" />
  374. <outputColumn
  375. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利占比]"
  376. dataType="numeric"
  377. errorOrTruncationOperation="转换"
  378. errorRowDisposition="FailComponent"
  379. externalMetadataColumnId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际毛利占比]"
  380. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利占比]"
  381. name="实际毛利占比"
  382. precision="38"
  383. scale="6"
  384. truncationRowDisposition="FailComponent" />
  385. </outputColumns>
  386. <externalMetadataColumns
  387. isUsed="True">
  388. <externalMetadataColumn
  389. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[渠道名称]"
  390. dataType="wstr"
  391. length="50"
  392. name="渠道名称" />
  393. <externalMetadataColumn
  394. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际派送渠道]"
  395. dataType="wstr"
  396. length="64"
  397. name="实际派送渠道" />
  398. <externalMetadataColumn
  399. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[所属客户]"
  400. dataType="wstr"
  401. length="64"
  402. name="所属客户" />
  403. <externalMetadataColumn
  404. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[业务员]"
  405. dataType="wstr"
  406. length="32"
  407. name="业务员" />
  408. <externalMetadataColumn
  409. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[分公司名称]"
  410. codePage="936"
  411. dataType="str"
  412. length="10"
  413. name="分公司名称" />
  414. <externalMetadataColumn
  415. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重时间]"
  416. dataType="wstr"
  417. length="10"
  418. name="称重时间" />
  419. <externalMetadataColumn
  420. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[毛利]"
  421. dataType="numeric"
  422. name="毛利"
  423. precision="38"
  424. scale="4" />
  425. <externalMetadataColumn
  426. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[收入]"
  427. dataType="numeric"
  428. name="收入"
  429. precision="38"
  430. scale="4" />
  431. <externalMetadataColumn
  432. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[成本]"
  433. dataType="numeric"
  434. name="成本"
  435. precision="38"
  436. scale="4" />
  437. <externalMetadataColumn
  438. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[毛利占比]"
  439. dataType="numeric"
  440. name="毛利占比"
  441. precision="38"
  442. scale="6" />
  443. <externalMetadataColumn
  444. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[称重]"
  445. dataType="numeric"
  446. name="称重"
  447. precision="38"
  448. scale="6" />
  449. <externalMetadataColumn
  450. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[票数]"
  451. dataType="i4"
  452. name="票数" />
  453. <externalMetadataColumn
  454. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[Weight_Time]"
  455. dataType="wstr"
  456. length="10"
  457. name="Weight_Time" />
  458. <externalMetadataColumn
  459. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[产品类型]"
  460. codePage="936"
  461. dataType="str"
  462. length="4"
  463. name="产品类型" />
  464. <externalMetadataColumn
  465. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[周]"
  466. codePage="936"
  467. dataType="str"
  468. length="13"
  469. name="周" />
  470. <externalMetadataColumn
  471. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际成本]"
  472. dataType="numeric"
  473. name="实际成本"
  474. precision="38"
  475. scale="4" />
  476. <externalMetadataColumn
  477. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际毛利]"
  478. dataType="numeric"
  479. name="实际毛利"
  480. precision="38"
  481. scale="4" />
  482. <externalMetadataColumn
  483. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].ExternalColumns[实际毛利占比]"
  484. dataType="numeric"
  485. name="实际毛利占比"
  486. precision="38"
  487. scale="6" />
  488. </externalMetadataColumns>
  489. </output>
  490. <output
  491. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出]"
  492. isErrorOut="true"
  493. name="OLE DB 源错误输出">
  494. <outputColumns>
  495. <outputColumn
  496. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  497. dataType="wstr"
  498. length="50"
  499. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[渠道名称]"
  500. name="渠道名称" />
  501. <outputColumn
  502. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  503. dataType="wstr"
  504. length="64"
  505. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际派送渠道]"
  506. name="实际派送渠道" />
  507. <outputColumn
  508. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  509. dataType="i4"
  510. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorCode]"
  511. name="ErrorCode"
  512. specialFlags="1" />
  513. <outputColumn
  514. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  515. dataType="i4"
  516. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[ErrorColumn]"
  517. name="ErrorColumn"
  518. specialFlags="2" />
  519. <outputColumn
  520. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[产品类型]"
  521. codePage="936"
  522. dataType="str"
  523. length="4"
  524. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[产品类型]"
  525. name="产品类型" />
  526. <outputColumn
  527. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  528. dataType="wstr"
  529. length="64"
  530. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[所属客户]"
  531. name="所属客户" />
  532. <outputColumn
  533. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[业务员]"
  534. dataType="wstr"
  535. length="32"
  536. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[业务员]"
  537. name="业务员" />
  538. <outputColumn
  539. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[分公司名称]"
  540. codePage="936"
  541. dataType="str"
  542. length="10"
  543. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[分公司名称]"
  544. name="分公司名称" />
  545. <outputColumn
  546. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[周]"
  547. codePage="936"
  548. dataType="str"
  549. length="13"
  550. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[周]"
  551. name="周" />
  552. <outputColumn
  553. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[Weight_Time]"
  554. dataType="wstr"
  555. length="10"
  556. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[Weight_Time]"
  557. name="Weight_Time" />
  558. <outputColumn
  559. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  560. dataType="wstr"
  561. length="10"
  562. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重时间]"
  563. name="称重时间" />
  564. <outputColumn
  565. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重]"
  566. dataType="numeric"
  567. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[称重]"
  568. name="称重"
  569. precision="38"
  570. scale="6" />
  571. <outputColumn
  572. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[票数]"
  573. dataType="i4"
  574. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[票数]"
  575. name="票数" />
  576. <outputColumn
  577. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[毛利]"
  578. dataType="numeric"
  579. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[毛利]"
  580. name="毛利"
  581. precision="38"
  582. scale="4" />
  583. <outputColumn
  584. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[收入]"
  585. dataType="numeric"
  586. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[收入]"
  587. name="收入"
  588. precision="38"
  589. scale="4" />
  590. <outputColumn
  591. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际成本]"
  592. dataType="numeric"
  593. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际成本]"
  594. name="实际成本"
  595. precision="38"
  596. scale="4" />
  597. <outputColumn
  598. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际毛利]"
  599. dataType="numeric"
  600. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际毛利]"
  601. name="实际毛利"
  602. precision="38"
  603. scale="4" />
  604. <outputColumn
  605. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际毛利占比]"
  606. dataType="numeric"
  607. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[实际毛利占比]"
  608. name="实际毛利占比"
  609. precision="38"
  610. scale="6" />
  611. <outputColumn
  612. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[成本]"
  613. dataType="numeric"
  614. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[成本]"
  615. name="成本"
  616. precision="38"
  617. scale="4" />
  618. <outputColumn
  619. refId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[毛利占比]"
  620. dataType="numeric"
  621. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源错误输出].Columns[毛利占比]"
  622. name="毛利占比"
  623. precision="38"
  624. scale="6" />
  625. </outputColumns>
  626. <externalMetadataColumns />
  627. </output>
  628. </outputs>
  629. </component>
  630. <component
  631. refId="Package\数据流任务\OLE DB 目标"
  632. componentClassID="Microsoft.OLEDBDestination"
  633. contactInfo="OLE DB 目标;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; 保留所有权利; http://www.microsoft.com/sql/support;4"
  634. description="OLE DB 目标"
  635. name="OLE DB 目标"
  636. usesDispositions="true"
  637. version="4">
  638. <properties>
  639. <property
  640. dataType="System.Int32"
  641. description="命令超时前等待的时间(秒)。值为 0,表示无限期等待。"
  642. name="CommandTimeout">0</property>
  643. <property
  644. dataType="System.String"
  645. description="指定用于打开行集的数据库对象的名称。"
  646. name="OpenRowset">[dbo].[BaseETLGroup]</property>
  647. <property
  648. dataType="System.String"
  649. description="指定包含用于打开行集的数据库对象名的变量。"
  650. name="OpenRowsetVariable"></property>
  651. <property
  652. dataType="System.String"
  653. description="要执行的 SQL 命令。"
  654. name="SqlCommand"
  655. UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
  656. <property
  657. dataType="System.Int32"
  658. description="指定当数据源中没有代码页信息时使用的列代码页。"
  659. name="DefaultCodePage">936</property>
  660. <property
  661. dataType="System.Boolean"
  662. description="描述字符数据时,强制使用 DefaultCodePage 属性值。"
  663. name="AlwaysUseDefaultCodePage">false</property>
  664. <property
  665. dataType="System.Int32"
  666. description="指定用于访问数据库的模式。"
  667. name="AccessMode"
  668. typeConverter="AccessMode">3</property>
  669. <property
  670. dataType="System.Boolean"
  671. description="指示是否将为标识列提供的值复制到目标。如果设置为 False,则将在目标中为标识列自动生成值。仅当启用了快速加载时适用。"
  672. name="FastLoadKeepIdentity">false</property>
  673. <property
  674. dataType="System.Boolean"
  675. description="指示对于包含 Null 值的列是否将 Null 值插入目标中。如果为 False,则对于包含 Null 值的列会将其默认值插入目标中。仅当启用了快速加载时适用。"
  676. name="FastLoadKeepNulls">false</property>
  677. <property
  678. dataType="System.String"
  679. description="指定将用于快速加载的选项。仅当启用了快速加载时适用。"
  680. name="FastLoadOptions">TABLOCK,CHECK_CONSTRAINTS</property>
  681. <property
  682. dataType="System.Int32"
  683. description="指定在插入数据期间何时发出提交命令。如果值为 0,则指定在数据插入结束时发出一个提交命令。仅当启用了快速加载时适用。"
  684. name="FastLoadMaxInsertCommitSize">2147483647</property>
  685. </properties>
  686. <connections>
  687. <connection
  688. refId="Package\数据流任务\OLE DB 目标.Connections[OleDbConnection]"
  689. connectionManagerID="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
  690. connectionManagerRefId="Package.ConnectionManagers[rm-wz96o72qd45w3d6mvyo.sqlserver.rds.aliyuncs.com,3433.xyy_wms.xyy]"
  691. description="指定用于访问数据库的 OLE DB 运行时连接。"
  692. name="OleDbConnection" />
  693. </connections>
  694. <inputs>
  695. <input
  696. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  697. errorOrTruncationOperation="插入"
  698. errorRowDisposition="FailComponent"
  699. hasSideEffects="true"
  700. name="OLE DB 目标输入">
  701. <inputColumns>
  702. <inputColumn
  703. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[渠道名称]"
  704. cachedDataType="wstr"
  705. cachedLength="50"
  706. cachedName="渠道名称"
  707. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  708. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[渠道名称]" />
  709. <inputColumn
  710. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际派送渠道]"
  711. cachedDataType="wstr"
  712. cachedLength="64"
  713. cachedName="实际派送渠道"
  714. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  715. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际派送渠道]" />
  716. <inputColumn
  717. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[所属客户]"
  718. cachedDataType="wstr"
  719. cachedLength="64"
  720. cachedName="所属客户"
  721. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  722. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[所属客户]" />
  723. <inputColumn
  724. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[业务员]"
  725. cachedDataType="wstr"
  726. cachedLength="32"
  727. cachedName="业务员"
  728. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[业务员]"
  729. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[业务员]" />
  730. <inputColumn
  731. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[分公司名称]"
  732. cachedCodepage="936"
  733. cachedDataType="str"
  734. cachedLength="10"
  735. cachedName="分公司名称"
  736. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[分公司名称]"
  737. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[分公司名称]" />
  738. <inputColumn
  739. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[称重时间]"
  740. cachedDataType="wstr"
  741. cachedLength="10"
  742. cachedName="称重时间"
  743. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  744. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重时间]" />
  745. <inputColumn
  746. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[毛利]"
  747. cachedDataType="numeric"
  748. cachedName="毛利"
  749. cachedPrecision="38"
  750. cachedScale="4"
  751. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[毛利]"
  752. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利]" />
  753. <inputColumn
  754. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[收入]"
  755. cachedDataType="numeric"
  756. cachedName="收入"
  757. cachedPrecision="38"
  758. cachedScale="4"
  759. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[收入]"
  760. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[收入]" />
  761. <inputColumn
  762. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[成本]"
  763. cachedDataType="numeric"
  764. cachedName="成本"
  765. cachedPrecision="38"
  766. cachedScale="4"
  767. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[成本]"
  768. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[成本]" />
  769. <inputColumn
  770. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[毛利占比]"
  771. cachedDataType="numeric"
  772. cachedName="毛利占比"
  773. cachedPrecision="38"
  774. cachedScale="6"
  775. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[毛利占比]"
  776. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[毛利占比]" />
  777. <inputColumn
  778. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[称重]"
  779. cachedDataType="numeric"
  780. cachedName="称重"
  781. cachedPrecision="38"
  782. cachedScale="6"
  783. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重]"
  784. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[称重]" />
  785. <inputColumn
  786. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[票数]"
  787. cachedDataType="i4"
  788. cachedName="票数"
  789. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[票数]"
  790. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[票数]" />
  791. <inputColumn
  792. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[Weight_Time]"
  793. cachedDataType="wstr"
  794. cachedLength="10"
  795. cachedName="Weight_Time"
  796. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[Weight_Time]"
  797. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[Weight_Time]" />
  798. <inputColumn
  799. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[产品类型]"
  800. cachedCodepage="936"
  801. cachedDataType="str"
  802. cachedLength="4"
  803. cachedName="产品类型"
  804. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[产品类型]"
  805. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[产品类型]" />
  806. <inputColumn
  807. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[周]"
  808. cachedCodepage="936"
  809. cachedDataType="str"
  810. cachedLength="13"
  811. cachedName="周"
  812. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[周]"
  813. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[周]" />
  814. <inputColumn
  815. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际毛利]"
  816. cachedDataType="numeric"
  817. cachedName="实际毛利"
  818. cachedPrecision="38"
  819. cachedScale="4"
  820. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际毛利]"
  821. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利]" />
  822. <inputColumn
  823. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际成本]"
  824. cachedDataType="numeric"
  825. cachedName="实际成本"
  826. cachedPrecision="38"
  827. cachedScale="4"
  828. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际成本]"
  829. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际成本]" />
  830. <inputColumn
  831. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].Columns[实际毛利占比]"
  832. cachedDataType="numeric"
  833. cachedName="实际毛利占比"
  834. cachedPrecision="38"
  835. cachedScale="6"
  836. externalMetadataColumnId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际毛利占比]"
  837. lineageId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出].Columns[实际毛利占比]" />
  838. </inputColumns>
  839. <externalMetadataColumns
  840. isUsed="True">
  841. <externalMetadataColumn
  842. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[渠道名称]"
  843. dataType="wstr"
  844. length="50"
  845. name="渠道名称" />
  846. <externalMetadataColumn
  847. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际派送渠道]"
  848. dataType="wstr"
  849. length="64"
  850. name="实际派送渠道" />
  851. <externalMetadataColumn
  852. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[所属客户]"
  853. dataType="wstr"
  854. length="64"
  855. name="所属客户" />
  856. <externalMetadataColumn
  857. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[业务员]"
  858. dataType="wstr"
  859. length="32"
  860. name="业务员" />
  861. <externalMetadataColumn
  862. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[分公司名称]"
  863. codePage="936"
  864. dataType="str"
  865. length="10"
  866. name="分公司名称" />
  867. <externalMetadataColumn
  868. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重时间]"
  869. dataType="wstr"
  870. length="10"
  871. name="称重时间" />
  872. <externalMetadataColumn
  873. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[毛利]"
  874. dataType="numeric"
  875. name="毛利"
  876. precision="38"
  877. scale="4" />
  878. <externalMetadataColumn
  879. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[收入]"
  880. dataType="numeric"
  881. name="收入"
  882. precision="38"
  883. scale="4" />
  884. <externalMetadataColumn
  885. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[成本]"
  886. dataType="numeric"
  887. name="成本"
  888. precision="38"
  889. scale="4" />
  890. <externalMetadataColumn
  891. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[毛利占比]"
  892. dataType="numeric"
  893. name="毛利占比"
  894. precision="38"
  895. scale="6" />
  896. <externalMetadataColumn
  897. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[称重]"
  898. dataType="numeric"
  899. name="称重"
  900. precision="38"
  901. scale="6" />
  902. <externalMetadataColumn
  903. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[票数]"
  904. dataType="i4"
  905. name="票数" />
  906. <externalMetadataColumn
  907. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[Weight_Time]"
  908. dataType="wstr"
  909. length="10"
  910. name="Weight_Time" />
  911. <externalMetadataColumn
  912. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[产品类型]"
  913. codePage="936"
  914. dataType="str"
  915. length="4"
  916. name="产品类型" />
  917. <externalMetadataColumn
  918. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[周]"
  919. codePage="936"
  920. dataType="str"
  921. length="13"
  922. name="周" />
  923. <externalMetadataColumn
  924. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际毛利]"
  925. dataType="numeric"
  926. name="实际毛利"
  927. precision="38"
  928. scale="4" />
  929. <externalMetadataColumn
  930. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际成本]"
  931. dataType="numeric"
  932. name="实际成本"
  933. precision="38"
  934. scale="4" />
  935. <externalMetadataColumn
  936. refId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入].ExternalColumns[实际毛利占比]"
  937. dataType="numeric"
  938. name="实际毛利占比"
  939. precision="38"
  940. scale="6" />
  941. </externalMetadataColumns>
  942. </input>
  943. </inputs>
  944. <outputs>
  945. <output
  946. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出]"
  947. exclusionGroup="1"
  948. isErrorOut="true"
  949. name="OLE DB 目标错误输出"
  950. synchronousInputId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]">
  951. <outputColumns>
  952. <outputColumn
  953. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  954. dataType="i4"
  955. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorCode]"
  956. name="ErrorCode"
  957. specialFlags="1" />
  958. <outputColumn
  959. refId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  960. dataType="i4"
  961. lineageId="Package\数据流任务\OLE DB 目标.Outputs[OLE DB 目标错误输出].Columns[ErrorColumn]"
  962. name="ErrorColumn"
  963. specialFlags="2" />
  964. </outputColumns>
  965. <externalMetadataColumns />
  966. </output>
  967. </outputs>
  968. </component>
  969. </components>
  970. <paths>
  971. <path
  972. refId="Package\数据流任务.Paths[OLE DB 源输出]"
  973. endId="Package\数据流任务\OLE DB 目标.Inputs[OLE DB 目标输入]"
  974. name="OLE DB 源输出"
  975. startId="Package\数据流任务\OLE DB 源.Outputs[OLE DB 源输出]" />
  976. </paths>
  977. </pipeline>
  978. </DTS:ObjectData>
  979. </DTS:Executable>
  980. </DTS:Executables>
  981. <DTS:PrecedenceConstraints>
  982. <DTS:PrecedenceConstraint
  983. DTS:refId="Package.PrecedenceConstraints[Constraint]"
  984. DTS:CreationName=""
  985. DTS:DTSID="{9A59FEDD-01CE-4AF3-AD4F-7C9A84E7744A}"
  986. DTS:From="Package\执行 SQL 任务"
  987. DTS:LogicalAnd="True"
  988. DTS:ObjectName="Constraint"
  989. DTS:To="Package\数据流任务" />
  990. </DTS:PrecedenceConstraints>
  991. <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
  992. <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
  993. <!--If you manually edit this section and make a mistake, you can delete it. -->
  994. <!--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.-->
  995. <Objects
  996. Version="8">
  997. <!--Each node below will contain properties that do not affect runtime behavior.-->
  998. <Package
  999. design-time-name="Package">
  1000. <LayoutInfo>
  1001. <GraphLayout
  1002. 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">
  1003. <NodeLayout
  1004. Size="139.2,41.6"
  1005. Id="Package\数据流任务"
  1006. TopLeft="99.6666629248197,223.714274565785" />
  1007. <NodeLayout
  1008. Size="156.8,41.6"
  1009. Id="Package\执行 SQL 任务"
  1010. TopLeft="155.833327141073,98.4285663998859" />
  1011. <EdgeLayout
  1012. Id="Package.PrecedenceConstraints[Constraint]"
  1013. TopLeft="234.333327141073,140.428566399886">
  1014. <EdgeLayout.Curve>
  1015. <mssgle:Curve
  1016. StartConnector="{assembly:Null}"
  1017. EndConnector="-65.1666642162535,83.2857081658991"
  1018. Start="0,0"
  1019. End="-65.1666642162535,75.7857081658991">
  1020. <mssgle:Curve.Segments>
  1021. <mssgle:SegmentCollection
  1022. Capacity="5">
  1023. <mssgle:LineSegment
  1024. End="0,37.6428540829495" />
  1025. <mssgle:CubicBezierSegment
  1026. Point1="0,37.6428540829495"
  1027. Point2="0,41.6428540829495"
  1028. Point3="-4,41.6428540829495" />
  1029. <mssgle:LineSegment
  1030. End="-61.1666642162535,41.6428540829495" />
  1031. <mssgle:CubicBezierSegment
  1032. Point1="-61.1666642162535,41.6428540829495"
  1033. Point2="-65.1666642162535,41.6428540829495"
  1034. Point3="-65.1666642162535,45.6428540829495" />
  1035. <mssgle:LineSegment
  1036. End="-65.1666642162535,75.7857081658991" />
  1037. </mssgle:SegmentCollection>
  1038. </mssgle:Curve.Segments>
  1039. </mssgle:Curve>
  1040. </EdgeLayout.Curve>
  1041. <EdgeLayout.Labels>
  1042. <EdgeLabelCollection />
  1043. </EdgeLayout.Labels>
  1044. </EdgeLayout>
  1045. </GraphLayout>
  1046. </LayoutInfo>
  1047. </Package>
  1048. <TaskHost
  1049. design-time-name="Package\数据流任务">
  1050. <LayoutInfo>
  1051. <GraphLayout
  1052. 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">
  1053. <NodeLayout
  1054. Size="144.8,41.6"
  1055. Id="Package\数据流任务\OLE DB 目标"
  1056. TopLeft="200.208325362247,322.214269252457" />
  1057. <NodeLayout
  1058. Size="132.8,41.6"
  1059. Id="Package\数据流任务\OLE DB 源"
  1060. TopLeft="203.833325452275,227.428560090309" />
  1061. <EdgeLayout
  1062. Id="Package\数据流任务.Paths[OLE DB 源输出]"
  1063. TopLeft="271.420825407261,269.028560090309">
  1064. <EdgeLayout.Curve>
  1065. <mssgle:Curve
  1066. StartConnector="{assembly:Null}"
  1067. EndConnector="0,53.185709162148"
  1068. Start="0,0"
  1069. End="0,45.685709162148">
  1070. <mssgle:Curve.Segments>
  1071. <mssgle:SegmentCollection
  1072. Capacity="5">
  1073. <mssgle:LineSegment
  1074. End="0,45.685709162148" />
  1075. </mssgle:SegmentCollection>
  1076. </mssgle:Curve.Segments>
  1077. </mssgle:Curve>
  1078. </EdgeLayout.Curve>
  1079. <EdgeLayout.Labels>
  1080. <EdgeLabelCollection />
  1081. </EdgeLayout.Labels>
  1082. </EdgeLayout>
  1083. </GraphLayout>
  1084. </LayoutInfo>
  1085. </TaskHost>
  1086. <PipelineComponentMetadata
  1087. design-time-name="Package\数据流任务\OLE DB 源">
  1088. <Properties>
  1089. <Property>
  1090. <Name>DataSourceViewID</Name>
  1091. </Property>
  1092. </Properties>
  1093. </PipelineComponentMetadata>
  1094. <PipelineComponentMetadata
  1095. design-time-name="Package\数据流任务\OLE DB 目标">
  1096. <Properties>
  1097. <Property>
  1098. <Name>DataSourceViewID</Name>
  1099. </Property>
  1100. <Property>
  1101. <Name>TableInfoObjectType</Name>
  1102. <Value
  1103. type="q2:string">Table</Value>
  1104. </Property>
  1105. </Properties>
  1106. </PipelineComponentMetadata>
  1107. </Objects>]]></DTS:DesignTimeProperties>
  1108. </DTS:Executable>