Commit 412b0146e0a078e8a3b5b37fe37475440f7958c1
1 parent
fc5dde8e
1、修正排班规则导入ktr,加入人员作废的判断
Showing
1 changed file
with
418 additions
and
430 deletions
src/main/resources/datatools/ktrs/scheduleRuleDataInput.ktr
| @@ -11,12 +11,12 @@ | @@ -11,12 +11,12 @@ | ||
| 11 | <parameters> | 11 | <parameters> |
| 12 | <parameter> | 12 | <parameter> |
| 13 | <name>erroroutputdir</name> | 13 | <name>erroroutputdir</name> |
| 14 | - <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1</default_value> | 14 | + <default_value>/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/erroroutput</default_value> |
| 15 | <description>ktr step配置的错误输出目录</description> | 15 | <description>ktr step配置的错误输出目录</description> |
| 16 | </parameter> | 16 | </parameter> |
| 17 | <parameter> | 17 | <parameter> |
| 18 | <name>filepath</name> | 18 | <name>filepath</name> |
| 19 | - <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1/排版规则信息.xls</default_value> | 19 | + <default_value>/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/排版规则信息-167-副本.xls</default_value> |
| 20 | <description>待处理导入的excel文件</description> | 20 | <description>待处理导入的excel文件</description> |
| 21 | </parameter> | 21 | </parameter> |
| 22 | </parameters> | 22 | </parameters> |
| @@ -84,6 +84,27 @@ | @@ -84,6 +84,27 @@ | ||
| 84 | <is_key_private>N</is_key_private> | 84 | <is_key_private>N</is_key_private> |
| 85 | </info> | 85 | </info> |
| 86 | <notepads> | 86 | <notepads> |
| 87 | + <notepad> | ||
| 88 | + <note>业务信息更新:
1、人员如果作废了,忽略关联的搭班编码
2、所有的数据库 join step的outer join不要勾选,
 不勾选的情况下,如果当前input行数据参与的数据库查询没找到数据,则output行就没有数据了,
 (之前outer join选中,造成output行一直有数据,后面还要使用过滤step过滤数据)</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 | </notepads> | 108 | </notepads> |
