委外订单材料子表数据同步.ktr 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>委外订单材料子表数据同步</name>
  5. <description/>
  6. <extended_description/>
  7. <trans_version/>
  8. <trans_type>Normal</trans_type>
  9. <trans_status>0</trans_status>
  10. <directory>/</directory>
  11. <parameters>
  12. <parameter>
  13. <name>id</name>
  14. <default_value/>
  15. <description/>
  16. </parameter>
  17. <parameter>
  18. <name>interface_id</name>
  19. <default_value/>
  20. <description/>
  21. </parameter>
  22. </parameters>
  23. <log>
  24. <trans-log-table>
  25. <connection/>
  26. <schema/>
  27. <table/>
  28. <size_limit_lines/>
  29. <interval/>
  30. <timeout_days/>
  31. <field>
  32. <id>ID_BATCH</id>
  33. <enabled>Y</enabled>
  34. <name>ID_BATCH</name>
  35. </field>
  36. <field>
  37. <id>CHANNEL_ID</id>
  38. <enabled>Y</enabled>
  39. <name>CHANNEL_ID</name>
  40. </field>
  41. <field>
  42. <id>TRANSNAME</id>
  43. <enabled>Y</enabled>
  44. <name>TRANSNAME</name>
  45. </field>
  46. <field>
  47. <id>STATUS</id>
  48. <enabled>Y</enabled>
  49. <name>STATUS</name>
  50. </field>
  51. <field>
  52. <id>LINES_READ</id>
  53. <enabled>Y</enabled>
  54. <name>LINES_READ</name>
  55. <subject/>
  56. </field>
  57. <field>
  58. <id>LINES_WRITTEN</id>
  59. <enabled>Y</enabled>
  60. <name>LINES_WRITTEN</name>
  61. <subject/>
  62. </field>
  63. <field>
  64. <id>LINES_UPDATED</id>
  65. <enabled>Y</enabled>
  66. <name>LINES_UPDATED</name>
  67. <subject/>
  68. </field>
  69. <field>
  70. <id>LINES_INPUT</id>
  71. <enabled>Y</enabled>
  72. <name>LINES_INPUT</name>
  73. <subject/>
  74. </field>
  75. <field>
  76. <id>LINES_OUTPUT</id>
  77. <enabled>Y</enabled>
  78. <name>LINES_OUTPUT</name>
  79. <subject/>
  80. </field>
  81. <field>
  82. <id>LINES_REJECTED</id>
  83. <enabled>Y</enabled>
  84. <name>LINES_REJECTED</name>
  85. <subject/>
  86. </field>
  87. <field>
  88. <id>ERRORS</id>
  89. <enabled>Y</enabled>
  90. <name>ERRORS</name>
  91. </field>
  92. <field>
  93. <id>STARTDATE</id>
  94. <enabled>Y</enabled>
  95. <name>STARTDATE</name>
  96. </field>
  97. <field>
  98. <id>ENDDATE</id>
  99. <enabled>Y</enabled>
  100. <name>ENDDATE</name>
  101. </field>
  102. <field>
  103. <id>LOGDATE</id>
  104. <enabled>Y</enabled>
  105. <name>LOGDATE</name>
  106. </field>
  107. <field>
  108. <id>DEPDATE</id>
  109. <enabled>Y</enabled>
  110. <name>DEPDATE</name>
  111. </field>
  112. <field>
  113. <id>REPLAYDATE</id>
  114. <enabled>Y</enabled>
  115. <name>REPLAYDATE</name>
  116. </field>
  117. <field>
  118. <id>LOG_FIELD</id>
  119. <enabled>Y</enabled>
  120. <name>LOG_FIELD</name>
  121. </field>
  122. <field>
  123. <id>EXECUTING_SERVER</id>
  124. <enabled>N</enabled>
  125. <name>EXECUTING_SERVER</name>
  126. </field>
  127. <field>
  128. <id>EXECUTING_USER</id>
  129. <enabled>N</enabled>
  130. <name>EXECUTING_USER</name>
  131. </field>
  132. <field>
  133. <id>CLIENT</id>
  134. <enabled>N</enabled>
  135. <name>CLIENT</name>
  136. </field>
  137. </trans-log-table>
  138. <perf-log-table>
  139. <connection/>
  140. <schema/>
  141. <table/>
  142. <interval/>
  143. <timeout_days/>
  144. <field>
  145. <id>ID_BATCH</id>
  146. <enabled>Y</enabled>
  147. <name>ID_BATCH</name>
  148. </field>
  149. <field>
  150. <id>SEQ_NR</id>
  151. <enabled>Y</enabled>
  152. <name>SEQ_NR</name>
  153. </field>
  154. <field>
  155. <id>LOGDATE</id>
  156. <enabled>Y</enabled>
  157. <name>LOGDATE</name>
  158. </field>
  159. <field>
  160. <id>TRANSNAME</id>
  161. <enabled>Y</enabled>
  162. <name>TRANSNAME</name>
  163. </field>
  164. <field>
  165. <id>STEPNAME</id>
  166. <enabled>Y</enabled>
  167. <name>STEPNAME</name>
  168. </field>
  169. <field>
  170. <id>STEP_COPY</id>
  171. <enabled>Y</enabled>
  172. <name>STEP_COPY</name>
  173. </field>
  174. <field>
  175. <id>LINES_READ</id>
  176. <enabled>Y</enabled>
  177. <name>LINES_READ</name>
  178. </field>
  179. <field>
  180. <id>LINES_WRITTEN</id>
  181. <enabled>Y</enabled>
  182. <name>LINES_WRITTEN</name>
  183. </field>
  184. <field>
  185. <id>LINES_UPDATED</id>
  186. <enabled>Y</enabled>
  187. <name>LINES_UPDATED</name>
  188. </field>
  189. <field>
  190. <id>LINES_INPUT</id>
  191. <enabled>Y</enabled>
  192. <name>LINES_INPUT</name>
  193. </field>
  194. <field>
  195. <id>LINES_OUTPUT</id>
  196. <enabled>Y</enabled>
  197. <name>LINES_OUTPUT</name>
  198. </field>
  199. <field>
  200. <id>LINES_REJECTED</id>
  201. <enabled>Y</enabled>
  202. <name>LINES_REJECTED</name>
  203. </field>
  204. <field>
  205. <id>ERRORS</id>
  206. <enabled>Y</enabled>
  207. <name>ERRORS</name>
  208. </field>
  209. <field>
  210. <id>INPUT_BUFFER_ROWS</id>
  211. <enabled>Y</enabled>
  212. <name>INPUT_BUFFER_ROWS</name>
  213. </field>
  214. <field>
  215. <id>OUTPUT_BUFFER_ROWS</id>
  216. <enabled>Y</enabled>
  217. <name>OUTPUT_BUFFER_ROWS</name>
  218. </field>
  219. </perf-log-table>
  220. <channel-log-table>
  221. <connection/>
  222. <schema/>
  223. <table/>
  224. <timeout_days/>
  225. <field>
  226. <id>ID_BATCH</id>
  227. <enabled>Y</enabled>
  228. <name>ID_BATCH</name>
  229. </field>
  230. <field>
  231. <id>CHANNEL_ID</id>
  232. <enabled>Y</enabled>
  233. <name>CHANNEL_ID</name>
  234. </field>
  235. <field>
  236. <id>LOG_DATE</id>
  237. <enabled>Y</enabled>
  238. <name>LOG_DATE</name>
  239. </field>
  240. <field>
  241. <id>LOGGING_OBJECT_TYPE</id>
  242. <enabled>Y</enabled>
  243. <name>LOGGING_OBJECT_TYPE</name>
  244. </field>
  245. <field>
  246. <id>OBJECT_NAME</id>
  247. <enabled>Y</enabled>
  248. <name>OBJECT_NAME</name>
  249. </field>
  250. <field>
  251. <id>OBJECT_COPY</id>
  252. <enabled>Y</enabled>
  253. <name>OBJECT_COPY</name>
  254. </field>
  255. <field>
  256. <id>REPOSITORY_DIRECTORY</id>
  257. <enabled>Y</enabled>
  258. <name>REPOSITORY_DIRECTORY</name>
  259. </field>
  260. <field>
  261. <id>FILENAME</id>
  262. <enabled>Y</enabled>
  263. <name>FILENAME</name>
  264. </field>
  265. <field>
  266. <id>OBJECT_ID</id>
  267. <enabled>Y</enabled>
  268. <name>OBJECT_ID</name>
  269. </field>
  270. <field>
  271. <id>OBJECT_REVISION</id>
  272. <enabled>Y</enabled>
  273. <name>OBJECT_REVISION</name>
  274. </field>
  275. <field>
  276. <id>PARENT_CHANNEL_ID</id>
  277. <enabled>Y</enabled>
  278. <name>PARENT_CHANNEL_ID</name>
  279. </field>
  280. <field>
  281. <id>ROOT_CHANNEL_ID</id>
  282. <enabled>Y</enabled>
  283. <name>ROOT_CHANNEL_ID</name>
  284. </field>
  285. </channel-log-table>
  286. <step-log-table>
  287. <connection/>
  288. <schema/>
  289. <table/>
  290. <timeout_days/>
  291. <field>
  292. <id>ID_BATCH</id>
  293. <enabled>Y</enabled>
  294. <name>ID_BATCH</name>
  295. </field>
  296. <field>
  297. <id>CHANNEL_ID</id>
  298. <enabled>Y</enabled>
  299. <name>CHANNEL_ID</name>
  300. </field>
  301. <field>
  302. <id>LOG_DATE</id>
  303. <enabled>Y</enabled>
  304. <name>LOG_DATE</name>
  305. </field>
  306. <field>
  307. <id>TRANSNAME</id>
  308. <enabled>Y</enabled>
  309. <name>TRANSNAME</name>
  310. </field>
  311. <field>
  312. <id>STEPNAME</id>
  313. <enabled>Y</enabled>
  314. <name>STEPNAME</name>
  315. </field>
  316. <field>
  317. <id>STEP_COPY</id>
  318. <enabled>Y</enabled>
  319. <name>STEP_COPY</name>
  320. </field>
  321. <field>
  322. <id>LINES_READ</id>
  323. <enabled>Y</enabled>
  324. <name>LINES_READ</name>
  325. </field>
  326. <field>
  327. <id>LINES_WRITTEN</id>
  328. <enabled>Y</enabled>
  329. <name>LINES_WRITTEN</name>
  330. </field>
  331. <field>
  332. <id>LINES_UPDATED</id>
  333. <enabled>Y</enabled>
  334. <name>LINES_UPDATED</name>
  335. </field>
  336. <field>
  337. <id>LINES_INPUT</id>
  338. <enabled>Y</enabled>
  339. <name>LINES_INPUT</name>
  340. </field>
  341. <field>
  342. <id>LINES_OUTPUT</id>
  343. <enabled>Y</enabled>
  344. <name>LINES_OUTPUT</name>
  345. </field>
  346. <field>
  347. <id>LINES_REJECTED</id>
  348. <enabled>Y</enabled>
  349. <name>LINES_REJECTED</name>
  350. </field>
  351. <field>
  352. <id>ERRORS</id>
  353. <enabled>Y</enabled>
  354. <name>ERRORS</name>
  355. </field>
  356. <field>
  357. <id>LOG_FIELD</id>
  358. <enabled>N</enabled>
  359. <name>LOG_FIELD</name>
  360. </field>
  361. </step-log-table>
  362. <metrics-log-table>
  363. <connection/>
  364. <schema/>
  365. <table/>
  366. <timeout_days/>
  367. <field>
  368. <id>ID_BATCH</id>
  369. <enabled>Y</enabled>
  370. <name>ID_BATCH</name>
  371. </field>
  372. <field>
  373. <id>CHANNEL_ID</id>
  374. <enabled>Y</enabled>
  375. <name>CHANNEL_ID</name>
  376. </field>
  377. <field>
  378. <id>LOG_DATE</id>
  379. <enabled>Y</enabled>
  380. <name>LOG_DATE</name>
  381. </field>
  382. <field>
  383. <id>METRICS_DATE</id>
  384. <enabled>Y</enabled>
  385. <name>METRICS_DATE</name>
  386. </field>
  387. <field>
  388. <id>METRICS_CODE</id>
  389. <enabled>Y</enabled>
  390. <name>METRICS_CODE</name>
  391. </field>
  392. <field>
  393. <id>METRICS_DESCRIPTION</id>
  394. <enabled>Y</enabled>
  395. <name>METRICS_DESCRIPTION</name>
  396. </field>
  397. <field>
  398. <id>METRICS_SUBJECT</id>
  399. <enabled>Y</enabled>
  400. <name>METRICS_SUBJECT</name>
  401. </field>
  402. <field>
  403. <id>METRICS_TYPE</id>
  404. <enabled>Y</enabled>
  405. <name>METRICS_TYPE</name>
  406. </field>
  407. <field>
  408. <id>METRICS_VALUE</id>
  409. <enabled>Y</enabled>
  410. <name>METRICS_VALUE</name>
  411. </field>
  412. </metrics-log-table>
  413. </log>
  414. <maxdate>
  415. <connection/>
  416. <table/>
  417. <field/>
  418. <offset>0.0</offset>
  419. <maxdiff>0.0</maxdiff>
  420. </maxdate>
  421. <size_rowset>10000</size_rowset>
  422. <sleep_time_empty>50</sleep_time_empty>
  423. <sleep_time_full>50</sleep_time_full>
  424. <unique_connections>N</unique_connections>
  425. <feedback_shown>Y</feedback_shown>
  426. <feedback_size>50000</feedback_size>
  427. <using_thread_priorities>Y</using_thread_priorities>
  428. <shared_objects_file/>
  429. <capture_step_performance>N</capture_step_performance>
  430. <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  431. <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  432. <dependencies>
  433. </dependencies>
  434. <partitionschemas>
  435. </partitionschemas>
  436. <slaveservers>
  437. </slaveservers>
  438. <clusterschemas>
  439. </clusterschemas>
  440. <created_user>-</created_user>
  441. <created_date>2024/01/10 11:03:15.382</created_date>
  442. <modified_user>-</modified_user>
  443. <modified_date>2024/01/10 11:03:15.382</modified_date>
  444. <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
  445. <is_key_private>N</is_key_private>
  446. </info>
  447. <notepads>
  448. </notepads>
  449. <connection>
  450. <name>MOM</name>
  451. <server>${mysql_host}</server>
  452. <type>MYSQL</type>
  453. <access>Native</access>
  454. <database>${mysql_dbname}</database>
  455. <port>3306</port>
  456. <username>${mysql_username}</username>
  457. <password>${mysql_password}</password>
  458. <servername/>
  459. <data_tablespace/>
  460. <index_tablespace/>
  461. <attributes>
  462. <attribute>
  463. <code>EXTRA_OPTION_MYSQL.characterEncoding</code>
  464. <attribute>utf-8</attribute>
  465. </attribute>
  466. <attribute>
  467. <code>EXTRA_OPTION_MYSQL.defaultFetchSize</code>
  468. <attribute>5000</attribute>
  469. </attribute>
  470. <attribute>
  471. <code>EXTRA_OPTION_MYSQL.rewriteBatchedStatements</code>
  472. <attribute>true</attribute>
  473. </attribute>
  474. <attribute>
  475. <code>EXTRA_OPTION_MYSQL.useCompression</code>
  476. <attribute>true</attribute>
  477. </attribute>
  478. <attribute>
  479. <code>EXTRA_OPTION_MYSQL.useCursorFetch</code>
  480. <attribute>true</attribute>
  481. </attribute>
  482. <attribute>
  483. <code>EXTRA_OPTION_MYSQL.useServerPrepStmts</code>
  484. <attribute>true</attribute>
  485. </attribute>
  486. <attribute>
  487. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  488. <attribute>N</attribute>
  489. </attribute>
  490. <attribute>
  491. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  492. <attribute>N</attribute>
  493. </attribute>
  494. <attribute>
  495. <code>IS_CLUSTERED</code>
  496. <attribute>N</attribute>
  497. </attribute>
  498. <attribute>
  499. <code>PORT_NUMBER</code>
  500. <attribute>3306</attribute>
  501. </attribute>
  502. <attribute>
  503. <code>PRESERVE_RESERVED_WORD_CASE</code>
  504. <attribute>Y</attribute>
  505. </attribute>
  506. <attribute>
  507. <code>QUOTE_ALL_FIELDS</code>
  508. <attribute>N</attribute>
  509. </attribute>
  510. <attribute>
  511. <code>STREAM_RESULTS</code>
  512. <attribute>N</attribute>
  513. </attribute>
  514. <attribute>
  515. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  516. <attribute>Y</attribute>
  517. </attribute>
  518. <attribute>
  519. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  520. <attribute>Y</attribute>
  521. </attribute>
  522. <attribute>
  523. <code>USE_POOLING</code>
  524. <attribute>N</attribute>
  525. </attribute>
  526. </attributes>
  527. </connection>
  528. <connection>
  529. <name>U8</name>
  530. <server>${U8DB_HOST}</server>
  531. <type>GENERIC</type>
  532. <access>Native</access>
  533. <database>${U8DB_NAME}</database>
  534. <port>1433</port>
  535. <username>${sqlserver_username}</username>
  536. <password>${sqlserver_password}</password>
  537. <servername/>
  538. <data_tablespace/>
  539. <index_tablespace/>
  540. <attributes>
  541. <attribute>
  542. <code>CUSTOM_DRIVER_CLASS</code>
  543. <attribute>${sqlserver_driverclassname}</attribute>
  544. </attribute>
  545. <attribute>
  546. <code>CUSTOM_URL</code>
  547. <attribute>${sqlserver_url}</attribute>
  548. </attribute>
  549. <attribute>
  550. <code>DATABASE_DIALECT_ID</code>
  551. <attribute>Generic database</attribute>
  552. </attribute>
  553. <attribute>
  554. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  555. <attribute>N</attribute>
  556. </attribute>
  557. <attribute>
  558. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  559. <attribute>N</attribute>
  560. </attribute>
  561. <attribute>
  562. <code>IS_CLUSTERED</code>
  563. <attribute>N</attribute>
  564. </attribute>
  565. <attribute>
  566. <code>PORT_NUMBER</code>
  567. <attribute>1433</attribute>
  568. </attribute>
  569. <attribute>
  570. <code>PRESERVE_RESERVED_WORD_CASE</code>
  571. <attribute>Y</attribute>
  572. </attribute>
  573. <attribute>
  574. <code>QUOTE_ALL_FIELDS</code>
  575. <attribute>N</attribute>
  576. </attribute>
  577. <attribute>
  578. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  579. <attribute>Y</attribute>
  580. </attribute>
  581. <attribute>
  582. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  583. <attribute>Y</attribute>
  584. </attribute>
  585. <attribute>
  586. <code>USE_POOLING</code>
  587. <attribute>N</attribute>
  588. </attribute>
  589. </attributes>
  590. </connection>
  591. <order>
  592. <hop>
  593. <from>表输入</from>
  594. <to>Java 代码-id</to>
  595. <enabled>Y</enabled>
  596. </hop>
  597. <hop>
  598. <from>表输入-mom物料档案</from>
  599. <to>流查询-物料档案</to>
  600. <enabled>Y</enabled>
  601. </hop>
  602. <hop>
  603. <from>流查询-物料档案</from>
  604. <to>流查询-入库任务</to>
  605. <enabled>Y</enabled>
  606. </hop>
  607. <hop>
  608. <from>表输入-mom入库任务</from>
  609. <to>流查询-入库任务</to>
  610. <enabled>Y</enabled>
  611. </hop>
  612. <hop>
  613. <from>流查询-入库任务</from>
  614. <to>插入 / 更新</to>
  615. <enabled>Y</enabled>
  616. </hop>
  617. <hop>
  618. <from>表输入-主id</from>
  619. <to>流查询-主id</to>
  620. <enabled>Y</enabled>
  621. </hop>
  622. <hop>
  623. <from>Java 代码-id</from>
  624. <to>流查询-主id</to>
  625. <enabled>Y</enabled>
  626. </hop>
  627. <hop>
  628. <from>流查询-主id</from>
  629. <to>流查询-物料档案</to>
  630. <enabled>Y</enabled>
  631. </hop>
  632. <hop>
  633. <from>获取变量</from>
  634. <to>表输入</to>
  635. <enabled>Y</enabled>
  636. </hop>
  637. <hop>
  638. <from>获取变量</from>
  639. <to>表输入-mom物料档案</to>
  640. <enabled>Y</enabled>
  641. </hop>
  642. <hop>
  643. <from>获取变量</from>
  644. <to>表输入-主id</to>
  645. <enabled>Y</enabled>
  646. </hop>
  647. </order>
  648. <step>
  649. <name>Java 代码-id</name>
  650. <type>UserDefinedJavaClass</type>
  651. <description/>
  652. <distribute>N</distribute>
  653. <custom_distribution/>
  654. <copies>1</copies>
  655. <partitioning>
  656. <method>none</method>
  657. <schema_name/>
  658. </partitioning>
  659. <definitions>
  660. <definition>
  661. <class_type>TRANSFORM_CLASS</class_type>
  662. <class_name>Processor</class_name>
  663. <class_source>public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException {
  664. Object[] r = getRow();
  665. if (r == null) {
  666. setOutputDone();
  667. return false;
  668. }
  669. r = createOutputRow(r, data.outputRowMeta.size());
  670. if (snowflakeIdWorker == null) {
  671. snowflakeIdWorker = new SnowflakeIdWorker(1, 1); // 设置你的workerId和datacenterId
  672. }
  673. String id = String.valueOf(snowflakeIdWorker.nextId());
  674. get(Fields.Out, "id").setValue(r, id);
  675. putRow(data.outputRowMeta, r);
  676. return true;
  677. }
  678. // 定义全局变量(放在类顶部)
  679. private static SnowflakeIdWorker snowflakeIdWorker = null;
  680. // 内部类:雪花算法实现
  681. public static class SnowflakeIdWorker {
  682. private final long twepoch = 1288834974657L;
  683. private final long workerIdBits = 5L;
  684. private final long datacenterIdBits = 5L;
  685. private final long maxWorkerId = -1L ^ (-1L &lt;&lt; workerIdBits);
  686. private final long maxDatacenterId = -1L ^ (-1L &lt;&lt; datacenterIdBits);
  687. private final long sequenceBits = 12L;
  688. private final long workerIdShift = sequenceBits;
  689. private final long datacenterIdShift = sequenceBits + workerIdBits;
  690. private final long timestampLeftShift = sequenceBits + workerIdBits + datacenterIdBits;
  691. private final long sequenceMask = -1L ^ (-1L &lt;&lt; sequenceBits);
  692. private long workerId;
  693. private long datacenterId;
  694. private long sequence = 0L;
  695. private long lastTimestamp = -1L;
  696. public SnowflakeIdWorker(long workerId, long datacenterId) {
  697. if (workerId > maxWorkerId || workerId &lt; 0) {
  698. throw new IllegalArgumentException(String.format("worker Id can't be greater than %d or less than 0", maxWorkerId));
  699. }
  700. if (datacenterId > maxDatacenterId || datacenterId &lt; 0) {
  701. throw new IllegalArgumentException(String.format("datacenter Id can't be greater than %d or less than 0", maxDatacenterId));
  702. }
  703. this.workerId = workerId;
  704. this.datacenterId = datacenterId;
  705. }
  706. public synchronized long nextId() {
  707. long timestamp = timeGen();
  708. if (timestamp &lt; lastTimestamp) {
  709. throw new RuntimeException("Clock moved backwards. Refusing to generate id for " + (lastTimestamp - timestamp) + " milliseconds");
  710. }
  711. if (lastTimestamp == timestamp) {
  712. sequence = (sequence + 1) &amp; sequenceMask;
  713. if (sequence == 0) {
  714. timestamp = tilNextMillis(lastTimestamp);
  715. }
  716. } else {
  717. sequence = 0L;
  718. }
  719. lastTimestamp = timestamp;
  720. return ((timestamp - twepoch) &lt;&lt; timestampLeftShift)
  721. | (datacenterId &lt;&lt; datacenterIdShift)
  722. | (workerId &lt;&lt; workerIdShift)
  723. | sequence;
  724. }
  725. private long tilNextMillis(long lastTimestamp) {
  726. long timestamp = timeGen();
  727. while (timestamp &lt;= lastTimestamp) {
  728. timestamp = timeGen();
  729. }
  730. return timestamp;
  731. }
  732. private long timeGen() {
  733. return System.currentTimeMillis();
  734. }
  735. }</class_source>
  736. </definition>
  737. </definitions>
  738. <fields>
  739. <field>
  740. <field_name>id</field_name>
  741. <field_type>String</field_type>
  742. <field_length>-1</field_length>
  743. <field_precision>-1</field_precision>
  744. </field>
  745. </fields>
  746. <clear_result_fields>N</clear_result_fields>
  747. <info_steps/>
  748. <target_steps/>
  749. <usage_parameters/>
  750. <attributes/>
  751. <cluster_schema/>
  752. <remotesteps>
  753. <input>
  754. </input>
  755. <output>
  756. </output>
  757. </remotesteps>
  758. <GUI>
  759. <xloc>160</xloc>
  760. <yloc>64</yloc>
  761. <draw>Y</draw>
  762. </GUI>
  763. </step>
  764. <step>
  765. <name>插入 / 更新</name>
  766. <type>InsertUpdate</type>
  767. <description/>
  768. <distribute>Y</distribute>
  769. <custom_distribution/>
  770. <copies>1</copies>
  771. <partitioning>
  772. <method>none</method>
  773. <schema_name/>
  774. </partitioning>
  775. <connection>MOM</connection>
  776. <commit>1000</commit>
  777. <update_bypassed>N</update_bypassed>
  778. <lookup>
  779. <schema/>
  780. <table>wms_task_outs</table>
  781. <key>
  782. <name>interface_id</name>
  783. <field>interface_id</field>
  784. <condition>=</condition>
  785. <name2/>
  786. </key>
  787. <value>
  788. <name>interface_pid</name>
  789. <rename>interface_pid</rename>
  790. <update>N</update>
  791. </value>
  792. <value>
  793. <name>interface_id</name>
  794. <rename>interface_id</rename>
  795. <update>N</update>
  796. </value>
  797. <value>
  798. <name>interface_row</name>
  799. <rename>interface_row</rename>
  800. <update>N</update>
  801. </value>
  802. <value>
  803. <name>id</name>
  804. <rename>id</rename>
  805. <update>N</update>
  806. </value>
  807. <value>
  808. <name>task_out_id</name>
  809. <rename>mom_task_out_id</rename>
  810. <update>N</update>
  811. </value>
  812. <value>
  813. <name>`row_number`</name>
  814. <rename>row_number</rename>
  815. <update>N</update>
  816. </value>
  817. <value>
  818. <name>material_code</name>
  819. <rename>material_code</rename>
  820. <update>N</update>
  821. </value>
  822. <value>
  823. <name>task_qty</name>
  824. <rename>task_qty</rename>
  825. <update>N</update>
  826. </value>
  827. <value>
  828. <name>unit_code</name>
  829. <rename>unit_code</rename>
  830. <update>N</update>
  831. </value>
  832. <value>
  833. <name>is_back_flush</name>
  834. <rename>mom_is_back_flush</rename>
  835. <update>N</update>
  836. </value>
  837. <value>
  838. <name>excess_ratio_out</name>
  839. <rename>mom_excess_ratio_out</rename>
  840. <update>N</update>
  841. </value>
  842. <value>
  843. <name>warehouse_code</name>
  844. <rename>mom_warehouse_code</rename>
  845. <update>N</update>
  846. </value>
  847. <value>
  848. <name>location_code</name>
  849. <rename>mom_location_code</rename>
  850. <update>N</update>
  851. </value>
  852. <value>
  853. <name>status</name>
  854. <rename>status</rename>
  855. <update>N</update>
  856. </value>
  857. <value>
  858. <name>is_close</name>
  859. <rename>is_close</rename>
  860. <update>Y</update>
  861. </value>
  862. <value>
  863. <name>task_ins_id</name>
  864. <rename>mom_task_ins_id</rename>
  865. <update>Y</update>
  866. </value>
  867. <value>
  868. <name>create_id</name>
  869. <rename>sync_id</rename>
  870. <update>N</update>
  871. </value>
  872. <value>
  873. <name>create_by</name>
  874. <rename>sync_name</rename>
  875. <update>N</update>
  876. </value>
  877. <value>
  878. <name>create_time</name>
  879. <rename>sync_time</rename>
  880. <update>N</update>
  881. </value>
  882. <value>
  883. <name>audit_by</name>
  884. <rename>sync_name</rename>
  885. <update>N</update>
  886. </value>
  887. <value>
  888. <name>audit_time</name>
  889. <rename>sync_time</rename>
  890. <update>N</update>
  891. </value>
  892. </lookup>
  893. <attributes/>
  894. <cluster_schema/>
  895. <remotesteps>
  896. <input>
  897. </input>
  898. <output>
  899. </output>
  900. </remotesteps>
  901. <GUI>
  902. <xloc>768</xloc>
  903. <yloc>64</yloc>
  904. <draw>Y</draw>
  905. </GUI>
  906. </step>
  907. <step>
  908. <name>流查询-主id</name>
  909. <type>StreamLookup</type>
  910. <description/>
  911. <distribute>Y</distribute>
  912. <custom_distribution/>
  913. <copies>1</copies>
  914. <partitioning>
  915. <method>none</method>
  916. <schema_name/>
  917. </partitioning>
  918. <from>表输入-主id</from>
  919. <input_sorted>N</input_sorted>
  920. <preserve_memory>N</preserve_memory>
  921. <sorted_list>N</sorted_list>
  922. <integer_pair>N</integer_pair>
  923. <lookup>
  924. <key>
  925. <name>master_interface_id</name>
  926. <field>master_interface_id</field>
  927. </key>
  928. <value>
  929. <name>mom_task_out_id</name>
  930. <rename>mom_task_out_id</rename>
  931. <default/>
  932. <type>String</type>
  933. </value>
  934. </lookup>
  935. <attributes/>
  936. <cluster_schema/>
  937. <remotesteps>
  938. <input>
  939. </input>
  940. <output>
  941. </output>
  942. </remotesteps>
  943. <GUI>
  944. <xloc>320</xloc>
  945. <yloc>64</yloc>
  946. <draw>Y</draw>
  947. </GUI>
  948. </step>
  949. <step>
  950. <name>流查询-入库任务</name>
  951. <type>StreamLookup</type>
  952. <description/>
  953. <distribute>Y</distribute>
  954. <custom_distribution/>
  955. <copies>1</copies>
  956. <partitioning>
  957. <method>none</method>
  958. <schema_name/>
  959. </partitioning>
  960. <from>表输入-mom入库任务</from>
  961. <input_sorted>N</input_sorted>
  962. <preserve_memory>N</preserve_memory>
  963. <sorted_list>N</sorted_list>
  964. <integer_pair>N</integer_pair>
  965. <lookup>
  966. <key>
  967. <name>interface_pid</name>
  968. <field>mom_interface_pid</field>
  969. </key>
  970. <value>
  971. <name>mom_task_ins_id</name>
  972. <rename>mom_task_ins_id</rename>
  973. <default/>
  974. <type>String</type>
  975. </value>
  976. </lookup>
  977. <attributes/>
  978. <cluster_schema/>
  979. <remotesteps>
  980. <input>
  981. </input>
  982. <output>
  983. </output>
  984. </remotesteps>
  985. <GUI>
  986. <xloc>624</xloc>
  987. <yloc>64</yloc>
  988. <draw>Y</draw>
  989. </GUI>
  990. </step>
  991. <step>
  992. <name>流查询-物料档案</name>
  993. <type>StreamLookup</type>
  994. <description/>
  995. <distribute>Y</distribute>
  996. <custom_distribution/>
  997. <copies>1</copies>
  998. <partitioning>
  999. <method>none</method>
  1000. <schema_name/>
  1001. </partitioning>
  1002. <from>表输入-mom物料档案</from>
  1003. <input_sorted>N</input_sorted>
  1004. <preserve_memory>N</preserve_memory>
  1005. <sorted_list>N</sorted_list>
  1006. <integer_pair>N</integer_pair>
  1007. <lookup>
  1008. <key>
  1009. <name>material_code</name>
  1010. <field>mom_material_code</field>
  1011. </key>
  1012. <value>
  1013. <name>mom_warehouse_code</name>
  1014. <rename>mom_warehouse_code</rename>
  1015. <default/>
  1016. <type>String</type>
  1017. </value>
  1018. <value>
  1019. <name>mom_location_code</name>
  1020. <rename>mom_location_code</rename>
  1021. <default/>
  1022. <type>String</type>
  1023. </value>
  1024. <value>
  1025. <name>mom_excess_ratio_out</name>
  1026. <rename>mom_excess_ratio_out</rename>
  1027. <default/>
  1028. <type>BigNumber</type>
  1029. </value>
  1030. <value>
  1031. <name>mom_is_back_flush</name>
  1032. <rename>mom_is_back_flush</rename>
  1033. <default>1</default>
  1034. <type>Integer</type>
  1035. </value>
  1036. </lookup>
  1037. <attributes/>
  1038. <cluster_schema/>
  1039. <remotesteps>
  1040. <input>
  1041. </input>
  1042. <output>
  1043. </output>
  1044. </remotesteps>
  1045. <GUI>
  1046. <xloc>464</xloc>
  1047. <yloc>64</yloc>
  1048. <draw>Y</draw>
  1049. </GUI>
  1050. </step>
  1051. <step>
  1052. <name>表输入</name>
  1053. <type>TableInput</type>
  1054. <description/>
  1055. <distribute>Y</distribute>
  1056. <custom_distribution/>
  1057. <copies>1</copies>
  1058. <partitioning>
  1059. <method>none</method>
  1060. <schema_name/>
  1061. </partitioning>
  1062. <connection>U8</connection>
  1063. <sql>DECLARE @USER_NAME VARCHAR(50),@USER_ID INT
  1064. SET @USER_NAME = CASE '${USER_NAME}' WHEN '' THEN '管理员(kettle)' ELSE '${USER_NAME}' END
  1065. SET @USER_ID = CASE 0${USER_ID} WHEN 0 THEN 1 ELSE 0${USER_ID} END
  1066. SELECT
  1067. 0${interface_id} AS master_interface_id
  1068. ,T2.MODetailsID AS interface_pid
  1069. ,T3.MoMaterialsID AS interface_id
  1070. ,NULL AS interface_row
  1071. ,ROW_NUMBER()OVER(ORDER BY T2.MODetailsID,T3.MoMaterialsID) AS row_number
  1072. ,T3.cInvCode AS material_code
  1073. ,T3.iQuantity AS task_qty
  1074. ,T6.cComUnitCode AS unit_code
  1075. ,0 AS status
  1076. ,1 AS is_close
  1077. ,@USER_NAME AS sync_name
  1078. ,@USER_ID AS sync_id
  1079. ,GETDATE() AS sync_time
  1080. FROM OM_MOMain T1
  1081. LEFT JOIN OM_MODetails T2 ON T1.MoId =T2.MoId
  1082. LEFT JOIN OM_MOMaterials T3 ON T2.MODetailsID =T3.MODetailsID
  1083. LEFT JOIN Inventory T6 ON T3.cInvCode =T6.cInvCode
  1084. WHERE 1=1
  1085. AND T1.MoId =0${interface_id}
  1086. </sql>
  1087. <limit>0</limit>
  1088. <lookup/>
  1089. <execute_each_row>N</execute_each_row>
  1090. <variables_active>Y</variables_active>
  1091. <lazy_conversion_active>N</lazy_conversion_active>
  1092. <cached_row_meta_active>N</cached_row_meta_active>
  1093. <row-meta>
  1094. <value-meta>
  1095. <type>Integer</type>
  1096. <storagetype>normal</storagetype>
  1097. <name>master_interface_id</name>
  1098. <length>9</length>
  1099. <precision>0</precision>
  1100. <origin>表输入</origin>
  1101. <comments>master_interface_id</comments>
  1102. <conversion_Mask>####0;-####0</conversion_Mask>
  1103. <decimal_symbol>.</decimal_symbol>
  1104. <grouping_symbol>,</grouping_symbol>
  1105. <currency_symbol/>
  1106. <trim_type>none</trim_type>
  1107. <case_insensitive>N</case_insensitive>
  1108. <collator_disabled>Y</collator_disabled>
  1109. <collator_strength>0</collator_strength>
  1110. <sort_descending>N</sort_descending>
  1111. <output_padding>N</output_padding>
  1112. <date_format_lenient>N</date_format_lenient>
  1113. <date_format_locale>zh_CN</date_format_locale>
  1114. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1115. <lenient_string_to_number>N</lenient_string_to_number>
  1116. </value-meta>
  1117. <value-meta>
  1118. <type>Integer</type>
  1119. <storagetype>normal</storagetype>
  1120. <name>interface_pid</name>
  1121. <length>9</length>
  1122. <precision>0</precision>
  1123. <origin>表输入</origin>
  1124. <comments>interface_pid</comments>
  1125. <conversion_Mask>####0;-####0</conversion_Mask>
  1126. <decimal_symbol>.</decimal_symbol>
  1127. <grouping_symbol>,</grouping_symbol>
  1128. <currency_symbol/>
  1129. <trim_type>none</trim_type>
  1130. <case_insensitive>N</case_insensitive>
  1131. <collator_disabled>Y</collator_disabled>
  1132. <collator_strength>0</collator_strength>
  1133. <sort_descending>N</sort_descending>
  1134. <output_padding>N</output_padding>
  1135. <date_format_lenient>N</date_format_lenient>
  1136. <date_format_locale>zh_CN</date_format_locale>
  1137. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1138. <lenient_string_to_number>N</lenient_string_to_number>
  1139. </value-meta>
  1140. <value-meta>
  1141. <type>Integer</type>
  1142. <storagetype>normal</storagetype>
  1143. <name>interface_id</name>
  1144. <length>9</length>
  1145. <precision>0</precision>
  1146. <origin>表输入</origin>
  1147. <comments>interface_id</comments>
  1148. <conversion_Mask>####0;-####0</conversion_Mask>
  1149. <decimal_symbol>.</decimal_symbol>
  1150. <grouping_symbol>,</grouping_symbol>
  1151. <currency_symbol/>
  1152. <trim_type>none</trim_type>
  1153. <case_insensitive>N</case_insensitive>
  1154. <collator_disabled>Y</collator_disabled>
  1155. <collator_strength>0</collator_strength>
  1156. <sort_descending>N</sort_descending>
  1157. <output_padding>N</output_padding>
  1158. <date_format_lenient>N</date_format_lenient>
  1159. <date_format_locale>zh_CN</date_format_locale>
  1160. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1161. <lenient_string_to_number>N</lenient_string_to_number>
  1162. </value-meta>
  1163. <value-meta>
  1164. <type>Integer</type>
  1165. <storagetype>normal</storagetype>
  1166. <name>interface_row</name>
  1167. <length>9</length>
  1168. <precision>0</precision>
  1169. <origin>表输入</origin>
  1170. <comments>interface_row</comments>
  1171. <conversion_Mask>####0;-####0</conversion_Mask>
  1172. <decimal_symbol>.</decimal_symbol>
  1173. <grouping_symbol>,</grouping_symbol>
  1174. <currency_symbol/>
  1175. <trim_type>none</trim_type>
  1176. <case_insensitive>N</case_insensitive>
  1177. <collator_disabled>Y</collator_disabled>
  1178. <collator_strength>0</collator_strength>
  1179. <sort_descending>N</sort_descending>
  1180. <output_padding>N</output_padding>
  1181. <date_format_lenient>N</date_format_lenient>
  1182. <date_format_locale>zh_CN</date_format_locale>
  1183. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1184. <lenient_string_to_number>N</lenient_string_to_number>
  1185. </value-meta>
  1186. <value-meta>
  1187. <type>Integer</type>
  1188. <storagetype>normal</storagetype>
  1189. <name>row_number</name>
  1190. <length>15</length>
  1191. <precision>0</precision>
  1192. <origin>表输入</origin>
  1193. <comments>row_number</comments>
  1194. <conversion_Mask>####0;-####0</conversion_Mask>
  1195. <decimal_symbol>.</decimal_symbol>
  1196. <grouping_symbol>,</grouping_symbol>
  1197. <currency_symbol/>
  1198. <trim_type>none</trim_type>
  1199. <case_insensitive>N</case_insensitive>
  1200. <collator_disabled>Y</collator_disabled>
  1201. <collator_strength>0</collator_strength>
  1202. <sort_descending>N</sort_descending>
  1203. <output_padding>N</output_padding>
  1204. <date_format_lenient>N</date_format_lenient>
  1205. <date_format_locale>zh_CN</date_format_locale>
  1206. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1207. <lenient_string_to_number>N</lenient_string_to_number>
  1208. </value-meta>
  1209. <value-meta>
  1210. <type>String</type>
  1211. <storagetype>normal</storagetype>
  1212. <name>material_code</name>
  1213. <length>60</length>
  1214. <precision>-1</precision>
  1215. <origin>表输入</origin>
  1216. <comments>material_code</comments>
  1217. <conversion_Mask/>
  1218. <decimal_symbol>.</decimal_symbol>
  1219. <grouping_symbol>,</grouping_symbol>
  1220. <currency_symbol/>
  1221. <trim_type>none</trim_type>
  1222. <case_insensitive>N</case_insensitive>
  1223. <collator_disabled>Y</collator_disabled>
  1224. <collator_strength>0</collator_strength>
  1225. <sort_descending>N</sort_descending>
  1226. <output_padding>N</output_padding>
  1227. <date_format_lenient>N</date_format_lenient>
  1228. <date_format_locale>zh_CN</date_format_locale>
  1229. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1230. <lenient_string_to_number>N</lenient_string_to_number>
  1231. </value-meta>
  1232. <value-meta>
  1233. <type>BigNumber</type>
  1234. <storagetype>normal</storagetype>
  1235. <name>task_qty</name>
  1236. <length>28</length>
  1237. <precision>6</precision>
  1238. <origin>表输入</origin>
  1239. <comments>task_qty</comments>
  1240. <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
  1241. <decimal_symbol>.</decimal_symbol>
  1242. <grouping_symbol/>
  1243. <currency_symbol/>
  1244. <trim_type>none</trim_type>
  1245. <case_insensitive>N</case_insensitive>
  1246. <collator_disabled>Y</collator_disabled>
  1247. <collator_strength>0</collator_strength>
  1248. <sort_descending>N</sort_descending>
  1249. <output_padding>N</output_padding>
  1250. <date_format_lenient>N</date_format_lenient>
  1251. <date_format_locale>zh_CN</date_format_locale>
  1252. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1253. <lenient_string_to_number>N</lenient_string_to_number>
  1254. </value-meta>
  1255. <value-meta>
  1256. <type>String</type>
  1257. <storagetype>normal</storagetype>
  1258. <name>unit_code</name>
  1259. <length>35</length>
  1260. <precision>-1</precision>
  1261. <origin>表输入</origin>
  1262. <comments>unit_code</comments>
  1263. <conversion_Mask/>
  1264. <decimal_symbol>.</decimal_symbol>
  1265. <grouping_symbol>,</grouping_symbol>
  1266. <currency_symbol/>
  1267. <trim_type>none</trim_type>
  1268. <case_insensitive>N</case_insensitive>
  1269. <collator_disabled>Y</collator_disabled>
  1270. <collator_strength>0</collator_strength>
  1271. <sort_descending>N</sort_descending>
  1272. <output_padding>N</output_padding>
  1273. <date_format_lenient>N</date_format_lenient>
  1274. <date_format_locale>zh_CN</date_format_locale>
  1275. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1276. <lenient_string_to_number>N</lenient_string_to_number>
  1277. </value-meta>
  1278. <value-meta>
  1279. <type>Integer</type>
  1280. <storagetype>normal</storagetype>
  1281. <name>status</name>
  1282. <length>9</length>
  1283. <precision>0</precision>
  1284. <origin>表输入</origin>
  1285. <comments>status</comments>
  1286. <conversion_Mask>####0;-####0</conversion_Mask>
  1287. <decimal_symbol>.</decimal_symbol>
  1288. <grouping_symbol>,</grouping_symbol>
  1289. <currency_symbol/>
  1290. <trim_type>none</trim_type>
  1291. <case_insensitive>N</case_insensitive>
  1292. <collator_disabled>Y</collator_disabled>
  1293. <collator_strength>0</collator_strength>
  1294. <sort_descending>N</sort_descending>
  1295. <output_padding>N</output_padding>
  1296. <date_format_lenient>N</date_format_lenient>
  1297. <date_format_locale>zh_CN</date_format_locale>
  1298. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1299. <lenient_string_to_number>N</lenient_string_to_number>
  1300. </value-meta>
  1301. <value-meta>
  1302. <type>Integer</type>
  1303. <storagetype>normal</storagetype>
  1304. <name>is_close</name>
  1305. <length>9</length>
  1306. <precision>0</precision>
  1307. <origin>表输入</origin>
  1308. <comments>is_close</comments>
  1309. <conversion_Mask>####0;-####0</conversion_Mask>
  1310. <decimal_symbol>.</decimal_symbol>
  1311. <grouping_symbol>,</grouping_symbol>
  1312. <currency_symbol/>
  1313. <trim_type>none</trim_type>
  1314. <case_insensitive>N</case_insensitive>
  1315. <collator_disabled>Y</collator_disabled>
  1316. <collator_strength>0</collator_strength>
  1317. <sort_descending>N</sort_descending>
  1318. <output_padding>N</output_padding>
  1319. <date_format_lenient>N</date_format_lenient>
  1320. <date_format_locale>zh_CN</date_format_locale>
  1321. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1322. <lenient_string_to_number>N</lenient_string_to_number>
  1323. </value-meta>
  1324. <value-meta>
  1325. <type>String</type>
  1326. <storagetype>normal</storagetype>
  1327. <name>sync_name</name>
  1328. <length>50</length>
  1329. <precision>-1</precision>
  1330. <origin>表输入</origin>
  1331. <comments>sync_name</comments>
  1332. <conversion_Mask/>
  1333. <decimal_symbol>.</decimal_symbol>
  1334. <grouping_symbol>,</grouping_symbol>
  1335. <currency_symbol/>
  1336. <trim_type>none</trim_type>
  1337. <case_insensitive>N</case_insensitive>
  1338. <collator_disabled>Y</collator_disabled>
  1339. <collator_strength>0</collator_strength>
  1340. <sort_descending>N</sort_descending>
  1341. <output_padding>N</output_padding>
  1342. <date_format_lenient>N</date_format_lenient>
  1343. <date_format_locale>zh_CN</date_format_locale>
  1344. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1345. <lenient_string_to_number>N</lenient_string_to_number>
  1346. </value-meta>
  1347. <value-meta>
  1348. <type>Integer</type>
  1349. <storagetype>normal</storagetype>
  1350. <name>sync_id</name>
  1351. <length>9</length>
  1352. <precision>0</precision>
  1353. <origin>表输入</origin>
  1354. <comments>sync_id</comments>
  1355. <conversion_Mask>####0;-####0</conversion_Mask>
  1356. <decimal_symbol>.</decimal_symbol>
  1357. <grouping_symbol>,</grouping_symbol>
  1358. <currency_symbol/>
  1359. <trim_type>none</trim_type>
  1360. <case_insensitive>N</case_insensitive>
  1361. <collator_disabled>Y</collator_disabled>
  1362. <collator_strength>0</collator_strength>
  1363. <sort_descending>N</sort_descending>
  1364. <output_padding>N</output_padding>
  1365. <date_format_lenient>N</date_format_lenient>
  1366. <date_format_locale>zh_CN</date_format_locale>
  1367. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1368. <lenient_string_to_number>N</lenient_string_to_number>
  1369. </value-meta>
  1370. <value-meta>
  1371. <type>Timestamp</type>
  1372. <storagetype>normal</storagetype>
  1373. <name>sync_time</name>
  1374. <length>3</length>
  1375. <precision>-1</precision>
  1376. <origin>表输入</origin>
  1377. <comments>sync_time</comments>
  1378. <conversion_Mask/>
  1379. <decimal_symbol>.</decimal_symbol>
  1380. <grouping_symbol>,</grouping_symbol>
  1381. <currency_symbol/>
  1382. <trim_type>none</trim_type>
  1383. <case_insensitive>N</case_insensitive>
  1384. <collator_disabled>Y</collator_disabled>
  1385. <collator_strength>0</collator_strength>
  1386. <sort_descending>N</sort_descending>
  1387. <output_padding>N</output_padding>
  1388. <date_format_lenient>N</date_format_lenient>
  1389. <date_format_locale>zh_CN</date_format_locale>
  1390. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1391. <lenient_string_to_number>N</lenient_string_to_number>
  1392. </value-meta>
  1393. </row-meta>
  1394. <attributes/>
  1395. <cluster_schema/>
  1396. <remotesteps>
  1397. <input>
  1398. </input>
  1399. <output>
  1400. </output>
  1401. </remotesteps>
  1402. <GUI>
  1403. <xloc>48</xloc>
  1404. <yloc>64</yloc>
  1405. <draw>Y</draw>
  1406. </GUI>
  1407. </step>
  1408. <step>
  1409. <name>表输入-mom入库任务</name>
  1410. <type>TableInput</type>
  1411. <description/>
  1412. <distribute>Y</distribute>
  1413. <custom_distribution/>
  1414. <copies>1</copies>
  1415. <partitioning>
  1416. <method>none</method>
  1417. <schema_name/>
  1418. </partitioning>
  1419. <connection>MOM</connection>
  1420. <sql>SELECT
  1421. T2.id AS mom_task_ins_id,
  1422. T2.interface_id AS mom_interface_pid
  1423. FROM wms_task_in T1
  1424. LEFT JOIN wms_task_ins T2 ON T1.id =T2.task_in_id
  1425. WHERE 1=1
  1426. AND T1.interface_id =0${interface_id} AND T1.bill_type_code ='2'</sql>
  1427. <limit>0</limit>
  1428. <lookup/>
  1429. <execute_each_row>N</execute_each_row>
  1430. <variables_active>Y</variables_active>
  1431. <lazy_conversion_active>N</lazy_conversion_active>
  1432. <cached_row_meta_active>N</cached_row_meta_active>
  1433. <row-meta>
  1434. <value-meta>
  1435. <type>String</type>
  1436. <storagetype>normal</storagetype>
  1437. <name>mom_task_ins_id</name>
  1438. <length>20</length>
  1439. <precision>-1</precision>
  1440. <origin>表输入-mom入库任务</origin>
  1441. <comments>mom_task_ins_id</comments>
  1442. <conversion_Mask/>
  1443. <decimal_symbol>.</decimal_symbol>
  1444. <grouping_symbol>,</grouping_symbol>
  1445. <currency_symbol/>
  1446. <trim_type>none</trim_type>
  1447. <case_insensitive>N</case_insensitive>
  1448. <collator_disabled>Y</collator_disabled>
  1449. <collator_strength>0</collator_strength>
  1450. <sort_descending>N</sort_descending>
  1451. <output_padding>N</output_padding>
  1452. <date_format_lenient>N</date_format_lenient>
  1453. <date_format_locale>zh_CN</date_format_locale>
  1454. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1455. <lenient_string_to_number>N</lenient_string_to_number>
  1456. </value-meta>
  1457. <value-meta>
  1458. <type>Integer</type>
  1459. <storagetype>normal</storagetype>
  1460. <name>mom_interface_pid</name>
  1461. <length>9</length>
  1462. <precision>0</precision>
  1463. <origin>表输入-mom入库任务</origin>
  1464. <comments>mom_interface_pid</comments>
  1465. <conversion_Mask>####0;-####0</conversion_Mask>
  1466. <decimal_symbol>.</decimal_symbol>
  1467. <grouping_symbol>,</grouping_symbol>
  1468. <currency_symbol/>
  1469. <trim_type>none</trim_type>
  1470. <case_insensitive>N</case_insensitive>
  1471. <collator_disabled>Y</collator_disabled>
  1472. <collator_strength>0</collator_strength>
  1473. <sort_descending>N</sort_descending>
  1474. <output_padding>N</output_padding>
  1475. <date_format_lenient>N</date_format_lenient>
  1476. <date_format_locale>zh_CN</date_format_locale>
  1477. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1478. <lenient_string_to_number>N</lenient_string_to_number>
  1479. </value-meta>
  1480. </row-meta>
  1481. <attributes/>
  1482. <cluster_schema/>
  1483. <remotesteps>
  1484. <input>
  1485. </input>
  1486. <output>
  1487. </output>
  1488. </remotesteps>
  1489. <GUI>
  1490. <xloc>512</xloc>
  1491. <yloc>160</yloc>
  1492. <draw>Y</draw>
  1493. </GUI>
  1494. </step>
  1495. <step>
  1496. <name>表输入-mom物料档案</name>
  1497. <type>TableInput</type>
  1498. <description/>
  1499. <distribute>Y</distribute>
  1500. <custom_distribution/>
  1501. <copies>1</copies>
  1502. <partitioning>
  1503. <method>none</method>
  1504. <schema_name/>
  1505. </partitioning>
  1506. <connection>MOM</connection>
  1507. <sql>SELECT
  1508. material_code AS mom_material_code
  1509. ,excess_ratio_out AS mom_excess_ratio_out
  1510. ,warehouse_code_out AS mom_warehouse_code
  1511. ,location_code_out AS mom_location_code
  1512. ,CASE WHEN 0${mom_is_back_flush} = 0 AND collect_type = 2 THEN 0 ELSE 1 END AS mom_is_back_flush
  1513. FROM base_material</sql>
  1514. <limit>0</limit>
  1515. <lookup/>
  1516. <execute_each_row>N</execute_each_row>
  1517. <variables_active>Y</variables_active>
  1518. <lazy_conversion_active>N</lazy_conversion_active>
  1519. <cached_row_meta_active>N</cached_row_meta_active>
  1520. <row-meta>
  1521. <value-meta>
  1522. <type>String</type>
  1523. <storagetype>normal</storagetype>
  1524. <name>mom_material_code</name>
  1525. <length>50</length>
  1526. <precision>-1</precision>
  1527. <origin>表输入-mom物料档案</origin>
  1528. <comments>mom_material_code</comments>
  1529. <conversion_Mask/>
  1530. <decimal_symbol>.</decimal_symbol>
  1531. <grouping_symbol>,</grouping_symbol>
  1532. <currency_symbol/>
  1533. <trim_type>none</trim_type>
  1534. <case_insensitive>N</case_insensitive>
  1535. <collator_disabled>Y</collator_disabled>
  1536. <collator_strength>0</collator_strength>
  1537. <sort_descending>N</sort_descending>
  1538. <output_padding>N</output_padding>
  1539. <date_format_lenient>N</date_format_lenient>
  1540. <date_format_locale>zh_CN</date_format_locale>
  1541. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1542. <lenient_string_to_number>N</lenient_string_to_number>
  1543. </value-meta>
  1544. <value-meta>
  1545. <type>BigNumber</type>
  1546. <storagetype>normal</storagetype>
  1547. <name>mom_excess_ratio_out</name>
  1548. <length>24</length>
  1549. <precision>6</precision>
  1550. <origin>表输入-mom物料档案</origin>
  1551. <comments>mom_excess_ratio_out</comments>
  1552. <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask>
  1553. <decimal_symbol>.</decimal_symbol>
  1554. <grouping_symbol/>
  1555. <currency_symbol/>
  1556. <trim_type>none</trim_type>
  1557. <case_insensitive>N</case_insensitive>
  1558. <collator_disabled>Y</collator_disabled>
  1559. <collator_strength>0</collator_strength>
  1560. <sort_descending>N</sort_descending>
  1561. <output_padding>N</output_padding>
  1562. <date_format_lenient>N</date_format_lenient>
  1563. <date_format_locale>zh_CN</date_format_locale>
  1564. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1565. <lenient_string_to_number>N</lenient_string_to_number>
  1566. </value-meta>
  1567. <value-meta>
  1568. <type>String</type>
  1569. <storagetype>normal</storagetype>
  1570. <name>mom_warehouse_code</name>
  1571. <length>50</length>
  1572. <precision>-1</precision>
  1573. <origin>表输入-mom物料档案</origin>
  1574. <comments>mom_warehouse_code</comments>
  1575. <conversion_Mask/>
  1576. <decimal_symbol>.</decimal_symbol>
  1577. <grouping_symbol>,</grouping_symbol>
  1578. <currency_symbol/>
  1579. <trim_type>none</trim_type>
  1580. <case_insensitive>N</case_insensitive>
  1581. <collator_disabled>Y</collator_disabled>
  1582. <collator_strength>0</collator_strength>
  1583. <sort_descending>N</sort_descending>
  1584. <output_padding>N</output_padding>
  1585. <date_format_lenient>N</date_format_lenient>
  1586. <date_format_locale>zh_CN</date_format_locale>
  1587. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1588. <lenient_string_to_number>N</lenient_string_to_number>
  1589. </value-meta>
  1590. <value-meta>
  1591. <type>String</type>
  1592. <storagetype>normal</storagetype>
  1593. <name>mom_location_code</name>
  1594. <length>50</length>
  1595. <precision>-1</precision>
  1596. <origin>表输入-mom物料档案</origin>
  1597. <comments>mom_location_code</comments>
  1598. <conversion_Mask/>
  1599. <decimal_symbol>.</decimal_symbol>
  1600. <grouping_symbol>,</grouping_symbol>
  1601. <currency_symbol/>
  1602. <trim_type>none</trim_type>
  1603. <case_insensitive>N</case_insensitive>
  1604. <collator_disabled>Y</collator_disabled>
  1605. <collator_strength>0</collator_strength>
  1606. <sort_descending>N</sort_descending>
  1607. <output_padding>N</output_padding>
  1608. <date_format_lenient>N</date_format_lenient>
  1609. <date_format_locale>zh_CN</date_format_locale>
  1610. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1611. <lenient_string_to_number>N</lenient_string_to_number>
  1612. </value-meta>
  1613. <value-meta>
  1614. <type>Integer</type>
  1615. <storagetype>normal</storagetype>
  1616. <name>mom_is_back_flush</name>
  1617. <length>15</length>
  1618. <precision>0</precision>
  1619. <origin>表输入-mom物料档案</origin>
  1620. <comments>mom_is_back_flush</comments>
  1621. <conversion_Mask>####0;-####0</conversion_Mask>
  1622. <decimal_symbol>.</decimal_symbol>
  1623. <grouping_symbol>,</grouping_symbol>
  1624. <currency_symbol/>
  1625. <trim_type>none</trim_type>
  1626. <case_insensitive>N</case_insensitive>
  1627. <collator_disabled>Y</collator_disabled>
  1628. <collator_strength>0</collator_strength>
  1629. <sort_descending>N</sort_descending>
  1630. <output_padding>N</output_padding>
  1631. <date_format_lenient>N</date_format_lenient>
  1632. <date_format_locale>zh_CN</date_format_locale>
  1633. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1634. <lenient_string_to_number>N</lenient_string_to_number>
  1635. </value-meta>
  1636. </row-meta>
  1637. <attributes/>
  1638. <cluster_schema/>
  1639. <remotesteps>
  1640. <input>
  1641. </input>
  1642. <output>
  1643. </output>
  1644. </remotesteps>
  1645. <GUI>
  1646. <xloc>352</xloc>
  1647. <yloc>160</yloc>
  1648. <draw>Y</draw>
  1649. </GUI>
  1650. </step>
  1651. <step>
  1652. <name>表输入-主id</name>
  1653. <type>TableInput</type>
  1654. <description/>
  1655. <distribute>Y</distribute>
  1656. <custom_distribution/>
  1657. <copies>1</copies>
  1658. <partitioning>
  1659. <method>none</method>
  1660. <schema_name/>
  1661. </partitioning>
  1662. <connection>MOM</connection>
  1663. <sql>SELECT
  1664. interface_id as master_interface_id,
  1665. id as mom_task_out_id
  1666. FROM wms_task_out
  1667. WHERE interface_id =0${interface_id} AND bill_type_code ='2' ORDER BY create_time DESC LIMIT 1</sql>
  1668. <limit>0</limit>
  1669. <lookup/>
  1670. <execute_each_row>N</execute_each_row>
  1671. <variables_active>Y</variables_active>
  1672. <lazy_conversion_active>N</lazy_conversion_active>
  1673. <cached_row_meta_active>N</cached_row_meta_active>
  1674. <row-meta>
  1675. <value-meta>
  1676. <type>Integer</type>
  1677. <storagetype>normal</storagetype>
  1678. <name>master_interface_id</name>
  1679. <length>9</length>
  1680. <precision>0</precision>
  1681. <origin>表输入-主id</origin>
  1682. <comments>master_interface_id</comments>
  1683. <conversion_Mask>####0;-####0</conversion_Mask>
  1684. <decimal_symbol>.</decimal_symbol>
  1685. <grouping_symbol>,</grouping_symbol>
  1686. <currency_symbol/>
  1687. <trim_type>none</trim_type>
  1688. <case_insensitive>N</case_insensitive>
  1689. <collator_disabled>Y</collator_disabled>
  1690. <collator_strength>0</collator_strength>
  1691. <sort_descending>N</sort_descending>
  1692. <output_padding>N</output_padding>
  1693. <date_format_lenient>N</date_format_lenient>
  1694. <date_format_locale>zh_CN</date_format_locale>
  1695. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1696. <lenient_string_to_number>N</lenient_string_to_number>
  1697. </value-meta>
  1698. <value-meta>
  1699. <type>String</type>
  1700. <storagetype>normal</storagetype>
  1701. <name>mom_task_out_id</name>
  1702. <length>20</length>
  1703. <precision>-1</precision>
  1704. <origin>表输入-主id</origin>
  1705. <comments>mom_task_out_id</comments>
  1706. <conversion_Mask/>
  1707. <decimal_symbol>.</decimal_symbol>
  1708. <grouping_symbol>,</grouping_symbol>
  1709. <currency_symbol/>
  1710. <trim_type>none</trim_type>
  1711. <case_insensitive>N</case_insensitive>
  1712. <collator_disabled>Y</collator_disabled>
  1713. <collator_strength>0</collator_strength>
  1714. <sort_descending>N</sort_descending>
  1715. <output_padding>N</output_padding>
  1716. <date_format_lenient>N</date_format_lenient>
  1717. <date_format_locale>zh_CN</date_format_locale>
  1718. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1719. <lenient_string_to_number>N</lenient_string_to_number>
  1720. </value-meta>
  1721. </row-meta>
  1722. <attributes/>
  1723. <cluster_schema/>
  1724. <remotesteps>
  1725. <input>
  1726. </input>
  1727. <output>
  1728. </output>
  1729. </remotesteps>
  1730. <GUI>
  1731. <xloc>192</xloc>
  1732. <yloc>160</yloc>
  1733. <draw>Y</draw>
  1734. </GUI>
  1735. </step>
  1736. <step>
  1737. <name>获取变量</name>
  1738. <type>GetVariable</type>
  1739. <description/>
  1740. <distribute>Y</distribute>
  1741. <custom_distribution/>
  1742. <copies>1</copies>
  1743. <partitioning>
  1744. <method>none</method>
  1745. <schema_name/>
  1746. </partitioning>
  1747. <fields>
  1748. <field>
  1749. <name>mysql_driverclassname</name>
  1750. <variable>${mysql_driverclassname}</variable>
  1751. <type>String</type>
  1752. <format/>
  1753. <currency/>
  1754. <decimal/>
  1755. <group/>
  1756. <length>-1</length>
  1757. <precision>-1</precision>
  1758. <trim_type>none</trim_type>
  1759. </field>
  1760. <field>
  1761. <name>mysql_password</name>
  1762. <variable>${mysql_password}</variable>
  1763. <type>String</type>
  1764. <format/>
  1765. <currency/>
  1766. <decimal/>
  1767. <group/>
  1768. <length>-1</length>
  1769. <precision>-1</precision>
  1770. <trim_type>none</trim_type>
  1771. </field>
  1772. <field>
  1773. <name>mysql_url</name>
  1774. <variable>${mysql_url}</variable>
  1775. <type>String</type>
  1776. <format/>
  1777. <currency/>
  1778. <decimal/>
  1779. <group/>
  1780. <length>-1</length>
  1781. <precision>-1</precision>
  1782. <trim_type>none</trim_type>
  1783. </field>
  1784. <field>
  1785. <name>mysql_username</name>
  1786. <variable>${mysql_username}</variable>
  1787. <type>String</type>
  1788. <format/>
  1789. <currency/>
  1790. <decimal/>
  1791. <group/>
  1792. <length>-1</length>
  1793. <precision>-1</precision>
  1794. <trim_type>none</trim_type>
  1795. </field>
  1796. <field>
  1797. <name>USER_ID</name>
  1798. <variable>${USER_ID}</variable>
  1799. <type>String</type>
  1800. <format/>
  1801. <currency/>
  1802. <decimal/>
  1803. <group/>
  1804. <length>-1</length>
  1805. <precision>-1</precision>
  1806. <trim_type>none</trim_type>
  1807. </field>
  1808. <field>
  1809. <name>sqlserver_driverclassname</name>
  1810. <variable>${sqlserver_driverclassname}</variable>
  1811. <type>String</type>
  1812. <format/>
  1813. <currency/>
  1814. <decimal/>
  1815. <group/>
  1816. <length>-1</length>
  1817. <precision>-1</precision>
  1818. <trim_type>none</trim_type>
  1819. </field>
  1820. <field>
  1821. <name>sqlserver_password</name>
  1822. <variable>${sqlserver_password}</variable>
  1823. <type>String</type>
  1824. <format/>
  1825. <currency/>
  1826. <decimal/>
  1827. <group/>
  1828. <length>-1</length>
  1829. <precision>-1</precision>
  1830. <trim_type>none</trim_type>
  1831. </field>
  1832. <field>
  1833. <name>sqlserver_url</name>
  1834. <variable>${sqlserver_url}</variable>
  1835. <type>String</type>
  1836. <format/>
  1837. <currency/>
  1838. <decimal/>
  1839. <group/>
  1840. <length>-1</length>
  1841. <precision>-1</precision>
  1842. <trim_type>none</trim_type>
  1843. </field>
  1844. <field>
  1845. <name>sqlserver_username</name>
  1846. <variable>${sqlserver_username}</variable>
  1847. <type>String</type>
  1848. <format/>
  1849. <currency/>
  1850. <decimal/>
  1851. <group/>
  1852. <length>-1</length>
  1853. <precision>-1</precision>
  1854. <trim_type>none</trim_type>
  1855. </field>
  1856. <field>
  1857. <name>USER_NAME</name>
  1858. <variable>${USER_NAME}</variable>
  1859. <type>String</type>
  1860. <format/>
  1861. <currency/>
  1862. <decimal/>
  1863. <group/>
  1864. <length>-1</length>
  1865. <precision>-1</precision>
  1866. <trim_type>none</trim_type>
  1867. </field>
  1868. <field>
  1869. <name>BEGIN_DATE</name>
  1870. <variable>${BEGIN_DATE}</variable>
  1871. <type>String</type>
  1872. <format/>
  1873. <currency/>
  1874. <decimal/>
  1875. <group/>
  1876. <length>-1</length>
  1877. <precision>-1</precision>
  1878. <trim_type>none</trim_type>
  1879. </field>
  1880. <field>
  1881. <name>END_DATE</name>
  1882. <variable>${END_DATE}</variable>
  1883. <type>String</type>
  1884. <format/>
  1885. <currency/>
  1886. <decimal/>
  1887. <group/>
  1888. <length>-1</length>
  1889. <precision>-1</precision>
  1890. <trim_type>none</trim_type>
  1891. </field>
  1892. <field>
  1893. <name>DEPT_CODE</name>
  1894. <variable>${DEPT_CODE}</variable>
  1895. <type>String</type>
  1896. <format/>
  1897. <currency/>
  1898. <decimal/>
  1899. <group/>
  1900. <length>-1</length>
  1901. <precision>-1</precision>
  1902. <trim_type>none</trim_type>
  1903. </field>
  1904. <field>
  1905. <name>mysql_host</name>
  1906. <variable>${mysql_host}</variable>
  1907. <type>String</type>
  1908. <format/>
  1909. <currency/>
  1910. <decimal/>
  1911. <group/>
  1912. <length>-1</length>
  1913. <precision>-1</precision>
  1914. <trim_type>none</trim_type>
  1915. </field>
  1916. <field>
  1917. <name>mysql_dbname</name>
  1918. <variable>${mysql_dbname}</variable>
  1919. <type>String</type>
  1920. <format/>
  1921. <currency/>
  1922. <decimal/>
  1923. <group/>
  1924. <length>-1</length>
  1925. <precision>-1</precision>
  1926. <trim_type>none</trim_type>
  1927. </field>
  1928. </fields>
  1929. <attributes/>
  1930. <cluster_schema/>
  1931. <remotesteps>
  1932. <input>
  1933. </input>
  1934. <output>
  1935. </output>
  1936. </remotesteps>
  1937. <GUI>
  1938. <xloc>128</xloc>
  1939. <yloc>512</yloc>
  1940. <draw>Y</draw>
  1941. </GUI>
  1942. </step>
  1943. <step_error_handling>
  1944. </step_error_handling>
  1945. <slave-step-copy-partition-distribution>
  1946. </slave-step-copy-partition-distribution>
  1947. <slave_transformation>N</slave_transformation>
  1948. <attributes/>
  1949. </transformation>