Commit 68ba727d7b50e1dc760a367b89f414e8b0979e7f

Authored by 徐烜
1 parent 1cf728c6

update

src/main/java/com/bsth/controller/PersonnelController.java
... ... @@ -48,4 +48,14 @@ public class PersonnelController extends BaseController<Personnel, Integer> {
48 48 protected String getDataImportKtrClasspath() {
49 49 return dataToolsProperties.getEmployeesDatainputktr();
50 50 }
  51 +
  52 + @Override
  53 + protected String getDataExportKtrClasspath() {
  54 + return dataToolsProperties.getEmployeesDataoutputktr();
  55 + }
  56 +
  57 + @Override
  58 + protected String getDataExportFilename() {
  59 + return "人员基础信息";
  60 + }
51 61 }
... ...
src/main/java/com/bsth/service/schedule/utils/DataImportExportServiceImpl.java
... ... @@ -68,6 +68,7 @@ public class DataImportExportServiceImpl implements DataImportExportService, Ini
68 68 kvars.put("v_db_ip", dataToolsProperties.getKvarsDbip());
69 69 kvars.put("v_db_uname", dataToolsProperties.getKvarsDbuname());
70 70 kvars.put("v_db_pwd", dataToolsProperties.getKvarsDbpwd());
  71 + kvars.put("v_db_dname", dataToolsProperties.getKvarsDbdname());