| 88 | <connection> | 109 | <connection> |
| 89 | <name>192.168.168.1_jwgl_dw</name> | 110 | <name>192.168.168.1_jwgl_dw</name> |
| @@ -593,35 +614,36 @@ | @@ -593,35 +614,36 @@ | ||
| 593 | </attributes> | 614 | </attributes> |
| 594 | </connection> | 615 | </connection> |
| 595 | <order> | 616 | <order> |
| 596 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 597 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | ||
| 598 | - <hop> <from>拆分路牌范围</from><to>路牌id查询</to><enabled>Y</enabled> </hop> | ||
| 599 | - <hop> <from>排序记录</from><to>分组合并路牌id</to><enabled>Y</enabled> </hop> | ||
| 600 | - <hop> <from>分组合并路牌id</from><to>拆分人员范围</to><enabled>Y</enabled> </hop> | ||
| 601 | - <hop> <from>拆分人员范围</from><to>拆分分班搭班编码字段</to><enabled>Y</enabled> </hop> | ||
| 602 | - <hop> <from>拆分分班搭班编码字段</from><to>人员配置id查询</to><enabled>Y</enabled> </hop> | ||
| 603 | - <hop> <from>人员配置id查询</from><to>人员配置id查询 2</to><enabled>Y</enabled> </hop> | ||
| 604 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | ||
| 605 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | ||
| 606 | - <hop> <from>过滤线路id为空记录</from><to>车辆配置id查询</to><enabled>Y</enabled> </hop> | ||
| 607 | - <hop> <from>车辆配置id查询</from><to>过滤车辆配置id为空记录</to><enabled>Y</enabled> </hop> | ||
| 608 | - <hop> <from>过滤车辆配置id为空记录</from><to>拆分路牌范围</to><enabled>Y</enabled> </hop> | ||
| 609 | - <hop> <from>路牌id查询</from><to>过滤路牌id为空记录</to><enabled>Y</enabled> </hop> | ||
| 610 | - <hop> <from>过滤路牌id为空记录</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 611 | - <hop> <from>人员配置id查询 2</from><to>过滤人员配置id为空记录</to><enabled>Y</enabled> </hop> | ||
| 612 | - <hop> <from>过滤人员配置id为空记录</from><to>合并分班人员配置id</to><enabled>Y</enabled> </hop> | ||
| 613 | - <hop> <from>合并分班人员配置id</from><to>排序记录 2</to><enabled>Y</enabled> </hop> | ||
| 614 | - <hop> <from>排序记录 2</from><to>分组合并人员配置id</to><enabled>Y</enabled> </hop> | ||
| 615 | - <hop> <from>分组合并人员配置id</from><to>启用日期转换</to><enabled>Y</enabled> </hop> | ||
| 616 | <hop> <from>删除</from><to>阻塞数据直到步骤都完成</to><enabled>Y</enabled> </hop> | 617 | <hop> <from>删除</from><to>阻塞数据直到步骤都完成</to><enabled>Y</enabled> </hop> |
| 617 | <hop> <from>阻塞数据直到步骤都完成</from><to>规则表输出</to><enabled>Y</enabled> </hop> | 618 | <hop> <from>阻塞数据直到步骤都完成</from><to>规则表输出</to><enabled>Y</enabled> </hop> |
| 618 | <hop> <from>规则表输出</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | 619 | <hop> <from>规则表输出</from><to>错误输出 2</to><enabled>Y</enabled> </hop> |
| 619 | <hop> <from>启用日期转换</from><to>默认翻班类型</to><enabled>Y</enabled> </hop> | 620 | <hop> <from>启用日期转换</from><to>默认翻班类型</to><enabled>Y</enabled> </hop> |
| 620 | <hop> <from>默认翻班类型</from><to>删除</to><enabled>Y</enabled> </hop> | 621 | <hop> <from>默认翻班类型</from><to>删除</to><enabled>Y</enabled> </hop> |
| 622 | + <hop> <from>原始系统导出的Excel输入</from><to>线路信息查询</to><enabled>Y</enabled> </hop> | ||
| 623 | + <hop> <from>线路信息查询</from><to>车辆配置信息查询</to><enabled>Y</enabled> </hop> | ||
| 624 | + <hop> <from>车辆配置信息查询</from><to>拆分路牌范围信息</to><enabled>Y</enabled> </hop> | ||
| 625 | + <hop> <from>拆分路牌范围信息</from><to>路牌信息查询</to><enabled>Y</enabled> </hop> | ||
| 626 | + <hop> <from>路牌信息查询</from><to>排序数据</to><enabled>Y</enabled> </hop> | ||
| 627 | + <hop> <from>排序数据</from><to>分组合并路牌信息</to><enabled>Y</enabled> </hop> | ||
| 628 | + <hop> <from>分组合并路牌信息</from><to>拆分人员范围信息</to><enabled>Y</enabled> </hop> | ||
| 629 | + <hop> <from>拆分人员范围信息</from><to>继续拆分人员范围(分班)</to><enabled>Y</enabled> </hop> | ||
| 630 | + <hop> <from>排序记录2</from><to>分组合并人员配置信息</to><enabled>Y</enabled> </hop> | ||
| 631 | + <hop> <from>分组合并人员配置信息</from><to>启用日期转换</to><enabled>Y</enabled> </hop> | ||
| 632 | + <hop> <from>继续拆分人员范围(分班)</from><to>判断是否分班</to><enabled>Y</enabled> </hop> | ||
| 633 | + <hop> <from>判断是否分班</from><to>无分班人员配置信息查询 </to><enabled>Y</enabled> </hop> | ||
| 634 | + <hop> <from>分班人员配置1信息查询</from><to>分班人员配置2信息查询</to><enabled>Y</enabled> </hop> | ||
| 635 | + <hop> <from>判断是否分班</from><to>分班人员配置1信息查询</to><enabled>Y</enabled> </hop> | ||
| 636 | + <hop> <from>无分班人员配置信息查询 </from><to>处理无分班人员配置id信息</to><enabled>Y</enabled> </hop> | ||
| 637 | + <hop> <from>分班人员配置2信息查询</from><to>合并处理分班人员配置id信息</to><enabled>Y</enabled> </hop> | ||
| 638 | + <hop> <from>处理无分班人员配置id信息</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 639 | + <hop> <from>合并处理分班人员配置id信息</from><to>字段选择 2</to><enabled>Y</enabled> </hop> | ||
| 640 | + <hop> <from>字段选择</from><to>排序记录2</to><enabled>Y</enabled> </hop> | ||
| 641 | + <hop> <from>字段选择 2</from><to>排序记录2</to><enabled>Y</enabled> </hop> | ||
| 642 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 621 | </order> | 643 | </order> |
| 622 | <step> | 644 | <step> |
| 623 | - <name>人员配置id查询</name> | ||
| 624 | - <type>DBLookup</type> | 645 | + <name>分班人员配置1信息查询</name> |
| 646 | + <type>DBJoin</type> | ||
| 625 | <description/> | 647 | <description/> |
| 626 | <distribute>Y</distribute> | 648 | <distribute>Y</distribute> |
| 627 | <custom_distribution/> | 649 | <custom_distribution/> |
| @@ -631,51 +653,31 @@ | @@ -631,51 +653,31 @@ | ||
| 631 | <schema_name/> | 653 | <schema_name/> |
| 632 | </partitioning> | 654 | </partitioning> |
| 633 | <connection>control_jndi</connection> | 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_ 
where xl = ? 
and dbbm = ? 
and is_cancel = 0
and (
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy = t2.id 
 where t1.id = employeeco0_.id
) + 
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy = t2.id 
 where t1.id = employeeco0_.id
)
) = 0</sql> | ||
| 658 | + <outer_join>N</outer_join> | ||
| 659 | + <replace_vars>N</replace_vars> | ||
| 660 | + <parameter> | ||
| 661 | + <field> | ||
| 644 | <name>xlid</name> | 662 | <name>xlid</name> |
| 645 | - <field>xl</field> | ||
| 646 | - <condition>=</condition> | ||
| 647 | - <name2/> | ||
| 648 | - </key> | ||
| 649 | - <key> | ||
| 650 | - <name>dbbm1</name> | ||
| 651 | - <field>dbbm</field> | ||
| 652 | - <condition>=</condition> | ||
| 653 | - <name2/> | ||
| 654 | - </key> | ||
| 655 | - <key> | ||
| 656 | - <name>isCancel</name> | ||
| 657 | - <field>is_cancel</field> | ||
| 658 | - <condition>=</condition> | ||
| 659 | - <name2/> | ||
| 660 | - </key> | ||
| 661 | - <value> | ||
| 662 | - <name>id</name> | ||
| 663 | - <rename>rycid1</rename> | ||
| 664 | - <default/> | ||
| 665 | <type>Integer</type> | 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 | <cluster_schema/> | 670 | <cluster_schema/> |
| 669 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 674 | <draw>Y</draw> |
| 673 | </GUI> | 675 | </GUI> |
| 674 | </step> | 676 | </step> |
| 675 | 677 | ||
| 676 | <step> | 678 | <step> |
| 677 | - <name>人员配置id查询 2</name> | ||
| 678 | - <type>DBLookup</type> | 679 | + <name>分班人员配置2信息查询</name> |
| 680 | + <type>DBJoin</type> | ||
| 679 | <description/> | 681 | <description/> |
| 680 | <distribute>Y</distribute> | 682 | <distribute>Y</distribute> |
| 681 | <custom_distribution/> | 683 | <custom_distribution/> |
| @@ -685,50 +687,30 @@ | @@ -685,50 +687,30 @@ | ||
| 685 | <schema_name/> | 687 | <schema_name/> |
| 686 | </partitioning> | 688 | </partitioning> |
| 687 | <connection>control_jndi</connection> | 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_ 
where xl = ? 
and dbbm = ? 
and is_cancel = 0
and (
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy = t2.id 
 where t1.id = employeeco0_.id
) + 
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy = t2.id 
 where t1.id = employeeco0_.id
)
) = 0</sql> | ||
| 692 | + <outer_join>N</outer_join> | ||
| 693 | + <replace_vars>N</replace_vars> | ||
| 694 | + <parameter> | ||
| 695 | + <field> | ||
| 698 | <name>xlid</name> | 696 | <name>xlid</name> |
| 699 | - <field>xl</field> | ||
| 700 | - <condition>=</condition> | ||
| 701 | - <name2/> | ||
| 702 | - </key> | ||
| 703 | - <key> | ||
| 704 | - <name>dbbm2</name> | ||
| 705 | - <field>dbbm</field> | ||
| 706 | - <condition>=</condition> | ||
| 707 | - <name2/> | ||
| 708 | - </key> | ||
| 709 | - <key> | ||
| 710 | - <name>isCancel</name> | ||
| 711 | - <field>is_cancel</field> | ||
| 712 | - <condition>=</condition> | ||
| 713 | - <name2/> | ||
| 714 | - </key> | ||
| 715 | - <value> | ||
| 716 | - <name>id</name> | ||
| 717 | - <rename>rycid2</rename> | ||
| 718 | - <default/> | ||
| 719 | <type>Integer</type> | 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 | <cluster_schema/> | 704 | <cluster_schema/> |
| 723 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 708 | <draw>Y</draw> |
| 727 | </GUI> | 709 | </GUI> |
| 728 | </step> | 710 | </step> |
| 729 | 711 | ||
| 730 | <step> | 712 | <step> |
| 731 | - <name>分组合并人员配置id</name> | 713 | + <name>分组合并人员配置信息</name> |
| 732 | <type>GroupBy</type> | 714 | <type>GroupBy</type> |
| 733 | <description/> | 715 | <description/> |
| 734 | <distribute>Y</distribute> | 716 | <distribute>Y</distribute> |
| @@ -774,9 +756,6 @@ | @@ -774,9 +756,6 @@ | ||
| 774 | <field> | 756 | <field> |
| 775 | <name>翻班格式</name> | 757 | <name>翻班格式</name> |
| 776 | </field> | 758 | </field> |
| 777 | - <field> | ||
| 778 | - <name>isCancel</name> | ||
| 779 | - </field> | ||
| 780 | </group> | 759 | </group> |
| 781 | <fields> | 760 | <fields> |
| 782 | <field> | 761 | <field> |
| @@ -794,14 +773,14 @@ | @@ -794,14 +773,14 @@ | ||
| 794 | </fields> | 773 | </fields> |
| 795 | <cluster_schema/> | 774 | <cluster_schema/> |
| 796 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 778 | <draw>Y</draw> |
| 800 | </GUI> | 779 | </GUI> |
| 801 | </step> | 780 | </step> |
| 802 | 781 | ||
| 803 | <step> | 782 | <step> |
| 804 | - <name>分组合并路牌id</name> | 783 | + <name>分组合并路牌信息</name> |
| 805 | <type>GroupBy</type> | 784 | <type>GroupBy</type> |
| 806 | <description/> | 785 | <description/> |
| 807 | <distribute>Y</distribute> | 786 | <distribute>Y</distribute> |
| @@ -841,9 +820,6 @@ | @@ -841,9 +820,6 @@ | ||
| 841 | <field> | 820 | <field> |
| 842 | <name>翻班格式</name> | 821 | <name>翻班格式</name> |
| 843 | </field> | 822 | </field> |
| 844 | - <field> | ||
| 845 | - <name>isCancel</name> | ||
| 846 | - </field> | ||
| 847 | </group> | 823 | </group> |
| 848 | <fields> | 824 | <fields> |
| 849 | <field> | 825 | <field> |
| @@ -861,8 +837,8 @@ | @@ -861,8 +837,8 @@ | ||
| 861 | </fields> | 837 | </fields> |
| 862 | <cluster_schema/> | 838 | <cluster_schema/> |
| 863 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 842 | <draw>Y</draw> |
| 867 | </GUI> | 843 | </GUI> |
| 868 | </step> | 844 | </step> |
| @@ -892,8 +868,8 @@ | @@ -892,8 +868,8 @@ | ||
| 892 | </lookup> | 868 | </lookup> |
| 893 | <cluster_schema/> | 869 | <cluster_schema/> |
| 894 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 873 | <draw>Y</draw> |
| 898 | </GUI> | 874 | </GUI> |
| 899 | </step> | 875 | </step> |
| @@ -1063,7 +1039,7 @@ | @@ -1063,7 +1039,7 @@ | ||
| 1063 | </step> | 1039 | </step> |
| 1064 | 1040 | ||
| 1065 | <step> | 1041 | <step> |
| 1066 | - <name>合并分班人员配置id</name> | 1042 | + <name>合并处理分班人员配置id信息</name> |
| 1067 | <type>ScriptValueMod</type> | 1043 | <type>ScriptValueMod</type> |
| 1068 | <description/> | 1044 | <description/> |
| 1069 | <distribute>Y</distribute> | 1045 | <distribute>Y</distribute> |
| @@ -1077,7 +1053,7 @@ | @@ -1077,7 +1053,7 @@ | ||
| 1077 | <optimizationLevel>9</optimizationLevel> | 1053 | <optimizationLevel>9</optimizationLevel> |
| 1078 | <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | 1054 | <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> |
| 1079 | <jsScript_name>Script 1</jsScript_name> | 1055 | <jsScript_name>Script 1</jsScript_name> |
| 1080 | - <jsScript_script>//Script here

