Commit 412b0146e0a078e8a3b5b37fe37475440f7958c1

Authored by 徐烜
1 parent fc5dde8e

1、修正排班规则导入ktr,加入人员作废的判断

src/main/resources/datatools/ktrs/scheduleRuleDataInput.ktr
... ... @@ -11,12 +11,12 @@
11 11 <parameters>
12 12 <parameter>
13 13 <name>erroroutputdir</name>
14   - <default_value>&#x2f;Users&#x2f;xu&#x2f;resource&#x2f;project_code&#x2f;bsth_project&#x2f;bsth_control_etl&#x2f;&#x5bfc;&#x5165;&#x5bfc;&#x51fa;1</default_value>
  14 + <default_value>&#x2f;Users&#x2f;xu&#x2f;resource&#x2f;project_code&#x2f;runtime_temp&#x2f;bsth_control_u_d_files&#x2f;erroroutput</default_value>
15 15 <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>
16 16 </parameter>
17 17 <parameter>
18 18 <name>filepath</name>
19   - <default_value>&#x2f;Users&#x2f;xu&#x2f;resource&#x2f;project_code&#x2f;bsth_project&#x2f;bsth_control_etl&#x2f;&#x5bfc;&#x5165;&#x5bfc;&#x51fa;1&#x2f;&#x6392;&#x7248;&#x89c4;&#x5219;&#x4fe1;&#x606f;.xls</default_value>
  19 + <default_value>&#x2f;Users&#x2f;xu&#x2f;resource&#x2f;project_code&#x2f;runtime_temp&#x2f;bsth_control_u_d_files&#x2f;&#x6392;&#x7248;&#x89c4;&#x5219;&#x4fe1;&#x606f;-167-&#x526f;&#x672c;.xls</default_value>
20 20 <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</description>
21 21 </parameter>
22 22 </parameters>
... ... @@ -84,6 +84,27 @@
84 84 <is_key_private>N</is_key_private>
85 85 </info>
86 86 <notepads>
  87 + <notepad>
  88 + <note>&#x4e1a;&#x52a1;&#x4fe1;&#x606f;&#x66f4;&#x65b0;&#xff1a;&#xa;1&#x3001;&#x4eba;&#x5458;&#x5982;&#x679c;&#x4f5c;&#x5e9f;&#x4e86;&#xff0c;&#x5ffd;&#x7565;&#x5173;&#x8054;&#x7684;&#x642d;&#x73ed;&#x7f16;&#x7801;&#xa;2&#x3001;&#x6240;&#x6709;&#x7684;&#x6570;&#x636e;&#x5e93; join step&#x7684;outer join&#x4e0d;&#x8981;&#x52fe;&#x9009;&#xff0c;&#xa; &#x4e0d;&#x52fe;&#x9009;&#x7684;&#x60c5;&#x51b5;&#x4e0b;&#xff0c;&#x5982;&#x679c;&#x5f53;&#x524d;input&#x884c;&#x6570;&#x636e;&#x53c2;&#x4e0e;&#x7684;&#x6570;&#x636e;&#x5e93;&#x67e5;&#x8be2;&#x6ca1;&#x627e;&#x5230;&#x6570;&#x636e;&#xff0c;&#x5219;output&#x884c;&#x5c31;&#x6ca1;&#x6709;&#x6570;&#x636e;&#x4e86;&#xff0c;&#xa; &#xff08;&#x4e4b;&#x524d;outer join&#x9009;&#x4e2d;&#xff0c;&#x9020;&#x6210;output&#x884c;&#x4e00;&#x76f4;&#x6709;&#x6570;&#x636e;&#xff0c;&#x540e;&#x9762;&#x8fd8;&#x8981;&#x4f7f;&#x7528;&#x8fc7;&#x6ee4;step&#x8fc7;&#x6ee4;&#x6570;&#x636e;&#xff09;</note>
  89 + <xloc>161</xloc>
  90 + <yloc>362</yloc>
  91 + <width>557</width>
  92 + <heigth>90</heigth>
  93 + <fontname>YaHei Consolas Hybrid</fontname>
  94 + <fontsize>12</fontsize>
  95 + <fontbold>N</fontbold>
  96 + <fontitalic>N</fontitalic>
  97 + <fontcolorred>0</fontcolorred>
  98 + <fontcolorgreen>0</fontcolorgreen>
  99 + <fontcolorblue>0</fontcolorblue>
  100 + <backgroundcolorred>255</backgroundcolorred>
  101 + <backgroundcolorgreen>205</backgroundcolorgreen>
  102 + <backgroundcolorblue>112</backgroundcolorblue>
  103 + <bordercolorred>100</bordercolorred>
  104 + <bordercolorgreen>100</bordercolorgreen>
  105 + <bordercolorblue>100</bordercolorblue>
  106 + <drawshadow>Y</drawshadow>
  107 + </notepad>
