Commit 558a646edba93d6b412bee9f3289e9a261d25601

Authored by 徐烜
1 parent c3209b2f

1、修改vehicleDataSync.ktr,解析json数据时,将application_scrap_type改成apply_scarp_type,具体参看相关javascript步骤

src/main/resources/datatools/ktrs/vehicleDataSync.ktr
... ... @@ -128,8 +128,8 @@
128 128 <note>1&#x3001;json&#x8f93;&#x5165;step&#x5904;&#x7406;&#x592a;&#x6162;&#xff0c;&#x4f7f;&#x7528;javascript&#x6a21;&#x62df;&#x4ee3;&#x66ff;&#xa;2&#x3001;&#x5f85;&#x5904;&#x7406;&#x6570;&#x636e;xls&#x8f93;&#x51fa;&#x4e2d;&#x5df2;&#x7ecf;&#x5305;&#x542b;&#x4e86;&#x8fdc;&#x7a0b;&#x548c;&#x672c;&#x5730;&#x7684;&#x5bf9;&#x6bd4;&#x8f66;&#x8f86;&#x6570;&#x636e;&#xff08;&#x4e0d;&#x9700;&#x8981;&#x8f93;&#x51fa;&#x6574;&#x4e2a;&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;xls&#xff09;&#xff0c;&#xa; &#x5982;&#x679c;&#x4ee5;&#x540e;&#x6dfb;&#x52a0;&#x66f4;&#x591a;&#x7684;&#x66f4;&#x65b0;&#x5b57;&#x6bb5;&#xff0c;&#x8fd9;&#x4e2a;&#x6b65;&#x9aa4;&#x8981;&#x6539;&#x7684;&#xa;3&#x3001;&#x6ce8;&#x610f;&#xff1a;&#x547d;&#x540d;&#x53c2;&#x6570;paramClzbh&#x7684;&#x9ed8;&#x8ba4;&#x503c;&#x4e0d;&#x8981;&#x5199;&#xff0c;&#x5426;&#x5219;&#x5728;&#x8fdb;&#x884c;&#x65f6;&#x95f4;&#x8303;&#x56f4;&#x540c;&#x6b65;&#x7684;&#x65f6;&#x5019;&#x6c38;&#x8fdc;&#x6309;&#x7167;paramClzbh&#x9ed8;&#x8ba4;&#x503c;&#x540c;&#x6b65;&#x4e86;&#xff0c;&#xa; TODO&#xff1a;&#x4e4b;&#x540e;&#x4f1a;&#x8003;&#x8651;&#x4f7f;&#x7528;&#x65b0;&#x7684;&#x547d;&#x540d;&#x53c2;&#x6570;paramType&#x533a;&#x522b;&#x4e0d;&#x540c;&#x7684;&#x540c;&#x6b65;&#x7c7b;&#x578b;</note>
129 129 <xloc>463</xloc>
130 130 <yloc>36</yloc>
131   - <width>649</width>
132   - <heigth>90</heigth>
  131 + <width>1246</width>
  132 + <heigth>130</heigth>