var rycid;
var rybm;

if (rycid2 == null) {
 rycid = rycid1;
 rybm = dbbm1;
} else {
 rycid = rycid1 + "-" + rycid2;
 rybm = dbbm1 + "-" + dbbm2;
}</jsScript_script> | 1056 | + <jsScript_script>//Script here

var rycid;
var rybm;

rycid = rycid1 + "-" + rycid2;
rybm = dbbm1 + "-" + dbbm2;
</jsScript_script> |
| 1081 | </jsScript> </jsScripts> <fields> <field> <name>rycid</name> | 1057 | </jsScript> </jsScripts> <fields> <field> <name>rycid</name> |
| 1082 | <rename>rycid</rename> | 1058 | <rename>rycid</rename> |
| 1083 | <type>String</type> | 1059 | <type>String</type> |
| @@ -1092,8 +1068,8 @@ | @@ -1092,8 +1068,8 @@ | ||
| 1092 | <replace>N</replace> | 1068 | <replace>N</replace> |
| 1093 | </field> </fields> <cluster_schema/> | 1069 | </field> </fields> <cluster_schema/> |
| 1094 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1073 | <draw>Y</draw> |
| 1098 | </GUI> | 1074 | </GUI> |
| 1099 | </step> | 1075 | </step> |
| @@ -1127,47 +1103,14 @@ | @@ -1127,47 +1103,14 @@ | ||
| 1127 | <storage_type/> | 1103 | <storage_type/> |
| 1128 | </meta> </fields> <cluster_schema/> | 1104 | </meta> </fields> <cluster_schema/> |
| 1129 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1108 | <draw>Y</draw> |
| 1133 | </GUI> | 1109 | </GUI> |
| 1134 | </step> | 1110 | </step> |
| 1135 | 1111 | ||
| 1136 | <step> | 1112 | <step> |
| 1137 | - <name>启用被数据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>拆分人员范围</name> | 1113 | + <name>拆分人员范围信息</name> |
| 1171 | <type>SplitFieldToRows3</type> | 1114 | <type>SplitFieldToRows3</type> |
| 1172 | <description/> | 1115 | <description/> |
| 1173 | <distribute>Y</distribute> | 1116 | <distribute>Y</distribute> |
| @@ -1186,62 +1129,14 @@ | @@ -1186,62 +1129,14 @@ | ||
| 1186 | <delimiter_is_regex>N</delimiter_is_regex> | 1129 | <delimiter_is_regex>N</delimiter_is_regex> |
| 1187 | <cluster_schema/> | 1130 | <cluster_schema/> |
| 1188 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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>拆分分班搭班编码字段</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 | <draw>Y</draw> | 1134 | <draw>Y</draw> |
| 1240 | </GUI> | 1135 | </GUI> |
| 1241 | </step> | 1136 | </step> |
| 1242 | 1137 | ||
| 1243 | <step> | 1138 | <step> |
| 1244 | - <name>拆分路牌范围</name> | 1139 | + <name>拆分路牌范围信息</name> |
| 1245 | <type>SplitFieldToRows3</type> | 1140 | <type>SplitFieldToRows3</type> |
| 1246 | <description/> | 1141 | <description/> |
| 1247 | <distribute>Y</distribute> | 1142 | <distribute>Y</distribute> |
| @@ -1260,14 +1155,14 @@ | @@ -1260,14 +1155,14 @@ | ||
| 1260 | <delimiter_is_regex>N</delimiter_is_regex> | 1155 | <delimiter_is_regex>N</delimiter_is_regex> |
| 1261 | <cluster_schema/> | 1156 | <cluster_schema/> |
| 1262 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1160 | <draw>Y</draw> |
| 1266 | </GUI> | 1161 | </GUI> |
| 1267 | </step> | 1162 | </step> |
| 1268 | 1163 | ||
| 1269 | <step> | 1164 | <step> |
| 1270 | - <name>排序记录</name> | 1165 | + <name>排序数据</name> |
| 1271 | <type>SortRows</type> | 1166 | <type>SortRows</type> |
| 1272 | <description/> | 1167 | <description/> |
| 1273 | <distribute>Y</distribute> | 1168 | <distribute>Y</distribute> |
| @@ -1327,23 +1222,17 @@ | @@ -1327,23 +1222,17 @@ | ||
| 1327 | <case_sensitive>N</case_sensitive> | 1222 | <case_sensitive>N</case_sensitive> |
| 1328 | <presorted>N</presorted> | 1223 | <presorted>N</presorted> |
| 1329 | </field> | 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 | </fields> | 1225 | </fields> |
| 1337 | <cluster_schema/> | 1226 | <cluster_schema/> |
| 1338 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1230 | <draw>Y</draw> |
| 1342 | </GUI> | 1231 | </GUI> |
| 1343 | </step> | 1232 | </step> |
| 1344 | 1233 | ||
| 1345 | <step> | 1234 | <step> |
| 1346 | - <name>排序记录 2</name> | 1235 | + <name>排序记录2</name> |
| 1347 | <type>SortRows</type> | 1236 | <type>SortRows</type> |
| 1348 | <description/> | 1237 | <description/> |
| 1349 | <distribute>Y</distribute> | 1238 | <distribute>Y</distribute> |
| @@ -1415,24 +1304,18 @@ | @@ -1415,24 +1304,18 @@ | ||
| 1415 | <case_sensitive>N</case_sensitive> | 1304 | <case_sensitive>N</case_sensitive> |
| 1416 | <presorted>N</presorted> | 1305 | <presorted>N</presorted> |
| 1417 | </field> | 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 | </fields> | 1307 | </fields> |
| 1425 | <cluster_schema/> | 1308 | <cluster_schema/> |
| 1426 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1312 | <draw>Y</draw> |
| 1430 | </GUI> | 1313 | </GUI> |
| 1431 | </step> | 1314 | </step> |
| 1432 | 1315 | ||
| 1433 | <step> | 1316 | <step> |
| 1434 | - <name>线路id查询</name> | ||
| 1435 | - <type>DBLookup</type> | 1317 | + <name>线路信息查询</name> |
| 1318 | + <type>DBJoin</type> | ||
| 1436 | <description/> | 1319 | <description/> |
| 1437 | <distribute>Y</distribute> | 1320 | <distribute>Y</distribute> |
| 1438 | <custom_distribution/> | 1321 | <custom_distribution/> |
| @@ -1442,43 +1325,73 @@ | @@ -1442,43 +1325,73 @@ | ||
| 1442 | <schema_name/> | 1325 | <schema_name/> |
| 1443 | </partitioning> | 1326 | </partitioning> |
| 1444 | <connection>control_jndi</connection> | 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
where name = ? 
and destroy = 0 </sql> | ||
| 1330 | + <outer_join>N</outer_join> | ||
| 1331 | + <replace_vars>N</replace_vars> | ||
| 1332 | + <parameter> | ||
| 1333 | + <field> | ||
| 1455 | <name>线路</name> | 1334 | <name>线路</name> |
| 1456 | - <field>name</field> | ||
| 1457 | - <condition>=</condition> | ||
| 1458 | - <name2/> | ||
| 1459 | - </key> | ||
| 1460 | - <key> | ||
| 1461 | - <name>isCancel</name> | ||
| 1462 | - <field>destroy</field> | ||
| 1463 | - <condition>=</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 | <cluster_schema/> | 1338 | <cluster_schema/> |
| 1474 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 1339 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> |
| 1475 | - <xloc>359</xloc> | 1340 | + <xloc>208</xloc> |
| 1476 | <yloc>110</yloc> | 1341 | <yloc>110</yloc> |
| 1477 | <draw>Y</draw> | 1342 | <draw>Y</draw> |
| 1478 | </GUI> | 1343 | </GUI> |
| 1479 | </step> | 1344 | </step> |
| 1480 | 1345 | ||
| 1481 | <step> | 1346 | <step> |
| 1347 | + <name>继续拆分人员范围(分班)</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 | <name>获取变量</name> | 1395 | <name>获取变量</name> |
| 1483 | <type>GetVariable</type> | 1396 | <type>GetVariable</type> |
| 1484 | <description/> | 1397 | <description/> |
| @@ -1599,15 +1512,15 @@ | @@ -1599,15 +1512,15 @@ | ||
| 1599 | </fields> | 1512 | </fields> |
| 1600 | <cluster_schema/> | 1513 | <cluster_schema/> |
| 1601 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1517 | <draw>Y</draw> |
| 1605 | </GUI> | 1518 | </GUI> |
| 1606 | </step> | 1519 | </step> |
| 1607 | 1520 | ||
| 1608 | <step> | 1521 | <step> |
| 1609 | - <name>路牌id查询</name> | ||
| 1610 | - <type>DBLookup</type> | 1522 | + <name>路牌信息查询</name> |
| 1523 | + <type>DBJoin</type> | ||
| 1611 | <description/> | 1524 | <description/> |
| 1612 | <distribute>Y</distribute> | 1525 | <distribute>Y</distribute> |
| 1613 | <custom_distribution/> | 1526 | <custom_distribution/> |
| @@ -1617,50 +1530,30 @@ | @@ -1617,50 +1530,30 @@ | ||
| 1617 | <schema_name/> | 1530 | <schema_name/> |
| 1618 | </partitioning> | 1531 | </partitioning> |
| 1619 | <connection>control_jndi</connection> | 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
where xl = ? 
and lp_name = ? 
and is_cancel = 0</sql> | ||
| 1535 | + <outer_join>N</outer_join> | ||
| 1536 | + <replace_vars>N</replace_vars> | ||
| 1537 | + <parameter> | ||
| 1538 | + <field> | ||
| 1630 | <name>xlid</name> | 1539 | <name>xlid</name> |
| 1631 | - <field>xl</field> | ||
| 1632 | - <condition>=</condition> | ||
| 1633 | - <name2/> | ||
| 1634 | - </key> | ||
| 1635 | - <key> | ||
| 1636 | - <name>lpname</name> | ||
| 1637 | - <field>lp_name</field> | ||
| 1638 | - <condition>=</condition> | ||
| 1639 | - <name2/> | ||
| 1640 | - </key> | ||
| 1641 | - <key> | ||
| 1642 | - <name>isCancel</name> | ||
| 1643 | - <field>is_cancel</field> | ||
| 1644 | - <condition>=</condition> | ||
| 1645 | - <name2/> | ||
| 1646 | - </key> | ||
| 1647 | - <value> | ||
| 1648 | - <name>id</name> | ||
| 1649 | - <rename>lpid</rename> | ||
| 1650 | - <default/> | ||
| 1651 | <type>Integer</type> | 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 | <cluster_schema/> | 1547 | <cluster_schema/> |
| 1655 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1551 | <draw>Y</draw> |
| 1659 | </GUI> | 1552 | </GUI> |
| 1660 | </step> | 1553 | </step> |
| 1661 | 1554 | ||
| 1662 | <step> | 1555 | <step> |
| 1663 | - <name>车辆配置id查询</name> | 1556 | + <name>车辆配置信息查询</name> |
| 1664 | <type>DBJoin</type> | 1557 | <type>DBJoin</type> |
| 1665 | <description/> | 1558 | <description/> |
| 1666 | <distribute>Y</distribute> | 1559 | <distribute>Y</distribute> |
| @@ -1672,8 +1565,8 @@ | @@ -1672,8 +1565,8 @@ | ||
| 1672 | </partitioning> | 1565 | </partitioning> |
| 1673 | <connection>control_jndi</connection> | 1566 | <connection>control_jndi</connection> |
| 1674 | <rowlimit>1</rowlimit> | 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 = t2.id
where t1.xl = ? and t2.inside_code = ? and t1.is_cancel = ?</sql> | ||
| 1676 | - <outer_join>Y</outer_join> | 1568 | + <sql>select t1.id as cid 
from bsth_c_s_ccinfo t1 left join bsth_c_cars t2 on t1.cl = t2.id
where t1.xl = ? 
and t2.inside_code = ? 
and t1.is_cancel = 0 </sql> |
| 1569 | + <outer_join>N</outer_join> | ||
| 1677 | <replace_vars>N</replace_vars> | 1570 | <replace_vars>N</replace_vars> |
| 1678 | <parameter> | 1571 | <parameter> |
| 1679 | <field> | 1572 | <field> |
| @@ -1684,143 +1577,11 @@ | @@ -1684,143 +1577,11 @@ | ||
| 1684 | <name>内部编码</name> | 1577 | <name>内部编码</name> |
| 1685 | <type>String</type> | 1578 | <type>String</type> |
| 1686 | </field> | 1579 | </field> |
| 1687 | - <field> | ||
| 1688 | - <name>isCancel</name> | ||
| 1689 | - <type>Integer</type> | ||
| 1690 | - </field> | ||
| 1691 | </parameter> | 1580 | </parameter> |
| 1692 | <cluster_schema/> | 1581 | <cluster_schema/> |
| 1693 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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>过滤人员配置id为空记录</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>过滤线路id为空记录</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>车辆配置id查询</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>过滤路牌id为空记录</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>排序记录</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>过滤车辆配置id为空记录</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>拆分路牌范围</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 | <draw>Y</draw> | 1585 | <draw>Y</draw> |
| 1825 | </GUI> | 1586 | </GUI> |
| 1826 | </step> | 1587 | </step> |
| @@ -1966,8 +1727,8 @@ | @@ -1966,8 +1727,8 @@ | ||
| 1966 | </custom> | 1727 | </custom> |
| 1967 | <cluster_schema/> | 1728 | <cluster_schema/> |
| 1968 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1732 | <draw>Y</draw> |
| 1972 | </GUI> | 1733 | </GUI> |
| 1973 | </step> | 1734 | </step> |
| @@ -1991,8 +1752,8 @@ | @@ -1991,8 +1752,8 @@ | ||
| 1991 | </steps> | 1752 | </steps> |
| 1992 | <cluster_schema/> | 1753 | <cluster_schema/> |
| 1993 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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 | <draw>Y</draw> | 1757 | <draw>Y</draw> |
| 1997 | </GUI> | 1758 | </GUI> |
| 1998 | </step> | 1759 | </step> |
| @@ -2024,8 +1785,235 @@ | @@ -2024,8 +1785,235 @@ | ||
| 2024 | </fields> | 1785 | </fields> |
| 2025 | <cluster_schema/> | 1786 | <cluster_schema/> |
| 2026 | <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | 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>判断是否分班</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>无分班人员配置信息查询 </send_true_to> | ||
| 1806 | +<send_false_to>分班人员配置1信息查询</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>无分班人员配置信息查询 </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_ 
where xl = ? 
and dbbm = ? 
and is_cancel = 0
and (
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.jsy = t2.id 
 where t1.id = employeeco0_.id
) + 
(
 select IFNULL(t2.destroy, 0) 
 from bsth_c_s_ecinfo t1 left join bsth_c_personnel t2 on t1.spy = t2.id 
 where t1.id = employeeco0_.id
)
) = 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>处理无分班人员配置id信息</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>//Script here