87 108 </notepads>
88 109 <connection>
89 110 <name>192.168.168.1_jwgl_dw</name>
... ... @@ -593,35 +614,36 @@
593 614 </attributes>
594 615 </connection>
595 616 <order>
596   - <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
597   - <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x542f;&#x7528;&#x88ab;&#x6570;&#x636e;flag</to><enabled>Y</enabled> </hop>
598   - <hop> <from>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;</from><to>&#x8def;&#x724c;id&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
599   - <hop> <from>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;</from><to>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;id</to><enabled>Y</enabled> </hop>
600   - <hop> <from>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;id</from><to>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;</to><enabled>Y</enabled> </hop>
601   - <hop> <from>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;</from><to>&#x62c6;&#x5206;&#x5206;&#x73ed;&#x642d;&#x73ed;&#x7f16;&#x7801;&#x5b57;&#x6bb5;</to><enabled>Y</enabled> </hop>
602   - <hop> <from>&#x62c6;&#x5206;&#x5206;&#x73ed;&#x642d;&#x73ed;&#x7f16;&#x7801;&#x5b57;&#x6bb5;</from><to>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
603   - <hop> <from>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</from><to>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2; 2</to><enabled>Y</enabled> </hop>
604   - <hop> <from>&#x542f;&#x7528;&#x88ab;&#x6570;&#x636e;flag</from><to>&#x7ebf;&#x8def;id&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
605   - <hop> <from>&#x7ebf;&#x8def;id&#x67e5;&#x8be2;</from><to>&#x8fc7;&#x6ee4;&#x7ebf;&#x8def;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
606   - <hop> <from>&#x8fc7;&#x6ee4;&#x7ebf;&#x8def;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</from><to>&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
607   - <hop> <from>&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</from><to>&#x8fc7;&#x6ee4;&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
608   - <hop> <from>&#x8fc7;&#x6ee4;&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</from><to>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;</to><enabled>Y</enabled> </hop>
609   - <hop> <from>&#x8def;&#x724c;id&#x67e5;&#x8be2;</from><to>&#x8fc7;&#x6ee4;&#x8def;&#x724c;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
610   - <hop> <from>&#x8fc7;&#x6ee4;&#x8def;&#x724c;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</from><to>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
611   - <hop> <from>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2; 2</from><to>&#x8fc7;&#x6ee4;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
612   - <hop> <from>&#x8fc7;&#x6ee4;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</from><to>&#x5408;&#x5e76;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</to><enabled>Y</enabled> </hop>
613   - <hop> <from>&#x5408;&#x5e76;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</from><to>&#x6392;&#x5e8f;&#x8bb0;&#x5f55; 2</to><enabled>Y</enabled> </hop>
614   - <hop> <from>&#x6392;&#x5e8f;&#x8bb0;&#x5f55; 2</from><to>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</to><enabled>Y</enabled> </hop>
615   - <hop> <from>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</from><to>&#x542f;&#x7528;&#x65e5;&#x671f;&#x8f6c;&#x6362;</to><enabled>Y</enabled> </hop>
616 617 <hop> <from>&#x5220;&#x9664;</from><to>&#x963b;&#x585e;&#x6570;&#x636e;&#x76f4;&#x5230;&#x6b65;&#x9aa4;&#x90fd;&#x5b8c;&#x6210;</to><enabled>Y</enabled> </hop>
617 618 <hop> <from>&#x963b;&#x585e;&#x6570;&#x636e;&#x76f4;&#x5230;&#x6b65;&#x9aa4;&#x90fd;&#x5b8c;&#x6210;</from><to>&#x89c4;&#x5219;&#x8868;&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
618 619 <hop> <from>&#x89c4;&#x5219;&#x8868;&#x8f93;&#x51fa;</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</to><enabled>Y</enabled> </hop>
619 620 <hop> <from>&#x542f;&#x7528;&#x65e5;&#x671f;&#x8f6c;&#x6362;</from><to>&#x9ed8;&#x8ba4;&#x7ffb;&#x73ed;&#x7c7b;&#x578b;</to><enabled>Y</enabled> </hop>
620 621 <hop> <from>&#x9ed8;&#x8ba4;&#x7ffb;&#x73ed;&#x7c7b;&#x578b;</from><to>&#x5220;&#x9664;</to><enabled>Y</enabled> </hop>
  622 + <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x7ebf;&#x8def;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  623 + <hop> <from>&#x7ebf;&#x8def;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</from><to>&#x8f66;&#x8f86;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  624 + <hop> <from>&#x8f66;&#x8f86;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</from><to>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  625 + <hop> <from>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;&#x4fe1;&#x606f;</from><to>&#x8def;&#x724c;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  626 + <hop> <from>&#x8def;&#x724c;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</from><to>&#x6392;&#x5e8f;&#x6570;&#x636e;</to><enabled>Y</enabled> </hop>
  627 + <hop> <from>&#x6392;&#x5e8f;&#x6570;&#x636e;</from><to>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  628 + <hop> <from>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;&#x4fe1;&#x606f;</from><to>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  629 + <hop> <from>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#x4fe1;&#x606f;</from><to>&#x7ee7;&#x7eed;&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#xff08;&#x5206;&#x73ed;&#xff09;</to><enabled>Y</enabled> </hop>
  630 + <hop> <from>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;2</from><to>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  631 + <hop> <from>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;</from><to>&#x542f;&#x7528;&#x65e5;&#x671f;&#x8f6c;&#x6362;</to><enabled>Y</enabled> </hop>
  632 + <hop> <from>&#x7ee7;&#x7eed;&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#xff08;&#x5206;&#x73ed;&#xff09;</from><to>&#x5224;&#x65ad;&#x662f;&#x5426;&#x5206;&#x73ed;</to><enabled>Y</enabled> </hop>
  633 + <hop> <from>&#x5224;&#x65ad;&#x662f;&#x5426;&#x5206;&#x73ed;</from><to>&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2; </to><enabled>Y</enabled> </hop>
  634 + <hop> <from>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;1&#x4fe1;&#x606f;&#x67e5;&#x8be2;</from><to>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;2&#x4fe1;&#x606f;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  635 + <hop> <from>&#x5224;&#x65ad;&#x662f;&#x5426;&#x5206;&#x73ed;</from><to>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;1&#x4fe1;&#x606f;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  636 + <hop> <from>&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2; </from><to>&#x5904;&#x7406;&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  637 + <hop> <from>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;2&#x4fe1;&#x606f;&#x67e5;&#x8be2;</from><to>&#x5408;&#x5e76;&#x5904;&#x7406;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</to><enabled>Y</enabled> </hop>
  638 + <hop> <from>&#x5904;&#x7406;&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
  639 + <hop> <from>&#x5408;&#x5e76;&#x5904;&#x7406;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9; 2</to><enabled>Y</enabled> </hop>
  640 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;2</to><enabled>Y</enabled> </hop>
  641 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9; 2</from><to>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;2</to><enabled>Y</enabled> </hop>
  642 + <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
621 643 </order>
622 644 <step>
623   - <name>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</name>
624   - <type>DBLookup</type>
  645 + <name>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;1&#x4fe1;&#x606f;&#x67e5;&#x8be2;</name>
  646 + <type>DBJoin</type>
625 647 <description/>
626 648 <distribute>Y</distribute>
627 649 <custom_distribution/>
... ... @@ -631,51 +653,31 @@
631 653 <schema_name/>
632 654 </partitioning>
633 655 <connection>control_jndi</connection>
634   - <cache>N</cache>
635   - <cache_load_all>Y</cache_load_all>
636   - <cache_size>0</cache_size>
637   - <lookup>
638   - <schema/>
639   - <table>bsth_c_s_ecinfo</table>
640   - <orderby/>
641   - <fail_on_multiple>N</fail_on_multiple>
642   - <eat_row_on_failure>N</eat_row_on_failure>
643   - <key>
  656 + <rowlimit>1</rowlimit>
  657 + <sql>select id as rycid1 from bsth_c_s_ecinfo employeeco0_ &#xa;where xl &#x3d; &#x3f; &#xa;and dbbm &#x3d; &#x3f; &#xa;and is_cancel &#x3d; 0&#xa;and &#x28;&#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29; &#x2b; &#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29;&#xa;&#x29; &#x3d; 0</sql>
  658 + <outer_join>N</outer_join>
  659 + <replace_vars>N</replace_vars>
  660 + <parameter>
  661 + <field>