133 133 <fontname>YaHei Consolas Hybrid</fontname>
134 134 <fontsize>12</fontsize>
135 135 <fontbold>N</fontbold>
... ... @@ -147,112 +147,6 @@
147 147 </notepad>
148 148 </notepads>
149 149 <connection>
150   - <name>192.168.168.1_jwgl_dw</name>
151   - <server>192.168.168.1</server>
152   - <type>ORACLE</type>
153   - <access>Native</access>
154   - <database>orcl</database>
155   - <port>1521</port>
156   - <username>jwgl_dw</username>
157   - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password>
158   - <servername/>
159   - <data_tablespace/>
160   - <index_tablespace/>
161   - <attributes>
162   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
163   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
164   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
165   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
166   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
167   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
168   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
169   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
170   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
171   - </attributes>
172   - </connection>
173   - <connection>
174   - <name>bus_control_variable</name>
175   - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
176   - <type>MYSQL</type>
177   - <access>Native</access>
178   - <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
179   - <port>3306</port>
180   - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
181   - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
182   - <servername/>
183   - <data_tablespace/>
184   - <index_tablespace/>
185   - <attributes>
186   - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
187   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
188   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
189   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
190   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
191   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
192   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
193   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
194   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
195   - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
196   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
197   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
198   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
199   - </attributes>
200   - </connection>
201   - <connection>
202   - <name>bus_control_&#x516c;&#x53f8;_201</name>
203   - <server>localhost</server>
204   - <type>MYSQL</type>
205   - <access>Native</access>
206   - <database>control</database>
207   - <port>3306</port>
208   - <username>root</username>
209   - <password>Encrypted </password>
210   - <servername/>
211   - <data_tablespace/>
212   - <index_tablespace/>
213   - <attributes>
214   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
215   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
216   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
217   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
218   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
219   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
220   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
221   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
222   - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
223   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
224   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
225   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
226   - </attributes>
227   - </connection>
228   - <connection>
229   - <name>bus_control_&#x672c;&#x673a;</name>
230   - <server>localhost</server>
231   - <type>MYSQL</type>
232   - <access>Native</access>
233   - <database>control</database>
234   - <port>3306</port>
235   - <username>root</username>
236   - <password>Encrypted </password>
237   - <servername/>
238   - <data_tablespace/>
239   - <index_tablespace/>
240   - <attributes>
241   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
242   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
243   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
244   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
245   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
246   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
247   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
248   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
249   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
250   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
251   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
252   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
253   - </attributes>
254   - </connection>
255   - <connection>
256 150 <name>control_jndi</name>
257 151 <server/>
258 152 <type>MYSQL</type>
... ... @@ -277,410 +171,6 @@
277 171 <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
278 172 </attributes>
279 173 </connection>
280   - <connection>
281   - <name>JGJW_VM</name>
282   - <server>192.168.198.240</server>
283   - <type>ORACLE</type>
284   - <access>Native</access>
285   - <database>orcl</database>
286   - <port>1521</port>
287   - <username>jwgl</username>
288   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10d485a8d6</password>
289   - <servername/>
290   - <data_tablespace/>
291   - <index_tablespace/>
292   - <attributes>
293   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
294   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
295   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
296   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
297   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
298   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
299   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
300   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
301   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
302   - </attributes>
303   - </connection>
304   - <connection>
305   - <name>NHJW_VM</name>
306   - <server>192.168.198.240</server>
307   - <type>ORACLE</type>
308   - <access>Native</access>
309   - <database>orcl</database>
310   - <port>1521</port>
311   - <username>nhjw</username>
312   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10d09aa5cd</password>
313   - <servername/>
314   - <data_tablespace/>
315   - <index_tablespace/>
316   - <attributes>
317   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
318   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
319   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
320   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
321   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
322   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
323   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
324   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
325   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
326   - </attributes>
327   - </connection>
328   - <connection>
329   - <name>PDGJ_VM</name>
330   - <server>192.168.198.240</server>
331   - <type>ORACLE</type>
332   - <access>Native</access>
333   - <database>orcl</database>
334   - <port>1521</port>
335   - <username>pdgj</username>
336   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10ce96a8d0</password>
337   - <servername/>
338   - <data_tablespace/>
339   - <index_tablespace/>
340   - <attributes>
341   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
342   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
343   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
344   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
345   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
346   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
347   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
348   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
349   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
350   - </attributes>
351   - </connection>
352   - <connection>
353   - <name>repair_dw_mysql_jndi</name>
354   - <server/>
355   - <type>MYSQL</type>
356   - <access>JNDI</access>
357   - <database>repair_dw_mysql</database>
358   - <port>1521</port>
359   - <username/>
360   - <password>Encrypted </password>
361   - <servername/>
362   - <data_tablespace/>
363   - <index_tablespace/>
364   - <attributes>
365   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
366   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
367   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
368   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
369   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
370   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
371   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
372   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
373   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
374   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
375   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
376   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
377   - </attributes>
378   - </connection>
379   - <connection>
380   - <name>repair_dw&#xff08;&#x672c;&#x673a;&#xff09;</name>
381   - <server>localhost</server>
382   - <type>MYSQL</type>
383   - <access>Native</access>
384   - <database>ruoyi-vue-3.5</database>
385   - <port>3306</port>
386   - <username>root</username>
387   - <password>Encrypted </password>
388   - <servername/>
389   - <data_tablespace/>
390   - <index_tablespace/>
391   - <attributes>
392   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
393   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
394   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
395   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
396   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
397   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
398   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
399   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
400   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
401   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
402   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
403   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
404   - </attributes>
405   - </connection>
406   - <connection>
407   - <name>repair_real_h2</name>
408   - <server/>
409   - <type>H2</type>
410   - <access>JNDI</access>
411   - <database>repair_real_h2</database>
412   - <port>1521</port>
413   - <username/>
414   - <password>Encrypted </password>
415   - <servername/>
416   - <data_tablespace/>
417   - <index_tablespace/>
418   - <attributes>
419   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
420   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
421   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
422   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
423   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
424   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
425   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
426   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
427   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
428   - </attributes>
429   - </connection>
430   - <connection>
431   - <name>SNJW_VM</name>
432   - <server>192.168.198.240</server>
433   - <type>ORACLE</type>
434   - <access>Native</access>
435   - <database>orcl</database>
436   - <port>1521</port>
437   - <username>snjw</username>
438   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10cd9ca5cd</password>
439   - <servername/>
440   - <data_tablespace/>
441   - <index_tablespace/>
442   - <attributes>
443   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
444   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
445   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
446   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
447   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
448   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
449   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
450   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
451   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
452   - </attributes>
453   - </connection>
454   - <connection>
455   - <name>test_control_local</name>
456   - <server>localhost</server>
457   - <type>MYSQL</type>
458   - <access>Native</access>
459   - <database>test_control</database>
460   - <port>3306</port>
461   - <username>root</username>
462   - <password>Encrypted </password>
463   - <servername/>
464   - <data_tablespace/>
465   - <index_tablespace/>
466   - <attributes>
467   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
468   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
469   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
470   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
471   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
472   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
473   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
474   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
475   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
476   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
477   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
478   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
479   - </attributes>
480   - </connection>
481   - <connection>
482   - <name>test_control&#xff08;&#x672c;&#x673a;&#xff09;</name>
483   - <server>127.0.0.1</server>
484   - <type>MYSQL</type>
485   - <access>Native</access>
486   - <database>test_control</database>
487   - <port>3306</port>
488   - <username>root</username>
489   - <password>Encrypted </password>
490   - <servername/>
491   - <data_tablespace/>
492   - <index_tablespace/>
493   - <attributes>
494   - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
495   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
496   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
497   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
498   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
499   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
500   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
501   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
502   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
503   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
504   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
505   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
506   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
507   - </attributes>
508   - </connection>
509   - <connection>
510   - <name>xlab_mysql_youle</name>
511   - <server>101.231.124.8</server>
512   - <type>MYSQL</type>
513   - <access>Native</access>
514   - <database>xlab_youle</database>
515   - <port>45687</port>
516   - <username>xlab-youle</username>
517   - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
518   - <servername/>
519   - <data_tablespace/>
520   - <index_tablespace/>
521   - <attributes>
522   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
523   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
524   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
525   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
526   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
527   - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
528   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
529   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
530   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
531   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
532   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
533   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
534   - </attributes>
535   - </connection>
536   - <connection>
537   - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
538   - <server>localhost</server>
539   - <type>MYSQL</type>
540   - <access>Native</access>
541   - <database>xlab_youle</database>
542   - <port>3306</port>
543   - <username>root</username>
544   - <password>Encrypted </password>
545   - <servername/>
546   - <data_tablespace/>
547   - <index_tablespace/>
548   - <attributes>
549   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
550   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
551   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
552   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
553   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
554   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
555   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
556   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
557   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
558   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
559   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
560   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
561   - </attributes>
562   - </connection>
563   - <connection>
564   - <name>xlab_youle</name>
565   - <server/>
566   - <type>MYSQL</type>
567   - <access>JNDI</access>
568   - <database>xlab_youle</database>
569   - <port>1521</port>
570   - <username/>
571   - <password>Encrypted </password>
572   - <servername/>
573   - <data_tablespace/>
574   - <index_tablespace/>
575   - <attributes>
576   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
577   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
578   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
579   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
580   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
581   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
582   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
583   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
584   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
585   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
586   - </attributes>
587   - </connection>
588   - <connection>
589   - <name>YGJW_VM</name>
590   - <server>192.168.198.240</server>
591   - <type>ORACLE</type>
592   - <access>Native</access>
593   - <database>orcl</database>
594   - <port>1521</port>
595   - <username>ygjw</username>
596   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10c795a5cd</password>
597   - <servername/>
598   - <data_tablespace/>
599   - <index_tablespace/>
600   - <attributes>
601   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
602   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
603   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
604   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
605   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
606   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
607   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
608   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
609   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
610   - </attributes>
611   - </connection>
612   - <connection>
613   - <name>&#x516c;&#x53f8;jgjw</name>
614   - <server>192.168.168.1</server>
615   - <type>ORACLE</type>
616   - <access>Native</access>
617   - <database>orcl</database>
618   - <port>1521</port>
619   - <username>jwgl</username>
620   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10d485a8d6</password>
621   - <servername/>
622   - <data_tablespace/>
623   - <index_tablespace/>
624   - <attributes>
625   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
626   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
627   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
628   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
629   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
630   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
631   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
632   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
633   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
634   - </attributes>
635   - </connection>
636   - <connection>
637   - <name>&#x516c;&#x53f8;snjw</name>
638   - <server>192.168.168.1</server>
639   - <type>ORACLE</type>
640   - <access>Native</access>
641   - <database>orcl</database>
642   - <port>1521</port>
643   - <username>snjw</username>
644   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10cd9ca5cd</password>
645   - <servername/>
646   - <data_tablespace/>
647   - <index_tablespace/>
648   - <attributes>
649   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
650   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
651   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
652   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
653   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
654   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
655   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
656   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
657   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
658   - </attributes>
659   - </connection>
660   - <connection>
661   - <name>&#x516c;&#x53f8;ygjw</name>
662   - <server>192.168.168.1</server>
663   - <type>ORACLE</type>
664   - <access>Native</access>
665   - <database>orcl</database>
666   - <port>1521</port>
667   - <username>ygjw</username>
668   - <password>Encrypted 2be98afc86aa7f2e4cb79ce10c795a5cd</password>
669   - <servername/>
670   - <data_tablespace/>
671   - <index_tablespace/>
672   - <attributes>
673   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
674   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
675   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
676   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
677   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
678   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
679   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
680   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
681   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
682   - </attributes>
683   - </connection>
684 174 <order>
685 175 <hop> <from>http&#x63a5;&#x53e3;&#x8c03;&#x7528;</from><to>JavaScript&#x89e3;&#x6790;json&#x751f;&#x6210;&#x6570;&#x636e;</to><enabled>Y</enabled> </hop>
686 176 <hop> <from>&#x83b7;&#x53d6;&#x53c2;&#x6570;</from><to>http&#x63a5;&#x53e3;&#x8c03;&#x7528;</to><enabled>Y</enabled> </hop>
... ... @@ -728,7 +218,7 @@
728 218 <optimizationLevel>9</optimizationLevel>
729 219 <jsScripts> <jsScript> <jsScript_type>0</jsScript_type>
730 220 <jsScript_name>Script 1</jsScript_name>
731   - <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#x2f;&#x2f;---------------- &#x6570;&#x636e;&#x8fc7;&#x6ee4;&#x53c2;&#x6570;&#x5904;&#x7406; --------------&#x2f;&#x2f;&#xa;&#x2f;&#x2f; 1&#x3001;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa;var existParamZbh &#x3d; false&#x3b; &#x2f;&#x2f; &#x662f;&#x5426;&#x5b58;&#x5728;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#x53c2;&#x6570;&#xa;if &#x28;paramClzbh &#x21;&#x3d; null &#x26;&#x26; paramClzbh &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; existParamZbh &#x3d; true&#x3b;&#xa;&#x7d;&#xa;&#x2f;&#x2f; 2&#x3001;&#x5f00;&#x59cb;&#x65f6;&#x95f4;&#x3001;&#x7ed3;&#x675f;&#x65f6;&#x95f4;&#x53c2;&#x6570;&#xa;var paramFrom_date&#x3b;&#xa;var paramTo_date&#x3b;&#xa;if &#x28;paramFrom &#x21;&#x3d; null &#x26;&#x26; paramFrom &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; paramFrom_date &#x3d; str2date&#x28;paramFrom, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa;&#x7d;&#xa;if &#x28;paramTo &#x21;&#x3d; null &#x26;&#x26; paramTo &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; paramTo_date &#x3d; str2date&#x28;paramTo, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa;&#x7d;&#xa;&#xa;&#x2f;&#x2a;&#x2a;&#xa; &#x2a; &#x65b0;&#x589e;&#x5904;&#x7406;&#x884c;&#x51fd;&#x6570;&#x3002;&#xa; &#x2a; &#x40;param newRow &#x5f85;&#x65b0;&#x589e;&#x7684;&#x884c;&#xa; &#x2a; &#x40;param jsonRow &#x53ef;&#x89e3;&#x6790;&#x7684;&#x884c;&#x5bf9;&#x8c61;&#x6570;&#x636e;&#xa; &#x2a; &#x40;return false&#xff1a;&#x8868;&#x793a;&#x5916;&#x90e8;&#x5faa;&#x73af;break&#xa; &#x2a;&#x2f;&#xa;function processRow&#x28;newRow, jsonRow&#x29; &#x7b;&#xa; &#x2f;&#x2f;------------ &#x6839;&#x636e;&#x53c2;&#x6570;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55; ---------&#x2f;&#x2f;&#xa; &#x2f;&#x2f; 1&#x3001;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#x53c2;&#x6570;&#xff0c;&#x4f18;&#x5148;&#x7ea7;&#x6700;&#x9ad8;&#xff08;&#x5176;&#x4ed6;&#x53c2;&#x6570;&#x4e0d;&#x5339;&#x914d;&#x4e86;&#xff09;&#xff0c;&#x5e76;&#x4e14;&#x53ea;&#x5339;&#x914d;&#x4e00;&#x6b21;&#xa; if &#x28;existParamZbh&#x29; &#x7b;&#xa; if &#x28;paramClzbh &#x3d;&#x3d; jsonRow.car_code&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return false&#x3b;&#xa; &#x7d;&#xa; return true&#x3b;&#xa; &#x7d;&#xa;&#xa; &#x2f;&#x2f; 2&#x3001;&#x5f00;&#x59cb;&#x65f6;&#x95f4;&#xff0c;&#x7ed3;&#x675f;&#x65f6;&#x95f4;&#x53c2;&#x6570;&#xff0c;&#x4e24;&#x4e2a;&#x90fd;&#x662f;&#x5fc5;&#x586b;&#x53c2;&#x6570;&#xff0c;&#x53ea;&#x8981;&#x6709;&#x4e00;&#x4e2a;&#x4e0d;&#x5b58;&#x5728;&#xff0c;&#x5219;&#x9000;&#x51fa;&#x6574;&#x4e2a;&#x5faa;&#x73af;&#xa; &#x2f;&#x2f; &#x4f7f;&#x7528;&#x65b0;&#x589e;&#x548c;&#x66f4;&#x65b0;&#x65f6;&#x95f4;&#x5339;&#x914d;&#xff0c;&#x5982;&#x679c;&#x53c8;&#x4e00;&#x4e2a;&#x4e3a;null&#xff0c;&#x5219;&#x5ffd;&#x7565;&#x672c;&#x6761;&#x6570;&#x636e;&#xa; if &#x28;paramFrom_date &#x3d;&#x3d; null &#x7c;&#x7c; paramTo_date &#x3d;&#x3d; null&#x29; &#x7b;&#xa; return false&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; create_time&#x4e3a;&#x7a7a;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;&#xa; if &#x28;jsonRow.create_time &#x3d;&#x3d; null &#x7c;&#x7c; jsonRow.create_time &#x3d;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; &#x5224;&#x5b9a; paramFrom_date &#x3c;&#x3d; create_time &#x3c;&#x3d; paramTo_date&#xa; var create_time_cov &#x3d; str2date&#x28;jsonRow.create_time, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa; if &#x28;dateDiff&#x28;paramFrom_date, create_time_cov, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0 &#x26;&#x26; dateDiff&#x28;create_time_cov, paramTo_date, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; create_time&#x4e0d;&#x4e3a;&#x7a7a;&#xff0c;&#x4e0d;&#x518d;&#x65f6;&#x95f4;&#x8303;&#x56f4;&#x5185;&#xff0c;update_time&#x4e3a;&#x7a7a;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;&#xa; if &#x28;jsonRow.update_time &#x3d;&#x3d; null &#x7c;&#x7c; jsonRow.update_time &#x3d;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; &#x5224;&#x5b9a; paramFrom_date &#x3c;&#x3d; update_time &#x3c;&#x3d; paramTo_date&#xa; var update_time_cov &#x3d; str2date&#x28;jsonRow.update_time, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa; if &#x28;dateDiff&#x28;paramFrom_date, update_time_cov, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0 &#x26;&#x26; dateDiff&#x28;update_time_cov, paramTo_date, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa;&#xa; &#x2f;&#x2f; TODO&#xff1a;&#x5176;&#x4ed6;&#x5224;&#x5b9a;&#x53c2;&#x6570;&#x518d;&#x8bae;&#xa; return true&#x3b;&#xa;&#x7d;&#xa;&#xa;&#xa;var json_script &#x3d; &#x27;var jsonlist &#x3d; &#x27; &#x2b; result&#x3b;&#xa;eval&#x28;json_script&#x29;&#x3b;&#xa;for &#x28;i &#x3d; 0&#x3b; i &#x3c; jsonlist.length&#x3b; i&#x2b;&#x2b;&#x29; &#x7b;&#xa; newRow &#x3d; createRowCopy&#x28;getOutputRowMeta&#x28;&#x29;.size&#x28;&#x29;&#x29;&#x3b;&#xa; var rowIndex &#x3d; getInputRowMeta&#x28;&#x29;.size&#x28;&#x29;&#x3b;&#xa;&#xa; &#x2f;&#x2f;----------- &#x65b0;&#x751f;&#x6210;&#x5b57;&#x6bb5; ----------&#x2f;&#x2f;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.company &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x516c;&#x53f8;&#x540d;&#x79f0;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.branch_company &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.company &#x2b; &#x22;-&#x22; &#x2b; jsonlist&#x5b;i&#x5d;.branch_company&#x3b; &#x2f;&#x2f; &#x516c;&#x53f8;&#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#x5408;&#x5e76;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_code &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_plate &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x724c;&#x53f7;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.create_time &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x65b0;&#x589e;&#x65f6;&#x95f4;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.update_time &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x66f4;&#x65b0;&#x65f6;&#x95f4;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.application_scrap_type &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x62a5;&#x5e9f;&#x7c7b;&#x578b;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_state &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x8f86;&#x72b6;&#x6001;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.cancel_date &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x62a5;&#x5e9f;&#x65e5;&#x671f;&#xa; &#xa; &#x2f;&#x2f; &#x5904;&#x7406;&#x884c;&#x6570;&#x636e;&#xa; if &#x28;&#x21;processRow&#x28;newRow, jsonlist&#x5b;i&#x5d;&#x29;&#x29; &#x7b;&#xa; break&#x3b;&#xa; &#x7d;&#xa;&#x7d;&#xa;trans_Status &#x3d; SKIP_TRANSFORMATION&#x3b;&#xa;&#xa;&#x2f;&#x2f; &#x516c;&#x53f8;&#x540d;&#x79f0;&#xa;var gsmc&#x3b;&#xa;&#x2f;&#x2f; &#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#xa;var fgsmc&#x3b;&#xa;&#x2f;&#x2f; &#x516c;&#x53f8;&#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#x5408;&#x5e76;&#xa;var allgsmc&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa;var clzbh&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x724c;&#x53f7;&#xa;var cph&#x3b;&#xa;&#x2f;&#x2f; &#x65b0;&#x589e;&#x65f6;&#x95f4;&#xa;var createTime&#x3b;&#xa;&#x2f;&#x2f; &#x66f4;&#x65b0;&#x65f6;&#x95f4;&#xa;var updateTime&#x3b;&#xa;&#x2f;&#x2f; &#x62a5;&#x5e9f;&#x7c7b;&#x578b;&#xa;var scrapType&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x8f86;&#x72b6;&#x6001;&#xa;var carState&#x3b;&#xa;&#x2f;&#x2f; &#x62a5;&#x5e9f;&#x65f6;&#x95f4;&#xa;var scrapDate&#x3b;</jsScript_script>
  221 + <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#x2f;&#x2f;---------------- &#x6570;&#x636e;&#x8fc7;&#x6ee4;&#x53c2;&#x6570;&#x5904;&#x7406; --------------&#x2f;&#x2f;&#xa;&#x2f;&#x2f; 1&#x3001;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa;var existParamZbh &#x3d; false&#x3b; &#x2f;&#x2f; &#x662f;&#x5426;&#x5b58;&#x5728;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#x53c2;&#x6570;&#xa;if &#x28;paramClzbh &#x21;&#x3d; null &#x26;&#x26; paramClzbh &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; existParamZbh &#x3d; true&#x3b;&#xa;&#x7d;&#xa;&#x2f;&#x2f; 2&#x3001;&#x5f00;&#x59cb;&#x65f6;&#x95f4;&#x3001;&#x7ed3;&#x675f;&#x65f6;&#x95f4;&#x53c2;&#x6570;&#xa;var paramFrom_date&#x3b;&#xa;var paramTo_date&#x3b;&#xa;if &#x28;paramFrom &#x21;&#x3d; null &#x26;&#x26; paramFrom &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; paramFrom_date &#x3d; str2date&#x28;paramFrom, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa;&#x7d;&#xa;if &#x28;paramTo &#x21;&#x3d; null &#x26;&#x26; paramTo &#x21;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; paramTo_date &#x3d; str2date&#x28;paramTo, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa;&#x7d;&#xa;&#xa;&#x2f;&#x2a;&#x2a;&#xa; &#x2a; &#x65b0;&#x589e;&#x5904;&#x7406;&#x884c;&#x51fd;&#x6570;&#x3002;&#xa; &#x2a; &#x40;param newRow &#x5f85;&#x65b0;&#x589e;&#x7684;&#x884c;&#xa; &#x2a; &#x40;param jsonRow &#x53ef;&#x89e3;&#x6790;&#x7684;&#x884c;&#x5bf9;&#x8c61;&#x6570;&#x636e;&#xa; &#x2a; &#x40;return false&#xff1a;&#x8868;&#x793a;&#x5916;&#x90e8;&#x5faa;&#x73af;break&#xa; &#x2a;&#x2f;&#xa;function processRow&#x28;newRow, jsonRow&#x29; &#x7b;&#xa; &#x2f;&#x2f;------------ &#x6839;&#x636e;&#x53c2;&#x6570;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55; ---------&#x2f;&#x2f;&#xa; &#x2f;&#x2f; 1&#x3001;&#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#x53c2;&#x6570;&#xff0c;&#x4f18;&#x5148;&#x7ea7;&#x6700;&#x9ad8;&#xff08;&#x5176;&#x4ed6;&#x53c2;&#x6570;&#x4e0d;&#x5339;&#x914d;&#x4e86;&#xff09;&#xff0c;&#x5e76;&#x4e14;&#x53ea;&#x5339;&#x914d;&#x4e00;&#x6b21;&#xa; if &#x28;existParamZbh&#x29; &#x7b;&#xa; if &#x28;paramClzbh &#x3d;&#x3d; jsonRow.car_code&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return false&#x3b;&#xa; &#x7d;&#xa; return true&#x3b;&#xa; &#x7d;&#xa;&#xa; &#x2f;&#x2f; 2&#x3001;&#x5f00;&#x59cb;&#x65f6;&#x95f4;&#xff0c;&#x7ed3;&#x675f;&#x65f6;&#x95f4;&#x53c2;&#x6570;&#xff0c;&#x4e24;&#x4e2a;&#x90fd;&#x662f;&#x5fc5;&#x586b;&#x53c2;&#x6570;&#xff0c;&#x53ea;&#x8981;&#x6709;&#x4e00;&#x4e2a;&#x4e0d;&#x5b58;&#x5728;&#xff0c;&#x5219;&#x9000;&#x51fa;&#x6574;&#x4e2a;&#x5faa;&#x73af;&#xa; &#x2f;&#x2f; &#x4f7f;&#x7528;&#x65b0;&#x589e;&#x548c;&#x66f4;&#x65b0;&#x65f6;&#x95f4;&#x5339;&#x914d;&#xff0c;&#x5982;&#x679c;&#x53c8;&#x4e00;&#x4e2a;&#x4e3a;null&#xff0c;&#x5219;&#x5ffd;&#x7565;&#x672c;&#x6761;&#x6570;&#x636e;&#xa; if &#x28;paramFrom_date &#x3d;&#x3d; null &#x7c;&#x7c; paramTo_date &#x3d;&#x3d; null&#x29; &#x7b;&#xa; return false&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; create_time&#x4e3a;&#x7a7a;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;&#xa; if &#x28;jsonRow.create_time &#x3d;&#x3d; null &#x7c;&#x7c; jsonRow.create_time &#x3d;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; &#x5224;&#x5b9a; paramFrom_date &#x3c;&#x3d; create_time &#x3c;&#x3d; paramTo_date&#xa; var create_time_cov &#x3d; str2date&#x28;jsonRow.create_time, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa; if &#x28;dateDiff&#x28;paramFrom_date, create_time_cov, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0 &#x26;&#x26; dateDiff&#x28;create_time_cov, paramTo_date, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; create_time&#x4e0d;&#x4e3a;&#x7a7a;&#xff0c;&#x4e0d;&#x518d;&#x65f6;&#x95f4;&#x8303;&#x56f4;&#x5185;&#xff0c;update_time&#x4e3a;&#x7a7a;&#xff0c;&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;&#xa; if &#x28;jsonRow.update_time &#x3d;&#x3d; null &#x7c;&#x7c; jsonRow.update_time &#x3d;&#x3d; &#x22;&#x22;&#x29; &#x7b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa; &#x2f;&#x2f; &#x5224;&#x5b9a; paramFrom_date &#x3c;&#x3d; update_time &#x3c;&#x3d; paramTo_date&#xa; var update_time_cov &#x3d; str2date&#x28;jsonRow.update_time, &#x27;yyyy-MM-dd HH&#x3a;mm&#x3a;ss&#x27;&#x29;&#x3b;&#xa; if &#x28;dateDiff&#x28;paramFrom_date, update_time_cov, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0 &#x26;&#x26; dateDiff&#x28;update_time_cov, paramTo_date, &#x27;ss&#x27;&#x29; &#x3e;&#x3d; 0&#x29; &#x7b;&#xa; putRow&#x28;newRow&#x29;&#x3b;&#xa; return true&#x3b;&#xa; &#x7d;&#xa;&#xa; &#x2f;&#x2f; TODO&#xff1a;&#x5176;&#x4ed6;&#x5224;&#x5b9a;&#x53c2;&#x6570;&#x518d;&#x8bae;&#xa; return true&#x3b;&#xa;&#x7d;&#xa;&#xa;&#xa;var json_script &#x3d; &#x27;var jsonlist &#x3d; &#x27; &#x2b; result&#x3b;&#xa;eval&#x28;json_script&#x29;&#x3b;&#xa;for &#x28;i &#x3d; 0&#x3b; i &#x3c; jsonlist.length&#x3b; i&#x2b;&#x2b;&#x29; &#x7b;&#xa; newRow &#x3d; createRowCopy&#x28;getOutputRowMeta&#x28;&#x29;.size&#x28;&#x29;&#x29;&#x3b;&#xa; var rowIndex &#x3d; getInputRowMeta&#x28;&#x29;.size&#x28;&#x29;&#x3b;&#xa;&#xa; &#x2f;&#x2f;----------- &#x65b0;&#x751f;&#x6210;&#x5b57;&#x6bb5; ----------&#x2f;&#x2f;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.company &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x516c;&#x53f8;&#x540d;&#x79f0;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.branch_company &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.company &#x2b; &#x22;-&#x22; &#x2b; jsonlist&#x5b;i&#x5d;.branch_company&#x3b; &#x2f;&#x2f; &#x516c;&#x53f8;&#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#x5408;&#x5e76;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_code &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_plate &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x724c;&#x53f7;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.create_time &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x65b0;&#x589e;&#x65f6;&#x95f4;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.update_time &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x66f4;&#x65b0;&#x65f6;&#x95f4;&#xa; &#x2f;&#x2f; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.application_scrap_type &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x62a5;&#x5e9f;&#x7c7b;&#x578b;&#xd;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.apply_scarp_type &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x62a5;&#x5e9f;&#x7c7b;&#x578b;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.car_state &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x8f66;&#x8f86;&#x72b6;&#x6001;&#xa; newRow&#x5b;rowIndex &#x2b;&#x2b;&#x5d; &#x3d; jsonlist&#x5b;i&#x5d;.cancel_date &#x7c;&#x7c; null&#x3b; &#x2f;&#x2f; &#x62a5;&#x5e9f;&#x65e5;&#x671f;&#xa; &#xa; &#x2f;&#x2f; &#x5904;&#x7406;&#x884c;&#x6570;&#x636e;&#xa; if &#x28;&#x21;processRow&#x28;newRow, jsonlist&#x5b;i&#x5d;&#x29;&#x29; &#x7b;&#xa; break&#x3b;&#xa; &#x7d;&#xa;&#x7d;&#xa;trans_Status &#x3d; SKIP_TRANSFORMATION&#x3b;&#xa;&#xa;&#x2f;&#x2f; &#x516c;&#x53f8;&#x540d;&#x79f0;&#xa;var gsmc&#x3b;&#xa;&#x2f;&#x2f; &#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#xa;var fgsmc&#x3b;&#xa;&#x2f;&#x2f; &#x516c;&#x53f8;&#x5206;&#x516c;&#x53f8;&#x540d;&#x79f0;&#x5408;&#x5e76;&#xa;var allgsmc&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x8f86;&#x81ea;&#x7f16;&#x53f7;&#xa;var clzbh&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x724c;&#x53f7;&#xa;var cph&#x3b;&#xa;&#x2f;&#x2f; &#x65b0;&#x589e;&#x65f6;&#x95f4;&#xa;var createTime&#x3b;&#xa;&#x2f;&#x2f; &#x66f4;&#x65b0;&#x65f6;&#x95f4;&#xa;var updateTime&#x3b;&#xa;&#x2f;&#x2f; &#x62a5;&#x5e9f;&#x7c7b;&#x578b;&#xa;var scrapType&#x3b;&#xa;&#x2f;&#x2f; &#x8f66;&#x8f86;&#x72b6;&#x6001;&#xa;var carState&#x3b;&#xa;&#x2f;&#x2f; &#x62a5;&#x5e9f;&#x65f6;&#x95f4;&#xa;var scrapDate&#x3b;</jsScript_script>
732 222 </jsScript> </jsScripts> <fields> <field> <name>gsmc</name>
733 223 <rename>gsmc</rename>
734 224 <type>String</type>
... ... @@ -1102,7 +592,7 @@
1102 592 <length>-2</length>
1103 593 <precision>-2</precision>
1104 594 </field> <field> <name>scrapType</name>
1105   - <rename>&#x8fdc;&#x7a0b;_application_scrap_type</rename>
  595 + <rename>&#x8fdc;&#x7a0b;_apply_scrap_type</rename>
1106 596 <length>-2</length>
1107 597 <precision>-2</precision>
1108 598 </field> <field> <name>carState</name>
... ... @@ -1253,7 +743,7 @@
1253 743 <format/>
1254 744 </field>
1255 745 <field>
1256   - <name>&#x8fdc;&#x7a0b;_application_scrap_type</name>
  746 + <name>&#x8fdc;&#x7a0b;_apply_scrap_type</name>
1257 747 <type>String</type>
1258 748 <format/>
1259 749 </field>
... ...