71 72 EnvUtil.applyKettleProperties(kvars, true);
72 73 KettleEnvironment.init();
73 74 }
... ...
src/main/java/com/bsth/service/schedule/utils/DataToolsProperties.java
... ... @@ -41,6 +41,8 @@ public class DataToolsProperties {
41 41 /** ktr通用变量-数据库密码 */
42 42 @NotNull
43 43 private String kvarsDbpwd;
  44 + /** ktr通用变量-数据库库名 */
  45 + private String kvarsDbdname;
44 46  
45 47 /**------------------------- 导入数据ktr --------------------------*/
46 48 /** 测试temp的ktr转换文件 */
... ... @@ -78,6 +80,9 @@ public class DataToolsProperties {
78 80 /** 车辆信息导出ktr转换 */
79 81 @NotNull
80 82 private String carsDataoutputktr;
  83 + /** 人员信息导出ktr转换 */
  84 + @NotNull
  85 + private String employeesDataoutputktr;
81 86  
82 87 // TODO:
83 88  
... ... @@ -232,4 +237,20 @@ public class DataToolsProperties {
232 237 public void setCarsDataoutputktr(String carsDataoutputktr) {
233 238 this.carsDataoutputktr = carsDataoutputktr;
234 239 }
  240 +
  241 + public String getEmployeesDataoutputktr() {
  242 + return employeesDataoutputktr;
  243 + }
  244 +
  245 + public void setEmployeesDataoutputktr(String employeesDataoutputktr) {
  246 + this.employeesDataoutputktr = employeesDataoutputktr;
  247 + }
  248 +
  249 + public String getKvarsDbdname() {
  250 + return kvarsDbdname;
  251 + }
  252 +
  253 + public void setKvarsDbdname(String kvarsDbdname) {
  254 + this.kvarsDbdname = kvarsDbdname;
  255 + }
235 256 }
... ...
src/main/resources/datatools/config-dev.properties
... ... @@ -9,6 +9,8 @@ datatools.kvars_dbip=127.0.0.1
9 9 datatools.kvars_dbuname=root
10 10 #数据库密码
11 11 datatools.kvars_dbpwd=
  12 +#数据库库名
  13 +datatools.kvars_dbdname=control
12 14  
13 15 # 3、上传数据配置信息
14 16 # 上传文件目录配置(根据不同的环境需要修正)
... ... @@ -51,7 +53,10 @@ datatools.fileoutput_dir=/Users/xu/resource/project/bsth_control_u_d_files
51 53 ##---------------------------- 导出数据ktr -----------------------------##
52 54 # 车辆信息导出ktr转换
53 55 datatools.cars_dataoutputktr=/datatools/ktrs/carsDataOutput.ktr
  56 +# 人员信息导出ktr转换
  57 +datatools.employees_dataoutputktr=/datatools/ktrs/employeesDataOutput.ktr
54 58  
  59 +# TODO:
55 60  
56 61  
57 62  
... ...
src/main/resources/datatools/config-prod.properties
... ... @@ -9,6 +9,8 @@ datatools.kvars_dbip=192.168.168.171
9 9 datatools.kvars_dbuname=root
10 10 #数据库密码
11 11 datatools.kvars_dbpwd=root2jsp
  12 +#数据库库名
  13 +datatools.kvars_dbdname=control
12 14  
13 15 # 3、上传数据配置信息
14 16 # 上传文件目录配置(根据不同的环境需要修正)
... ... @@ -51,6 +53,12 @@ datatools.fileoutput_dir=/opt/bsth_control_u_d_files
51 53 ##---------------------------- 导出数据ktr -----------------------------##
52 54 # 车辆信息导出ktr转换
53 55 datatools.cars_dataoutputktr=/datatools/ktrs/carsDataOutput.ktr
  56 +# 人员信息导出ktr转换
  57 +datatools.employees_dataoutputktr=/datatools/ktrs/employeesDataOutput.ktr
  58 +
  59 +# TODO:
  60 +
  61 +
54 62  
55 63  
56 64  
... ...
src/main/resources/datatools/ktrs/carsDataInput.ktr
... ... @@ -111,7 +111,7 @@
111 111 <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
112 112 <type>MYSQL</type>
113 113 <access>Native</access>
114   - <database>control</database>
  114 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
115 115 <port>3306</port>
116 116 <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
117 117 <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
... ... @@ -1009,7 +1009,7 @@
1009 1009 <method>none</method>
1010 1010 <schema_name/>
1011 1011 </partitioning>
1012   - <connection>bus_control_&#x516c;&#x53f8;_201</connection>
  1012 + <connection>bus_control_variable</connection>
1013 1013 <commit>1000</commit>
1014 1014 <update_bypassed>N</update_bypassed>
1015 1015 <lookup>
... ...
src/main/resources/datatools/ktrs/carsDataOutput.ktr
... ... @@ -75,7 +75,7 @@
75 75 <created_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</created_date>
76 76 <modified_user>-</modified_user>
77 77 <modified_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</modified_date>
78   - <key_for_session_key/>
  78 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
79 79 <is_key_private>N</is_key_private>
80 80 </info>
81 81 <notepads>
... ... @@ -85,7 +85,7 @@
85 85 <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
86 86 <type>MYSQL</type>
87 87 <access>Native</access>
88   - <database>control</database>
  88 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
89 89 <port>3306</port>
90 90 <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
91 91 <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
... ... @@ -257,32 +257,6 @@
257 257 <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9; 2</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
258 258 </order>
259 259 <step>
260   - <name>&#x8868;&#x8f93;&#x5165;</name>
261   - <type>TableInput</type>
262   - <description/>
263   - <distribute>Y</distribute>
264   - <custom_distribution/>
265   - <copies>1</copies>
266   - <partitioning>
267   - <method>none</method>
268   - <schema_name/>
269   - </partitioning>
270   - <connection>bus_control_variable</connection>
271   - <sql>SELECT &#x2a; FROM control.bsth_c_cars&#x3b;</sql>
272   - <limit>0</limit>
273   - <lookup/>
274   - <execute_each_row>N</execute_each_row>
275   - <variables_active>N</variables_active>
276   - <lazy_conversion_active>N</lazy_conversion_active>
277   - <cluster_schema/>
278   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
279   - <xloc>105</xloc>
280   - <yloc>67</yloc>
281   - <draw>Y</draw>
282   - </GUI>
283   - </step>
284   -
285   - <step>
286 260 <name>Excel&#x8f93;&#x51fa;</name>
287 261 <type>ExcelOutput</type>
288 262 <description/>
... ... @@ -525,134 +499,6 @@
525 499 </step>
526 500  
527 501 <step>
528   - <name>&#x662f;&#x5426;&#x6709;LED&#x670d;&#x52a1;&#x5c4f;</name>
529   - <type>ValueMapper</type>
530   - <description/>
531   - <distribute>Y</distribute>
532   - <custom_distribution/>
533   - <copies>1</copies>
534   - <partitioning>
535   - <method>none</method>
536   - <schema_name/>
537   - </partitioning>
538   - <field_to_use>led_screen</field_to_use>
539   - <target_field>led_screen_str</target_field>
540   - <non_match_default/>
541   - <fields>
542   - <field>
543   - <source_value>1</source_value>
544   - <target_value>&#x662f;</target_value>
545   - </field>
546   - <field>
547   - <source_value>0</source_value>
548   - <target_value>&#x5426;</target_value>
549   - </field>
550   - </fields>
551   - <cluster_schema/>
552   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
553   - <xloc>324</xloc>
554   - <yloc>68</yloc>
555   - <draw>Y</draw>
556   - </GUI>
557   - </step>
558   -
559   - <step>
560   - <name>&#x662f;&#x5426;&#x6709;TV&#x89c6;&#x9891;</name>
561   - <type>ValueMapper</type>
562   - <description/>
563   - <distribute>Y</distribute>
564   - <custom_distribution/>
565   - <copies>1</copies>
566   - <partitioning>
567   - <method>none</method>
568   - <schema_name/>
569   - </partitioning>
570   - <field_to_use>tv_video_type</field_to_use>
571   - <target_field>tv_video_type_str</target_field>
572   - <non_match_default/>
573   - <fields>
574   - <field>
575   - <source_value>1</source_value>
576   - <target_value>&#x662f;</target_value>
577   - </field>
578   - <field>
579   - <source_value>0</source_value>
580   - <target_value>&#x5426;</target_value>
581   - </field>
582   - </fields>
583   - <cluster_schema/>
584   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
585   - <xloc>325</xloc>
586   - <yloc>158</yloc>
587   - <draw>Y</draw>
588   - </GUI>
589   - </step>
590   -
591   - <step>
592   - <name>&#x662f;&#x5426;&#x7a7a;&#x8c03;&#x8f66;</name>
593   - <type>ValueMapper</type>
594   - <description/>
595   - <distribute>Y</distribute>
596   - <custom_distribution/>
597   - <copies>1</copies>
598   - <partitioning>
599   - <method>none</method>
600   - <schema_name/>
601   - </partitioning>
602   - <field_to_use>hvac_car</field_to_use>
603   - <target_field>hvac_car_str</target_field>
604   - <non_match_default/>
605   - <fields>
606   - <field>
607   - <source_value>1</source_value>
608   - <target_value>&#x662f;</target_value>
609   - </field>
610   - <field>
611   - <source_value>0</source_value>
612   - <target_value>&#x5426;</target_value>
613   - </field>
614   - </fields>
615   - <cluster_schema/>
616   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
617   - <xloc>209</xloc>
618   - <yloc>68</yloc>
619   - <draw>Y</draw>
620   - </GUI>
621   - </step>
622   -
623   - <step>
624   - <name>&#x6709;&#x65e0;&#x4eba;&#x552e;&#x7968;</name>
625   - <type>ValueMapper</type>
626   - <description/>
627   - <distribute>Y</distribute>
628   - <custom_distribution/>
629   - <copies>1</copies>
630   - <partitioning>
631   - <method>none</method>
632   - <schema_name/>
633   - </partitioning>
634   - <field_to_use>ticket_type</field_to_use>
635   - <target_field>ticket_type_str</target_field>
636   - <non_match_default/>
637   - <fields>
638   - <field>
639   - <source_value>1</source_value>
640   - <target_value>&#x662f;</target_value>
641   - </field>
642   - <field>
643   - <source_value>0</source_value>
644   - <target_value>&#x5426;</target_value>
645   - </field>
646   - </fields>
647   - <cluster_schema/>
648   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
649   - <xloc>206</xloc>
650   - <yloc>154</yloc>
651   - <draw>Y</draw>
652   - </GUI>
653   - </step>
654   -
655   - <step>
656 502 <name>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</name>
657 503 <type>ValueMapper</type>
658 504 <description/>
... ... @@ -685,8 +531,8 @@
685 531 </step>
686 532  
687 533 <step>
688   - <name>&#x8425;&#x8fd0;&#x72b6;&#x6001;&#x67e5;&#x8be2;</name>
689   - <type>DBLookup</type>
  534 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  535 + <type>SelectValues</type>
690 536 <description/>
691 537 <distribute>Y</distribute>
692 538 <custom_distribution/>
... ... @@ -695,267 +541,24 @@
695 541 <method>none</method>
696 542 <schema_name/>
697 543 </partitioning>
698   - <connection>bus_control_variable</connection>
699   - <cache>N</cache>
700   - <cache_load_all>N</cache_load_all>
701   - <cache_size>0</cache_size>
702   - <lookup>
703   - <schema/>
704   - <table>bsth_c_sys_dictionary</table>
705   - <orderby/>
706   - <fail_on_multiple>N</fail_on_multiple>
707   - <eat_row_on_failure>N</eat_row_on_failure>
708   - <key>
709   - <name>yyztType</name>
710   - <field>d_group</field>
711   - <condition>&#x3d;</condition>
712   - <name2/>
713   - </key>
714   - <key>
715   - <name>operators_state</name>
716   - <field>d_code</field>
717   - <condition>&#x3d;</condition>
718   - <name2/>
719   - </key>
720   - <value>
721   - <name>d_name</name>
722   - <rename>operators_state_str</rename>
723   - <default/>
  544 + <fields> <select_unspecified>N</select_unspecified>
  545 + <meta> <name>car_plate</name>
  546 + <rename>&#x8f66;&#x724c;&#x53f7;</rename>
724 547 <type>String</type>
725   - </value>
726   - </lookup>
727   - <cluster_schema/>
728   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
729   - <xloc>558</xloc>
730   - <yloc>162</yloc>
731   - <draw>Y</draw>
732   - </GUI>
733   - </step>
734   -
735   - <step>
736   - <name>&#x8425;&#x8fd0;&#x72b6;&#x6001;&#x6807;&#x8bc6;</name>
737   - <type>Constant</type>
738   - <description/>
739   - <distribute>Y</distribute>
740   - <custom_distribution/>
741   - <copies>1</copies>
742   - <partitioning>
743   - <method>none</method>
744   - <schema_name/>
745   - </partitioning>
746   - <fields>
747   - <field>
748   - <name>yyztType</name>
749   - <type>String</type>
750   - <format/>
751   - <currency/>
752   - <decimal/>
753   - <group/>
754   - <nullif>yyztType</nullif>
755   - <length>-1</length>
756   - <precision>-1</precision>
757   - <set_empty_string>N</set_empty_string>
758   - </field>
759   - </fields>
760   - <cluster_schema/>
761   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
762   - <xloc>555</xloc>
763   - <yloc>69</yloc>
764   - <draw>Y</draw>
765   - </GUI>
766   - </step>
767   -
768   - <step>
769   - <name>&#x673a;&#x52a8;&#x8f66;&#x7c7b;&#x578b;&#x6807;&#x8bc6;</name>
770   - <type>Constant</type>
771   - <description/>
772   - <distribute>Y</distribute>
773   - <custom_distribution/>
774   - <copies>1</copies>
775   - <partitioning>
776   - <method>none</method>
777   - <schema_name/>
778   - </partitioning>
779   - <fields>
780   - <field>
781   - <name>jdcType</name>
782   - <type>String</type>
783   - <format/>
784   - <currency/>
785   - <decimal/>
786   - <group/>
787   - <nullif>jdcType</nullif>
788   - <length>-1</length>
789   - <precision>-1</precision>
790   - <set_empty_string>N</set_empty_string>
791   - </field>
792   - </fields>
793   - <cluster_schema/>
794   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
795   - <xloc>672</xloc>
796   - <yloc>68</yloc>
797   - <draw>Y</draw>
798   - </GUI>
799   - </step>
800   -
801   - <step>
802   - <name>&#x673a;&#x52a8;&#x8f66;&#x7c7b;&#x578b;&#x67e5;&#x8be2;</name>
803   - <type>DBLookup</type>
804   - <description/>
805   - <distribute>Y</distribute>
806   - <custom_distribution/>
807   - <copies>1</copies>
808   - <partitioning>
809   - <method>none</method>
810   - <schema_name/>
811   - </partitioning>
812   - <connection>bus_control_variable</connection>
813   - <cache>N</cache>
814   - <cache_load_all>N</cache_load_all>
815   - <cache_size>0</cache_size>
816   - <lookup>
817   - <schema/>
818   - <table>bsth_c_sys_dictionary</table>
819   - <orderby/>
820   - <fail_on_multiple>N</fail_on_multiple>
821   - <eat_row_on_failure>N</eat_row_on_failure>
822   - <key>
823   - <name>jdcType</name>
824   - <field>d_group</field>
825   - <condition>&#x3d;</condition>
826   - <name2/>
827   - </key>
828   - <key>
829   - <name>vehicle_stats</name>
830   - <field>d_code</field>
831   - <condition>&#x3d;</condition>
832   - <name2/>
833   - </key>
834   - <value>
835   - <name>d_name</name>
836   - <rename>vehicle_stats_str</rename>
837   - <default/>
838   - <type>String</type>
839   - </value>
840   - </lookup>
841   - <cluster_schema/>
842   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
843   - <xloc>676</xloc>
844   - <yloc>162</yloc>
845   - <draw>Y</draw>
846   - </GUI>
847   - </step>
848   -
849   - <step>
850   - <name>&#x8f66;&#x8f86;&#x7c7b;&#x578b;&#x6807;&#x8bc6;</name>
851   - <type>Constant</type>
852   - <description/>
853   - <distribute>Y</distribute>
854   - <custom_distribution/>
855   - <copies>1</copies>
856   - <partitioning>
857   - <method>none</method>
858   - <schema_name/>
859   - </partitioning>
860   - <fields>
861   - <field>
862   - <name>carType</name>
863   - <type>String</type>
864   - <format/>
865   - <currency/>
866   - <decimal/>
867   - <group/>
868   - <nullif>carType</nullif>
869   - <length>-1</length>
870   - <precision>-1</precision>
871   - <set_empty_string>N</set_empty_string>
872   - </field>
873   - </fields>
874   - <cluster_schema/>
875   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
876   - <xloc>800</xloc>
877   - <yloc>70</yloc>
878   - <draw>Y</draw>
879   - </GUI>
880   - </step>
881   -
882   - <step>
883   - <name>&#x8f66;&#x8f86;&#x7c7b;&#x578b;&#x67e5;&#x8be2;</name>
884   - <type>DBLookup</type>
885   - <description/>
886   - <distribute>Y</distribute>
887   - <custom_distribution/>
888   - <copies>1</copies>
889   - <partitioning>
890   - <method>none</method>
891   - <schema_name/>
892   - </partitioning>
893   - <connection>bus_control_variable</connection>
894   - <cache>N</cache>
895   - <cache_load_all>N</cache_load_all>
896   - <cache_size>0</cache_size>
897   - <lookup>
898   - <schema/>
899   - <table>bsth_c_sys_dictionary</table>
900   - <orderby/>
901   - <fail_on_multiple>N</fail_on_multiple>
902   - <eat_row_on_failure>N</eat_row_on_failure>
903   - <key>
904   - <name>carType</name>
905   - <field>d_group</field>
906   - <condition>&#x3d;</condition>
907   - <name2/>
908   - </key>
909   - <key>
910   - <name>car_type</name>
911   - <field>d_code</field>
912   - <condition>&#x3d;</condition>
913   - <name2/>
914   - </key>
915   - <value>
916   - <name>d_name</name>
917   - <rename>car_type_str</rename>
918   - <default/>
919   - <type>String</type>
920   - </value>
921   - </lookup>
922   - <cluster_schema/>
923   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
924   - <xloc>803</xloc>
925   - <yloc>163</yloc>
926   - <draw>Y</draw>
927   - </GUI>
928   - </step>
929   -
930   - <step>
931   - <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
932   - <type>SelectValues</type>
933   - <description/>
934   - <distribute>Y</distribute>
935   - <custom_distribution/>
936   - <copies>1</copies>
937   - <partitioning>
938   - <method>none</method>
939   - <schema_name/>
940   - </partitioning>
941   - <fields> <select_unspecified>N</select_unspecified>
942   - <meta> <name>car_plate</name>
943   - <rename>&#x8f66;&#x724c;&#x53f7;</rename>
944   - <type>String</type>
945   - <length>-2</length>
946   - <precision>-2</precision>
947   - <conversion_mask/>
948   - <date_format_lenient>false</date_format_lenient>
949   - <date_format_locale/>
950   - <date_format_timezone/>
951   - <lenient_string_to_number>false</lenient_string_to_number>
952   - <encoding/>
953   - <decimal_symbol/>
954   - <grouping_symbol/>
955   - <currency_symbol/>
956   - <storage_type/>
957   - </meta> <meta> <name>inside_code</name>
958   - <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>
  548 + <length>-2</length>
  549 + <precision>-2</precision>
  550 + <conversion_mask/>
  551 + <date_format_lenient>false</date_format_lenient>
  552 + <date_format_locale/>
  553 + <date_format_timezone/>
  554 + <lenient_string_to_number>false</lenient_string_to_number>
  555 + <encoding/>
  556 + <decimal_symbol/>
  557 + <grouping_symbol/>
  558 + <currency_symbol/>
  559 + <storage_type/>
  560 + </meta> <meta> <name>inside_code</name>
  561 + <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>
959 562 <type>String</type>
960 563 <length>-2</length>
961 564 <precision>-2</precision>
... ... @@ -1632,6 +1235,403 @@
1632 1235 </GUI>
1633 1236 </step>
1634 1237  
  1238 + <step>
  1239 + <name>&#x662f;&#x5426;&#x6709;LED&#x670d;&#x52a1;&#x5c4f;</name>
  1240 + <type>ValueMapper</type>
  1241 + <description/>
  1242 + <distribute>Y</distribute>
  1243 + <custom_distribution/>
  1244 + <copies>1</copies>
  1245 + <partitioning>
  1246 + <method>none</method>
  1247 + <schema_name/>
  1248 + </partitioning>
  1249 + <field_to_use>led_screen</field_to_use>
  1250 + <target_field>led_screen_str</target_field>
  1251 + <non_match_default/>
  1252 + <fields>
  1253 + <field>
  1254 + <source_value>1</source_value>
  1255 + <target_value>&#x662f;</target_value>
  1256 + </field>
  1257 + <field>
  1258 + <source_value>0</source_value>
  1259 + <target_value>&#x5426;</target_value>
  1260 + </field>
  1261 + </fields>
  1262 + <cluster_schema/>
  1263 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1264 + <xloc>324</xloc>
  1265 + <yloc>68</yloc>
  1266 + <draw>Y</draw>
  1267 + </GUI>
  1268 + </step>
  1269 +
  1270 + <step>
  1271 + <name>&#x662f;&#x5426;&#x6709;TV&#x89c6;&#x9891;</name>
  1272 + <type>ValueMapper</type>
  1273 + <description/>
  1274 + <distribute>Y</distribute>
  1275 + <custom_distribution/>
  1276 + <copies>1</copies>
  1277 + <partitioning>
  1278 + <method>none</method>
  1279 + <schema_name/>
  1280 + </partitioning>
  1281 + <field_to_use>tv_video_type</field_to_use>
  1282 + <target_field>tv_video_type_str</target_field>
  1283 + <non_match_default/>
  1284 + <fields>
  1285 + <field>
  1286 + <source_value>1</source_value>
  1287 + <target_value>&#x662f;</target_value>
  1288 + </field>
  1289 + <field>
  1290 + <source_value>0</source_value>
  1291 + <target_value>&#x5426;</target_value>
  1292 + </field>
  1293 + </fields>
  1294 + <cluster_schema/>
  1295 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1296 + <xloc>325</xloc>
  1297 + <yloc>158</yloc>
  1298 + <draw>Y</draw>
  1299 + </GUI>
  1300 + </step>
  1301 +
  1302 + <step>
  1303 + <name>&#x662f;&#x5426;&#x7a7a;&#x8c03;&#x8f66;</name>
  1304 + <type>ValueMapper</type>
  1305 + <description/>
  1306 + <distribute>Y</distribute>
  1307 + <custom_distribution/>
  1308 + <copies>1</copies>
  1309 + <partitioning>
  1310 + <method>none</method>
  1311 + <schema_name/>
  1312 + </partitioning>
  1313 + <field_to_use>hvac_car</field_to_use>
  1314 + <target_field>hvac_car_str</target_field>
  1315 + <non_match_default/>
  1316 + <fields>
  1317 + <field>
  1318 + <source_value>1</source_value>
  1319 + <target_value>&#x662f;</target_value>
  1320 + </field>
  1321 + <field>
  1322 + <source_value>0</source_value>
  1323 + <target_value>&#x5426;</target_value>
  1324 + </field>
  1325 + </fields>
  1326 + <cluster_schema/>
  1327 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1328 + <xloc>209</xloc>
  1329 + <yloc>68</yloc>
  1330 + <draw>Y</draw>
  1331 + </GUI>
  1332 + </step>
  1333 +
  1334 + <step>
  1335 + <name>&#x6709;&#x65e0;&#x4eba;&#x552e;&#x7968;</name>
  1336 + <type>ValueMapper</type>
  1337 + <description/>
  1338 + <distribute>Y</distribute>
  1339 + <custom_distribution/>
  1340 + <copies>1</copies>
  1341 + <partitioning>
  1342 + <method>none</method>
  1343 + <schema_name/>
  1344 + </partitioning>
  1345 + <field_to_use>ticket_type</field_to_use>
  1346 + <target_field>ticket_type_str</target_field>
  1347 + <non_match_default/>
  1348 + <fields>
  1349 + <field>
  1350 + <source_value>1</source_value>
  1351 + <target_value>&#x662f;</target_value>
  1352 + </field>
  1353 + <field>
  1354 + <source_value>0</source_value>
  1355 + <target_value>&#x5426;</target_value>
  1356 + </field>
  1357 + </fields>
  1358 + <cluster_schema/>
  1359 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1360 + <xloc>206</xloc>
  1361 + <yloc>154</yloc>
  1362 + <draw>Y</draw>
  1363 + </GUI>
  1364 + </step>
  1365 +
  1366 + <step>
  1367 + <name>&#x673a;&#x52a8;&#x8f66;&#x7c7b;&#x578b;&#x67e5;&#x8be2;</name>
  1368 + <type>DBLookup</type>
  1369 + <description/>
  1370 + <distribute>Y</distribute>
  1371 + <custom_distribution/>
  1372 + <copies>1</copies>
  1373 + <partitioning>
  1374 + <method>none</method>
  1375 + <schema_name/>
  1376 + </partitioning>
  1377 + <connection>bus_control_variable</connection>
  1378 + <cache>N</cache>
  1379 + <cache_load_all>N</cache_load_all>
  1380 + <cache_size>0</cache_size>
  1381 + <lookup>
  1382 + <schema/>
  1383 + <table>bsth_c_sys_dictionary</table>
  1384 + <orderby/>
  1385 + <fail_on_multiple>N</fail_on_multiple>
  1386 + <eat_row_on_failure>N</eat_row_on_failure>
  1387 + <key>
  1388 + <name>jdcType</name>
  1389 + <field>d_group</field>
  1390 + <condition>&#x3d;</condition>
  1391 + <name2/>
  1392 + </key>
  1393 + <key>
  1394 + <name>vehicle_stats</name>
  1395 + <field>d_code</field>
  1396 + <condition>&#x3d;</condition>
  1397 + <name2/>
  1398 + </key>
  1399 + <value>
  1400 + <name>d_name</name>
  1401 + <rename>vehicle_stats_str</rename>
  1402 + <default/>
  1403 + <type>String</type>
  1404 + </value>
  1405 + </lookup>
  1406 + <cluster_schema/>
  1407 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1408 + <xloc>676</xloc>
  1409 + <yloc>162</yloc>
  1410 + <draw>Y</draw>
  1411 + </GUI>
  1412 + </step>
  1413 +
  1414 + <step>
  1415 + <name>&#x673a;&#x52a8;&#x8f66;&#x7c7b;&#x578b;&#x6807;&#x8bc6;</name>
  1416 + <type>Constant</type>
  1417 + <description/>
  1418 + <distribute>Y</distribute>
  1419 + <custom_distribution/>
  1420 + <copies>1</copies>
  1421 + <partitioning>
  1422 + <method>none</method>
  1423 + <schema_name/>
  1424 + </partitioning>
  1425 + <fields>
  1426 + <field>
  1427 + <name>jdcType</name>
  1428 + <type>String</type>
  1429 + <format/>
  1430 + <currency/>
  1431 + <decimal/>
  1432 + <group/>
  1433 + <nullif>jdcType</nullif>
  1434 + <length>-1</length>
  1435 + <precision>-1</precision>
  1436 + <set_empty_string>N</set_empty_string>
  1437 + </field>
  1438 + </fields>
  1439 + <cluster_schema/>
  1440 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1441 + <xloc>672</xloc>
  1442 + <yloc>68</yloc>
  1443 + <draw>Y</draw>
  1444 + </GUI>
  1445 + </step>
  1446 +
  1447 + <step>
  1448 + <name>&#x8425;&#x8fd0;&#x72b6;&#x6001;&#x67e5;&#x8be2;</name>
  1449 + <type>DBLookup</type>
  1450 + <description/>
  1451 + <distribute>Y</distribute>
  1452 + <custom_distribution/>
  1453 + <copies>1</copies>
  1454 + <partitioning>
  1455 + <method>none</method>
  1456 + <schema_name/>
  1457 + </partitioning>
  1458 + <connection>bus_control_variable</connection>
  1459 + <cache>N</cache>
  1460 + <cache_load_all>N</cache_load_all>
  1461 + <cache_size>0</cache_size>
  1462 + <lookup>
  1463 + <schema/>
  1464 + <table>bsth_c_sys_dictionary</table>
  1465 + <orderby/>
  1466 + <fail_on_multiple>N</fail_on_multiple>
  1467 + <eat_row_on_failure>N</eat_row_on_failure>
  1468 + <key>
  1469 + <name>yyztType</name>
  1470 + <field>d_group</field>
  1471 + <condition>&#x3d;</condition>
  1472 + <name2/>
  1473 + </key>
  1474 + <key>
  1475 + <name>operators_state</name>
  1476 + <field>d_code</field>
  1477 + <condition>&#x3d;</condition>
  1478 + <name2/>
  1479 + </key>
  1480 + <value>
  1481 + <name>d_name</name>
  1482 + <rename>operators_state_str</rename>
  1483 + <default/>
  1484 + <type>String</type>
  1485 + </value>
  1486 + </lookup>
  1487 + <cluster_schema/>
  1488 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1489 + <xloc>558</xloc>
  1490 + <yloc>162</yloc>
  1491 + <draw>Y</draw>
  1492 + </GUI>
  1493 + </step>
  1494 +
  1495 + <step>
  1496 + <name>&#x8425;&#x8fd0;&#x72b6;&#x6001;&#x6807;&#x8bc6;</name>
  1497 + <type>Constant</type>
  1498 + <description/>
  1499 + <distribute>Y</distribute>
  1500 + <custom_distribution/>
  1501 + <copies>1</copies>
  1502 + <partitioning>
  1503 + <method>none</method>
  1504 + <schema_name/>
  1505 + </partitioning>
  1506 + <fields>
  1507 + <field>
  1508 + <name>yyztType</name>
  1509 + <type>String</type>
  1510 + <format/>
  1511 + <currency/>
  1512 + <decimal/>
  1513 + <group/>
  1514 + <nullif>yyztType</nullif>
  1515 + <length>-1</length>
  1516 + <precision>-1</precision>
  1517 + <set_empty_string>N</set_empty_string>
  1518 + </field>
  1519 + </fields>
  1520 + <cluster_schema/>
  1521 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1522 + <xloc>555</xloc>
  1523 + <yloc>69</yloc>
  1524 + <draw>Y</draw>
  1525 + </GUI>
  1526 + </step>
  1527 +
  1528 + <step>
  1529 + <name>&#x8868;&#x8f93;&#x5165;</name>
  1530 + <type>TableInput</type>
  1531 + <description/>
  1532 + <distribute>Y</distribute>
  1533 + <custom_distribution/>
  1534 + <copies>1</copies>
  1535 + <partitioning>
  1536 + <method>none</method>
  1537 + <schema_name/>
  1538 + </partitioning>
  1539 + <connection>bus_control_variable</connection>
  1540 + <sql>SELECT &#x2a; FROM bsth_c_cars&#x3b;</sql>
  1541 + <limit>0</limit>
  1542 + <lookup/>
  1543 + <execute_each_row>N</execute_each_row>
  1544 + <variables_active>N</variables_active>
  1545 + <lazy_conversion_active>N</lazy_conversion_active>
  1546 + <cluster_schema/>
  1547 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1548 + <xloc>105</xloc>
  1549 + <yloc>67</yloc>
  1550 + <draw>Y</draw>
  1551 + </GUI>
  1552 + </step>
  1553 +
  1554 + <step>
  1555 + <name>&#x8f66;&#x8f86;&#x7c7b;&#x578b;&#x67e5;&#x8be2;</name>
  1556 + <type>DBLookup</type>
  1557 + <description/>
  1558 + <distribute>Y</distribute>
  1559 + <custom_distribution/>
  1560 + <copies>1</copies>
  1561 + <partitioning>
  1562 + <method>none</method>
  1563 + <schema_name/>
  1564 + </partitioning>
  1565 + <connection>bus_control_variable</connection>
  1566 + <cache>N</cache>
  1567 + <cache_load_all>N</cache_load_all>
  1568 + <cache_size>0</cache_size>
  1569 + <lookup>
  1570 + <schema/>
  1571 + <table>bsth_c_sys_dictionary</table>
  1572 + <orderby/>
  1573 + <fail_on_multiple>N</fail_on_multiple>
  1574 + <eat_row_on_failure>N</eat_row_on_failure>
  1575 + <key>
  1576 + <name>carType</name>
  1577 + <field>d_group</field>
  1578 + <condition>&#x3d;</condition>
  1579 + <name2/>
  1580 + </key>
  1581 + <key>
  1582 + <name>car_type</name>
  1583 + <field>d_code</field>
  1584 + <condition>&#x3d;</condition>
  1585 + <name2/>
  1586 + </key>
  1587 + <value>
  1588 + <name>d_name</name>
  1589 + <rename>car_type_str</rename>
  1590 + <default/>
  1591 + <type>String</type>
  1592 + </value>
  1593 + </lookup>
  1594 + <cluster_schema/>
  1595 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1596 + <xloc>803</xloc>
  1597 + <yloc>163</yloc>
  1598 + <draw>Y</draw>
  1599 + </GUI>
  1600 + </step>
  1601 +
  1602 + <step>
  1603 + <name>&#x8f66;&#x8f86;&#x7c7b;&#x578b;&#x6807;&#x8bc6;</name>
  1604 + <type>Constant</type>
  1605 + <description/>
  1606 + <distribute>Y</distribute>
  1607 + <custom_distribution/>
  1608 + <copies>1</copies>
  1609 + <partitioning>
  1610 + <method>none</method>
  1611 + <schema_name/>
  1612 + </partitioning>
  1613 + <fields>
  1614 + <field>
  1615 + <name>carType</name>
  1616 + <type>String</type>
  1617 + <format/>
  1618 + <currency/>
  1619 + <decimal/>
  1620 + <group/>
  1621 + <nullif>carType</nullif>
  1622 + <length>-1</length>
  1623 + <precision>-1</precision>
  1624 + <set_empty_string>N</set_empty_string>
  1625 + </field>
  1626 + </fields>
  1627 + <cluster_schema/>
  1628 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  1629 + <xloc>800</xloc>
  1630 + <yloc>70</yloc>
  1631 + <draw>Y</draw>
  1632 + </GUI>
  1633 + </step>
  1634 +
1635 1635 <step_error_handling>
1636 1636 </step_error_handling>
1637 1637 <slave-step-copy-partition-distribution>
... ...
src/main/resources/datatools/ktrs/employeesDataInput.ktr
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<transformation>
3   - <info>
4   - <name>employeesDataInput</name>
5   - <description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>
6   - <extended_description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>
7   - <trans_version/>
8   - <trans_type>Normal</trans_type>
9   - <trans_status>0</trans_status>
10   - <directory>&#x2f;</directory>
11   - <parameters>
12   - <parameter>
13   - <name>erroroutputdir</name>
14   - <default_value/>
15   - <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>
16   - </parameter>
17   - <parameter>
18   - <name>filepath</name>
19   - <default_value/>
20   - <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</description>
21   - </parameter>
22   - </parameters>
23   - <log>
24   -<trans-log-table><connection/>
25   -<schema/>
26   -<table/>
27   -<size_limit_lines/>
28   -<interval/>
29   -<timeout_days/>
30   -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>
31   -<perf-log-table><connection/>
32   -<schema/>
33   -<table/>
34   -<interval/>
35   -<timeout_days/>
36   -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
37   -<channel-log-table><connection/>
38   -<schema/>
39   -<table/>
40   -<timeout_days/>
41   -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
42   -<step-log-table><connection/>
43   -<schema/>
44   -<table/>
45   -<timeout_days/>
46   -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
47   -<metrics-log-table><connection/>
48   -<schema/>
49   -<table/>
50   -<timeout_days/>
51   -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>
52   - </log>
53   - <maxdate>
54   - <connection/>
55   - <table/>
56   - <field/>
57   - <offset>0.0</offset>
58   - <maxdiff>0.0</maxdiff>
59   - </maxdate>
60   - <size_rowset>10000</size_rowset>
61   - <sleep_time_empty>50</sleep_time_empty>
62   - <sleep_time_full>50</sleep_time_full>
63   - <unique_connections>N</unique_connections>
64   - <feedback_shown>Y</feedback_shown>
65   - <feedback_size>50000</feedback_size>
66   - <using_thread_priorities>Y</using_thread_priorities>
67   - <shared_objects_file/>
68   - <capture_step_performance>N</capture_step_performance>
69   - <step_performance_capturing_delay>1000</step_performance_capturing_delay>
70   - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
71   - <dependencies>
72   - </dependencies>
73   - <partitionschemas>
74   - </partitionschemas>
75   - <slaveservers>
76   - </slaveservers>
77   - <clusterschemas>
78   - </clusterschemas>
79   - <created_user>-</created_user>
80   - <created_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</created_date>
81   - <modified_user>-</modified_user>
82   - <modified_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</modified_date>
83   - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
84   - <is_key_private>N</is_key_private>
85   - </info>
86   - <notepads>
87   - <notepad>
88   - <note>&#x539f;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;&#x8868;&#xff0c;&#x6709;&#x4e9b;&#x5b57;&#x6bb5;&#x662f;&#x6ca1;&#x6709;&#x7684;&#xff0c;&#xa;&#x4eba;&#x5458;&#x7f16;&#x7801; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x7167;&#x7247;&#x5730;&#x5740; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x7ebf;&#x8def;&#x7f16;&#x53f7; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x8054;&#x7cfb;&#x7535;&#x8bdd; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#xa;&#x5b57;&#x5178;&#xa;&#x6027;&#x522b;sexType &#x7537;&#x6027; 1&#xa;&#x6027;&#x522b;sexType &#x5973;&#x6027; 2&#xa;&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x9a7e;&#x9a76;&#x5458; 1&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x8c03;&#x5ea6;&#x5458; 2&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x552e;&#x7968;&#x5458; 3&#xa;&#x5de5;&#x79cd;gzType &#x7ad9;&#x5458; 4&#xa;&#x5de5;&#x79cd;gzType &#x7ba1;&#x7406;&#x5458; 5&#xa;&#x5de5;&#x79cd;gzType &#x5b89;&#x68c0;&#x5458; 6&#xa;&#x5de5;&#x79cd;gzType &#x673a;&#x52a1; 7&#xa;&#x5de5;&#x79cd;gzType &#x5f15;&#x5bfc;&#x5458; 8&#xa;&#x5de5;&#x79cd;gzType &#x4e58;&#x52a1;&#x5458; 9&#xa;&#x5de5;&#x79cd;gzType &#x8f66;&#x961f;&#x957f;&#xff08;&#x7ebf;&#x957f;&#x3001;&#x4e3b; 10&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x53f8;&#x7ba1;&#x7406;&#x4eba;&#x5458; 11&#xa;&#x5de5;&#x79cd;gzType &#x8b66;&#x6d88;&#x4eba;&#x5458; 12&#xa;&#x5de5;&#x79cd;gzType &#x7968;&#x52a1;&#x4eba;&#x5458; 13&#xa;&#x5de5;&#x79cd;gzType &#x5176;&#x4ed6;&#x670d;&#x52a1;&#x4eba;&#x5458; 14</note>
89   - <xloc>288</xloc>
90   - <yloc>139</yloc>
91   - <width>214</width>
92   - <heigth>394</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>
108   - </notepads>
109   - <connection>
110   - <name>bus_control_variable</name>
111   - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
112   - <type>MYSQL</type>
113   - <access>Native</access>
114   - <database>control</database>
115   - <port>3306</port>
116   - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
117   - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
118   - <servername/>
119   - <data_tablespace/>
120   - <index_tablespace/>
121   - <attributes>
122   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
123   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
124   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
125   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
126   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
127   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
128   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
129   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
130   - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
131   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
132   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
133   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
134   - </attributes>
135   - </connection>
136   - <connection>
137   - <name>bus_control_&#x516c;&#x53f8;_201</name>
138   - <server>localhost</server>
139   - <type>MYSQL</type>
140   - <access>Native</access>
141   - <database>control</database>
142   - <port>3306</port>
143   - <username>root</username>
144   - <password>Encrypted </password>
145   - <servername/>
146   - <data_tablespace/>
147   - <index_tablespace/>
148   - <attributes>
149   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
150   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
151   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
152   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
153   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
154   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
155   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
156   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
157   - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
158   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
159   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
160   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
161   - </attributes>
162   - </connection>
163   - <connection>
164   - <name>bus_control_&#x672c;&#x673a;</name>
165   - <server>localhost</server>
166   - <type>MYSQL</type>
167   - <access>Native</access>
168   - <database>control</database>
169   - <port>3306</port>
170   - <username>root</username>
171   - <password>Encrypted </password>
172   - <servername/>
173   - <data_tablespace/>
174   - <index_tablespace/>
175   - <attributes>
176   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
177   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
178   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
179   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
180   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
181   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
182   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
183   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
184   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
185   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
186   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
187   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
188   - </attributes>
189   - </connection>
190   - <connection>
191   - <name>xlab_mysql_youle</name>
192   - <server>101.231.124.8</server>
193   - <type>MYSQL</type>
194   - <access>Native</access>
195   - <database>xlab_youle</database>
196   - <port>45687</port>
197   - <username>xlab-youle</username>
198   - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
199   - <servername/>
200   - <data_tablespace/>
201   - <index_tablespace/>
202   - <attributes>
203   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
204   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
205   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
206   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
207   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
208   - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
209   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
210   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
211   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
212   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
213   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
214   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
215   - </attributes>
216   - </connection>
217   - <connection>
218   - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
219   - <server>localhost</server>
220   - <type>MYSQL</type>
221   - <access>Native</access>
222   - <database>xlab_youle</database>
223   - <port>3306</port>
224   - <username>root</username>
225   - <password>Encrypted </password>
226   - <servername/>
227   - <data_tablespace/>
228   - <index_tablespace/>
229   - <attributes>
230   - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
231   - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
232   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
233   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
234   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
235   - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
236   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
237   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
238   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
239   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
240   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
241   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
242   - </attributes>
243   - </connection>
244   - <connection>
245   - <name>xlab_youle</name>
246   - <server/>
247   - <type>MYSQL</type>
248   - <access>JNDI</access>
249   - <database>xlab_youle</database>
250   - <port>1521</port>
251   - <username/>
252   - <password>Encrypted </password>
253   - <servername/>
254   - <data_tablespace/>
255   - <index_tablespace/>
256   - <attributes>
257   - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
258   - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
259   - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
260   - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
261   - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
262   - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
263   - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
264   - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
265   - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
266   - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
267   - </attributes>
268   - </connection>
269   - <order>
270   - <hop> <from>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;</from><to>&#x503c;&#x6620;&#x5c04;</to><enabled>Y</enabled> </hop>
271   - <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
272   - <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>&#x6027;&#x522b;&#x4ee3;&#x7801;</to><enabled>Y</enabled> </hop>
273   - <hop> <from>&#x6027;&#x522b;&#x4ee3;&#x7801;</from><to>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;</to><enabled>Y</enabled> </hop>
274   - <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
275   - <hop> <from>&#x503c;&#x6620;&#x5c04;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</to><enabled>Y</enabled> </hop>
276   - <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
277   - </order>
278   - <step>
279   - <name>&#x503c;&#x6620;&#x5c04;</name>
280   - <type>ValueMapper</type>
281   - <description/>
282   - <distribute>Y</distribute>
283   - <custom_distribution/>
284   - <copies>1</copies>
285   - <partitioning>
286   - <method>none</method>
287   - <schema_name/>
288   - </partitioning>
289   - <field_to_use>posts</field_to_use>
290   - <target_field/>
291   - <non_match_default/>
292   - <fields>
293   - <field>
294   - <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x9a7e;&#x9a76;&#x5458;</source_value>
295   - <target_value>1</target_value>
296   - </field>
297   - <field>
298   - <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x8c03;&#x5ea6;&#x5458;</source_value>
299   - <target_value>2</target_value>
300   - </field>
301   - <field>
302   - <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x552e;&#x7968;&#x5458;</source_value>
303   - <target_value>3</target_value>
304   - </field>
305   - <field>
306   - <source_value>&#x7ad9;&#x5458;</source_value>
307   - <target_value>4</target_value>
308   - </field>
309   - <field>
310   - <source_value>&#x7ba1;&#x7406;&#x5458;</source_value>
311   - <target_value>5</target_value>
312   - </field>
313   - <field>
314   - <source_value>&#x5b89;&#x68c0;&#x5458;</source_value>
315   - <target_value>6</target_value>
316   - </field>
317   - <field>
318   - <source_value>&#x673a;&#x52a1;</source_value>
319   - <target_value>7</target_value>
320   - </field>
321   - <field>
322   - <source_value>&#x5f15;&#x5bfc;&#x5458;</source_value>
323   - <target_value>8</target_value>
324   - </field>
325   - <field>
326   - <source_value>&#x4e58;&#x52a1;&#x5458;</source_value>
327   - <target_value>9</target_value>
328   - </field>
329   - <field>
330   - <source_value>&#x8f66;&#x961f;&#x957f;&#xff08;&#x7ebf;&#x957f;&#x3001;&#x4e3b;</source_value>
331   - <target_value>10</target_value>
332   - </field>
333   - <field>
334   - <source_value>&#x516c;&#x53f8;&#x7ba1;&#x7406;&#x4eba;&#x5458;</source_value>
335   - <target_value>11</target_value>
336   - </field>
337   - <field>
338   - <source_value>&#x8b66;&#x6d88;&#x4eba;&#x5458;</source_value>
339   - <target_value>12</target_value>
340   - </field>
341   - <field>
342   - <source_value>&#x7968;&#x52a1;&#x4eba;&#x5458;</source_value>
343   - <target_value>13</target_value>
344   - </field>
345   - <field>
346   - <source_value>&#x5176;&#x4ed6;&#x670d;&#x52a1;&#x4eba;&#x5458;</source_value>
347   - <target_value>14</target_value>
348   - </field>
349   - </fields>
350   - <cluster_schema/>
351   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
352   - <xloc>543</xloc>
353   - <yloc>152</yloc>
354   - <draw>Y</draw>
355   - </GUI>
356   - </step>
357   -
358   - <step>
359   - <name>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;</name>
360   - <type>ValueMapper</type>
361   - <description/>
362   - <distribute>Y</distribute>
363   - <custom_distribution/>
364   - <copies>1</copies>
365   - <partitioning>
366   - <method>none</method>
367   - <schema_name/>
368   - </partitioning>
369   - <field_to_use>company</field_to_use>
370   - <target_field>companyCode</target_field>
371   - <non_match_default/>
372   - <fields>
373   - <field>
374   - <source_value>&#x4e0a;&#x5357;&#x516c;&#x53f8;</source_value>
375   - <target_value>55</target_value>
376   - </field>
377   - <field>
378   - <source_value>&#x91d1;&#x9ad8;&#x516c;&#x53f8;</source_value>
379   - <target_value>22</target_value>
380   - </field>
381   - <field>
382   - <source_value>&#x6768;&#x9ad8;&#x516c;&#x53f8;</source_value>
383   - <target_value>05</target_value>
384   - </field>
385   - <field>
386   - <source_value>&#x5357;&#x6c47;&#x516c;&#x53f8;</source_value>
387   - <target_value>26</target_value>
388   - </field>
389   - <field>
390   - <source_value>&#x516c;&#x4ea4;&#x516c;&#x53f8;</source_value>
391   - <target_value>88</target_value>
392   - </field>
393   - <field>
394   - <source_value>&#x95f5;&#x884c;&#x516c;&#x4ea4;</source_value>
395   - <target_value>77</target_value>
396   - </field>
397   - </fields>
398   - <cluster_schema/>
399   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
400   - <xloc>539</xloc>
401   - <yloc>56</yloc>
402   - <draw>Y</draw>
403   - </GUI>
404   - </step>
405   -
406   - <step>
407   - <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>
408   - <type>ExcelInput</type>
409   - <description/>
410   - <distribute>Y</distribute>
411   - <custom_distribution/>
412   - <copies>1</copies>
413   - <partitioning>
414   - <method>none</method>
415   - <schema_name/>
416   - </partitioning>
417   - <header>Y</header>
418   - <noempty>Y</noempty>
419   - <stoponempty>N</stoponempty>
420   - <filefield/>
421   - <sheetfield/>
422   - <sheetrownumfield/>
423   - <rownumfield/>
424   - <sheetfield/>
425   - <filefield/>
426   - <limit>0</limit>
427   - <encoding/>
428   - <add_to_result_filenames>Y</add_to_result_filenames>
429   - <accept_filenames>Y</accept_filenames>
430   - <accept_field>filepath_</accept_field>
431   - <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>
432   - <file>
433   - <name/>
434   - <filemask/>
435   - <exclude_filemask/>
436   - <file_required>N</file_required>
437   - <include_subfolders>N</include_subfolders>
438   - </file>
439   - <fields>
440   - <field>
441   - <name>&#x59d3;&#x540d;</name>
442   - <type>String</type>
443   - <length>-1</length>
444   - <precision>-1</precision>
445   - <trim_type>none</trim_type>
446   - <repeat>N</repeat>
447   - <format/>
448   - <currency/>
449   - <decimal/>
450   - <group/>
451   - </field>
452   - <field>
453   - <name>&#x5de5;&#x53f7;</name>
454   - <type>String</type>
455   - <length>-1</length>
456   - <precision>-1</precision>
457   - <trim_type>none</trim_type>
458   - <repeat>N</repeat>
459   - <format/>
460   - <currency/>
461   - <decimal/>
462   - <group/>
463   - </field>
464   - <field>
465   - <name>&#x6027;&#x522b;</name>
466   - <type>String</type>
467   - <length>-1</length>
468   - <precision>-1</precision>
469   - <trim_type>none</trim_type>
470   - <repeat>N</repeat>
471   - <format/>
472   - <currency/>
473   - <decimal/>
474   - <group/>
475   - </field>
476   - <field>
477   - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
478   - <type>String</type>
479   - <length>-1</length>
480   - <precision>-1</precision>
481   - <trim_type>none</trim_type>
482   - <repeat>N</repeat>
483   - <format/>
484   - <currency/>
485   - <decimal/>
486   - <group/>
487   - </field>
488   - <field>
489   - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
490   - <type>String</type>
491   - <length>-1</length>
492   - <precision>-1</precision>
493   - <trim_type>none</trim_type>
494   - <repeat>N</repeat>
495   - <format/>
496   - <currency/>
497   - <decimal/>
498   - <group/>
499   - </field>
500   - <field>
501   - <name>&#x4e00;&#x5361;&#x901a;&#x53f7;</name>
502   - <type>String</type>
503   - <length>-1</length>
504   - <precision>-1</precision>
505   - <trim_type>none</trim_type>
506   - <repeat>N</repeat>
507   - <format/>
508   - <currency/>
509   - <decimal/>
510   - <group/>
511   - </field>
512   - <field>
513   - <name>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</name>
514   - <type>String</type>
515   - <length>-1</length>
516   - <precision>-1</precision>
517   - <trim_type>none</trim_type>
518   - <repeat>N</repeat>
519   - <format/>
520   - <currency/>
521   - <decimal/>
522   - <group/>
523   - </field>
524   - <field>
525   - <name>&#x5c97;&#x4f4d;</name>
526   - <type>String</type>
527   - <length>-1</length>
528   - <precision>-1</precision>
529   - <trim_type>none</trim_type>
530   - <repeat>N</repeat>
531   - <format/>
532   - <currency/>
533   - <decimal/>
534   - <group/>
535   - </field>
536   - <field>
537   - <name>&#x5907;&#x6ce8;</name>
538   - <type>String</type>
539   - <length>-1</length>
540   - <precision>-1</precision>
541   - <trim_type>none</trim_type>
542   - <repeat>N</repeat>
543   - <format/>
544   - <currency/>
545   - <decimal/>
546   - <group/>
547   - </field>
548   - </fields>
549   - <sheets>
550   - <sheet>
551   - <name>&#x5de5;&#x4f5c;&#x8868;1</name>
552   - <startrow>0</startrow>
553   - <startcol>0</startcol>
554   - </sheet>
555   - </sheets>
556   - <strict_types>N</strict_types>
557   - <error_ignored>N</error_ignored>
558   - <error_line_skipped>N</error_line_skipped>
559   - <bad_line_files_destination_directory/>
560   - <bad_line_files_extension>warning</bad_line_files_extension>
561   - <error_line_files_destination_directory/>
562   - <error_line_files_extension>error</error_line_files_extension>
563   - <line_number_files_destination_directory/>
564   - <line_number_files_extension>line</line_number_files_extension>
565   - <shortFileFieldName/>
566   - <pathFieldName/>
567   - <hiddenFieldName/>
568   - <lastModificationTimeFieldName/>
569   - <uriNameFieldName/>
570   - <rootUriNameFieldName/>
571   - <extensionFieldName/>
572   - <sizeFieldName/>
573   - <spreadsheet_type>JXL</spreadsheet_type>
574   - <cluster_schema/>
575   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
576   - <xloc>158</xloc>
577   - <yloc>57</yloc>
578   - <draw>Y</draw>
579   - </GUI>
580   - </step>
581   -
582   - <step>
583   - <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
584   - <type>SelectValues</type>
585   - <description/>
586   - <distribute>Y</distribute>
587   - <custom_distribution/>
588   - <copies>1</copies>
589   - <partitioning>
590   - <method>none</method>
591   - <schema_name/>
592   - </partitioning>
593   - <fields> <field> <name>&#x59d3;&#x540d;</name>
594   - <rename>personnelName</rename>
595   - <length>-2</length>
596   - <precision>-2</precision>
597   - </field> <field> <name>&#x5de5;&#x53f7;</name>
598   - <rename>jobCode</rename>
599   - <length>-2</length>
600   - <precision>-2</precision>
601   - </field> <field> <name>&#x6027;&#x522b;</name>
602   - <rename>personnelType</rename>
603   - <length>-2</length>
604   - <precision>-2</precision>
605   - </field> <field> <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
606   - <rename>company</rename>
607   - <length>-2</length>
608   - <precision>-2</precision>
609   - </field> <field> <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
610   - <rename>brancheCompany</rename>
611   - <length>-2</length>
612   - <precision>-2</precision>
613   - </field> <field> <name>&#x4e00;&#x5361;&#x901a;&#x53f7;</name>
614   - <rename>icCardCode</rename>
615   - <length>-2</length>
616   - <precision>-2</precision>
617   - </field> <field> <name>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</name>
618   - <rename>papersCode</rename>
619   - <length>-2</length>
620   - <precision>-2</precision>
621   - </field> <field> <name>&#x5c97;&#x4f4d;</name>
622   - <rename>posts</rename>
623   - <length>-2</length>
624   - <precision>-2</precision>
625   - </field> <field> <name>&#x5907;&#x6ce8;</name>
626   - <rename>descriptions</rename>
627   - <length>-2</length>
628   - <precision>-2</precision>
629   - </field> <select_unspecified>N</select_unspecified>
630   - </fields> <cluster_schema/>
631   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
632   - <xloc>286</xloc>
633   - <yloc>58</yloc>
634   - <draw>Y</draw>
635   - </GUI>
636   - </step>
637   -
638   - <step>
639   - <name>&#x6027;&#x522b;&#x4ee3;&#x7801;</name>
640   - <type>ValueMapper</type>
641   - <description/>
642   - <distribute>Y</distribute>
643   - <custom_distribution/>
644   - <copies>1</copies>
645   - <partitioning>
646   - <method>none</method>
647   - <schema_name/>
648   - </partitioning>
649   - <field_to_use>personnelType</field_to_use>
650   - <target_field>personnelCode</target_field>
651   - <non_match_default/>
652   - <fields>
653   - <field>
654   - <source_value>&#x7537;&#x6027;</source_value>
655   - <target_value>1</target_value>
656   - </field>
657   - <field>
658   - <source_value>&#x5973;&#x6027;</source_value>
659   - <target_value>2</target_value>
660   - </field>
661   - </fields>
662   - <cluster_schema/>
663   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
664   - <xloc>413</xloc>
665   - <yloc>58</yloc>
666   - <draw>Y</draw>
667   - </GUI>
668   - </step>
669   -
670   - <step>
671   - <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</name>
672   - <type>InsertUpdate</type>
673   - <description/>
674   - <distribute>Y</distribute>
675   - <custom_distribution/>
676   - <copies>1</copies>
677   - <partitioning>
678   - <method>none</method>
679   - <schema_name/>
680   - </partitioning>
681   - <connection>bus_control_variable</connection>
682   - <commit>5000</commit>
683   - <update_bypassed>N</update_bypassed>
684   - <lookup>
685   - <schema/>
686   - <table>bsth_c_personnel</table>
687   - <key>
688   - <name>jobCode</name>
689   - <field>job_code</field>
690   - <condition>&#x3d;</condition>
691   - <name2/>
692   - </key>
693   - <key>
694   - <name>companyCode</name>
695   - <field>company_code</field>
696   - <condition>&#x3d;</condition>
697   - <name2/>
698   - </key>
699   - <value>
700   - <name>personnel_name</name>
701   - <rename>personnelName</rename>
702   - <update>Y</update>
703   - </value>
704   - <value>
705   - <name>job_code</name>
706   - <rename>jobCode</rename>
707   - <update>Y</update>
708   - </value>
709   - <value>
710   - <name>personnel_type</name>
711   - <rename>personnelCode</rename>
712   - <update>Y</update>
713   - </value>
714   - <value>
715   - <name>company</name>
716   - <rename>company</rename>
717   - <update>Y</update>
718   - </value>
719   - <value>
720   - <name>branche_company</name>
721   - <rename>brancheCompany</rename>
722   - <update>Y</update>
723   - </value>
724   - <value>
725   - <name>ic_card_code</name>
726   - <rename>icCardCode</rename>
727   - <update>Y</update>
728   - </value>
729   - <value>
730   - <name>papers_code</name>
731   - <rename>papersCode</rename>
732   - <update>Y</update>
733   - </value>
734   - <value>
735   - <name>posts</name>
736   - <rename>posts</rename>
737   - <update>Y</update>
738   - </value>
739   - <value>
740   - <name>descriptions</name>
741   - <rename>descriptions</rename>
742   - <update>Y</update>
743   - </value>
744   - <value>
745   - <name>company_code</name>
746   - <rename>companyCode</rename>
747   - <update>Y</update>
748   - </value>
749   - </lookup>
750   - <cluster_schema/>
751   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
752   - <xloc>713</xloc>
753   - <yloc>56</yloc>
754   - <draw>Y</draw>
755   - </GUI>
756   - </step>
757   -
758   - <step>
759   - <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>
760   - <type>GetVariable</type>
761   - <description/>
762   - <distribute>Y</distribute>
763   - <custom_distribution/>
764   - <copies>1</copies>
765   - <partitioning>
766   - <method>none</method>
767   - <schema_name/>
768   - </partitioning>
769   - <fields>
770   - <field>
771   - <name>filepath_</name>
772   - <variable>&#x24;&#x7b;filepath&#x7d;</variable>
773   - <type>String</type>
774   - <format/>
775   - <currency/>
776   - <decimal/>
777   - <group/>
778   - <length>-1</length>
779   - <precision>-1</precision>
780   - <trim_type>none</trim_type>
781   - </field>
782   - <field>
783   - <name>erroroutputdir_</name>
784   - <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>
785   - <type>String</type>
786   - <format/>
787   - <currency/>
788   - <decimal/>
789   - <group/>
790   - <length>-1</length>
791   - <precision>-1</precision>
792   - <trim_type>none</trim_type>
793   - </field>
794   - </fields>
795   - <cluster_schema/>
796   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
797   - <xloc>90</xloc>
798   - <yloc>148</yloc>
799   - <draw>Y</draw>
800   - </GUI>
801   - </step>
802   -
803   - <step>
804   - <name>&#x9519;&#x8bef;&#x8f93;&#x51fa;</name>
805   - <type>ExcelOutput</type>
806   - <description/>
807   - <distribute>Y</distribute>
808   - <custom_distribution/>
809   - <copies>1</copies>
810   - <partitioning>
811   - <method>none</method>
812   - <schema_name/>
813   - </partitioning>
814   - <header>Y</header>
815   - <footer>N</footer>
816   - <encoding>UTF-8</encoding>
817   - <append>N</append>
818   - <add_to_result_filenames>Y</add_to_result_filenames>
819   - <file>
820   - <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>
821   - <extention>xls</extention>
822   - <do_not_open_newfile_init>N</do_not_open_newfile_init>
823   - <create_parent_folder>N</create_parent_folder>
824   - <split>N</split>
825   - <add_date>N</add_date>
826   - <add_time>N</add_time>
827   - <SpecifyFormat>N</SpecifyFormat>
828   - <date_time_format/>
829   - <sheetname>Sheet1</sheetname>
830   - <autosizecolums>N</autosizecolums>
831   - <nullisblank>N</nullisblank>
832   - <protect_sheet>N</protect_sheet>
833   - <password>Encrypted </password>
834   - <splitevery>0</splitevery>
835   - <usetempfiles>N</usetempfiles>
836   - <tempdirectory/>
837   - </file>
838   - <template>
839   - <enabled>N</enabled>
840   - <append>N</append>
841   - <filename>template.xls</filename>
842   - </template>
843   - <fields>
844   - <field>
845   - <name>personnelName</name>
846   - <type>String</type>
847   - <format/>
848   - </field>
849   - <field>
850   - <name>jobCode</name>
851   - <type>String</type>
852   - <format/>
853   - </field>
854   - <field>
855   - <name>personnelType</name>
856   - <type>String</type>
857   - <format/>
858   - </field>
859   - <field>
860   - <name>company</name>
861   - <type>String</type>
862   - <format/>
863   - </field>
864   - <field>
865   - <name>brancheCompany</name>
866   - <type>String</type>
867   - <format/>
868   - </field>
869   - <field>
870   - <name>icCardCode</name>
871   - <type>String</type>
872   - <format/>
873   - </field>
874   - <field>
875   - <name>papersCode</name>
876   - <type>String</type>
877   - <format/>
878   - </field>
879   - <field>
880   - <name>posts</name>
881   - <type>String</type>
882   - <format/>
883   - </field>
884   - <field>
885   - <name>descriptions</name>
886   - <type>String</type>
887   - <format/>
888   - </field>
889   - <field>
890   - <name>companyCode</name>
891   - <type>String</type>
892   - <format/>
893   - </field>
894   - <field>
895   - <name>error_count</name>
896   - <type>Integer</type>
897   - <format/>
898   - </field>
899   - <field>
900   - <name>error_desc</name>
901   - <type>String</type>
902   - <format/>
903   - </field>
904   - <field>
905   - <name>error_column1</name>
906   - <type>String</type>
907   - <format/>
908   - </field>
909   - <field>
910   - <name>error_column2</name>
911   - <type>String</type>
912   - <format/>
913   - </field>
914   - </fields>
915   - <custom>
916   - <header_font_name>arial</header_font_name>
917   - <header_font_size>10</header_font_size>
918   - <header_font_bold>N</header_font_bold>
919   - <header_font_italic>N</header_font_italic>
920   - <header_font_underline>no</header_font_underline>
921   - <header_font_orientation>horizontal</header_font_orientation>
922   - <header_font_color>black</header_font_color>
923   - <header_background_color>none</header_background_color>
924   - <header_row_height>255</header_row_height>
925   - <header_alignment>left</header_alignment>
926   - <header_image/>
927   - <row_font_name>arial</row_font_name>
928   - <row_font_size>10</row_font_size>
929   - <row_font_color>black</row_font_color>
930   - <row_background_color>none</row_background_color>
931   - </custom>
932   - <cluster_schema/>
933   - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
934   - <xloc>715</xloc>
935   - <yloc>223</yloc>
936   - <draw>Y</draw>
937   - </GUI>
938   - </step>
939   -
940   - <step_error_handling>
941   - <error>
942   - <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</source_step>
943   - <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa;</target_step>
944   - <is_enabled>Y</is_enabled>
945   - <nr_valuename>error_count</nr_valuename>
946   - <descriptions_valuename>error_desc</descriptions_valuename>
947   - <fields_valuename>error_column1</fields_valuename>
948   - <codes_valuename>error_column2</codes_valuename>
949   - <max_errors/>
950   - <max_pct_errors/>
951   - <min_pct_rows/>
952   - </error>
953   - </step_error_handling>
954   - <slave-step-copy-partition-distribution>
955   -</slave-step-copy-partition-distribution>
956   - <slave_transformation>N</slave_transformation>
957   -
958   -</transformation>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>employeesDataInput</name>
  5 + <description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>
  6 + <extended_description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>erroroutputdir</name>
  14 + <default_value/>
  15 + <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>
  16 + </parameter>
  17 + <parameter>
  18 + <name>filepath</name>
  19 + <default_value/>
  20 + <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</description>
  21 + </parameter>
  22 + </parameters>
  23 + <log>
  24 +<trans-log-table><connection/>
  25 +<schema/>
  26 +<table/>
  27 +<size_limit_lines/>
  28 +<interval/>
  29 +<timeout_days/>
  30 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>
  31 +<perf-log-table><connection/>
  32 +<schema/>
  33 +<table/>
  34 +<interval/>
  35 +<timeout_days/>
  36 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
  37 +<channel-log-table><connection/>
  38 +<schema/>
  39 +<table/>
  40 +<timeout_days/>
  41 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
  42 +<step-log-table><connection/>
  43 +<schema/>
  44 +<table/>
  45 +<timeout_days/>
  46 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
  47 +<metrics-log-table><connection/>
  48 +<schema/>
  49 +<table/>
  50 +<timeout_days/>
  51 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>
  52 + </log>
  53 + <maxdate>
  54 + <connection/>
  55 + <table/>
  56 + <field/>
  57 + <offset>0.0</offset>
  58 + <maxdiff>0.0</maxdiff>
  59 + </maxdate>
  60 + <size_rowset>10000</size_rowset>
  61 + <sleep_time_empty>50</sleep_time_empty>
  62 + <sleep_time_full>50</sleep_time_full>
  63 + <unique_connections>N</unique_connections>
  64 + <feedback_shown>Y</feedback_shown>
  65 + <feedback_size>50000</feedback_size>
  66 + <using_thread_priorities>Y</using_thread_priorities>
  67 + <shared_objects_file/>
  68 + <capture_step_performance>N</capture_step_performance>
  69 + <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  70 + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  71 + <dependencies>
  72 + </dependencies>
  73 + <partitionschemas>
  74 + </partitionschemas>
  75 + <slaveservers>
  76 + </slaveservers>
  77 + <clusterschemas>
  78 + </clusterschemas>
  79 + <created_user>-</created_user>
  80 + <created_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</created_date>
  81 + <modified_user>-</modified_user>
  82 + <modified_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</modified_date>
  83 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
  84 + <is_key_private>N</is_key_private>
  85 + </info>
  86 + <notepads>
  87 + <notepad>
  88 + <note>&#x539f;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;&#x8868;&#xff0c;&#x6709;&#x4e9b;&#x5b57;&#x6bb5;&#x662f;&#x6ca1;&#x6709;&#x7684;&#xff0c;&#xa;&#x4eba;&#x5458;&#x7f16;&#x7801; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x7167;&#x7247;&#x5730;&#x5740; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x7ebf;&#x8def;&#x7f16;&#x53f7; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#x8054;&#x7cfb;&#x7535;&#x8bdd; &#x6682;&#x65f6;&#x6ca1;&#x6709;&#x7a7a;&#x7740;&#xa;&#xa;&#x5b57;&#x5178;&#xa;&#x6027;&#x522b;sexType &#x7537;&#x6027; 1&#xa;&#x6027;&#x522b;sexType &#x5973;&#x6027; 2&#xa;&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x9a7e;&#x9a76;&#x5458; 1&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x8c03;&#x5ea6;&#x5458; 2&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x552e;&#x7968;&#x5458; 3&#xa;&#x5de5;&#x79cd;gzType &#x7ad9;&#x5458; 4&#xa;&#x5de5;&#x79cd;gzType &#x7ba1;&#x7406;&#x5458; 5&#xa;&#x5de5;&#x79cd;gzType &#x5b89;&#x68c0;&#x5458; 6&#xa;&#x5de5;&#x79cd;gzType &#x673a;&#x52a1; 7&#xa;&#x5de5;&#x79cd;gzType &#x5f15;&#x5bfc;&#x5458; 8&#xa;&#x5de5;&#x79cd;gzType &#x4e58;&#x52a1;&#x5458; 9&#xa;&#x5de5;&#x79cd;gzType &#x8f66;&#x961f;&#x957f;&#xff08;&#x7ebf;&#x957f;&#x3001;&#x4e3b; 10&#xa;&#x5de5;&#x79cd;gzType &#x516c;&#x53f8;&#x7ba1;&#x7406;&#x4eba;&#x5458; 11&#xa;&#x5de5;&#x79cd;gzType &#x8b66;&#x6d88;&#x4eba;&#x5458; 12&#xa;&#x5de5;&#x79cd;gzType &#x7968;&#x52a1;&#x4eba;&#x5458; 13&#xa;&#x5de5;&#x79cd;gzType &#x5176;&#x4ed6;&#x670d;&#x52a1;&#x4eba;&#x5458; 14</note>
  89 + <xloc>200</xloc>
  90 + <yloc>160</yloc>
  91 + <width>214</width>
  92 + <heigth>394</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>
  108 + </notepads>
  109 + <connection>
  110 + <name>bus_control_variable</name>
  111 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  112 + <type>MYSQL</type>
  113 + <access>Native</access>
  114 + <database>control</database>
  115 + <port>3306</port>
  116 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  117 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  118 + <servername/>
  119 + <data_tablespace/>
  120 + <index_tablespace/>
  121 + <attributes>
  122 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  123 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  124 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  125 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  126 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  127 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  128 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  129 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  130 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  131 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  132 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  133 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  134 + </attributes>
  135 + </connection>
  136 + <connection>
  137 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  138 + <server>localhost</server>
  139 + <type>MYSQL</type>
  140 + <access>Native</access>
  141 + <database>control</database>
  142 + <port>3306</port>
  143 + <username>root</username>
  144 + <password>Encrypted </password>
  145 + <servername/>
  146 + <data_tablespace/>
  147 + <index_tablespace/>
  148 + <attributes>
  149 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  150 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  151 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  152 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  153 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  154 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  155 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  156 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  157 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  158 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  159 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  160 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  161 + </attributes>
  162 + </connection>
  163 + <connection>
  164 + <name>bus_control_&#x672c;&#x673a;</name>
  165 + <server>localhost</server>
  166 + <type>MYSQL</type>
  167 + <access>Native</access>
  168 + <database>control</database>
  169 + <port>3306</port>
  170 + <username>root</username>
  171 + <password>Encrypted </password>
  172 + <servername/>
  173 + <data_tablespace/>
  174 + <index_tablespace/>
  175 + <attributes>
  176 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  177 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  178 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  179 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  180 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  181 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  182 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  183 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  184 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  185 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  186 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  187 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  188 + </attributes>
  189 + </connection>
  190 + <connection>
  191 + <name>xlab_mysql_youle</name>
  192 + <server>101.231.124.8</server>
  193 + <type>MYSQL</type>
  194 + <access>Native</access>
  195 + <database>xlab_youle</database>
  196 + <port>45687</port>
  197 + <username>xlab-youle</username>
  198 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  199 + <servername/>
  200 + <data_tablespace/>
  201 + <index_tablespace/>
  202 + <attributes>
  203 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  204 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  205 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  206 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  207 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  208 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  209 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  210 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  211 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  212 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  213 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  214 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  215 + </attributes>
  216 + </connection>
  217 + <connection>
  218 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  219 + <server>localhost</server>
  220 + <type>MYSQL</type>
  221 + <access>Native</access>
  222 + <database>xlab_youle</database>
  223 + <port>3306</port>
  224 + <username>root</username>
  225 + <password>Encrypted </password>
  226 + <servername/>
  227 + <data_tablespace/>
  228 + <index_tablespace/>
  229 + <attributes>
  230 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  231 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  232 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  233 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  234 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  235 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  236 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  237 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  238 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  239 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  240 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  241 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  242 + </attributes>
  243 + </connection>
  244 + <connection>
  245 + <name>xlab_youle</name>
  246 + <server/>
  247 + <type>MYSQL</type>
  248 + <access>JNDI</access>
  249 + <database>xlab_youle</database>
  250 + <port>1521</port>
  251 + <username/>
  252 + <password>Encrypted </password>
  253 + <servername/>
  254 + <data_tablespace/>
  255 + <index_tablespace/>
  256 + <attributes>
  257 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  258 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  259 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  260 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  261 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  262 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  263 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  264 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  265 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  266 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  267 + </attributes>
  268 + </connection>
  269 + <order>
  270 + <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
  271 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>&#x6027;&#x522b;&#x4ee3;&#x7801;</to><enabled>Y</enabled> </hop>
  272 + <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
  273 + <hop> <from>&#x5de5;&#x79cd;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</to><enabled>Y</enabled> </hop>
  274 + <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
  275 + <hop> <from>&#x6027;&#x522b;&#x4ee3;&#x7801;</from><to>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  276 + <hop> <from>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;&#x67e5;&#x8be2;</from><to>&#x5de5;&#x79cd;</to><enabled>Y</enabled> </hop>
  277 + </order>
  278 + <step>
  279 + <name>&#x5de5;&#x79cd;</name>
  280 + <type>ValueMapper</type>
  281 + <description/>
  282 + <distribute>Y</distribute>
  283 + <custom_distribution/>
  284 + <copies>1</copies>
  285 + <partitioning>
  286 + <method>none</method>
  287 + <schema_name/>
  288 + </partitioning>
  289 + <field_to_use>posts</field_to_use>
  290 + <target_field/>
  291 + <non_match_default/>
  292 + <fields>
  293 + <field>
  294 + <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x9a7e;&#x9a76;&#x5458;</source_value>
  295 + <target_value>1</target_value>
  296 + </field>
  297 + <field>
  298 + <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x8c03;&#x5ea6;&#x5458;</source_value>
  299 + <target_value>2</target_value>
  300 + </field>
  301 + <field>
  302 + <source_value>&#x516c;&#x5171;&#x6c7d;&#x7535;&#x8f66;&#x552e;&#x7968;&#x5458;</source_value>
  303 + <target_value>3</target_value>
  304 + </field>
  305 + <field>
  306 + <source_value>&#x7ad9;&#x5458;</source_value>
  307 + <target_value>4</target_value>
  308 + </field>
  309 + <field>
  310 + <source_value>&#x7ba1;&#x7406;&#x5458;</source_value>
  311 + <target_value>5</target_value>
  312 + </field>
  313 + <field>
  314 + <source_value>&#x5b89;&#x68c0;&#x5458;</source_value>
  315 + <target_value>6</target_value>
  316 + </field>
  317 + <field>
  318 + <source_value>&#x673a;&#x52a1;</source_value>
  319 + <target_value>7</target_value>
  320 + </field>
  321 + <field>
  322 + <source_value>&#x5f15;&#x5bfc;&#x5458;</source_value>
  323 + <target_value>8</target_value>
  324 + </field>
  325 + <field>
  326 + <source_value>&#x4e58;&#x52a1;&#x5458;</source_value>
  327 + <target_value>9</target_value>
  328 + </field>
  329 + <field>
  330 + <source_value>&#x8f66;&#x961f;&#x957f;&#xff08;&#x7ebf;&#x957f;&#x3001;&#x4e3b;</source_value>
  331 + <target_value>10</target_value>
  332 + </field>
  333 + <field>
  334 + <source_value>&#x516c;&#x53f8;&#x7ba1;&#x7406;&#x4eba;&#x5458;</source_value>
  335 + <target_value>11</target_value>
  336 + </field>
  337 + <field>
  338 + <source_value>&#x8b66;&#x6d88;&#x4eba;&#x5458;</source_value>
  339 + <target_value>12</target_value>
  340 + </field>
  341 + <field>
  342 + <source_value>&#x7968;&#x52a1;&#x4eba;&#x5458;</source_value>
  343 + <target_value>13</target_value>
  344 + </field>
  345 + <field>
  346 + <source_value>&#x5176;&#x4ed6;&#x670d;&#x52a1;&#x4eba;&#x5458;</source_value>
  347 + <target_value>14</target_value>
  348 + </field>
  349 + </fields>
  350 + <cluster_schema/>
  351 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  352 + <xloc>543</xloc>
  353 + <yloc>152</yloc>
  354 + <draw>Y</draw>
  355 + </GUI>
  356 + </step>
  357 +
  358 + <step>
  359 + <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>
  360 + <type>ExcelInput</type>
  361 + <description/>
  362 + <distribute>Y</distribute>
  363 + <custom_distribution/>
  364 + <copies>1</copies>
  365 + <partitioning>
  366 + <method>none</method>
  367 + <schema_name/>
  368 + </partitioning>
  369 + <header>Y</header>
  370 + <noempty>Y</noempty>
  371 + <stoponempty>N</stoponempty>
  372 + <filefield/>
  373 + <sheetfield/>
  374 + <sheetrownumfield/>
  375 + <rownumfield/>
  376 + <sheetfield/>
  377 + <filefield/>
  378 + <limit>0</limit>
  379 + <encoding/>
  380 + <add_to_result_filenames>Y</add_to_result_filenames>
  381 + <accept_filenames>Y</accept_filenames>
  382 + <accept_field>filepath_</accept_field>
  383 + <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>
  384 + <file>
  385 + <name/>
  386 + <filemask/>
  387 + <exclude_filemask/>
  388 + <file_required>N</file_required>
  389 + <include_subfolders>N</include_subfolders>
  390 + </file>
  391 + <fields>
  392 + <field>
  393 + <name>&#x59d3;&#x540d;</name>
  394 + <type>String</type>
  395 + <length>-1</length>
  396 + <precision>-1</precision>
  397 + <trim_type>none</trim_type>
  398 + <repeat>N</repeat>
  399 + <format/>
  400 + <currency/>
  401 + <decimal/>
  402 + <group/>
  403 + </field>
  404 + <field>
  405 + <name>&#x5de5;&#x53f7;</name>
  406 + <type>String</type>
  407 + <length>-1</length>
  408 + <precision>-1</precision>
  409 + <trim_type>none</trim_type>
  410 + <repeat>N</repeat>
  411 + <format/>
  412 + <currency/>
  413 + <decimal/>
  414 + <group/>
  415 + </field>
  416 + <field>
  417 + <name>&#x6027;&#x522b;</name>
  418 + <type>String</type>
  419 + <length>-1</length>
  420 + <precision>-1</precision>
  421 + <trim_type>none</trim_type>
  422 + <repeat>N</repeat>
  423 + <format/>
  424 + <currency/>
  425 + <decimal/>
  426 + <group/>
  427 + </field>
  428 + <field>
  429 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  430 + <type>String</type>
  431 + <length>-1</length>
  432 + <precision>-1</precision>
  433 + <trim_type>none</trim_type>
  434 + <repeat>N</repeat>
  435 + <format/>
  436 + <currency/>
  437 + <decimal/>
  438 + <group/>
  439 + </field>
  440 + <field>
  441 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  442 + <type>String</type>
  443 + <length>-1</length>
  444 + <precision>-1</precision>
  445 + <trim_type>none</trim_type>
  446 + <repeat>N</repeat>
  447 + <format/>
  448 + <currency/>
  449 + <decimal/>
  450 + <group/>
  451 + </field>
  452 + <field>
  453 + <name>&#x4e00;&#x5361;&#x901a;&#x53f7;</name>
  454 + <type>String</type>
  455 + <length>-1</length>
  456 + <precision>-1</precision>
  457 + <trim_type>none</trim_type>
  458 + <repeat>N</repeat>
  459 + <format/>
  460 + <currency/>
  461 + <decimal/>
  462 + <group/>
  463 + </field>
  464 + <field>
  465 + <name>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</name>
  466 + <type>String</type>
  467 + <length>-1</length>
  468 + <precision>-1</precision>
  469 + <trim_type>none</trim_type>
  470 + <repeat>N</repeat>
  471 + <format/>
  472 + <currency/>
  473 + <decimal/>
  474 + <group/>
  475 + </field>
  476 + <field>
  477 + <name>&#x5c97;&#x4f4d;</name>
  478 + <type>String</type>
  479 + <length>-1</length>
  480 + <precision>-1</precision>
  481 + <trim_type>none</trim_type>
  482 + <repeat>N</repeat>
  483 + <format/>
  484 + <currency/>
  485 + <decimal/>
  486 + <group/>
  487 + </field>
  488 + <field>
  489 + <name>&#x5907;&#x6ce8;</name>
  490 + <type>String</type>
  491 + <length>-1</length>
  492 + <precision>-1</precision>
  493 + <trim_type>none</trim_type>
  494 + <repeat>N</repeat>
  495 + <format/>
  496 + <currency/>
  497 + <decimal/>
  498 + <group/>
  499 + </field>
  500 + </fields>
  501 + <sheets>
  502 + <sheet>
  503 + <name>&#x5de5;&#x4f5c;&#x8868;1</name>
  504 + <startrow>0</startrow>
  505 + <startcol>0</startcol>
  506 + </sheet>
  507 + </sheets>
  508 + <strict_types>N</strict_types>
  509 + <error_ignored>N</error_ignored>
  510 + <error_line_skipped>N</error_line_skipped>
  511 + <bad_line_files_destination_directory/>
  512 + <bad_line_files_extension>warning</bad_line_files_extension>
  513 + <error_line_files_destination_directory/>
  514 + <error_line_files_extension>error</error_line_files_extension>
  515 + <line_number_files_destination_directory/>
  516 + <line_number_files_extension>line</line_number_files_extension>
  517 + <shortFileFieldName/>
  518 + <pathFieldName/>
  519 + <hiddenFieldName/>
  520 + <lastModificationTimeFieldName/>
  521 + <uriNameFieldName/>
  522 + <rootUriNameFieldName/>
  523 + <extensionFieldName/>
  524 + <sizeFieldName/>
  525 + <spreadsheet_type>JXL</spreadsheet_type>
  526 + <cluster_schema/>
  527 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  528 + <xloc>158</xloc>
  529 + <yloc>57</yloc>
  530 + <draw>Y</draw>
  531 + </GUI>
  532 + </step>
  533 +
  534 + <step>
  535 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  536 + <type>SelectValues</type>
  537 + <description/>
  538 + <distribute>Y</distribute>
  539 + <custom_distribution/>
  540 + <copies>1</copies>
  541 + <partitioning>
  542 + <method>none</method>
  543 + <schema_name/>
  544 + </partitioning>
  545 + <fields> <field> <name>&#x59d3;&#x540d;</name>
  546 + <rename>personnelName</rename>
  547 + <length>-2</length>
  548 + <precision>-2</precision>
  549 + </field> <field> <name>&#x5de5;&#x53f7;</name>
  550 + <rename>jobCode</rename>
  551 + <length>-2</length>
  552 + <precision>-2</precision>
  553 + </field> <field> <name>&#x6027;&#x522b;</name>
  554 + <rename>personnelType</rename>
  555 + <length>-2</length>
  556 + <precision>-2</precision>
  557 + </field> <field> <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  558 + <rename>company</rename>
  559 + <length>-2</length>
  560 + <precision>-2</precision>
  561 + </field> <field> <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  562 + <rename>brancheCompany</rename>
  563 + <length>-2</length>
  564 + <precision>-2</precision>
  565 + </field> <field> <name>&#x4e00;&#x5361;&#x901a;&#x53f7;</name>
  566 + <rename>icCardCode</rename>
  567 + <length>-2</length>
  568 + <precision>-2</precision>
  569 + </field> <field> <name>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</name>
  570 + <rename>papersCode</rename>
  571 + <length>-2</length>
  572 + <precision>-2</precision>
  573 + </field> <field> <name>&#x5c97;&#x4f4d;</name>
  574 + <rename>posts</rename>
  575 + <length>-2</length>
  576 + <precision>-2</precision>
  577 + </field> <field> <name>&#x5907;&#x6ce8;</name>
  578 + <rename>descriptions</rename>
  579 + <length>-2</length>
  580 + <precision>-2</precision>
  581 + </field> <select_unspecified>N</select_unspecified>
  582 + </fields> <cluster_schema/>
  583 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  584 + <xloc>286</xloc>
  585 + <yloc>58</yloc>
  586 + <draw>Y</draw>
  587 + </GUI>
  588 + </step>
  589 +
  590 + <step>
  591 + <name>&#x6027;&#x522b;&#x4ee3;&#x7801;</name>
  592 + <type>ValueMapper</type>
  593 + <description/>
  594 + <distribute>Y</distribute>
  595 + <custom_distribution/>
  596 + <copies>1</copies>
  597 + <partitioning>
  598 + <method>none</method>
  599 + <schema_name/>
  600 + </partitioning>
  601 + <field_to_use>personnelType</field_to_use>
  602 + <target_field>personnelCode</target_field>
  603 + <non_match_default/>
  604 + <fields>
  605 + <field>
  606 + <source_value>&#x7537;&#x6027;</source_value>
  607 + <target_value>1</target_value>
  608 + </field>
  609 + <field>
  610 + <source_value>&#x5973;&#x6027;</source_value>
  611 + <target_value>2</target_value>
  612 + </field>
  613 + </fields>
  614 + <cluster_schema/>
  615 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  616 + <xloc>413</xloc>
  617 + <yloc>58</yloc>
  618 + <draw>Y</draw>
  619 + </GUI>
  620 + </step>
  621 +
  622 + <step>
  623 + <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</name>
  624 + <type>InsertUpdate</type>
  625 + <description/>
  626 + <distribute>Y</distribute>
  627 + <custom_distribution/>
  628 + <copies>1</copies>
  629 + <partitioning>
  630 + <method>none</method>
  631 + <schema_name/>
  632 + </partitioning>
  633 + <connection>bus_control_variable</connection>
  634 + <commit>5000</commit>
  635 + <update_bypassed>N</update_bypassed>
  636 + <lookup>
  637 + <schema/>
  638 + <table>bsth_c_personnel</table>
  639 + <key>
  640 + <name>jobCode</name>
  641 + <field>job_code</field>
  642 + <condition>&#x3d;</condition>
  643 + <name2/>
  644 + </key>
  645 + <key>
  646 + <name>companyCode</name>
  647 + <field>company_code</field>
  648 + <condition>&#x3d;</condition>
  649 + <name2/>
  650 + </key>
  651 + <value>
  652 + <name>personnel_name</name>
  653 + <rename>personnelName</rename>
  654 + <update>Y</update>
  655 + </value>
  656 + <value>
  657 + <name>job_code</name>
  658 + <rename>jobCode</rename>
  659 + <update>Y</update>
  660 + </value>
  661 + <value>
  662 + <name>personnel_type</name>
  663 + <rename>personnelCode</rename>
  664 + <update>Y</update>
  665 + </value>
  666 + <value>
  667 + <name>company</name>
  668 + <rename>company</rename>
  669 + <update>Y</update>
  670 + </value>
  671 + <value>
  672 + <name>branche_company</name>
  673 + <rename>brancheCompany</rename>
  674 + <update>Y</update>
  675 + </value>
  676 + <value>
  677 + <name>ic_card_code</name>
  678 + <rename>icCardCode</rename>
  679 + <update>Y</update>
  680 + </value>
  681 + <value>
  682 + <name>papers_code</name>
  683 + <rename>papersCode</rename>
  684 + <update>Y</update>
  685 + </value>
  686 + <value>
  687 + <name>posts</name>
  688 + <rename>posts</rename>
  689 + <update>Y</update>
  690 + </value>
  691 + <value>
  692 + <name>descriptions</name>
  693 + <rename>descriptions</rename>
  694 + <update>Y</update>
  695 + </value>
  696 + <value>
  697 + <name>company_code</name>
  698 + <rename>companyCode</rename>
  699 + <update>Y</update>
  700 + </value>
  701 + </lookup>
  702 + <cluster_schema/>
  703 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  704 + <xloc>713</xloc>
  705 + <yloc>56</yloc>
  706 + <draw>Y</draw>
  707 + </GUI>
  708 + </step>
  709 +
  710 + <step>
  711 + <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>
  712 + <type>GetVariable</type>
  713 + <description/>
  714 + <distribute>Y</distribute>
  715 + <custom_distribution/>
  716 + <copies>1</copies>
  717 + <partitioning>
  718 + <method>none</method>
  719 + <schema_name/>
  720 + </partitioning>
  721 + <fields>
  722 + <field>
  723 + <name>filepath_</name>
  724 + <variable>&#x24;&#x7b;filepath&#x7d;</variable>
  725 + <type>String</type>
  726 + <format/>
  727 + <currency/>
  728 + <decimal/>
  729 + <group/>
  730 + <length>-1</length>
  731 + <precision>-1</precision>
  732 + <trim_type>none</trim_type>
  733 + </field>
  734 + <field>
  735 + <name>erroroutputdir_</name>
  736 + <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>
  737 + <type>String</type>
  738 + <format/>
  739 + <currency/>
  740 + <decimal/>
  741 + <group/>
  742 + <length>-1</length>
  743 + <precision>-1</precision>
  744 + <trim_type>none</trim_type>
  745 + </field>
  746 + </fields>
  747 + <cluster_schema/>
  748 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  749 + <xloc>90</xloc>
  750 + <yloc>148</yloc>
  751 + <draw>Y</draw>
  752 + </GUI>
  753 + </step>
  754 +
  755 + <step>
  756 + <name>&#x9519;&#x8bef;&#x8f93;&#x51fa;</name>
  757 + <type>ExcelOutput</type>
  758 + <description/>
  759 + <distribute>Y</distribute>
  760 + <custom_distribution/>
  761 + <copies>1</copies>
  762 + <partitioning>
  763 + <method>none</method>
  764 + <schema_name/>
  765 + </partitioning>
  766 + <header>Y</header>
  767 + <footer>N</footer>
  768 + <encoding>UTF-8</encoding>
  769 + <append>N</append>
  770 + <add_to_result_filenames>Y</add_to_result_filenames>
  771 + <file>
  772 + <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>
  773 + <extention>xls</extention>
  774 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  775 + <create_parent_folder>N</create_parent_folder>
  776 + <split>N</split>
  777 + <add_date>N</add_date>
  778 + <add_time>N</add_time>
  779 + <SpecifyFormat>N</SpecifyFormat>
  780 + <date_time_format/>
  781 + <sheetname>Sheet1</sheetname>
  782 + <autosizecolums>N</autosizecolums>
  783 + <nullisblank>N</nullisblank>
  784 + <protect_sheet>N</protect_sheet>
  785 + <password>Encrypted </password>
  786 + <splitevery>0</splitevery>
  787 + <usetempfiles>N</usetempfiles>
  788 + <tempdirectory/>
  789 + </file>
  790 + <template>
  791 + <enabled>N</enabled>
  792 + <append>N</append>
  793 + <filename>template.xls</filename>
  794 + </template>
  795 + <fields>
  796 + <field>
  797 + <name>personnelName</name>
  798 + <type>String</type>
  799 + <format/>
  800 + </field>
  801 + <field>
  802 + <name>jobCode</name>
  803 + <type>String</type>
  804 + <format/>
  805 + </field>
  806 + <field>
  807 + <name>personnelType</name>
  808 + <type>String</type>
  809 + <format/>
  810 + </field>
  811 + <field>
  812 + <name>company</name>
  813 + <type>String</type>
  814 + <format/>
  815 + </field>
  816 + <field>
  817 + <name>brancheCompany</name>
  818 + <type>String</type>
  819 + <format/>
  820 + </field>
  821 + <field>
  822 + <name>icCardCode</name>
  823 + <type>String</type>
  824 + <format/>
  825 + </field>
  826 + <field>
  827 + <name>papersCode</name>
  828 + <type>String</type>
  829 + <format/>
  830 + </field>
  831 + <field>
  832 + <name>posts</name>
  833 + <type>String</type>
  834 + <format/>
  835 + </field>
  836 + <field>
  837 + <name>descriptions</name>
  838 + <type>String</type>
  839 + <format/>
  840 + </field>
  841 + <field>
  842 + <name>companyCode</name>
  843 + <type>String</type>
  844 + <format/>
  845 + </field>
  846 + <field>
  847 + <name>error_count</name>
  848 + <type>Integer</type>
  849 + <format/>
  850 + </field>
  851 + <field>
  852 + <name>error_desc</name>
  853 + <type>String</type>
  854 + <format/>
  855 + </field>
  856 + <field>
  857 + <name>error_column1</name>
  858 + <type>String</type>
  859 + <format/>
  860 + </field>
  861 + <field>
  862 + <name>error_column2</name>
  863 + <type>String</type>
  864 + <format/>
  865 + </field>
  866 + </fields>
  867 + <custom>
  868 + <header_font_name>arial</header_font_name>
  869 + <header_font_size>10</header_font_size>
  870 + <header_font_bold>N</header_font_bold>
  871 + <header_font_italic>N</header_font_italic>
  872 + <header_font_underline>no</header_font_underline>
  873 + <header_font_orientation>horizontal</header_font_orientation>
  874 + <header_font_color>black</header_font_color>
  875 + <header_background_color>none</header_background_color>
  876 + <header_row_height>255</header_row_height>
  877 + <header_alignment>left</header_alignment>
  878 + <header_image/>
  879 + <row_font_name>arial</row_font_name>
  880 + <row_font_size>10</row_font_size>
  881 + <row_font_color>black</row_font_color>
  882 + <row_background_color>none</row_background_color>
  883 + </custom>
  884 + <cluster_schema/>
  885 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  886 + <xloc>715</xloc>
  887 + <yloc>223</yloc>
  888 + <draw>Y</draw>
  889 + </GUI>
  890 + </step>
  891 +
  892 + <step>
  893 + <name>&#x516c;&#x4ea4;&#x4f01;&#x4e1a;&#x4ee3;&#x7801;&#x67e5;&#x8be2;</name>
  894 + <type>DBLookup</type>
  895 + <description/>
  896 + <distribute>Y</distribute>
  897 + <custom_distribution/>
  898 + <copies>1</copies>
  899 + <partitioning>
  900 + <method>none</method>
  901 + <schema_name/>
  902 + </partitioning>
  903 + <connection>bus_control_variable</connection>
  904 + <cache>N</cache>
  905 + <cache_load_all>N</cache_load_all>
  906 + <cache_size>0</cache_size>
  907 + <lookup>
  908 + <schema/>
  909 + <table>bsth_c_business</table>
  910 + <orderby/>
  911 + <fail_on_multiple>N</fail_on_multiple>
  912 + <eat_row_on_failure>N</eat_row_on_failure>
  913 + <key>
  914 + <name>company</name>
  915 + <field>business_name</field>
  916 + <condition>&#x3d;</condition>
  917 + <name2/>
  918 + </key>
  919 + <value>
  920 + <name>business_code</name>
  921 + <rename>companyCode</rename>
  922 + <default/>
  923 + <type>String</type>
  924 + </value>
  925 + </lookup>
  926 + <cluster_schema/>
  927 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  928 + <xloc>544</xloc>
  929 + <yloc>59</yloc>
  930 + <draw>Y</draw>
  931 + </GUI>
  932 + </step>
  933 +
  934 + <step_error_handling>
  935 + <error>
  936 + <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</source_step>
  937 + <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa;</target_step>
  938 + <is_enabled>Y</is_enabled>
  939 + <nr_valuename>error_count</nr_valuename>
  940 + <descriptions_valuename>error_desc</descriptions_valuename>
  941 + <fields_valuename>error_column1</fields_valuename>
  942 + <codes_valuename>error_column2</codes_valuename>
  943 + <max_errors/>
  944 + <max_pct_errors/>
  945 + <min_pct_rows/>
  946 + </error>
  947 + </step_error_handling>
  948 + <slave-step-copy-partition-distribution>
  949 +</slave-step-copy-partition-distribution>
  950 + <slave_transformation>N</slave_transformation>
  951 +
  952 +</transformation>
... ...
src/main/resources/datatools/ktrs/employeesDataOutput.ktr 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>employeesDataOutput</name>
  5 + <description/>
  6 + <extended_description/>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>filepath</name>
  14 + <default_value/>
  15 + <description>excel&#x6587;&#x4ef6;&#x8def;&#x5f84;</description>
  16 + </parameter>
  17 + </parameters>
  18 + <log>
  19 +<trans-log-table><connection/>
  20 +<schema/>
  21 +<table/>
  22 +<size_limit_lines/>
  23 +<interval/>
  24 +<timeout_days/>
  25 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>
  26 +<perf-log-table><connection/>
  27 +<schema/>
  28 +<table/>
  29 +<interval/>
  30 +<timeout_days/>
  31 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
  32 +<channel-log-table><connection/>
  33 +<schema/>
  34 +<table/>
  35 +<timeout_days/>
  36 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
  37 +<step-log-table><connection/>
  38 +<schema/>
  39 +<table/>
  40 +<timeout_days/>
  41 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
  42 +<metrics-log-table><connection/>
  43 +<schema/>
  44 +<table/>
  45 +<timeout_days/>
  46 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>
  47 + </log>
  48 + <maxdate>
  49 + <connection/>
  50 + <table/>
  51 + <field/>
  52 + <offset>0.0</offset>
  53 + <maxdiff>0.0</maxdiff>
  54 + </maxdate>
  55 + <size_rowset>10000</size_rowset>
  56 + <sleep_time_empty>50</sleep_time_empty>
  57 + <sleep_time_full>50</sleep_time_full>
  58 + <unique_connections>N</unique_connections>
  59 + <feedback_shown>Y</feedback_shown>
  60 + <feedback_size>50000</feedback_size>
  61 + <using_thread_priorities>Y</using_thread_priorities>
  62 + <shared_objects_file/>
  63 + <capture_step_performance>N</capture_step_performance>
  64 + <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  65 + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  66 + <dependencies>
  67 + </dependencies>
  68 + <partitionschemas>
  69 + </partitionschemas>
  70 + <slaveservers>
  71 + </slaveservers>
  72 + <clusterschemas>
  73 + </clusterschemas>
  74 + <created_user>-</created_user>
  75 + <created_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</created_date>
  76 + <modified_user>-</modified_user>
  77 + <modified_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</modified_date>
  78 + <key_for_session_key/>
  79 + <is_key_private>N</is_key_private>
  80 + </info>
  81 + <notepads>
  82 + </notepads>
  83 + <connection>
  84 + <name>bus_control_variable</name>
  85 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  86 + <type>MYSQL</type>
  87 + <access>Native</access>
  88 + <database>control</database>
  89 + <port>3306</port>
  90 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  91 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  92 + <servername/>
  93 + <data_tablespace/>
  94 + <index_tablespace/>
  95 + <attributes>
  96 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  97 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  98 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  99 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  100 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  101 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  102 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  103 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  104 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  105 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  106 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  107 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  108 + </attributes>
  109 + </connection>
  110 + <connection>
  111 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  112 + <server>localhost</server>
  113 + <type>MYSQL</type>
  114 + <access>Native</access>
  115 + <database>control</database>
  116 + <port>3306</port>
  117 + <username>root</username>
  118 + <password>Encrypted </password>
  119 + <servername/>
  120 + <data_tablespace/>
  121 + <index_tablespace/>
  122 + <attributes>
  123 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  124 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  125 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  126 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  127 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  128 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  129 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  130 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  131 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  132 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  133 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  134 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  135 + </attributes>
  136 + </connection>
  137 + <connection>
  138 + <name>bus_control_&#x672c;&#x673a;</name>
  139 + <server>localhost</server>
  140 + <type>MYSQL</type>
  141 + <access>Native</access>
  142 + <database>control</database>
  143 + <port>3306</port>
  144 + <username>root</username>
  145 + <password>Encrypted </password>
  146 + <servername/>
  147 + <data_tablespace/>
  148 + <index_tablespace/>
  149 + <attributes>
  150 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  151 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  152 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  153 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  154 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  155 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  156 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  157 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  158 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  159 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  160 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  161 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  162 + </attributes>
  163 + </connection>
  164 + <connection>
  165 + <name>xlab_mysql_youle</name>
  166 + <server>101.231.124.8</server>
  167 + <type>MYSQL</type>
  168 + <access>Native</access>
  169 + <database>xlab_youle</database>
  170 + <port>45687</port>
  171 + <username>xlab-youle</username>
  172 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  173 + <servername/>
  174 + <data_tablespace/>
  175 + <index_tablespace/>
  176 + <attributes>
  177 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  178 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  179 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  180 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  181 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  182 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  183 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  184 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  185 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  186 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  187 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  188 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  189 + </attributes>
  190 + </connection>
  191 + <connection>
  192 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  193 + <server>localhost</server>
  194 + <type>MYSQL</type>
  195 + <access>Native</access>
  196 + <database>xlab_youle</database>
  197 + <port>3306</port>
  198 + <username>root</username>
  199 + <password>Encrypted </password>
  200 + <servername/>
  201 + <data_tablespace/>
  202 + <index_tablespace/>
  203 + <attributes>
  204 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  205 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  206 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  207 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  208 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  209 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  210 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  211 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  212 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  213 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  214 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  215 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  216 + </attributes>
  217 + </connection>
  218 + <connection>
  219 + <name>xlab_youle</name>
  220 + <server/>
  221 + <type>MYSQL</type>
  222 + <access>JNDI</access>
  223 + <database>xlab_youle</database>
  224 + <port>1521</port>
  225 + <username/>
  226 + <password>Encrypted </password>
  227 + <servername/>
  228 + <data_tablespace/>
  229 + <index_tablespace/>
  230 + <attributes>
  231 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  232 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  233 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  234 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  235 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  236 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  237 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  238 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  239 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  240 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  241 + </attributes>
  242 + </connection>
  243 + <order>
  244 + <hop> <from>&#x8868;&#x8f93;&#x5165;</from><to>&#x6027;&#x522b;&#x6807;&#x8bc6;</to><enabled>Y</enabled> </hop>
  245 + <hop> <from>&#x6027;&#x522b;&#x6807;&#x8bc6;</from><to>&#x6027;&#x522b;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  246 + <hop> <from>&#x6027;&#x522b;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</from><to>&#x5de5;&#x79cd;&#x6807;&#x8bc6;</to><enabled>Y</enabled> </hop>
  247 + <hop> <from>&#x5de5;&#x79cd;&#x6807;&#x8bc6;</from><to>&#x5de5;&#x79cd;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</to><enabled>Y</enabled> </hop>
  248 + <hop> <from>&#x5de5;&#x79cd;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
  249 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
  250 + </order>
  251 + <step>
  252 + <name>&#x8868;&#x8f93;&#x5165;</name>
  253 + <type>TableInput</type>
  254 + <description/>
  255 + <distribute>Y</distribute>
  256 + <custom_distribution/>
  257 + <copies>1</copies>
  258 + <partitioning>
  259 + <method>none</method>
  260 + <schema_name/>
  261 + </partitioning>
  262 + <connection>bus_control_variable</connection>
  263 + <sql>SELECT &#x2a; FROM bsth_c_personnel&#x3b;</sql>
  264 + <limit>0</limit>
  265 + <lookup/>
  266 + <execute_each_row>N</execute_each_row>
  267 + <variables_active>N</variables_active>
  268 + <lazy_conversion_active>N</lazy_conversion_active>
  269 + <cluster_schema/>
  270 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  271 + <xloc>112</xloc>
  272 + <yloc>66</yloc>
  273 + <draw>Y</draw>
  274 + </GUI>
  275 + </step>
  276 +
  277 + <step>
  278 + <name>&#x6027;&#x522b;&#x6807;&#x8bc6;</name>
  279 + <type>Constant</type>
  280 + <description/>
  281 + <distribute>Y</distribute>
  282 + <custom_distribution/>
  283 + <copies>1</copies>
  284 + <partitioning>
  285 + <method>none</method>
  286 + <schema_name/>
  287 + </partitioning>
  288 + <fields>
  289 + <field>
  290 + <name>sexType</name>
  291 + <type>String</type>
  292 + <format/>
  293 + <currency/>
  294 + <decimal/>
  295 + <group/>
  296 + <nullif>sexType</nullif>
  297 + <length>-1</length>
  298 + <precision>-1</precision>
  299 + <set_empty_string>N</set_empty_string>
  300 + </field>
  301 + </fields>
  302 + <cluster_schema/>
  303 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  304 + <xloc>220</xloc>
  305 + <yloc>69</yloc>
  306 + <draw>Y</draw>
  307 + </GUI>
  308 + </step>
  309 +
  310 + <step>
  311 + <name>&#x6027;&#x522b;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</name>
  312 + <type>DBLookup</type>
  313 + <description/>
  314 + <distribute>Y</distribute>
  315 + <custom_distribution/>
  316 + <copies>1</copies>
  317 + <partitioning>
  318 + <method>none</method>
  319 + <schema_name/>
  320 + </partitioning>
  321 + <connection>bus_control_variable</connection>
  322 + <cache>N</cache>
  323 + <cache_load_all>N</cache_load_all>
  324 + <cache_size>0</cache_size>
  325 + <lookup>
  326 + <schema/>
  327 + <table>bsth_c_sys_dictionary</table>
  328 + <orderby/>
  329 + <fail_on_multiple>N</fail_on_multiple>
  330 + <eat_row_on_failure>N</eat_row_on_failure>
  331 + <key>
  332 + <name>sexType</name>
  333 + <field>d_group</field>
  334 + <condition>&#x3d;</condition>
  335 + <name2/>
  336 + </key>
  337 + <key>
  338 + <name>personnel_type</name>
  339 + <field>d_code</field>
  340 + <condition>&#x3d;</condition>
  341 + <name2/>
  342 + </key>
  343 + <value>
  344 + <name>d_name</name>
  345 + <rename>personnel_type_str</rename>
  346 + <default/>
  347 + <type>String</type>
  348 + </value>
  349 + </lookup>
  350 + <cluster_schema/>
  351 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  352 + <xloc>316</xloc>
  353 + <yloc>71</yloc>
  354 + <draw>Y</draw>
  355 + </GUI>
  356 + </step>
  357 +
  358 + <step>
  359 + <name>&#x5de5;&#x79cd;&#x6807;&#x8bc6;</name>
  360 + <type>Constant</type>
  361 + <description/>
  362 + <distribute>Y</distribute>
  363 + <custom_distribution/>
  364 + <copies>1</copies>
  365 + <partitioning>
  366 + <method>none</method>
  367 + <schema_name/>
  368 + </partitioning>
  369 + <fields>
  370 + <field>
  371 + <name>gzType</name>
  372 + <type>String</type>
  373 + <format/>
  374 + <currency/>
  375 + <decimal/>
  376 + <group/>
  377 + <nullif>gzType</nullif>
  378 + <length>-1</length>
  379 + <precision>-1</precision>
  380 + <set_empty_string>N</set_empty_string>
  381 + </field>
  382 + </fields>
  383 + <cluster_schema/>
  384 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  385 + <xloc>418</xloc>
  386 + <yloc>73</yloc>
  387 + <draw>Y</draw>
  388 + </GUI>
  389 + </step>
  390 +
  391 + <step>
  392 + <name>&#x5de5;&#x79cd;&#x6807;&#x8bc6;&#x67e5;&#x8be2;</name>
  393 + <type>DBLookup</type>
  394 + <description/>
  395 + <distribute>Y</distribute>
  396 + <custom_distribution/>
  397 + <copies>1</copies>
  398 + <partitioning>
  399 + <method>none</method>
  400 + <schema_name/>
  401 + </partitioning>
  402 + <connection>bus_control_variable</connection>
  403 + <cache>N</cache>
  404 + <cache_load_all>N</cache_load_all>
  405 + <cache_size>0</cache_size>
  406 + <lookup>
  407 + <schema/>
  408 + <table>bsth_c_sys_dictionary</table>
  409 + <orderby/>
  410 + <fail_on_multiple>N</fail_on_multiple>
  411 + <eat_row_on_failure>N</eat_row_on_failure>
  412 + <key>
  413 + <name>gzType</name>
  414 + <field>d_group</field>
  415 + <condition>&#x3d;</condition>
  416 + <name2/>
  417 + </key>
  418 + <key>
  419 + <name>posts</name>
  420 + <field>d_code</field>
  421 + <condition>&#x3d;</condition>
  422 + <name2/>
  423 + </key>
  424 + <value>
  425 + <name>d_name</name>
  426 + <rename>posts_str</rename>
  427 + <default/>
  428 + <type>String</type>
  429 + </value>
  430 + </lookup>
  431 + <cluster_schema/>
  432 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  433 + <xloc>509</xloc>
  434 + <yloc>75</yloc>
  435 + <draw>Y</draw>
  436 + </GUI>
  437 + </step>
  438 +
  439 + <step>
  440 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  441 + <type>SelectValues</type>
  442 + <description/>
  443 + <distribute>Y</distribute>
  444 + <custom_distribution/>
  445 + <copies>1</copies>
  446 + <partitioning>
  447 + <method>none</method>
  448 + <schema_name/>
  449 + </partitioning>
  450 + <fields> <field> <name>personnel_name</name>
  451 + <rename>&#x59d3;&#x540d;</rename>
  452 + <length>-2</length>
  453 + <precision>-2</precision>
  454 + </field> <field> <name>job_code</name>
  455 + <rename>&#x5de5;&#x53f7;</rename>
  456 + <length>-2</length>
  457 + <precision>-2</precision>
  458 + </field> <field> <name>personnel_type_str</name>
  459 + <rename>&#x6027;&#x522b;</rename>
  460 + <length>-2</length>
  461 + <precision>-2</precision>
  462 + </field> <field> <name>company</name>
  463 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>
  464 + <length>-2</length>
  465 + <precision>-2</precision>
  466 + </field> <field> <name>branche_company</name>
  467 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>
  468 + <length>-2</length>
  469 + <precision>-2</precision>
  470 + </field> <field> <name>ic_card_code</name>
  471 + <rename>&#x4e00;&#x5361;&#x901a;&#x53f7;</rename>
  472 + <length>-2</length>
  473 + <precision>-2</precision>
  474 + </field> <field> <name>papers_code</name>
  475 + <rename>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</rename>
  476 + <length>-2</length>
  477 + <precision>-2</precision>
  478 + </field> <field> <name>posts_str</name>
  479 + <rename>&#x5c97;&#x4f4d;</rename>
  480 + <length>-2</length>
  481 + <precision>-2</precision>
  482 + </field> <field> <name>descriptions</name>
  483 + <rename>&#x5907;&#x6ce8;</rename>
  484 + <length>-2</length>
  485 + <precision>-2</precision>
  486 + </field> <select_unspecified>N</select_unspecified>
  487 + </fields> <cluster_schema/>
  488 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  489 + <xloc>631</xloc>
  490 + <yloc>76</yloc>
  491 + <draw>Y</draw>
  492 + </GUI>
  493 + </step>
  494 +
  495 + <step>
  496 + <name>Excel&#x8f93;&#x51fa;</name>
  497 + <type>ExcelOutput</type>
  498 + <description/>
  499 + <distribute>Y</distribute>
  500 + <custom_distribution/>
  501 + <copies>1</copies>
  502 + <partitioning>
  503 + <method>none</method>
  504 + <schema_name/>
  505 + </partitioning>
  506 + <header>Y</header>
  507 + <footer>N</footer>
  508 + <encoding/>
  509 + <append>N</append>
  510 + <add_to_result_filenames>Y</add_to_result_filenames>
  511 + <file>
  512 + <name>&#x24;&#x7b;filepath&#x7d;</name>
  513 + <extention/>
  514 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  515 + <create_parent_folder>N</create_parent_folder>
  516 + <split>N</split>
  517 + <add_date>N</add_date>
  518 + <add_time>N</add_time>
  519 + <SpecifyFormat>N</SpecifyFormat>
  520 + <date_time_format>yyyyMMddHHmmss</date_time_format>
  521 + <sheetname>&#x5de5;&#x4f5c;&#x8868;1</sheetname>
  522 + <autosizecolums>N</autosizecolums>
  523 + <nullisblank>N</nullisblank>
  524 + <protect_sheet>N</protect_sheet>
  525 + <password>Encrypted </password>
  526 + <splitevery>0</splitevery>
  527 + <usetempfiles>N</usetempfiles>
  528 + <tempdirectory/>
  529 + </file>
  530 + <template>
  531 + <enabled>N</enabled>
  532 + <append>N</append>
  533 + <filename>template.xls</filename>
  534 + </template>
  535 + <fields>
  536 + <field>
  537 + <name>&#x59d3;&#x540d;</name>
  538 + <type>String</type>
  539 + <format/>
  540 + </field>
  541 + <field>
  542 + <name>&#x5de5;&#x53f7;</name>
  543 + <type>String</type>
  544 + <format/>
  545 + </field>
  546 + <field>
  547 + <name>&#x6027;&#x522b;</name>
  548 + <type>String</type>
  549 + <format/>
  550 + </field>
  551 + <field>
  552 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  553 + <type>String</type>
  554 + <format/>
  555 + </field>
  556 + <field>
  557 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  558 + <type>String</type>
  559 + <format/>
  560 + </field>
  561 + <field>
  562 + <name>&#x4e00;&#x5361;&#x901a;&#x53f7;</name>
  563 + <type>String</type>
  564 + <format/>
  565 + </field>
  566 + <field>
  567 + <name>&#x8fd0;&#x8425;&#x670d;&#x52a1;&#x8bc1;&#x53f7;</name>
  568 + <type>String</type>
  569 + <format/>
  570 + </field>
  571 + <field>
  572 + <name>&#x5c97;&#x4f4d;</name>
  573 + <type>String</type>
  574 + <format/>
  575 + </field>
  576 + <field>
  577 + <name>&#x5907;&#x6ce8;</name>
  578 + <type>String</type>
  579 + <format/>
  580 + </field>
  581 + </fields>
  582 + <custom>
  583 + <header_font_name>arial</header_font_name>
  584 + <header_font_size>10</header_font_size>
  585 + <header_font_bold>N</header_font_bold>
  586 + <header_font_italic>N</header_font_italic>
  587 + <header_font_underline>no</header_font_underline>
  588 + <header_font_orientation>horizontal</header_font_orientation>
  589 + <header_font_color>black</header_font_color>
  590 + <header_background_color>none</header_background_color>
  591 + <header_row_height>255</header_row_height>
  592 + <header_alignment>left</header_alignment>
  593 + <header_image/>
  594 + <row_font_name>arial</row_font_name>
  595 + <row_font_size>10</row_font_size>
  596 + <row_font_color>black</row_font_color>
  597 + <row_background_color>none</row_background_color>
  598 + </custom>
  599 + <cluster_schema/>
  600 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  601 + <xloc>633</xloc>
  602 + <yloc>189</yloc>
  603 + <draw>Y</draw>
  604 + </GUI>
  605 + </step>
  606 +
  607 + <step_error_handling>
  608 + </step_error_handling>
  609 + <slave-step-copy-partition-distribution>
  610 +</slave-step-copy-partition-distribution>
  611 + <slave_transformation>N</slave_transformation>
  612 +
  613 +</transformation>
... ...
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/employeeInfoManage.js
... ... @@ -64,12 +64,21 @@ angular.module(&#39;ScheduleApp&#39;).factory(&#39;EmployeeInfoManageService&#39;, [&#39;EmployeeInf
64 64 */
65 65 saveDetail: function(obj) {
66 66 return service.rest.save(obj).$promise;
  67 + },
  68 + /**
  69 + * 数据导出。
  70 + * @returns {*|Function|promise|n}
  71 + */
  72 + dataExport: function() {
  73 + return service.dataTools.dataExport().$promise;
67 74 }
68 75 }
69 76  
70 77 }]);
71 78  
72   -angular.module('ScheduleApp').controller('EmployeeInfoManageCtrl', ['EmployeeInfoManageService', '$state', '$uibModal', function(employeeInfoManageService, $state, $uibModal) {
  79 +angular.module('ScheduleApp').controller('EmployeeInfoManageCtrl', [
  80 + 'EmployeeInfoManageService', '$state', '$uibModal', 'FileDownload_g',
  81 + function(employeeInfoManageService, $state, $uibModal, fileDownload) {
73 82 var self = this;
74 83  
75 84 // 切换到form状态
... ... @@ -103,6 +112,18 @@ angular.module(&#39;ScheduleApp&#39;).controller(&#39;EmployeeInfoManageCtrl&#39;, [&#39;EmployeeInf
103 112 }
104 113 );
105 114 };
  115 +
  116 + // 导出excel
  117 + self.exportData = function() {
  118 + employeeInfoManageService.dataExport().then(
  119 + function(result) {
  120 + fileDownload.downloadFile(result.data, "application/octet-stream", "人员基础信息.xls");
  121 + },
  122 + function(result) {
  123 + console.log("exportData failed:" + result);
  124 + }
  125 + );
  126 + };
106 127 }]);
107 128  
108 129 angular.module('ScheduleApp').controller('EmployInfoManageToolsCtrl', ['$modalInstance', 'FileUploader', function($modalInstance, FileUploader) {
... ...
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/index.html
... ... @@ -46,18 +46,18 @@
46 46 </a>
47 47 </li>
48 48 <li>
49   - <a href="javascript:" class="tool-action">
  49 + <a href="javascript:" class="tool-action" ng-click="ctrl.exportData()">
50 50 <i class="fa fa-file-excel-o"></i>
51 51 导出excel
52 52 </a>
53 53 </li>
54   - <li class="divider"></li>
55   - <li>
56   - <a href="javascript:" class="tool-action">
57   - <i class="fa fa-download"></i>
58   - excel模版
59   - </a>
60   - </li>
  54 + <!--<li class="divider"></li>-->
  55 + <!--<li>-->
  56 + <!--<a href="javascript:" class="tool-action">-->
  57 + <!--<i class="fa fa-download"></i>-->
  58 + <!--excel模版-->
  59 + <!--</a>-->
  60 + <!--</li>-->
61 61 </ul>
62 62 </div>
63 63 </div>
... ...
src/main/resources/static/pages/scheduleApp/module/common/prj-common-globalservice.js
... ... @@ -152,6 +152,22 @@ angular.module(&#39;ScheduleApp&#39;).factory(&#39;EmployeeInfoManageService_g&#39;, [&#39;$resource
152 152 method: 'GET'
153 153 }
154 154 }
  155 + ),
  156 + dataTools: $resource(
  157 + '/personnel/:type',
  158 + {},
  159 + {
  160 + dataExport: {
  161 + method: 'GET',
  162 + responseType: "arraybuffer",
  163 + params: {
  164 + type: "dataExport"
  165 + },
  166 + transformResponse: function(data, headers){
  167 + return {data : data};
  168 + }
  169 + }
  170 + }
155 171 )
156 172 };
157 173 }]);
... ...