644 662 <name>xlid</name>
645   - <field>xl</field>
646   - <condition>&#x3d;</condition>
647   - <name2/>
648   - </key>
649   - <key>
650   - <name>dbbm1</name>
651   - <field>dbbm</field>
652   - <condition>&#x3d;</condition>
653   - <name2/>
654   - </key>
655   - <key>
656   - <name>isCancel</name>
657   - <field>is_cancel</field>
658   - <condition>&#x3d;</condition>
659   - <name2/>
660   - </key>
661   - <value>
662   - <name>id</name>
663   - <rename>rycid1</rename>
664   - <default/>
665 663 <type>Integer</type>
666   - </value>
667   - </lookup>
  664 + </field>
  665 + <field>
  666 + <name>dbbm1</name>
  667 + <type>String</type>
  668 + </field>
  669 + </parameter>
668 670 <cluster_schema/>
669 671 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
670   - <xloc>904</xloc>
671   - <yloc>101</yloc>
  672 + <xloc>950</xloc>
  673 + <yloc>113</yloc>
672 674 <draw>Y</draw>
673 675 </GUI>
674 676 </step>
675 677  
676 678 <step>
677   - <name>&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x67e5;&#x8be2; 2</name>
678   - <type>DBLookup</type>
  679 + <name>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;2&#x4fe1;&#x606f;&#x67e5;&#x8be2;</name>
  680 + <type>DBJoin</type>
679 681 <description/>
680 682 <distribute>Y</distribute>
681 683 <custom_distribution/>
... ... @@ -685,50 +687,30 @@
685 687 <schema_name/>
686 688 </partitioning>
687 689 <connection>control_jndi</connection>
688   - <cache>N</cache>
689   - <cache_load_all>Y</cache_load_all>
690   - <cache_size>0</cache_size>
691   - <lookup>
692   - <schema/>
693   - <table>bsth_c_s_ecinfo</table>
694   - <orderby/>
695   - <fail_on_multiple>N</fail_on_multiple>
696   - <eat_row_on_failure>N</eat_row_on_failure>
697   - <key>
  690 + <rowlimit>1</rowlimit>
  691 + <sql>select id as rycid2 from bsth_c_s_ecinfo employeeco0_ &#xa;where xl &#x3d; &#x3f; &#xa;and dbbm &#x3d; &#x3f; &#xa;and is_cancel &#x3d; 0&#xa;and &#x28;&#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29; &#x2b; &#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29;&#xa;&#x29; &#x3d; 0</sql>
  692 + <outer_join>N</outer_join>
  693 + <replace_vars>N</replace_vars>
  694 + <parameter>
  695 + <field>
698 696 <name>xlid</name>
699   - <field>xl</field>
700   - <condition>&#x3d;</condition>
701   - <name2/>
702   - </key>
703   - <key>
704   - <name>dbbm2</name>
705   - <field>dbbm</field>
706   - <condition>&#x3d;</condition>
707   - <name2/>
708   - </key>
709   - <key>
710   - <name>isCancel</name>
711   - <field>is_cancel</field>
712   - <condition>&#x3d;</condition>
713   - <name2/>
714   - </key>
715   - <value>
716   - <name>id</name>
717   - <rename>rycid2</rename>
718   - <default/>
719 697 <type>Integer</type>
720   - </value>
721   - </lookup>
  698 + </field>
  699 + <field>
  700 + <name>dbbm2</name>
  701 + <type>String</type>
  702 + </field>
  703 + </parameter>
722 704 <cluster_schema/>
723 705 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
724   - <xloc>778</xloc>
725   - <yloc>103</yloc>
  706 + <xloc>952</xloc>
  707 + <yloc>200</yloc>
726 708 <draw>Y</draw>
727 709 </GUI>
728 710 </step>
729 711  
730 712 <step>
731   - <name>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</name>
  713 + <name>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;</name>
732 714 <type>GroupBy</type>
733 715 <description/>
734 716 <distribute>Y</distribute>
... ... @@ -774,9 +756,6 @@
774 756 <field>
775 757 <name>&#x7ffb;&#x73ed;&#x683c;&#x5f0f;</name>
776 758 </field>
777   - <field>
778   - <name>isCancel</name>
779   - </field>
780 759 </group>
781 760 <fields>
782 761 <field>
... ... @@ -794,14 +773,14 @@
794 773 </fields>
795 774 <cluster_schema/>
796 775 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
797   - <xloc>780</xloc>
798   - <yloc>291</yloc>
  776 + <xloc>765</xloc>
  777 + <yloc>476</yloc>
799 778 <draw>Y</draw>
800 779 </GUI>
801 780 </step>
802 781  
803 782 <step>
804   - <name>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;id</name>
  783 + <name>&#x5206;&#x7ec4;&#x5408;&#x5e76;&#x8def;&#x724c;&#x4fe1;&#x606f;</name>
805 784 <type>GroupBy</type>
806 785 <description/>
807 786 <distribute>Y</distribute>
... ... @@ -841,9 +820,6 @@
841 820 <field>
842 821 <name>&#x7ffb;&#x73ed;&#x683c;&#x5f0f;</name>
843 822 </field>
844   - <field>
845   - <name>isCancel</name>
846   - </field>
847 823 </group>
848 824 <fields>
849 825 <field>
... ... @@ -861,8 +837,8 @@
861 837 </fields>
862 838 <cluster_schema/>
863 839 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
864   - <xloc>653</xloc>
865   - <yloc>119</yloc>
  840 + <xloc>370</xloc>
  841 + <yloc>293</yloc>
866 842 <draw>Y</draw>
867 843 </GUI>
868 844 </step>
... ... @@ -892,8 +868,8 @@
892 868 </lookup>
893 869 <cluster_schema/>
894 870 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
895   - <xloc>508</xloc>
896   - <yloc>381</yloc>
  871 + <xloc>371</xloc>
  872 + <yloc>479</yloc>
897 873 <draw>Y</draw>
898 874 </GUI>
899 875 </step>
... ... @@ -1063,7 +1039,7 @@
1063 1039 </step>
1064 1040  
1065 1041 <step>
1066   - <name>&#x5408;&#x5e76;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id</name>
  1042 + <name>&#x5408;&#x5e76;&#x5904;&#x7406;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</name>