var rycid;
var rybm;

rycid = rycid1;
rybm = dbbm1;
</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>字段选择</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>起始路牌</name> | ||
| 1921 | + <rename/> | ||
| 1922 | + <length>-2</length> | ||
| 1923 | + <precision>-2</precision> | ||
| 1924 | + </field> <field> <name>起始人员</name> | ||
| 1925 | + <rename/> | ||
| 1926 | + <length>-2</length> | ||
| 1927 | + <precision>-2</precision> | ||
| 1928 | + </field> <field> <name>人员范围</name> | ||
| 1929 | + <rename/> | ||
| 1930 | + <length>-2</length> | ||
| 1931 | + <precision>-2</precision> | ||
| 1932 | + </field> <field> <name>启用日期</name> | ||
| 1933 | + <rename/> | ||
| 1934 | + <length>-2</length> | ||
| 1935 | + <precision>-2</precision> | ||
| 1936 | + </field> <field> <name>翻班格式</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>字段选择 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>起始路牌</name> | ||
| 1985 | + <rename/> | ||
| 1986 | + <length>-2</length> | ||
| 1987 | + <precision>-2</precision> | ||
| 1988 | + </field> <field> <name>起始人员</name> | ||
| 1989 | + <rename/> | ||
| 1990 | + <length>-2</length> | ||
| 1991 | + <precision>-2</precision> | ||
| 1992 | + </field> <field> <name>人员范围</name> | ||
| 1993 | + <rename/> | ||
| 1994 | + <length>-2</length> | ||
| 1995 | + <precision>-2</precision> | ||
| 1996 | + </field> <field> <name>启用日期</name> | ||
| 1997 | + <rename/> | ||
| 1998 | + <length>-2</length> | ||
| 1999 | + <precision>-2</precision> | ||
| 2000 | + </field> <field> <name>翻班格式</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 | <draw>Y</draw> | 2017 | <draw>Y</draw> |
| 2030 | </GUI> | 2018 | </GUI> |
| 2031 | </step> | 2019 | </step> |