mem_memberext_temp_etl_nojava.ktr 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>mem_memberext_temp_etl_nojava</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. </parameters>
  13. <log>
  14. <trans-log-table>
  15. <connection/>
  16. <schema/>
  17. <table/>
  18. <size_limit_lines/>
  19. <interval/>
  20. <timeout_days/>
  21. <field>
  22. <id>ID_BATCH</id>
  23. <enabled>Y</enabled>
  24. <name>ID_BATCH</name>
  25. </field>
  26. <field>
  27. <id>CHANNEL_ID</id>
  28. <enabled>Y</enabled>
  29. <name>CHANNEL_ID</name>
  30. </field>
  31. <field>
  32. <id>TRANSNAME</id>
  33. <enabled>Y</enabled>
  34. <name>TRANSNAME</name>
  35. </field>
  36. <field>
  37. <id>STATUS</id>
  38. <enabled>Y</enabled>
  39. <name>STATUS</name>
  40. </field>
  41. <field>
  42. <id>LINES_READ</id>
  43. <enabled>Y</enabled>
  44. <name>LINES_READ</name>
  45. <subject/>
  46. </field>
  47. <field>
  48. <id>LINES_WRITTEN</id>
  49. <enabled>Y</enabled>
  50. <name>LINES_WRITTEN</name>
  51. <subject/>
  52. </field>
  53. <field>
  54. <id>LINES_UPDATED</id>
  55. <enabled>Y</enabled>
  56. <name>LINES_UPDATED</name>
  57. <subject/>
  58. </field>
  59. <field>
  60. <id>LINES_INPUT</id>
  61. <enabled>Y</enabled>
  62. <name>LINES_INPUT</name>
  63. <subject/>
  64. </field>
  65. <field>
  66. <id>LINES_OUTPUT</id>
  67. <enabled>Y</enabled>
  68. <name>LINES_OUTPUT</name>
  69. <subject/>
  70. </field>
  71. <field>
  72. <id>LINES_REJECTED</id>
  73. <enabled>Y</enabled>
  74. <name>LINES_REJECTED</name>
  75. <subject/>
  76. </field>
  77. <field>
  78. <id>ERRORS</id>
  79. <enabled>Y</enabled>
  80. <name>ERRORS</name>
  81. </field>
  82. <field>
  83. <id>STARTDATE</id>
  84. <enabled>Y</enabled>
  85. <name>STARTDATE</name>
  86. </field>
  87. <field>
  88. <id>ENDDATE</id>
  89. <enabled>Y</enabled>
  90. <name>ENDDATE</name>
  91. </field>
  92. <field>
  93. <id>LOGDATE</id>
  94. <enabled>Y</enabled>
  95. <name>LOGDATE</name>
  96. </field>
  97. <field>
  98. <id>DEPDATE</id>
  99. <enabled>Y</enabled>
  100. <name>DEPDATE</name>
  101. </field>
  102. <field>
  103. <id>REPLAYDATE</id>
  104. <enabled>Y</enabled>
  105. <name>REPLAYDATE</name>
  106. </field>
  107. <field>
  108. <id>LOG_FIELD</id>
  109. <enabled>Y</enabled>
  110. <name>LOG_FIELD</name>
  111. </field>
  112. <field>
  113. <id>EXECUTING_SERVER</id>
  114. <enabled>N</enabled>
  115. <name>EXECUTING_SERVER</name>
  116. </field>
  117. <field>
  118. <id>EXECUTING_USER</id>
  119. <enabled>N</enabled>
  120. <name>EXECUTING_USER</name>
  121. </field>
  122. <field>
  123. <id>CLIENT</id>
  124. <enabled>N</enabled>
  125. <name>CLIENT</name>
  126. </field>
  127. </trans-log-table>
  128. <perf-log-table>
  129. <connection/>
  130. <schema/>
  131. <table/>
  132. <interval/>
  133. <timeout_days/>
  134. <field>
  135. <id>ID_BATCH</id>
  136. <enabled>Y</enabled>
  137. <name>ID_BATCH</name>
  138. </field>
  139. <field>
  140. <id>SEQ_NR</id>
  141. <enabled>Y</enabled>
  142. <name>SEQ_NR</name>
  143. </field>
  144. <field>
  145. <id>LOGDATE</id>
  146. <enabled>Y</enabled>
  147. <name>LOGDATE</name>
  148. </field>
  149. <field>
  150. <id>TRANSNAME</id>
  151. <enabled>Y</enabled>
  152. <name>TRANSNAME</name>
  153. </field>
  154. <field>
  155. <id>STEPNAME</id>
  156. <enabled>Y</enabled>
  157. <name>STEPNAME</name>
  158. </field>
  159. <field>
  160. <id>STEP_COPY</id>
  161. <enabled>Y</enabled>
  162. <name>STEP_COPY</name>
  163. </field>
  164. <field>
  165. <id>LINES_READ</id>
  166. <enabled>Y</enabled>
  167. <name>LINES_READ</name>
  168. </field>
  169. <field>
  170. <id>LINES_WRITTEN</id>
  171. <enabled>Y</enabled>
  172. <name>LINES_WRITTEN</name>
  173. </field>
  174. <field>
  175. <id>LINES_UPDATED</id>
  176. <enabled>Y</enabled>
  177. <name>LINES_UPDATED</name>
  178. </field>
  179. <field>
  180. <id>LINES_INPUT</id>
  181. <enabled>Y</enabled>
  182. <name>LINES_INPUT</name>
  183. </field>
  184. <field>
  185. <id>LINES_OUTPUT</id>
  186. <enabled>Y</enabled>
  187. <name>LINES_OUTPUT</name>
  188. </field>
  189. <field>
  190. <id>LINES_REJECTED</id>
  191. <enabled>Y</enabled>
  192. <name>LINES_REJECTED</name>
  193. </field>
  194. <field>
  195. <id>ERRORS</id>
  196. <enabled>Y</enabled>
  197. <name>ERRORS</name>
  198. </field>
  199. <field>
  200. <id>INPUT_BUFFER_ROWS</id>
  201. <enabled>Y</enabled>
  202. <name>INPUT_BUFFER_ROWS</name>
  203. </field>
  204. <field>
  205. <id>OUTPUT_BUFFER_ROWS</id>
  206. <enabled>Y</enabled>
  207. <name>OUTPUT_BUFFER_ROWS</name>
  208. </field>
  209. </perf-log-table>
  210. <channel-log-table>
  211. <connection/>
  212. <schema/>
  213. <table/>
  214. <timeout_days/>
  215. <field>
  216. <id>ID_BATCH</id>
  217. <enabled>Y</enabled>
  218. <name>ID_BATCH</name>
  219. </field>
  220. <field>
  221. <id>CHANNEL_ID</id>
  222. <enabled>Y</enabled>
  223. <name>CHANNEL_ID</name>
  224. </field>
  225. <field>
  226. <id>LOG_DATE</id>
  227. <enabled>Y</enabled>
  228. <name>LOG_DATE</name>
  229. </field>
  230. <field>
  231. <id>LOGGING_OBJECT_TYPE</id>
  232. <enabled>Y</enabled>
  233. <name>LOGGING_OBJECT_TYPE</name>
  234. </field>
  235. <field>
  236. <id>OBJECT_NAME</id>
  237. <enabled>Y</enabled>
  238. <name>OBJECT_NAME</name>
  239. </field>
  240. <field>
  241. <id>OBJECT_COPY</id>
  242. <enabled>Y</enabled>
  243. <name>OBJECT_COPY</name>
  244. </field>
  245. <field>
  246. <id>REPOSITORY_DIRECTORY</id>
  247. <enabled>Y</enabled>
  248. <name>REPOSITORY_DIRECTORY</name>
  249. </field>
  250. <field>
  251. <id>FILENAME</id>
  252. <enabled>Y</enabled>
  253. <name>FILENAME</name>
  254. </field>
  255. <field>
  256. <id>OBJECT_ID</id>
  257. <enabled>Y</enabled>
  258. <name>OBJECT_ID</name>
  259. </field>
  260. <field>
  261. <id>OBJECT_REVISION</id>
  262. <enabled>Y</enabled>
  263. <name>OBJECT_REVISION</name>
  264. </field>
  265. <field>
  266. <id>PARENT_CHANNEL_ID</id>
  267. <enabled>Y</enabled>
  268. <name>PARENT_CHANNEL_ID</name>
  269. </field>
  270. <field>
  271. <id>ROOT_CHANNEL_ID</id>
  272. <enabled>Y</enabled>
  273. <name>ROOT_CHANNEL_ID</name>
  274. </field>
  275. </channel-log-table>
  276. <step-log-table>
  277. <connection/>
  278. <schema/>
  279. <table/>
  280. <timeout_days/>
  281. <field>
  282. <id>ID_BATCH</id>
  283. <enabled>Y</enabled>
  284. <name>ID_BATCH</name>
  285. </field>
  286. <field>
  287. <id>CHANNEL_ID</id>
  288. <enabled>Y</enabled>
  289. <name>CHANNEL_ID</name>
  290. </field>
  291. <field>
  292. <id>LOG_DATE</id>
  293. <enabled>Y</enabled>
  294. <name>LOG_DATE</name>
  295. </field>
  296. <field>
  297. <id>TRANSNAME</id>
  298. <enabled>Y</enabled>
  299. <name>TRANSNAME</name>
  300. </field>
  301. <field>
  302. <id>STEPNAME</id>
  303. <enabled>Y</enabled>
  304. <name>STEPNAME</name>
  305. </field>
  306. <field>
  307. <id>STEP_COPY</id>
  308. <enabled>Y</enabled>
  309. <name>STEP_COPY</name>
  310. </field>
  311. <field>
  312. <id>LINES_READ</id>
  313. <enabled>Y</enabled>
  314. <name>LINES_READ</name>
  315. </field>
  316. <field>
  317. <id>LINES_WRITTEN</id>
  318. <enabled>Y</enabled>
  319. <name>LINES_WRITTEN</name>
  320. </field>
  321. <field>
  322. <id>LINES_UPDATED</id>
  323. <enabled>Y</enabled>
  324. <name>LINES_UPDATED</name>
  325. </field>
  326. <field>
  327. <id>LINES_INPUT</id>
  328. <enabled>Y</enabled>
  329. <name>LINES_INPUT</name>
  330. </field>
  331. <field>
  332. <id>LINES_OUTPUT</id>
  333. <enabled>Y</enabled>
  334. <name>LINES_OUTPUT</name>
  335. </field>
  336. <field>
  337. <id>LINES_REJECTED</id>
  338. <enabled>Y</enabled>
  339. <name>LINES_REJECTED</name>
  340. </field>
  341. <field>
  342. <id>ERRORS</id>
  343. <enabled>Y</enabled>
  344. <name>ERRORS</name>
  345. </field>
  346. <field>
  347. <id>LOG_FIELD</id>
  348. <enabled>N</enabled>
  349. <name>LOG_FIELD</name>
  350. </field>
  351. </step-log-table>
  352. <metrics-log-table>
  353. <connection/>
  354. <schema/>
  355. <table/>
  356. <timeout_days/>
  357. <field>
  358. <id>ID_BATCH</id>
  359. <enabled>Y</enabled>
  360. <name>ID_BATCH</name>
  361. </field>
  362. <field>
  363. <id>CHANNEL_ID</id>
  364. <enabled>Y</enabled>
  365. <name>CHANNEL_ID</name>
  366. </field>
  367. <field>
  368. <id>LOG_DATE</id>
  369. <enabled>Y</enabled>
  370. <name>LOG_DATE</name>
  371. </field>
  372. <field>
  373. <id>METRICS_DATE</id>
  374. <enabled>Y</enabled>
  375. <name>METRICS_DATE</name>
  376. </field>
  377. <field>
  378. <id>METRICS_CODE</id>
  379. <enabled>Y</enabled>
  380. <name>METRICS_CODE</name>
  381. </field>
  382. <field>
  383. <id>METRICS_DESCRIPTION</id>
  384. <enabled>Y</enabled>
  385. <name>METRICS_DESCRIPTION</name>
  386. </field>
  387. <field>
  388. <id>METRICS_SUBJECT</id>
  389. <enabled>Y</enabled>
  390. <name>METRICS_SUBJECT</name>
  391. </field>
  392. <field>
  393. <id>METRICS_TYPE</id>
  394. <enabled>Y</enabled>
  395. <name>METRICS_TYPE</name>
  396. </field>
  397. <field>
  398. <id>METRICS_VALUE</id>
  399. <enabled>Y</enabled>
  400. <name>METRICS_VALUE</name>
  401. </field>
  402. </metrics-log-table>
  403. </log>
  404. <maxdate>
  405. <connection/>
  406. <table/>
  407. <field/>
  408. <offset>0.0</offset>
  409. <maxdiff>0.0</maxdiff>
  410. </maxdate>
  411. <size_rowset>2</size_rowset>
  412. <sleep_time_empty>50</sleep_time_empty>
  413. <sleep_time_full>50</sleep_time_full>
  414. <unique_connections>N</unique_connections>
  415. <feedback_shown>Y</feedback_shown>
  416. <feedback_size>50000</feedback_size>
  417. <using_thread_priorities>Y</using_thread_priorities>
  418. <shared_objects_file/>
  419. <capture_step_performance>N</capture_step_performance>
  420. <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  421. <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  422. <dependencies>
  423. </dependencies>
  424. <partitionschemas>
  425. </partitionschemas>
  426. <slaveservers>
  427. </slaveservers>
  428. <clusterschemas>
  429. </clusterschemas>
  430. <created_user>-</created_user>
  431. <created_date>2019/05/21 19:06:33.293</created_date>
  432. <modified_user>-</modified_user>
  433. <modified_date>2019/05/21 19:06:33.293</modified_date>
  434. <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
  435. <is_key_private>N</is_key_private>
  436. </info>
  437. <notepads>
  438. </notepads>
  439. <connection>
  440. <name>MallSqlserver</name>
  441. <server>192.168.50.32</server>
  442. <type>MSSQLNATIVE</type>
  443. <access>Native</access>
  444. <database>Mall</database>
  445. <port>1433</port>
  446. <username>sa</username>
  447. <password>Encrypted 2be98afc819c69e8ea300ff228dd38f99</password>
  448. <servername/>
  449. <data_tablespace/>
  450. <index_tablespace/>
  451. <attributes>
  452. <attribute>
  453. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  454. <attribute>N</attribute>
  455. </attribute>
  456. <attribute>
  457. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  458. <attribute>N</attribute>
  459. </attribute>
  460. <attribute>
  461. <code>IS_CLUSTERED</code>
  462. <attribute>N</attribute>
  463. </attribute>
  464. <attribute>
  465. <code>MSSQLUseIntegratedSecurity</code>
  466. <attribute>false</attribute>
  467. </attribute>
  468. <attribute>
  469. <code>MSSQL_DOUBLE_DECIMAL_SEPARATOR</code>
  470. <attribute>N</attribute>
  471. </attribute>
  472. <attribute>
  473. <code>PORT_NUMBER</code>
  474. <attribute>1433</attribute>
  475. </attribute>
  476. <attribute>
  477. <code>PRESERVE_RESERVED_WORD_CASE</code>
  478. <attribute>Y</attribute>
  479. </attribute>
  480. <attribute>
  481. <code>QUOTE_ALL_FIELDS</code>
  482. <attribute>N</attribute>
  483. </attribute>
  484. <attribute>
  485. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  486. <attribute>Y</attribute>
  487. </attribute>
  488. <attribute>
  489. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  490. <attribute>Y</attribute>
  491. </attribute>
  492. <attribute>
  493. <code>USE_POOLING</code>
  494. <attribute>N</attribute>
  495. </attribute>
  496. </attributes>
  497. </connection>
  498. <order>
  499. <hop>
  500. <from>表输入 2</from>
  501. <to>Elasticsearch bulk insert 2</to>
  502. <enabled>Y</enabled>
  503. </hop>
  504. </order>
  505. <step>
  506. <name>Elasticsearch bulk insert 2</name>
  507. <type>ElasticSearchBulk</type>
  508. <description/>
  509. <distribute>Y</distribute>
  510. <custom_distribution/>
  511. <copies>30</copies>
  512. <partitioning>
  513. <method>none</method>
  514. <schema_name/>
  515. </partitioning>
  516. <general>
  517. <index>crm_memberext_temp</index>
  518. <type>_doc</type>
  519. <batchSize>3</batchSize>
  520. <timeout>100</timeout>
  521. <timeoutUnit>SECONDS</timeoutUnit>
  522. <isJson>N</isJson>
  523. <idField>MemKey</idField>
  524. <overwriteIfExists>Y</overwriteIfExists>
  525. <useOutput>N</useOutput>
  526. <stopOnError>Y</stopOnError>
  527. </general>
  528. <fields>
  529. <field>
  530. <columnName>AConsigneePhone1</columnName>
  531. <targetName>AConsigneePhone1</targetName>
  532. </field>
  533. <field>
  534. <columnName>AConsigneePhone2</columnName>
  535. <targetName>AConsigneePhone2</targetName>
  536. </field>
  537. <field>
  538. <columnName>AConsigneePhone3</columnName>
  539. <targetName>AConsigneePhone3</targetName>
  540. </field>
  541. <field>
  542. <columnName>ADeliveryAddress</columnName>
  543. <targetName>ADeliveryAddress</targetName>
  544. </field>
  545. <field>
  546. <columnName>AccountId</columnName>
  547. <targetName>AccountId</targetName>
  548. </field>
  549. <field>
  550. <columnName>AccountName</columnName>
  551. <targetName>AccountName</targetName>
  552. </field>
  553. <field>
  554. <columnName>AdvancePayType</columnName>
  555. <targetName>AdvancePayType</targetName>
  556. </field>
  557. <field>
  558. <columnName>AgainOrderCount</columnName>
  559. <targetName>AgainOrderCount</targetName>
  560. </field>
  561. <field>
  562. <columnName>Age</columnName>
  563. <targetName>Age</targetName>
  564. </field>
  565. <field>
  566. <columnName>BusinessId</columnName>
  567. <targetName>BusinessId</targetName>
  568. </field>
  569. <field>
  570. <columnName>BuyUserId</columnName>
  571. <targetName>BuyUserId</targetName>
  572. </field>
  573. <field>
  574. <columnName>ConfimLevel</columnName>
  575. <targetName>ConfimLevel</targetName>
  576. </field>
  577. <field>
  578. <columnName>ConfirmId</columnName>
  579. <targetName>ConfirmId</targetName>
  580. </field>
  581. <field>
  582. <columnName>ConsigneeType</columnName>
  583. <targetName>ConsigneeType</targetName>
  584. </field>
  585. <field>
  586. <columnName>CreationDate</columnName>
  587. <targetName>CreationDate</targetName>
  588. </field>
  589. <field>
  590. <columnName>CustomerCode</columnName>
  591. <targetName>CustomerCode</targetName>
  592. </field>
  593. <field>
  594. <columnName>CustomerDataId</columnName>
  595. <targetName>CustomerDataId</targetName>
  596. </field>
  597. <field>
  598. <columnName>CustomerName</columnName>
  599. <targetName>CustomerName</targetName>
  600. </field>
  601. <field>
  602. <columnName>DataId</columnName>
  603. <targetName>DataId</targetName>
  604. </field>
  605. <field>
  606. <columnName>DataName</columnName>
  607. <targetName>DataName</targetName>
  608. </field>
  609. <field>
  610. <columnName>DeliveryType</columnName>
  611. <targetName>DeliveryType</targetName>
  612. </field>
  613. <field>
  614. <columnName>DeliveryZipCode</columnName>
  615. <targetName>DeliveryZipCode</targetName>
  616. </field>
  617. <field>
  618. <columnName>DeptCode</columnName>
  619. <targetName>DeptCode</targetName>
  620. </field>
  621. <field>
  622. <columnName>DeptId</columnName>
  623. <targetName>DeptId</targetName>
  624. </field>
  625. <field>
  626. <columnName>DeviceType</columnName>
  627. <targetName>DeviceType</targetName>
  628. </field>
  629. <field>
  630. <columnName>Discountprice</columnName>
  631. <targetName>Discountprice</targetName>
  632. </field>
  633. <field>
  634. <columnName>DiseaseClassCode</columnName>
  635. <targetName>DiseaseClassCode</targetName>
  636. </field>
  637. <field>
  638. <columnName>HuaWuOriginType</columnName>
  639. <targetName>HuaWuOriginType</targetName>
  640. </field>
  641. <field>
  642. <columnName>Id</columnName>
  643. <targetName>Id</targetName>
  644. </field>
  645. <field>
  646. <columnName>InitSum</columnName>
  647. <targetName>InitSum</targetName>
  648. </field>
  649. <field>
  650. <columnName>InventoryAuditDate</columnName>
  651. <targetName>InventoryAuditDate</targetName>
  652. </field>
  653. <field>
  654. <columnName>Invoice</columnName>
  655. <targetName>Invoice</targetName>
  656. </field>
  657. <field>
  658. <columnName>InvoiceContent</columnName>
  659. <targetName>InvoiceContent</targetName>
  660. </field>
  661. <field>
  662. <columnName>InvoiceContentType</columnName>
  663. <targetName>InvoiceContentType</targetName>
  664. </field>
  665. <field>
  666. <columnName>InvoiceNo</columnName>
  667. <targetName>InvoiceNo</targetName>
  668. </field>
  669. <field>
  670. <columnName>IsDealWith</columnName>
  671. <targetName>IsDealWith</targetName>
  672. </field>
  673. <field>
  674. <columnName>IsDrug</columnName>
  675. <targetName>IsDrug</targetName>
  676. </field>
  677. <field>
  678. <columnName>IsEmailmark</columnName>
  679. <targetName>IsEmailmark</targetName>
  680. </field>
  681. <field>
  682. <columnName>IsNewOrder</columnName>
  683. <targetName>IsNewOrder</targetName>
  684. </field>
  685. <field>
  686. <columnName>IsO2O</columnName>
  687. <targetName>IsO2O</targetName>
  688. </field>
  689. <field>
  690. <columnName>IsPayByCard</columnName>
  691. <targetName>IsPayByCard</targetName>
  692. </field>
  693. <field>
  694. <columnName>IsPrescription</columnName>
  695. <targetName>IsPrescription</targetName>
  696. </field>
  697. <field>
  698. <columnName>IsReturn</columnName>
  699. <targetName>IsReturn</targetName>
  700. </field>
  701. <field>
  702. <columnName>IsReward</columnName>
  703. <targetName>IsReward</targetName>
  704. </field>
  705. <field>
  706. <columnName>IsRxDrug</columnName>
  707. <targetName>IsRxDrug</targetName>
  708. </field>
  709. <field>
  710. <columnName>IsToERP</columnName>
  711. <targetName>IsToERP</targetName>
  712. </field>
  713. <field>
  714. <columnName>IsVisible</columnName>
  715. <targetName>IsVisible</targetName>
  716. </field>
  717. <field>
  718. <columnName>LastModified</columnName>
  719. <targetName>LastModified</targetName>
  720. </field>
  721. <field>
  722. <columnName>LeverNumber</columnName>
  723. <targetName>LeverNumber</targetName>
  724. </field>
  725. <field>
  726. <columnName>MemKey</columnName>
  727. <targetName>MemKey</targetName>
  728. </field>
  729. <field>
  730. <columnName>MemUsualAreaCode</columnName>
  731. <targetName>MemUsualAreaCode</targetName>
  732. </field>
  733. <field>
  734. <columnName>MemUsualCityCode</columnName>
  735. <targetName>MemUsualCityCode</targetName>
  736. </field>
  737. <field>
  738. <columnName>MemUsualPhone</columnName>
  739. <targetName>MemUsualPhone</targetName>
  740. </field>
  741. <field>
  742. <columnName>MemUsualProvinceCode</columnName>
  743. <targetName>MemUsualProvinceCode</targetName>
  744. </field>
  745. <field>
  746. <columnName>MemberGender</columnName>
  747. <targetName>MemberGender</targetName>
  748. </field>
  749. <field>
  750. <columnName>MemberNickName</columnName>
  751. <targetName>MemberNickName</targetName>
  752. </field>
  753. <field>
  754. <columnName>MerchantNote</columnName>
  755. <targetName>MerchantNote</targetName>
  756. </field>
  757. <field>
  758. <columnName>OperateID</columnName>
  759. <targetName>OperateID</targetName>
  760. </field>
  761. <field>
  762. <columnName>OrderKey</columnName>
  763. <targetName>OrderKey</targetName>
  764. </field>
  765. <field>
  766. <columnName>OrderNotes</columnName>
  767. <targetName>OrderNotes</targetName>
  768. </field>
  769. <field>
  770. <columnName>OrderProcessDate</columnName>
  771. <targetName>OrderProcessDate</targetName>
  772. </field>
  773. <field>
  774. <columnName>OrderStatus</columnName>
  775. <targetName>OrderStatus</targetName>
  776. </field>
  777. <field>
  778. <columnName>OrderTime</columnName>
  779. <targetName>OrderTime</targetName>
  780. </field>
  781. <field>
  782. <columnName>OrdersCode</columnName>
  783. <targetName>OrdersCode</targetName>
  784. </field>
  785. <field>
  786. <columnName>OrdersType</columnName>
  787. <targetName>OrdersType</targetName>
  788. </field>
  789. <field>
  790. <columnName>OriginType</columnName>
  791. <targetName>OriginType</targetName>
  792. </field>
  793. <field>
  794. <columnName>OtherNote</columnName>
  795. <targetName>OtherNote</targetName>
  796. </field>
  797. <field>
  798. <columnName>PaymentType</columnName>
  799. <targetName>PaymentType</targetName>
  800. </field>
  801. <field>
  802. <columnName>PreferentialRate</columnName>
  803. <targetName>PreferentialRate</targetName>
  804. </field>
  805. <field>
  806. <columnName>ProductCost</columnName>
  807. <targetName>ProductCost</targetName>
  808. </field>
  809. <field>
  810. <columnName>ProductLine</columnName>
  811. <targetName>ProductLine</targetName>
  812. </field>
  813. <field>
  814. <columnName>ReceivingTime</columnName>
  815. <targetName>ReceivingTime</targetName>
  816. </field>
  817. <field>
  818. <columnName>Reducing</columnName>
  819. <targetName>Reducing</targetName>
  820. </field>
  821. <field>
  822. <columnName>RegionCode</columnName>
  823. <targetName>RegionCode</targetName>
  824. </field>
  825. <field>
  826. <columnName>SDataId</columnName>
  827. <targetName>SDataId</targetName>
  828. </field>
  829. <field>
  830. <columnName>ShippingNo</columnName>
  831. <targetName>ShippingNo</targetName>
  832. </field>
  833. <field>
  834. <columnName>ShippingTime</columnName>
  835. <targetName>ShippingTime</targetName>
  836. </field>
  837. <field>
  838. <columnName>SourcePlatforms</columnName>
  839. <targetName>SourcePlatforms</targetName>
  840. </field>
  841. <field>
  842. <columnName>SubProductLine</columnName>
  843. <targetName>SubProductLine</targetName>
  844. </field>
  845. <field>
  846. <columnName>Sum</columnName>
  847. <targetName>Sum</targetName>
  848. </field>
  849. <field>
  850. <columnName>SyncStatus</columnName>
  851. <targetName>SyncStatus</targetName>
  852. </field>
  853. <field>
  854. <columnName>TransportCosts</columnName>
  855. <targetName>TransportCosts</targetName>
  856. </field>
  857. </fields>
  858. <servers>
  859. <server>
  860. <address>192.168.50.32</address>
  861. <port>9300</port>
  862. </server>
  863. </servers>
  864. <settings>
  865. <setting>
  866. <name>cluster.name</name>
  867. <value>es</value>
  868. </setting>
  869. <setting>
  870. <name>custom.aliase.source</name>
  871. <value>mem_memberext_temp</value>
  872. </setting>
  873. <setting>
  874. <name>custom.fields.HasOrder</name>
  875. <value>{"type":"boolean"}</value>
  876. </setting>
  877. <setting>
  878. <name>custom.fields.MemDesc</name>
  879. <value>{"type":"text","analyzer": "ik_smart",
  880. "search_analyzer":"ik_smart","index":true}</value>
  881. </setting>
  882. <setting>
  883. <name>custom.fields.MemberBirthday</name>
  884. <value>{"type":"date","format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||strict_date_optional_time||epoch_millis"}</value>
  885. </setting>
  886. <setting>
  887. <name>custom.fields.RegisterTime</name>
  888. <value>{"type":"date","format":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||strict_date_optional_time||epoch_millis"}</value>
  889. </setting>
  890. <setting>
  891. <name>custom.index.number_of_replicas</name>
  892. <value>1</value>
  893. </setting>
  894. <setting>
  895. <name>custom.index.number_of_shards</name>
  896. <value>11</value>
  897. </setting>
  898. </settings>
  899. <attributes/>
  900. <cluster_schema/>
  901. <remotesteps>
  902. <input>
  903. </input>
  904. <output>
  905. </output>
  906. </remotesteps>
  907. <GUI>
  908. <xloc>240</xloc>
  909. <yloc>272</yloc>
  910. <draw>Y</draw>
  911. </GUI>
  912. </step>
  913. <step>
  914. <name>表输入 2</name>
  915. <type>TableInput</type>
  916. <description/>
  917. <distribute>Y</distribute>
  918. <custom_distribution/>
  919. <copies>1</copies>
  920. <partitioning>
  921. <method>none</method>
  922. <schema_name/>
  923. </partitioning>
  924. <connection>MallSqlserver</connection>
  925. <sql>
  926. SELECT top 1
  927. row_number() over (order by AConsigneePhone2 asc ) as MemKey,
  928. OrdersCode as OrderKey,
  929. OrdersCode
  930. ,case when AConsigneePhone2= '' then
  931. (case
  932. when AconsigneePhone1!='' then dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',AConsigneePhone1)
  933. else ''end)
  934. ELSE dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',AConsigneePhone2) end as MemUsualPhone
  935. , convert(varchar(19),[CreationDate],120) as [CreationDate]
  936. , convert(varchar(19),[LastModified],120) as [LastModified]
  937. , AccountId
  938. , AccountName
  939. , Consignee as MemberNickName
  940. , DeliveryZipCode
  941. , Invoice
  942. , InvoiceNo
  943. , OrderNotes
  944. , PaymentType
  945. , DeliveryType
  946. , convert(varchar(19),[OrderTime],120) as [OrderTime]
  947. , convert(varchar(19),[ShippingTime],120) as [ShippingTime]
  948. , convert(varchar(19),[ReceivingTime],120) as [ReceivingTime]
  949. , ShippingNo
  950. , OrderStatus
  951. , IsReturn
  952. , TransportCosts
  953. , RegionCode
  954. , IsRxDrug
  955. , OriginType
  956. , OperateID
  957. , DeptId
  958. , DeptCode
  959. , BuyUserId
  960. , ProductLine
  961. , SubProductLine
  962. , DiseaseClassCode
  963. , convert(varchar(19),[Age],120) as [Age]
  964. , Sex as MemberGender
  965. , SyncStatus
  966. , IsVisible
  967. , SourcePlatforms
  968. , DeviceType
  969. , IsReward
  970. , IsEmailmark
  971. , CustomerDataId
  972. , IsDrug
  973. , HuaWuOriginType
  974. , AgainOrderCount
  975. , ConfimLevel
  976. , BusinessId
  977. , IsPayByCard
  978. , PreferentialRate
  979. , dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',AConsigneePhone1) as AConsigneePhone1
  980. , dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',AConsigneePhone2) as AConsigneePhone2
  981. , dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',AConsigneePhone3) as AConsigneePhone3
  982. , dbo.DesDecryptFixKey('123456','123456e10adc3949ba59abbe56e057f20f883e',ADeliveryAddress) as ADeliveryAddress
  983. , IsDealWith
  984. , IsNewOrder
  985. , ConsigneeType
  986. , CustomerCode
  987. , CustomerName
  988. , InvoiceContent
  989. , InvoiceContentType
  990. , OrdersType
  991. , LeverNumber
  992. , IsO2O
  993. , AdvancePayType
  994. , convert(varchar(19),[InventoryAuditDate],120) as [InventoryAuditDate]
  995. , convert(varchar(19),[OrderProcessDate],120) as [OrderProcessDate]
  996. , IsToERP
  997. , MerchantNote
  998. , OtherNote
  999. , IsPrescription
  1000. , ConfirmId
  1001. ,
  1002. case when b0.Level= 3 then a.RegionCode else null end as MemUsualAreaCode,
  1003. case when b1.Level= 2 then b.ParentCode else b.AreaCode end as MemUsualCityCode,
  1004. case when c1.Level= 1 then c.ParentCode else c.AreaCode end as MemUsualProvinceCode
  1005. FROM Orders a
  1006. left join Areamap b0 on b0.MappingCode=a.RegionCode
  1007. left join AreaRegion b on b.AreaCode=a.RegionCode left join Areamap b1 on b1.MappingCode=b.ParentCode
  1008. left join AreaRegion c on c.AreaCode=b.ParentCode left join Areamap c1 on c1.MappingCode=c.ParentCode
  1009. where 1=1 and (AconsigneePhone1!='' or AconsigneePhone2!='')
  1010. --order by AConsigneePhone2 asc
  1011. --offset 0 rows fetch NEXT 2 rows only
  1012. order by AConsigneePhone2 asc
  1013. --offset ((524-1)*5000) rows --fetch next (10) rows only</sql>
  1014. <limit>0</limit>
  1015. <lookup/>
  1016. <execute_each_row>N</execute_each_row>
  1017. <variables_active>N</variables_active>
  1018. <lazy_conversion_active>N</lazy_conversion_active>
  1019. <attributes/>
  1020. <cluster_schema/>
  1021. <remotesteps>
  1022. <input>
  1023. </input>
  1024. <output>
  1025. </output>
  1026. </remotesteps>
  1027. <GUI>
  1028. <xloc>256</xloc>
  1029. <yloc>112</yloc>
  1030. <draw>Y</draw>
  1031. </GUI>
  1032. </step>
  1033. <step_error_handling>
  1034. </step_error_handling>
  1035. <slave-step-copy-partition-distribution>
  1036. </slave-step-copy-partition-distribution>
  1037. <slave_transformation>N</slave_transformation>
  1038. <attributes/>
  1039. </transformation>