1067 1043 <type>ScriptValueMod</type>
1068 1044 <description/>
1069 1045 <distribute>Y</distribute>
... ... @@ -1077,7 +1053,7 @@
1077 1053 <optimizationLevel>9</optimizationLevel>
1078 1054 <jsScripts> <jsScript> <jsScript_type>0</jsScript_type>
1079 1055 <jsScript_name>Script 1</jsScript_name>
1080   - <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#xa;var rycid&#x3b;&#xa;var rybm&#x3b;&#xa;&#xa;if &#x28;rycid2 &#x3d;&#x3d; null&#x29; &#x7b;&#xa; rycid &#x3d; rycid1&#x3b;&#xa; rybm &#x3d; dbbm1&#x3b;&#xa;&#x7d; else &#x7b;&#xa; rycid &#x3d; rycid1 &#x2b; &#x22;-&#x22; &#x2b; rycid2&#x3b;&#xa; rybm &#x3d; dbbm1 &#x2b; &#x22;-&#x22; &#x2b; dbbm2&#x3b;&#xa;&#x7d;</jsScript_script>
  1056 + <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#xa;var rycid&#x3b;&#xa;var rybm&#x3b;&#xa;&#xa;rycid &#x3d; rycid1 &#x2b; &#x22;-&#x22; &#x2b; rycid2&#x3b;&#xa;rybm &#x3d; dbbm1 &#x2b; &#x22;-&#x22; &#x2b; dbbm2&#x3b;&#xa;</jsScript_script>
1081 1057 </jsScript> </jsScripts> <fields> <field> <name>rycid</name>
1082 1058 <rename>rycid</rename>
1083 1059 <type>String</type>
... ... @@ -1092,8 +1068,8 @@
1092 1068 <replace>N</replace>
1093 1069 </field> </fields> <cluster_schema/>
1094 1070 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1095   - <xloc>917</xloc>
1096   - <yloc>201</yloc>
  1071 + <xloc>953</xloc>
  1072 + <yloc>288</yloc>
1097 1073 <draw>Y</draw>
1098 1074 </GUI>
1099 1075 </step>
... ... @@ -1127,47 +1103,14 @@
1127 1103 <storage_type/>
1128 1104 </meta> </fields> <cluster_schema/>
1129 1105 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1130   - <xloc>777</xloc>
1131   - <yloc>368</yloc>
  1106 + <xloc>615</xloc>
  1107 + <yloc>480</yloc>
1132 1108 <draw>Y</draw>
1133 1109 </GUI>
1134 1110 </step>
1135 1111  
1136 1112 <step>
1137   - <name>&#x542f;&#x7528;&#x88ab;&#x6570;&#x636e;flag</name>
1138   - <type>Constant</type>
1139   - <description/>
1140   - <distribute>Y</distribute>
1141   - <custom_distribution/>
1142   - <copies>1</copies>
1143   - <partitioning>
1144   - <method>none</method>
1145   - <schema_name/>
1146   - </partitioning>
1147   - <fields>
1148   - <field>
1149   - <name>isCancel</name>
1150   - <type>Integer</type>
1151   - <format/>
1152   - <currency/>
1153   - <decimal/>
1154   - <group/>
1155   - <nullif>0</nullif>
1156   - <length>-1</length>
1157   - <precision>-1</precision>
1158   - <set_empty_string>N</set_empty_string>
1159   - </field>
1160   - </fields>
1161   - <cluster_schema/>
1162   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1163   - <xloc>361</xloc>
1164   - <yloc>22</yloc>
1165   - <draw>Y</draw>
1166   - </GUI>
1167   - </step>
1168   -
1169   - <step>
1170   - <name>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;</name>
  1113 + <name>&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#x4fe1;&#x606f;</name>
1171 1114 <type>SplitFieldToRows3</type>
1172 1115 <description/>
1173 1116 <distribute>Y</distribute>
... ... @@ -1186,62 +1129,14 @@
1186 1129 <delimiter_is_regex>N</delimiter_is_regex>
1187 1130 <cluster_schema/>
1188 1131 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1189   - <xloc>777</xloc>
1190   - <yloc>22</yloc>
1191   - <draw>Y</draw>
1192   - </GUI>
1193   - </step>
1194   -
1195   - <step>
1196   - <name>&#x62c6;&#x5206;&#x5206;&#x73ed;&#x642d;&#x73ed;&#x7f16;&#x7801;&#x5b57;&#x6bb5;</name>
1197   - <type>FieldSplitter</type>
1198   - <description/>
1199   - <distribute>Y</distribute>
1200   - <custom_distribution/>
1201   - <copies>1</copies>
1202   - <partitioning>
1203   - <method>none</method>
1204   - <schema_name/>
1205   - </partitioning>
1206   - <splitfield>dbbm</splitfield>
1207   - <delimiter>-</delimiter>
1208   - <enclosure/>
1209   - <fields> <field> <name>dbbm1</name>
1210   - <id/>
1211   - <idrem>N</idrem>
1212   - <type>String</type>
1213   - <format/>
1214   - <group/>
1215   - <decimal/>
1216   - <currency/>
1217   - <length>-1</length>
1218   - <precision>-1</precision>
1219   - <nullif/>
1220   - <ifnull/>
1221   - <trimtype>none</trimtype>
1222   - </field> <field> <name>dbbm2</name>
1223   - <id/>
1224   - <idrem>N</idrem>
1225   - <type>String</type>
1226   - <format/>
1227   - <group/>
1228   - <decimal/>
1229   - <currency/>
1230   - <length>-1</length>
1231   - <precision>-1</precision>
1232   - <nullif/>
1233   - <ifnull/>
1234   - <trimtype>none</trimtype>
1235   - </field> </fields> <cluster_schema/>
1236   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1237   - <xloc>901</xloc>
1238   - <yloc>22</yloc>
  1132 + <xloc>552</xloc>
  1133 + <yloc>21</yloc>
1239 1134 <draw>Y</draw>
1240 1135 </GUI>
1241 1136 </step>
1242 1137  
1243 1138 <step>
1244   - <name>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;</name>
  1139 + <name>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;&#x4fe1;&#x606f;</name>
1245 1140 <type>SplitFieldToRows3</type>
1246 1141 <description/>
1247 1142 <distribute>Y</distribute>
... ... @@ -1260,14 +1155,14 @@
1260 1155 <delimiter_is_regex>N</delimiter_is_regex>
1261 1156 <cluster_schema/>
1262 1157 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1263   - <xloc>364</xloc>
1264   - <yloc>259</yloc>
  1158 + <xloc>367</xloc>
  1159 + <yloc>20</yloc>
1265 1160 <draw>Y</draw>
1266 1161 </GUI>
1267 1162 </step>
1268 1163  
1269 1164 <step>
1270   - <name>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;</name>
  1165 + <name>&#x6392;&#x5e8f;&#x6570;&#x636e;</name>
1271 1166 <type>SortRows</type>
1272 1167 <description/>
1273 1168 <distribute>Y</distribute>
... ... @@ -1327,23 +1222,17 @@
1327 1222 <case_sensitive>N</case_sensitive>
1328 1223 <presorted>N</presorted>
1329 1224 </field>
1330   - <field>
1331   - <name>isCancel</name>
1332   - <ascending>Y</ascending>
1333   - <case_sensitive>N</case_sensitive>
1334   - <presorted>N</presorted>
1335   - </field>
1336 1225 </fields>
1337 1226 <cluster_schema/>
1338 1227 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1339   - <xloc>516</xloc>
1340   - <yloc>119</yloc>
  1228 + <xloc>369</xloc>
  1229 + <yloc>205</yloc>
1341 1230 <draw>Y</draw>
1342 1231 </GUI>
1343 1232 </step>
1344 1233  
1345 1234 <step>
1346   - <name>&#x6392;&#x5e8f;&#x8bb0;&#x5f55; 2</name>
  1235 + <name>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;2</name>
1347 1236 <type>SortRows</type>
1348 1237 <description/>
1349 1238 <distribute>Y</distribute>
... ... @@ -1415,24 +1304,18 @@
1415 1304 <case_sensitive>N</case_sensitive>
1416 1305 <presorted>N</presorted>
1417 1306 </field>
1418   - <field>
1419   - <name>isCancel</name>
1420   - <ascending>Y</ascending>
1421   - <case_sensitive>N</case_sensitive>
1422   - <presorted>N</presorted>
1423   - </field>
1424 1307 </fields>
1425 1308 <cluster_schema/>
1426 1309 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1427   - <xloc>919</xloc>
1428   - <yloc>289</yloc>
  1310 + <xloc>862</xloc>
  1311 + <yloc>474</yloc>
1429 1312 <draw>Y</draw>
1430 1313 </GUI>
1431 1314 </step>
1432 1315  
1433 1316 <step>
1434   - <name>&#x7ebf;&#x8def;id&#x67e5;&#x8be2;</name>
1435   - <type>DBLookup</type>
  1317 + <name>&#x7ebf;&#x8def;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</name>
  1318 + <type>DBJoin</type>
1436 1319 <description/>
1437 1320 <distribute>Y</distribute>
1438 1321 <custom_distribution/>
... ... @@ -1442,43 +1325,73 @@
1442 1325 <schema_name/>
1443 1326 </partitioning>
1444 1327 <connection>control_jndi</connection>
1445   - <cache>N</cache>
1446   - <cache_load_all>Y</cache_load_all>
1447   - <cache_size>0</cache_size>
1448   - <lookup>
1449   - <schema/>
1450   - <table>bsth_c_line</table>
1451   - <orderby/>
1452   - <fail_on_multiple>N</fail_on_multiple>
1453   - <eat_row_on_failure>N</eat_row_on_failure>
1454   - <key>
  1328 + <rowlimit>1</rowlimit>
  1329 + <sql>select id as xlid from bsth_c_line&#xa;where name &#x3d; &#x3f; &#xa;and destroy &#x3d; 0 </sql>
  1330 + <outer_join>N</outer_join>
  1331 + <replace_vars>N</replace_vars>
  1332 + <parameter>
  1333 + <field>
1455 1334 <name>&#x7ebf;&#x8def;</name>
1456   - <field>name</field>
1457   - <condition>&#x3d;</condition>
1458   - <name2/>
1459   - </key>
1460   - <key>
1461   - <name>isCancel</name>
1462   - <field>destroy</field>
1463   - <condition>&#x3d;</condition>
1464   - <name2/>
1465   - </key>
1466   - <value>
1467   - <name>id</name>
1468   - <rename>xlid</rename>
1469   - <default/>
1470   - <type>Integer</type>
1471   - </value>
1472   - </lookup>
  1335 + <type>String</type>
  1336 + </field>
  1337 + </parameter>
1473 1338 <cluster_schema/>
1474 1339 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1475   - <xloc>359</xloc>
  1340 + <xloc>208</xloc>
1476 1341 <yloc>110</yloc>
1477 1342 <draw>Y</draw>
1478 1343 </GUI>
1479 1344 </step>
1480 1345  
1481 1346 <step>
  1347 + <name>&#x7ee7;&#x7eed;&#x62c6;&#x5206;&#x4eba;&#x5458;&#x8303;&#x56f4;&#xff08;&#x5206;&#x73ed;&#xff09;</name>
  1348 + <type>FieldSplitter</type>
  1349 + <description/>
  1350 + <distribute>Y</distribute>
  1351 + <custom_distribution/>
  1352 + <copies>1</copies>
  1353 + <partitioning>
  1354 + <method>none</method>
  1355 + <schema_name/>
  1356 + </partitioning>
  1357 + <splitfield>dbbm</splitfield>
  1358 + <delimiter>-</delimiter>
  1359 + <enclosure/>
  1360 + <fields> <field> <name>dbbm1</name>
  1361 + <id/>
  1362 + <idrem>N</idrem>
  1363 + <type>String</type>
  1364 + <format/>
  1365 + <group/>
  1366 + <decimal/>
  1367 + <currency/>
  1368 + <length>-1</length>
  1369 + <precision>-1</precision>
  1370 + <nullif/>
  1371 + <ifnull/>
  1372 + <trimtype>none</trimtype>
  1373 + </field> <field> <name>dbbm2</name>
  1374 + <id/>
  1375 + <idrem>N</idrem>
  1376 + <type>String</type>
  1377 + <format/>
  1378 + <group/>
  1379 + <decimal/>
  1380 + <currency/>
  1381 + <length>-1</length>
  1382 + <precision>-1</precision>
  1383 + <nullif/>
  1384 + <ifnull/>
  1385 + <trimtype>none</trimtype>
  1386 + </field> </fields> <cluster_schema/>
  1387 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1388 + <xloc>711</xloc>
  1389 + <yloc>23</yloc>
  1390 + <draw>Y</draw>
  1391 + </GUI>
  1392 + </step>
  1393 +
  1394 + <step>
1482 1395 <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>
1483 1396 <type>GetVariable</type>
1484 1397 <description/>
... ... @@ -1599,15 +1512,15 @@
1599 1512 </fields>
1600 1513 <cluster_schema/>
1601 1514 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1602   - <xloc>148</xloc>
1603   - <yloc>380</yloc>
  1515 + <xloc>65</xloc>
  1516 + <yloc>481</yloc>
1604 1517 <draw>Y</draw>
1605 1518 </GUI>
1606 1519 </step>
1607 1520  
1608 1521 <step>
1609   - <name>&#x8def;&#x724c;id&#x67e5;&#x8be2;</name>
1610   - <type>DBLookup</type>
  1522 + <name>&#x8def;&#x724c;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</name>
  1523 + <type>DBJoin</type>
1611 1524 <description/>
1612 1525 <distribute>Y</distribute>
1613 1526 <custom_distribution/>
... ... @@ -1617,50 +1530,30 @@
1617 1530 <schema_name/>
1618 1531 </partitioning>
1619 1532 <connection>control_jndi</connection>
1620   - <cache>N</cache>
1621   - <cache_load_all>Y</cache_load_all>
1622   - <cache_size>0</cache_size>
1623   - <lookup>
1624   - <schema/>
1625   - <table>bsth_c_s_gbi</table>
1626   - <orderby/>
1627   - <fail_on_multiple>N</fail_on_multiple>
1628   - <eat_row_on_failure>N</eat_row_on_failure>
1629   - <key>
  1533 + <rowlimit>1</rowlimit>
  1534 + <sql>select id as lpid from bsth_c_s_gbi&#xa;where xl &#x3d; &#x3f; &#xa;and lp_name &#x3d; &#x3f; &#xa;and is_cancel &#x3d; 0</sql>
  1535 + <outer_join>N</outer_join>
  1536 + <replace_vars>N</replace_vars>
  1537 + <parameter>
  1538 + <field>
1630 1539 <name>xlid</name>
1631   - <field>xl</field>
1632   - <condition>&#x3d;</condition>
1633   - <name2/>
1634   - </key>
1635   - <key>
1636   - <name>lpname</name>
1637   - <field>lp_name</field>
1638   - <condition>&#x3d;</condition>
1639   - <name2/>
1640   - </key>
1641   - <key>
1642   - <name>isCancel</name>
1643   - <field>is_cancel</field>
1644   - <condition>&#x3d;</condition>
1645   - <name2/>
1646   - </key>
1647   - <value>
1648   - <name>id</name>
1649   - <rename>lpid</rename>
1650   - <default/>
1651 1540 <type>Integer</type>
1652   - </value>
1653   - </lookup>
  1541 + </field>
  1542 + <field>
  1543 + <name>lpname</name>
  1544 + <type>String</type>
  1545 + </field>
  1546 + </parameter>
1654 1547 <cluster_schema/>
1655 1548 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1656   - <xloc>516</xloc>
1657   - <yloc>21</yloc>
  1549 + <xloc>366</xloc>
  1550 + <yloc>111</yloc>
1658 1551 <draw>Y</draw>
1659 1552 </GUI>
1660 1553 </step>
1661 1554  
1662 1555 <step>
1663   - <name>&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</name>
  1556 + <name>&#x8f66;&#x8f86;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2;</name>
1664 1557 <type>DBJoin</type>
1665 1558 <description/>
1666 1559 <distribute>Y</distribute>
... ... @@ -1672,8 +1565,8 @@
1672 1565 </partitioning>
1673 1566 <connection>control_jndi</connection>
1674 1567 <rowlimit>1</rowlimit>
1675   - <sql>select t1.id as cid from bsth_c_s_ccinfo t1 left join bsth_c_cars t2 on t1.cl &#x3d; t2.id&#xa;where t1.xl &#x3d; &#x3f; and t2.inside_code &#x3d; &#x3f; and t1.is_cancel &#x3d; &#x3f;</sql>
1676   - <outer_join>Y</outer_join>
  1568 + <sql>select t1.id as cid &#xa;from bsth_c_s_ccinfo t1 left join bsth_c_cars t2 on t1.cl &#x3d; t2.id&#xa;where t1.xl &#x3d; &#x3f; &#xa;and t2.inside_code &#x3d; &#x3f; &#xa;and t1.is_cancel &#x3d; 0 </sql>
  1569 + <outer_join>N</outer_join>
1677 1570 <replace_vars>N</replace_vars>
1678 1571 <parameter>
1679 1572 <field>
... ... @@ -1684,143 +1577,11 @@
1684 1577 <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>
1685 1578 <type>String</type>
1686 1579 </field>
1687   - <field>
1688   - <name>isCancel</name>
1689   - <type>Integer</type>
1690   - </field>
1691 1580 </parameter>
1692 1581 <cluster_schema/>
1693 1582 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1694   - <xloc>360</xloc>
1695   - <yloc>184</yloc>
1696   - <draw>Y</draw>
1697   - </GUI>
1698   - </step>
1699   -
1700   - <step>
1701   - <name>&#x8fc7;&#x6ee4;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</name>
1702   - <type>FilterRows</type>
1703   - <description/>
1704   - <distribute>Y</distribute>
1705   - <custom_distribution/>
1706   - <copies>1</copies>
1707   - <partitioning>
1708   - <method>none</method>
1709   - <schema_name/>
1710   - </partitioning>
1711   -<send_true_to/>
1712   -<send_false_to/>
1713   - <compare>
1714   -<condition>
1715   - <negated>N</negated>
1716   - <conditions>
1717   - <condition>
1718   - <negated>N</negated>
1719   - <leftvalue>rycid1</leftvalue>
1720   - <function>IS NOT NULL</function>
1721   - <rightvalue/>
1722   - </condition>
1723   - <condition>
1724   - <negated>N</negated>
1725   - <operator>OR</operator>
1726   - <leftvalue>rycid2</leftvalue>
1727   - <function>IS NOT NULL</function>
1728   - <rightvalue/>
1729   - </condition>
1730   - </conditions>
1731   - </condition>
1732   - </compare>
1733   - <cluster_schema/>
1734   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1735   - <xloc>776</xloc>
1736   - <yloc>204</yloc>
1737   - <draw>Y</draw>
1738   - </GUI>
1739   - </step>
1740   -
1741   - <step>
1742   - <name>&#x8fc7;&#x6ee4;&#x7ebf;&#x8def;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</name>
1743   - <type>FilterRows</type>
1744   - <description/>
1745   - <distribute>Y</distribute>
1746   - <custom_distribution/>
1747   - <copies>1</copies>
1748   - <partitioning>
1749   - <method>none</method>
1750   - <schema_name/>
1751   - </partitioning>
1752   -<send_true_to>&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x67e5;&#x8be2;</send_true_to>
1753   -<send_false_to/>
1754   - <compare>
1755   -<condition>
1756   - <negated>N</negated>
1757   - <leftvalue>xlid</leftvalue>
1758   - <function>IS NOT NULL</function>
1759   - <rightvalue/>
1760   - </condition>
1761   - </compare>
1762   - <cluster_schema/>
1763   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1764   - <xloc>203</xloc>
1765   - <yloc>110</yloc>
1766   - <draw>Y</draw>
1767   - </GUI>
1768   - </step>
1769   -
1770   - <step>
1771   - <name>&#x8fc7;&#x6ee4;&#x8def;&#x724c;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</name>
1772   - <type>FilterRows</type>
1773   - <description/>
1774   - <distribute>Y</distribute>
1775   - <custom_distribution/>
1776   - <copies>1</copies>
1777   - <partitioning>
1778   - <method>none</method>
1779   - <schema_name/>
1780   - </partitioning>
1781   -<send_true_to>&#x6392;&#x5e8f;&#x8bb0;&#x5f55;</send_true_to>
1782   -<send_false_to/>
1783   - <compare>
1784   -<condition>
1785   - <negated>N</negated>
1786   - <leftvalue>lpid</leftvalue>
1787   - <function>IS NOT NULL</function>
1788   - <rightvalue/>
1789   - </condition>
1790   - </compare>
1791   - <cluster_schema/>
1792   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1793   - <xloc>653</xloc>
1794   - <yloc>23</yloc>
1795   - <draw>Y</draw>
1796   - </GUI>
1797   - </step>
1798   -
1799   - <step>
1800   - <name>&#x8fc7;&#x6ee4;&#x8f66;&#x8f86;&#x914d;&#x7f6e;id&#x4e3a;&#x7a7a;&#x8bb0;&#x5f55;</name>
1801   - <type>FilterRows</type>
1802   - <description/>
1803   - <distribute>Y</distribute>
1804   - <custom_distribution/>
1805   - <copies>1</copies>
1806   - <partitioning>
1807   - <method>none</method>
1808   - <schema_name/>
1809   - </partitioning>
1810   -<send_true_to>&#x62c6;&#x5206;&#x8def;&#x724c;&#x8303;&#x56f4;</send_true_to>
1811   -<send_false_to/>
1812   - <compare>
1813   -<condition>
1814   - <negated>N</negated>
1815   - <leftvalue>cid</leftvalue>
1816   - <function>IS NOT NULL</function>
1817   - <rightvalue/>
1818   - </condition>
1819   - </compare>
1820   - <cluster_schema/>
1821   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1822   - <xloc>208</xloc>
1823   - <yloc>182</yloc>
  1583 + <xloc>209</xloc>
  1584 + <yloc>207</yloc>
1824 1585 <draw>Y</draw>
1825 1586 </GUI>
1826 1587 </step>
... ... @@ -1966,8 +1727,8 @@
1966 1727 </custom>
1967 1728 <cluster_schema/>
1968 1729 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1969   - <xloc>142</xloc>
1970   - <yloc>512</yloc>
  1730 + <xloc>64</xloc>
  1731 + <yloc>380</yloc>
1971 1732 <draw>Y</draw>
1972 1733 </GUI>
1973 1734 </step>
... ... @@ -1991,8 +1752,8 @@
1991 1752 </steps>
1992 1753 <cluster_schema/>
1993 1754 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
1994   - <xloc>339</xloc>
1995   - <yloc>381</yloc>
  1755 + <xloc>216</xloc>
  1756 + <yloc>480</yloc>
1996 1757 <draw>Y</draw>
1997 1758 </GUI>
1998 1759 </step>
... ... @@ -2024,8 +1785,235 @@
2024 1785 </fields>
2025 1786 <cluster_schema/>
2026 1787 <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
2027   - <xloc>643</xloc>
2028   - <yloc>368</yloc>
  1788 + <xloc>485</xloc>
  1789 + <yloc>481</yloc>
  1790 + <draw>Y</draw>
  1791 + </GUI>
  1792 + </step>
  1793 +
  1794 + <step>
  1795 + <name>&#x5224;&#x65ad;&#x662f;&#x5426;&#x5206;&#x73ed;</name>
  1796 + <type>FilterRows</type>
  1797 + <description/>
  1798 + <distribute>Y</distribute>
  1799 + <custom_distribution/>
  1800 + <copies>1</copies>
  1801 + <partitioning>
  1802 + <method>none</method>
  1803 + <schema_name/>
  1804 + </partitioning>
  1805 +<send_true_to>&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2; </send_true_to>
  1806 +<send_false_to>&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;1&#x4fe1;&#x606f;&#x67e5;&#x8be2;</send_false_to>
  1807 + <compare>
  1808 +<condition>
  1809 + <negated>N</negated>
  1810 + <leftvalue>dbbm2</leftvalue>
  1811 + <function>IS NULL</function>
  1812 + <rightvalue/>
  1813 + </condition>
  1814 + </compare>
  1815 + <cluster_schema/>
  1816 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1817 + <xloc>856</xloc>
  1818 + <yloc>24</yloc>
  1819 + <draw>Y</draw>
  1820 + </GUI>
  1821 + </step>
  1822 +
  1823 + <step>
  1824 + <name>&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;&#x4fe1;&#x606f;&#x67e5;&#x8be2; </name>
  1825 + <type>DBJoin</type>
  1826 + <description/>
  1827 + <distribute>Y</distribute>
  1828 + <custom_distribution/>
  1829 + <copies>1</copies>
  1830 + <partitioning>
  1831 + <method>none</method>
  1832 + <schema_name/>
  1833 + </partitioning>
  1834 + <connection>control_jndi</connection>
  1835 + <rowlimit>1</rowlimit>
  1836 + <sql>select id as rycid1 from bsth_c_s_ecinfo employeeco0_ &#xa;where xl &#x3d; &#x3f; &#xa;and dbbm &#x3d; &#x3f; &#xa;and is_cancel &#x3d; 0&#xa;and &#x28;&#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29; &#x2b; &#xa;&#x28;&#xa; select IFNULL&#x28;t2.destroy, 0&#x29; &#xa; from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy &#x3d; t2.id &#xa; where t1.id &#x3d; employeeco0_.id&#xa;&#x29;&#xa;&#x29; &#x3d; 0</sql>
  1837 + <outer_join>N</outer_join>
  1838 + <replace_vars>N</replace_vars>
  1839 + <parameter>
  1840 + <field>
  1841 + <name>xlid</name>
  1842 + <type>Integer</type>
  1843 + </field>
  1844 + <field>
  1845 + <name>dbbm1</name>
  1846 + <type>String</type>
  1847 + </field>
  1848 + </parameter>
  1849 + <cluster_schema/>
  1850 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1851 + <xloc>769</xloc>
  1852 + <yloc>115</yloc>
  1853 + <draw>Y</draw>
  1854 + </GUI>
  1855 + </step>
  1856 +
  1857 + <step>
  1858 + <name>&#x5904;&#x7406;&#x65e0;&#x5206;&#x73ed;&#x4eba;&#x5458;&#x914d;&#x7f6e;id&#x4fe1;&#x606f;</name>
  1859 + <type>ScriptValueMod</type>
  1860 + <description/>
  1861 + <distribute>Y</distribute>
  1862 + <custom_distribution/>
  1863 + <copies>1</copies>
  1864 + <partitioning>
  1865 + <method>none</method>
  1866 + <schema_name/>
  1867 + </partitioning>
  1868 + <compatible>N</compatible>
  1869 + <optimizationLevel>9</optimizationLevel>
  1870 + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type>
  1871 + <jsScript_name>Script 1</jsScript_name>
  1872 + <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#xa;var rycid&#x3b;&#xa;var rybm&#x3b;&#xa;&#xa;rycid &#x3d; rycid1&#x3b;&#xa;rybm &#x3d; dbbm1&#x3b;&#xa;</jsScript_script>
  1873 + </jsScript> </jsScripts> <fields> <field> <name>rycid</name>
  1874 + <rename>rycid</rename>
  1875 + <type>String</type>
  1876 + <length>-1</length>
  1877 + <precision>-1</precision>
  1878 + <replace>N</replace>
  1879 + </field> <field> <name>rybm</name>
  1880 + <rename>rybm</rename>
  1881 + <type>String</type>
  1882 + <length>-1</length>
  1883 + <precision>-1</precision>
  1884 + <replace>N</replace>
  1885 + </field> </fields> <cluster_schema/>
  1886 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1887 + <xloc>763</xloc>
  1888 + <yloc>197</yloc>
  1889 + <draw>Y</draw>
  1890 + </GUI>
  1891 + </step>
  1892 +
  1893 + <step>
  1894 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  1895 + <type>SelectValues</type>
  1896 + <description/>
  1897 + <distribute>Y</distribute>
  1898 + <custom_distribution/>
  1899 + <copies>1</copies>
  1900 + <partitioning>
  1901 + <method>none</method>
  1902 + <schema_name/>
  1903 + </partitioning>
  1904 + <fields> <field> <name>xlid</name>
  1905 + <rename/>
  1906 + <length>-2</length>
  1907 + <precision>-2</precision>
  1908 + </field> <field> <name>cid</name>
  1909 + <rename/>
  1910 + <length>-2</length>
  1911 + <precision>-2</precision>
  1912 + </field> <field> <name>lpnames</name>
  1913 + <rename/>
  1914 + <length>-2</length>
  1915 + <precision>-2</precision>
  1916 + </field> <field> <name>lpids</name>
  1917 + <rename/>
  1918 + <length>-2</length>
  1919 + <precision>-2</precision>
  1920 + </field> <field> <name>&#x8d77;&#x59cb;&#x8def;&#x724c;</name>
  1921 + <rename/>
  1922 + <length>-2</length>
  1923 + <precision>-2</precision>
  1924 + </field> <field> <name>&#x8d77;&#x59cb;&#x4eba;&#x5458;</name>
  1925 + <rename/>
  1926 + <length>-2</length>
  1927 + <precision>-2</precision>
  1928 + </field> <field> <name>&#x4eba;&#x5458;&#x8303;&#x56f4;</name>
  1929 + <rename/>
  1930 + <length>-2</length>
  1931 + <precision>-2</precision>
  1932 + </field> <field> <name>&#x542f;&#x7528;&#x65e5;&#x671f;</name>
  1933 + <rename/>
  1934 + <length>-2</length>
  1935 + <precision>-2</precision>
  1936 + </field> <field> <name>&#x7ffb;&#x73ed;&#x683c;&#x5f0f;</name>
  1937 + <rename/>
  1938 + <length>-2</length>
  1939 + <precision>-2</precision>
  1940 + </field> <field> <name>rycid</name>
  1941 + <rename/>
  1942 + <length>-2</length>
  1943 + <precision>-2</precision>
  1944 + </field> <field> <name>rybm</name>
  1945 + <rename/>
  1946 + <length>-2</length>
  1947 + <precision>-2</precision>
  1948 + </field> <select_unspecified>N</select_unspecified>
  1949 + </fields> <cluster_schema/>
  1950 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1951 + <xloc>764</xloc>
  1952 + <yloc>386</yloc>
  1953 + <draw>Y</draw>
  1954 + </GUI>
  1955 + </step>
  1956 +
  1957 + <step>
  1958 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9; 2</name>
  1959 + <type>SelectValues</type>
  1960 + <description/>
  1961 + <distribute>Y</distribute>
  1962 + <custom_distribution/>
  1963 + <copies>1</copies>
  1964 + <partitioning>
  1965 + <method>none</method>
  1966 + <schema_name/>
  1967 + </partitioning>
  1968 + <fields> <field> <name>xlid</name>
  1969 + <rename/>
  1970 + <length>-2</length>
  1971 + <precision>-2</precision>
  1972 + </field> <field> <name>cid</name>
  1973 + <rename/>
  1974 + <length>-2</length>
  1975 + <precision>-2</precision>
  1976 + </field> <field> <name>lpnames</name>
  1977 + <rename/>
  1978 + <length>-2</length>
  1979 + <precision>-2</precision>
  1980 + </field> <field> <name>lpids</name>
  1981 + <rename/>
  1982 + <length>-2</length>
  1983 + <precision>-2</precision>
  1984 + </field> <field> <name>&#x8d77;&#x59cb;&#x8def;&#x724c;</name>
  1985 + <rename/>
  1986 + <length>-2</length>
  1987 + <precision>-2</precision>
  1988 + </field> <field> <name>&#x8d77;&#x59cb;&#x4eba;&#x5458;</name>
  1989 + <rename/>
  1990 + <length>-2</length>
  1991 + <precision>-2</precision>
  1992 + </field> <field> <name>&#x4eba;&#x5458;&#x8303;&#x56f4;</name>
  1993 + <rename/>
  1994 + <length>-2</length>
  1995 + <precision>-2</precision>
  1996 + </field> <field> <name>&#x542f;&#x7528;&#x65e5;&#x671f;</name>
  1997 + <rename/>
  1998 + <length>-2</length>
  1999 + <precision>-2</precision>
  2000 + </field> <field> <name>&#x7ffb;&#x73ed;&#x683c;&#x5f0f;</name>
  2001 + <rename/>
  2002 + <length>-2</length>
  2003 + <precision>-2</precision>
  2004 + </field> <field> <name>rycid</name>
  2005 + <rename/>
  2006 + <length>-2</length>
  2007 + <precision>-2</precision>
  2008 + </field> <field> <name>rybm</name>
  2009 + <rename/>
  2010 + <length>-2</length>
  2011 + <precision>-2</precision>
  2012 + </field> <select_unspecified>N</select_unspecified>
  2013 + </fields> <cluster_schema/>
  2014 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  2015 + <xloc>956</xloc>
  2016 + <yloc>385</yloc>
2029 2017 <draw>Y</draw>
2030 2018 </GUI>
2031 2019 </step>
... ...