Commit df17e444476ee49eba4d97740a4197d51dce990a
1 parent
9d1934fb
employee import change
Showing
12 changed files
with
2038 additions
and
1238 deletions
src/main/java/com/bsth/entity/Personnel.java
| ... | ... | @@ -44,7 +44,7 @@ public class Personnel extends BEntity { |
| 44 | 44 | @Formula(" concat(company_code, '_', branche_company_code) ") |
| 45 | 45 | private String cgsbm; |
| 46 | 46 | |
| 47 | - /** 工号 */ | |
| 47 | + /** 工号(员工编号带公司编码前缀) */ | |
| 48 | 48 | @Column(nullable = false) |
| 49 | 49 | private String jobCode; |
| 50 | 50 | /** 姓名 */ |
| ... | ... | @@ -59,10 +59,17 @@ public class Personnel extends BEntity { |
| 59 | 59 | private String personnelType; |
| 60 | 60 | /** 所属岗位/工种(字典类型gzType) */ |
| 61 | 61 | private String posts; |
| 62 | - | |
| 62 | + | |
| 63 | + /** 工号 */ | |
| 64 | + @Column(nullable = false) | |
| 65 | + private String jobCodeori; | |
| 63 | 66 | /** 身份证 */ |
| 64 | 67 | private String card; |
| 65 | 68 | |
| 69 | + | |
| 70 | + /** 备注 */ | |
| 71 | + private String remark; | |
| 72 | + | |
| 66 | 73 | public Personnel() {} |
| 67 | 74 | |
| 68 | 75 | public Personnel(Object id, Object companyCode, Object gh) { |
| ... | ... | @@ -231,4 +238,20 @@ public class Personnel extends BEntity { |
| 231 | 238 | public void setCgsbm(String cgsbm) { |
| 232 | 239 | this.cgsbm = cgsbm; |
| 233 | 240 | } |
| 241 | + | |
| 242 | + public String getJobCodeori() { | |
| 243 | + return jobCodeori; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public void setJobCodeori(String jobCodeori) { | |
| 247 | + this.jobCodeori = jobCodeori; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public String getRemark() { | |
| 251 | + return remark; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public void setRemark(String remark) { | |
| 255 | + this.remark = remark; | |
| 256 | + } | |
| 234 | 257 | } | ... | ... |
src/main/java/com/bsth/service/schedule/datatools/EmployeeDataToolsImpl.java
| ... | ... | @@ -121,6 +121,8 @@ public class EmployeeDataToolsImpl implements DataToolsService { |
| 121 | 121 | ktrParms.put("transpath", ktrFile.getAbsolutePath()); |
| 122 | 122 | ktrParms.put("filename", "人员基础信息_download-"); |
| 123 | 123 | |
| 124 | + ktrParms.putAll(params); | |
| 125 | + | |
| 124 | 126 | DataToolsFile file = dataToolsService.exportData(ktrParms); |
| 125 | 127 | |
| 126 | 128 | LOGGER.info("//---------------- 导出人员基础信息 success... ----------------//"); | ... | ... |
src/main/resources/datatools/ktrs/employeesDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>人员信息导入</name> | |
| 5 | - <description>人员基础信息导入</description> | |
| 6 | - <extended_description>人员基础信息</extended_description> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>erroroutputdir</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>ktr step配置的错误输出目录</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value/> | |
| 20 | - <description>待处理导入的excel文件</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/06/29 10:18:56.974</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2016/06/29 10:18:56.974</modified_date> | |
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | - <is_key_private>N</is_key_private> | |
| 85 | - </info> | |
| 86 | - <notepads> | |
| 87 | - </notepads> | |
| 88 | - <connection> | |
| 89 | - <name>192.168.168.1_jwgl_dw</name> | |
| 90 | - <server>192.168.168.1</server> | |
| 91 | - <type>ORACLE</type> | |
| 92 | - <access>Native</access> | |
| 93 | - <database>orcl</database> | |
| 94 | - <port>1521</port> | |
| 95 | - <username>jwgl_dw</username> | |
| 96 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | - <servername/> | |
| 98 | - <data_tablespace/> | |
| 99 | - <index_tablespace/> | |
| 100 | - <attributes> | |
| 101 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | - </attributes> | |
| 111 | - </connection> | |
| 112 | - <connection> | |
| 113 | - <name>bus_control_variable</name> | |
| 114 | - <server>${v_db_ip}</server> | |
| 115 | - <type>MYSQL</type> | |
| 116 | - <access>Native</access> | |
| 117 | - <database>${v_db_dname}</database> | |
| 118 | - <port>3306</port> | |
| 119 | - <username>${v_db_uname}</username> | |
| 120 | - <password>${v_db_pwd}</password> | |
| 121 | - <servername/> | |
| 122 | - <data_tablespace/> | |
| 123 | - <index_tablespace/> | |
| 124 | - <attributes> | |
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | - </attributes> | |
| 139 | - </connection> | |
| 140 | - <connection> | |
| 141 | - <name>bus_control_公司_201</name> | |
| 142 | - <server>localhost</server> | |
| 143 | - <type>MYSQL</type> | |
| 144 | - <access>Native</access> | |
| 145 | - <database>control</database> | |
| 146 | - <port>3306</port> | |
| 147 | - <username>root</username> | |
| 148 | - <password>Encrypted </password> | |
| 149 | - <servername/> | |
| 150 | - <data_tablespace/> | |
| 151 | - <index_tablespace/> | |
| 152 | - <attributes> | |
| 153 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | - </attributes> | |
| 166 | - </connection> | |
| 167 | - <connection> | |
| 168 | - <name>bus_control_本机</name> | |
| 169 | - <server>localhost</server> | |
| 170 | - <type>MYSQL</type> | |
| 171 | - <access>Native</access> | |
| 172 | - <database>control</database> | |
| 173 | - <port>3306</port> | |
| 174 | - <username>root</username> | |
| 175 | - <password>Encrypted </password> | |
| 176 | - <servername/> | |
| 177 | - <data_tablespace/> | |
| 178 | - <index_tablespace/> | |
| 179 | - <attributes> | |
| 180 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | - </attributes> | |
| 193 | - </connection> | |
| 194 | - <connection> | |
| 195 | - <name>xlab_mysql_youle</name> | |
| 196 | - <server>101.231.124.8</server> | |
| 197 | - <type>MYSQL</type> | |
| 198 | - <access>Native</access> | |
| 199 | - <database>xlab_youle</database> | |
| 200 | - <port>45687</port> | |
| 201 | - <username>xlab-youle</username> | |
| 202 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | - <servername/> | |
| 204 | - <data_tablespace/> | |
| 205 | - <index_tablespace/> | |
| 206 | - <attributes> | |
| 207 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | - </attributes> | |
| 220 | - </connection> | |
| 221 | - <connection> | |
| 222 | - <name>xlab_mysql_youle(本机)</name> | |
| 223 | - <server>localhost</server> | |
| 224 | - <type>MYSQL</type> | |
| 225 | - <access>Native</access> | |
| 226 | - <database>xlab_youle</database> | |
| 227 | - <port>3306</port> | |
| 228 | - <username>root</username> | |
| 229 | - <password>Encrypted </password> | |
| 230 | - <servername/> | |
| 231 | - <data_tablespace/> | |
| 232 | - <index_tablespace/> | |
| 233 | - <attributes> | |
| 234 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | - </attributes> | |
| 247 | - </connection> | |
| 248 | - <connection> | |
| 249 | - <name>xlab_youle</name> | |
| 250 | - <server/> | |
| 251 | - <type>MYSQL</type> | |
| 252 | - <access>JNDI</access> | |
| 253 | - <database>xlab_youle</database> | |
| 254 | - <port>1521</port> | |
| 255 | - <username/> | |
| 256 | - <password>Encrypted </password> | |
| 257 | - <servername/> | |
| 258 | - <data_tablespace/> | |
| 259 | - <index_tablespace/> | |
| 260 | - <attributes> | |
| 261 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | - </attributes> | |
| 272 | - </connection> | |
| 273 | - <order> | |
| 274 | - <hop> <from>插入/更新bsth_c_personnel</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>原始系统导出的Excel输入</from><to>过滤记录</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>过滤记录</from><to>JavaScript代码</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>JavaScript代码</from><to>插入/更新bsth_c_personnel</to><enabled>Y</enabled> </hop> | |
| 279 | - </order> | |
| 280 | - <step> | |
| 281 | - <name>JavaScript代码</name> | |
| 282 | - <type>ScriptValueMod</type> | |
| 283 | - <description/> | |
| 284 | - <distribute>Y</distribute> | |
| 285 | - <custom_distribution/> | |
| 286 | - <copies>1</copies> | |
| 287 | - <partitioning> | |
| 288 | - <method>none</method> | |
| 289 | - <schema_name/> | |
| 290 | - </partitioning> | |
| 291 | - <compatible>N</compatible> | |
| 292 | - <optimizationLevel>9</optimizationLevel> | |
| 293 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 294 | - <jsScript_name>Script 1</jsScript_name> | |
| 295 | - <jsScript_script>//Script here

var gh_calcu = 工号;

if (工号.indexOf(所属公司代码 + "-") < 0) {
 gh_calcu = 所属公司代码 + "-" + 工号;
} </jsScript_script> | |
| 296 | - </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name> | |
| 297 | - <rename>gh_calcu</rename> | |
| 298 | - <type>String</type> | |
| 299 | - <length>-1</length> | |
| 300 | - <precision>-1</precision> | |
| 301 | - <replace>N</replace> | |
| 302 | - </field> </fields> <cluster_schema/> | |
| 303 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 304 | - <xloc>362</xloc> | |
| 305 | - <yloc>190</yloc> | |
| 306 | - <draw>Y</draw> | |
| 307 | - </GUI> | |
| 308 | - </step> | |
| 309 | - | |
| 310 | - <step> | |
| 311 | - <name>原始系统导出的Excel输入</name> | |
| 312 | - <type>ExcelInput</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 | - <header>Y</header> | |
| 322 | - <noempty>Y</noempty> | |
| 323 | - <stoponempty>N</stoponempty> | |
| 324 | - <filefield/> | |
| 325 | - <sheetfield/> | |
| 326 | - <sheetrownumfield/> | |
| 327 | - <rownumfield/> | |
| 328 | - <sheetfield/> | |
| 329 | - <filefield/> | |
| 330 | - <limit>0</limit> | |
| 331 | - <encoding/> | |
| 332 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 333 | - <accept_filenames>Y</accept_filenames> | |
| 334 | - <accept_field>filepath_</accept_field> | |
| 335 | - <accept_stepname>获取变量</accept_stepname> | |
| 336 | - <file> | |
| 337 | - <name/> | |
| 338 | - <filemask/> | |
| 339 | - <exclude_filemask/> | |
| 340 | - <file_required>N</file_required> | |
| 341 | - <include_subfolders>N</include_subfolders> | |
| 342 | - </file> | |
| 343 | - <fields> | |
| 344 | - <field> | |
| 345 | - <name>姓名</name> | |
| 346 | - <type>String</type> | |
| 347 | - <length>-1</length> | |
| 348 | - <precision>-1</precision> | |
| 349 | - <trim_type>none</trim_type> | |
| 350 | - <repeat>N</repeat> | |
| 351 | - <format/> | |
| 352 | - <currency/> | |
| 353 | - <decimal/> | |
| 354 | - <group/> | |
| 355 | - </field> | |
| 356 | - <field> | |
| 357 | - <name>工号</name> | |
| 358 | - <type>String</type> | |
| 359 | - <length>-1</length> | |
| 360 | - <precision>-1</precision> | |
| 361 | - <trim_type>none</trim_type> | |
| 362 | - <repeat>N</repeat> | |
| 363 | - <format>#</format> | |
| 364 | - <currency/> | |
| 365 | - <decimal/> | |
| 366 | - <group/> | |
| 367 | - </field> | |
| 368 | - <field> | |
| 369 | - <name>所属公司</name> | |
| 370 | - <type>String</type> | |
| 371 | - <length>-1</length> | |
| 372 | - <precision>-1</precision> | |
| 373 | - <trim_type>none</trim_type> | |
| 374 | - <repeat>N</repeat> | |
| 375 | - <format/> | |
| 376 | - <currency/> | |
| 377 | - <decimal/> | |
| 378 | - <group/> | |
| 379 | - </field> | |
| 380 | - <field> | |
| 381 | - <name>所属公司代码</name> | |
| 382 | - <type>String</type> | |
| 383 | - <length>-1</length> | |
| 384 | - <precision>-1</precision> | |
| 385 | - <trim_type>none</trim_type> | |
| 386 | - <repeat>N</repeat> | |
| 387 | - <format/> | |
| 388 | - <currency/> | |
| 389 | - <decimal/> | |
| 390 | - <group/> | |
| 391 | - </field> | |
| 392 | - <field> | |
| 393 | - <name>所属分公司</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>所属分公司代码</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 | - </fields> | |
| 417 | - <sheets> | |
| 418 | - <sheet> | |
| 419 | - <name>工作表1</name> | |
| 420 | - <startrow>0</startrow> | |
| 421 | - <startcol>0</startcol> | |
| 422 | - </sheet> | |
| 423 | - </sheets> | |
| 424 | - <strict_types>N</strict_types> | |
| 425 | - <error_ignored>N</error_ignored> | |
| 426 | - <error_line_skipped>N</error_line_skipped> | |
| 427 | - <bad_line_files_destination_directory/> | |
| 428 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 429 | - <error_line_files_destination_directory/> | |
| 430 | - <error_line_files_extension>error</error_line_files_extension> | |
| 431 | - <line_number_files_destination_directory/> | |
| 432 | - <line_number_files_extension>line</line_number_files_extension> | |
| 433 | - <shortFileFieldName/> | |
| 434 | - <pathFieldName/> | |
| 435 | - <hiddenFieldName/> | |
| 436 | - <lastModificationTimeFieldName/> | |
| 437 | - <uriNameFieldName/> | |
| 438 | - <rootUriNameFieldName/> | |
| 439 | - <extensionFieldName/> | |
| 440 | - <sizeFieldName/> | |
| 441 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 442 | - <cluster_schema/> | |
| 443 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 444 | - <xloc>158</xloc> | |
| 445 | - <yloc>57</yloc> | |
| 446 | - <draw>Y</draw> | |
| 447 | - </GUI> | |
| 448 | - </step> | |
| 449 | - | |
| 450 | - <step> | |
| 451 | - <name>插入/更新bsth_c_personnel</name> | |
| 452 | - <type>InsertUpdate</type> | |
| 453 | - <description/> | |
| 454 | - <distribute>Y</distribute> | |
| 455 | - <custom_distribution/> | |
| 456 | - <copies>1</copies> | |
| 457 | - <partitioning> | |
| 458 | - <method>none</method> | |
| 459 | - <schema_name/> | |
| 460 | - </partitioning> | |
| 461 | - <connection>bus_control_variable</connection> | |
| 462 | - <commit>5000</commit> | |
| 463 | - <update_bypassed>N</update_bypassed> | |
| 464 | - <lookup> | |
| 465 | - <schema/> | |
| 466 | - <table>bsth_c_personnel</table> | |
| 467 | - <key> | |
| 468 | - <name>gh_calcu</name> | |
| 469 | - <field>job_code</field> | |
| 470 | - <condition>=</condition> | |
| 471 | - <name2/> | |
| 472 | - </key> | |
| 473 | - <value> | |
| 474 | - <name>personnel_name</name> | |
| 475 | - <rename>姓名</rename> | |
| 476 | - <update>Y</update> | |
| 477 | - </value> | |
| 478 | - <value> | |
| 479 | - <name>company</name> | |
| 480 | - <rename>所属公司</rename> | |
| 481 | - <update>Y</update> | |
| 482 | - </value> | |
| 483 | - <value> | |
| 484 | - <name>company_code</name> | |
| 485 | - <rename>所属公司代码</rename> | |
| 486 | - <update>Y</update> | |
| 487 | - </value> | |
| 488 | - <value> | |
| 489 | - <name>branche_company</name> | |
| 490 | - <rename>所属分公司</rename> | |
| 491 | - <update>Y</update> | |
| 492 | - </value> | |
| 493 | - <value> | |
| 494 | - <name>branche_company_code</name> | |
| 495 | - <rename>所属分公司代码</rename> | |
| 496 | - <update>Y</update> | |
| 497 | - </value> | |
| 498 | - <value> | |
| 499 | - <name>job_code</name> | |
| 500 | - <rename>gh_calcu</rename> | |
| 501 | - <update>Y</update> | |
| 502 | - </value> | |
| 503 | - </lookup> | |
| 504 | - <cluster_schema/> | |
| 505 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 506 | - <xloc>576</xloc> | |
| 507 | - <yloc>56</yloc> | |
| 508 | - <draw>Y</draw> | |
| 509 | - </GUI> | |
| 510 | - </step> | |
| 511 | - | |
| 512 | - <step> | |
| 513 | - <name>获取变量</name> | |
| 514 | - <type>GetVariable</type> | |
| 515 | - <description/> | |
| 516 | - <distribute>Y</distribute> | |
| 517 | - <custom_distribution/> | |
| 518 | - <copies>1</copies> | |
| 519 | - <partitioning> | |
| 520 | - <method>none</method> | |
| 521 | - <schema_name/> | |
| 522 | - </partitioning> | |
| 523 | - <fields> | |
| 524 | - <field> | |
| 525 | - <name>filepath_</name> | |
| 526 | - <variable>${filepath}</variable> | |
| 527 | - <type>String</type> | |
| 528 | - <format/> | |
| 529 | - <currency/> | |
| 530 | - <decimal/> | |
| 531 | - <group/> | |
| 532 | - <length>-1</length> | |
| 533 | - <precision>-1</precision> | |
| 534 | - <trim_type>none</trim_type> | |
| 535 | - </field> | |
| 536 | - <field> | |
| 537 | - <name>erroroutputdir_</name> | |
| 538 | - <variable>${erroroutputdir}</variable> | |
| 539 | - <type>String</type> | |
| 540 | - <format/> | |
| 541 | - <currency/> | |
| 542 | - <decimal/> | |
| 543 | - <group/> | |
| 544 | - <length>-1</length> | |
| 545 | - <precision>-1</precision> | |
| 546 | - <trim_type>none</trim_type> | |
| 547 | - </field> | |
| 548 | - </fields> | |
| 549 | - <cluster_schema/> | |
| 550 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 551 | - <xloc>90</xloc> | |
| 552 | - <yloc>148</yloc> | |
| 553 | - <draw>Y</draw> | |
| 554 | - </GUI> | |
| 555 | - </step> | |
| 556 | - | |
| 557 | - <step> | |
| 558 | - <name>过滤记录</name> | |
| 559 | - <type>FilterRows</type> | |
| 560 | - <description/> | |
| 561 | - <distribute>Y</distribute> | |
| 562 | - <custom_distribution/> | |
| 563 | - <copies>1</copies> | |
| 564 | - <partitioning> | |
| 565 | - <method>none</method> | |
| 566 | - <schema_name/> | |
| 567 | - </partitioning> | |
| 568 | -<send_true_to/> | |
| 569 | -<send_false_to/> | |
| 570 | - <compare> | |
| 571 | -<condition> | |
| 572 | - <negated>N</negated> | |
| 573 | - <conditions> | |
| 574 | - <condition> | |
| 575 | - <negated>N</negated> | |
| 576 | - <leftvalue>工号</leftvalue> | |
| 577 | - <function>IS NOT NULL</function> | |
| 578 | - <rightvalue/> | |
| 579 | - </condition> | |
| 580 | - <condition> | |
| 581 | - <negated>N</negated> | |
| 582 | - <operator>AND</operator> | |
| 583 | - <leftvalue>所属公司代码</leftvalue> | |
| 584 | - <function>IS NOT NULL</function> | |
| 585 | - <rightvalue/> | |
| 586 | - </condition> | |
| 587 | - </conditions> | |
| 588 | - </condition> | |
| 589 | - </compare> | |
| 590 | - <cluster_schema/> | |
| 591 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 592 | - <xloc>358</xloc> | |
| 593 | - <yloc>57</yloc> | |
| 594 | - <draw>Y</draw> | |
| 595 | - </GUI> | |
| 596 | - </step> | |
| 597 | - | |
| 598 | - <step> | |
| 599 | - <name>错误输出</name> | |
| 600 | - <type>ExcelOutput</type> | |
| 601 | - <description/> | |
| 602 | - <distribute>Y</distribute> | |
| 603 | - <custom_distribution/> | |
| 604 | - <copies>1</copies> | |
| 605 | - <partitioning> | |
| 606 | - <method>none</method> | |
| 607 | - <schema_name/> | |
| 608 | - </partitioning> | |
| 609 | - <header>Y</header> | |
| 610 | - <footer>N</footer> | |
| 611 | - <encoding>UTF-8</encoding> | |
| 612 | - <append>N</append> | |
| 613 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 614 | - <file> | |
| 615 | - <name>${erroroutputdir}/人员基础信息_错误</name> | |
| 616 | - <extention>xls</extention> | |
| 617 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 618 | - <create_parent_folder>N</create_parent_folder> | |
| 619 | - <split>N</split> | |
| 620 | - <add_date>N</add_date> | |
| 621 | - <add_time>N</add_time> | |
| 622 | - <SpecifyFormat>N</SpecifyFormat> | |
| 623 | - <date_time_format/> | |
| 624 | - <sheetname>Sheet1</sheetname> | |
| 625 | - <autosizecolums>N</autosizecolums> | |
| 626 | - <nullisblank>N</nullisblank> | |
| 627 | - <protect_sheet>N</protect_sheet> | |
| 628 | - <password>Encrypted </password> | |
| 629 | - <splitevery>0</splitevery> | |
| 630 | - <usetempfiles>N</usetempfiles> | |
| 631 | - <tempdirectory/> | |
| 632 | - </file> | |
| 633 | - <template> | |
| 634 | - <enabled>N</enabled> | |
| 635 | - <append>N</append> | |
| 636 | - <filename>template.xls</filename> | |
| 637 | - </template> | |
| 638 | - <fields> | |
| 639 | - <field> | |
| 640 | - <name>姓名</name> | |
| 641 | - <type>String</type> | |
| 642 | - <format/> | |
| 643 | - </field> | |
| 644 | - <field> | |
| 645 | - <name>工号</name> | |
| 646 | - <type>String</type> | |
| 647 | - <format/> | |
| 648 | - </field> | |
| 649 | - <field> | |
| 650 | - <name>所属公司</name> | |
| 651 | - <type>String</type> | |
| 652 | - <format/> | |
| 653 | - </field> | |
| 654 | - <field> | |
| 655 | - <name>所属公司代码</name> | |
| 656 | - <type>String</type> | |
| 657 | - <format/> | |
| 658 | - </field> | |
| 659 | - <field> | |
| 660 | - <name>所属分公司</name> | |
| 661 | - <type>String</type> | |
| 662 | - <format/> | |
| 663 | - </field> | |
| 664 | - <field> | |
| 665 | - <name>所属分公司代码</name> | |
| 666 | - <type>String</type> | |
| 667 | - <format/> | |
| 668 | - </field> | |
| 669 | - <field> | |
| 670 | - <name>gh_calcu</name> | |
| 671 | - <type>String</type> | |
| 672 | - <format/> | |
| 673 | - </field> | |
| 674 | - <field> | |
| 675 | - <name>error_count</name> | |
| 676 | - <type>Integer</type> | |
| 677 | - <format/> | |
| 678 | - </field> | |
| 679 | - <field> | |
| 680 | - <name>error_desc</name> | |
| 681 | - <type>String</type> | |
| 682 | - <format/> | |
| 683 | - </field> | |
| 684 | - <field> | |
| 685 | - <name>error_column1</name> | |
| 686 | - <type>String</type> | |
| 687 | - <format/> | |
| 688 | - </field> | |
| 689 | - <field> | |
| 690 | - <name>error_column2</name> | |
| 691 | - <type>String</type> | |
| 692 | - <format/> | |
| 693 | - </field> | |
| 694 | - </fields> | |
| 695 | - <custom> | |
| 696 | - <header_font_name>arial</header_font_name> | |
| 697 | - <header_font_size>10</header_font_size> | |
| 698 | - <header_font_bold>N</header_font_bold> | |
| 699 | - <header_font_italic>N</header_font_italic> | |
| 700 | - <header_font_underline>no</header_font_underline> | |
| 701 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 702 | - <header_font_color>black</header_font_color> | |
| 703 | - <header_background_color>none</header_background_color> | |
| 704 | - <header_row_height>255</header_row_height> | |
| 705 | - <header_alignment>left</header_alignment> | |
| 706 | - <header_image/> | |
| 707 | - <row_font_name>arial</row_font_name> | |
| 708 | - <row_font_size>10</row_font_size> | |
| 709 | - <row_font_color>black</row_font_color> | |
| 710 | - <row_background_color>none</row_background_color> | |
| 711 | - </custom> | |
| 712 | - <cluster_schema/> | |
| 713 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 714 | - <xloc>578</xloc> | |
| 715 | - <yloc>223</yloc> | |
| 716 | - <draw>Y</draw> | |
| 717 | - </GUI> | |
| 718 | - </step> | |
| 719 | - | |
| 720 | - <step_error_handling> | |
| 721 | - <error> | |
| 722 | - <source_step>插入/更新bsth_c_personnel</source_step> | |
| 723 | - <target_step>错误输出</target_step> | |
| 724 | - <is_enabled>Y</is_enabled> | |
| 725 | - <nr_valuename>error_count</nr_valuename> | |
| 726 | - <descriptions_valuename>error_desc</descriptions_valuename> | |
| 727 | - <fields_valuename>error_column1</fields_valuename> | |
| 728 | - <codes_valuename>error_column2</codes_valuename> | |
| 729 | - <max_errors/> | |
| 730 | - <max_pct_errors/> | |
| 731 | - <min_pct_rows/> | |
| 732 | - </error> | |
| 733 | - </step_error_handling> | |
| 734 | - <slave-step-copy-partition-distribution> | |
| 735 | -</slave-step-copy-partition-distribution> | |
| 736 | - <slave_transformation>N</slave_transformation> | |
| 737 | - | |
| 738 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>人员信息导入</name> | |
| 5 | + <description>人员基础信息导入</description> | |
| 6 | + <extended_description>人员基础信息</extended_description> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>erroroutputdir</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>ktr step配置的错误输出目录</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>待处理导入的excel文件</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/06/29 10:18:56.974</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/06/29 10:18:56.974</modified_date> | |
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | + <is_key_private>N</is_key_private> | |
| 85 | + </info> | |
| 86 | + <notepads> | |
| 87 | + </notepads> | |
| 88 | + <connection> | |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 113 | + <name>bus_control_variable</name> | |
| 114 | + <server>${v_db_ip}</server> | |
| 115 | + <type>MYSQL</type> | |
| 116 | + <access>Native</access> | |
| 117 | + <database>${v_db_dname}</database> | |
| 118 | + <port>3306</port> | |
| 119 | + <username>${v_db_uname}</username> | |
| 120 | + <password>${v_db_pwd}</password> | |
| 121 | + <servername/> | |
| 122 | + <data_tablespace/> | |
| 123 | + <index_tablespace/> | |
| 124 | + <attributes> | |
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | + </attributes> | |
| 139 | + </connection> | |
| 140 | + <connection> | |
| 141 | + <name>bus_control_公司_201</name> | |
| 142 | + <server>localhost</server> | |
| 143 | + <type>MYSQL</type> | |
| 144 | + <access>Native</access> | |
| 145 | + <database>control</database> | |
| 146 | + <port>3306</port> | |
| 147 | + <username>root</username> | |
| 148 | + <password>Encrypted </password> | |
| 149 | + <servername/> | |
| 150 | + <data_tablespace/> | |
| 151 | + <index_tablespace/> | |
| 152 | + <attributes> | |
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | + </attributes> | |
| 166 | + </connection> | |
| 167 | + <connection> | |
| 168 | + <name>bus_control_本机</name> | |
| 169 | + <server>localhost</server> | |
| 170 | + <type>MYSQL</type> | |
| 171 | + <access>Native</access> | |
| 172 | + <database>control</database> | |
| 173 | + <port>3306</port> | |
| 174 | + <username>root</username> | |
| 175 | + <password>Encrypted </password> | |
| 176 | + <servername/> | |
| 177 | + <data_tablespace/> | |
| 178 | + <index_tablespace/> | |
| 179 | + <attributes> | |
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | + </attributes> | |
| 193 | + </connection> | |
| 194 | + <connection> | |
| 195 | + <name>xlab_mysql_youle</name> | |
| 196 | + <server>101.231.124.8</server> | |
| 197 | + <type>MYSQL</type> | |
| 198 | + <access>Native</access> | |
| 199 | + <database>xlab_youle</database> | |
| 200 | + <port>45687</port> | |
| 201 | + <username>xlab-youle</username> | |
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | + <servername/> | |
| 204 | + <data_tablespace/> | |
| 205 | + <index_tablespace/> | |
| 206 | + <attributes> | |
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | + </attributes> | |
| 220 | + </connection> | |
| 221 | + <connection> | |
| 222 | + <name>xlab_mysql_youle(本机)</name> | |
| 223 | + <server>localhost</server> | |
| 224 | + <type>MYSQL</type> | |
| 225 | + <access>Native</access> | |
| 226 | + <database>xlab_youle</database> | |
| 227 | + <port>3306</port> | |
| 228 | + <username>root</username> | |
| 229 | + <password>Encrypted </password> | |
| 230 | + <servername/> | |
| 231 | + <data_tablespace/> | |
| 232 | + <index_tablespace/> | |
| 233 | + <attributes> | |
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | + </attributes> | |
| 247 | + </connection> | |
| 248 | + <connection> | |
| 249 | + <name>xlab_youle</name> | |
| 250 | + <server/> | |
| 251 | + <type>MYSQL</type> | |
| 252 | + <access>JNDI</access> | |
| 253 | + <database>xlab_youle</database> | |
| 254 | + <port>1521</port> | |
| 255 | + <username/> | |
| 256 | + <password>Encrypted </password> | |
| 257 | + <servername/> | |
| 258 | + <data_tablespace/> | |
| 259 | + <index_tablespace/> | |
| 260 | + <attributes> | |
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | + </attributes> | |
| 272 | + </connection> | |
| 273 | + <order> | |
| 274 | + <hop> <from>插入/更新bsth_c_personnel</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>原始系统导出的Excel输入</from><to>工号不为空</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>工号不为空</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>公司查询</from><to>公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 280 | + <hop> <from>公司代码不为空</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 281 | + <hop> <from>分公司查询</from><to>分公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 282 | + <hop> <from>分公司代码不为空</from><to>处理工号前缀</to><enabled>Y</enabled> </hop> | |
| 283 | + <hop> <from>处理工号前缀</from><to>岗位数据查询</to><enabled>Y</enabled> </hop> | |
| 284 | + <hop> <from>岗位数据查询</from><to>性别数据查询</to><enabled>Y</enabled> </hop> | |
| 285 | + <hop> <from>性别数据查询</from><to>插入/更新bsth_c_personnel</to><enabled>Y</enabled> </hop> | |
| 286 | + </order> | |
| 287 | + <step> | |
| 288 | + <name>处理工号前缀</name> | |
| 289 | + <type>ScriptValueMod</type> | |
| 290 | + <description/> | |
| 291 | + <distribute>Y</distribute> | |
| 292 | + <custom_distribution/> | |
| 293 | + <copies>1</copies> | |
| 294 | + <partitioning> | |
| 295 | + <method>none</method> | |
| 296 | + <schema_name/> | |
| 297 | + </partitioning> | |
| 298 | + <compatible>N</compatible> | |
| 299 | + <optimizationLevel>9</optimizationLevel> | |
| 300 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 301 | + <jsScript_name>Script 1</jsScript_name> | |
| 302 | + <jsScript_script>//Script here

var gh_calcu = 工号;

if (工号.indexOf(gs_code + "-") < 0) {
 gh_calcu = gs_code + "-" + 工号;
} </jsScript_script> | |
| 303 | + </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name> | |
| 304 | + <rename>gh_calcu</rename> | |
| 305 | + <type>String</type> | |
| 306 | + <length>-1</length> | |
| 307 | + <precision>-1</precision> | |
| 308 | + <replace>N</replace> | |
| 309 | + </field> </fields> <cluster_schema/> | |
| 310 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 311 | + <xloc>758</xloc> | |
| 312 | + <yloc>297</yloc> | |
| 313 | + <draw>Y</draw> | |
| 314 | + </GUI> | |
| 315 | + </step> | |
| 316 | + | |
| 317 | + <step> | |
| 318 | + <name>原始系统导出的Excel输入</name> | |
| 319 | + <type>ExcelInput</type> | |
| 320 | + <description/> | |
| 321 | + <distribute>Y</distribute> | |
| 322 | + <custom_distribution/> | |
| 323 | + <copies>1</copies> | |
| 324 | + <partitioning> | |
| 325 | + <method>none</method> | |
| 326 | + <schema_name/> | |
| 327 | + </partitioning> | |
| 328 | + <header>Y</header> | |
| 329 | + <noempty>Y</noempty> | |
| 330 | + <stoponempty>N</stoponempty> | |
| 331 | + <filefield/> | |
| 332 | + <sheetfield/> | |
| 333 | + <sheetrownumfield/> | |
| 334 | + <rownumfield/> | |
| 335 | + <sheetfield/> | |
| 336 | + <filefield/> | |
| 337 | + <limit>0</limit> | |
| 338 | + <encoding/> | |
| 339 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 340 | + <accept_filenames>Y</accept_filenames> | |
| 341 | + <accept_field>filepath_</accept_field> | |
| 342 | + <accept_stepname>获取变量</accept_stepname> | |
| 343 | + <file> | |
| 344 | + <name/> | |
| 345 | + <filemask/> | |
| 346 | + <exclude_filemask/> | |
| 347 | + <file_required>N</file_required> | |
| 348 | + <include_subfolders>N</include_subfolders> | |
| 349 | + </file> | |
| 350 | + <fields> | |
| 351 | + <field> | |
| 352 | + <name>姓名</name> | |
| 353 | + <type>String</type> | |
| 354 | + <length>-1</length> | |
| 355 | + <precision>-1</precision> | |
| 356 | + <trim_type>none</trim_type> | |
| 357 | + <repeat>N</repeat> | |
| 358 | + <format/> | |
| 359 | + <currency/> | |
| 360 | + <decimal/> | |
| 361 | + <group/> | |
| 362 | + </field> | |
| 363 | + <field> | |
| 364 | + <name>工号</name> | |
| 365 | + <type>String</type> | |
| 366 | + <length>-1</length> | |
| 367 | + <precision>-1</precision> | |
| 368 | + <trim_type>none</trim_type> | |
| 369 | + <repeat>N</repeat> | |
| 370 | + <format>#</format> | |
| 371 | + <currency/> | |
| 372 | + <decimal/> | |
| 373 | + <group/> | |
| 374 | + </field> | |
| 375 | + <field> | |
| 376 | + <name>性别</name> | |
| 377 | + <type>String</type> | |
| 378 | + <length>-1</length> | |
| 379 | + <precision>-1</precision> | |
| 380 | + <trim_type>none</trim_type> | |
| 381 | + <repeat>N</repeat> | |
| 382 | + <format/> | |
| 383 | + <currency/> | |
| 384 | + <decimal/> | |
| 385 | + <group/> | |
| 386 | + </field> | |
| 387 | + <field> | |
| 388 | + <name>所属公司</name> | |
| 389 | + <type>String</type> | |
| 390 | + <length>-1</length> | |
| 391 | + <precision>-1</precision> | |
| 392 | + <trim_type>none</trim_type> | |
| 393 | + <repeat>N</repeat> | |
| 394 | + <format/> | |
| 395 | + <currency/> | |
| 396 | + <decimal/> | |
| 397 | + <group/> | |
| 398 | + </field> | |
| 399 | + <field> | |
| 400 | + <name>所属分公司</name> | |
| 401 | + <type>String</type> | |
| 402 | + <length>-1</length> | |
| 403 | + <precision>-1</precision> | |
| 404 | + <trim_type>none</trim_type> | |
| 405 | + <repeat>N</repeat> | |
| 406 | + <format/> | |
| 407 | + <currency/> | |
| 408 | + <decimal/> | |
| 409 | + <group/> | |
| 410 | + </field> | |
| 411 | + <field> | |
| 412 | + <name>一卡通号</name> | |
| 413 | + <type>String</type> | |
| 414 | + <length>-1</length> | |
| 415 | + <precision>-1</precision> | |
| 416 | + <trim_type>none</trim_type> | |
| 417 | + <repeat>N</repeat> | |
| 418 | + <format>#</format> | |
| 419 | + <currency/> | |
| 420 | + <decimal/> | |
| 421 | + <group/> | |
| 422 | + </field> | |
| 423 | + <field> | |
| 424 | + <name>运营服务证号</name> | |
| 425 | + <type>String</type> | |
| 426 | + <length>-1</length> | |
| 427 | + <precision>-1</precision> | |
| 428 | + <trim_type>none</trim_type> | |
| 429 | + <repeat>N</repeat> | |
| 430 | + <format>#</format> | |
| 431 | + <currency/> | |
| 432 | + <decimal/> | |
| 433 | + <group/> | |
| 434 | + </field> | |
| 435 | + <field> | |
| 436 | + <name>岗位</name> | |
| 437 | + <type>String</type> | |
| 438 | + <length>-1</length> | |
| 439 | + <precision>-1</precision> | |
| 440 | + <trim_type>none</trim_type> | |
| 441 | + <repeat>N</repeat> | |
| 442 | + <format/> | |
| 443 | + <currency/> | |
| 444 | + <decimal/> | |
| 445 | + <group/> | |
| 446 | + </field> | |
| 447 | + <field> | |
| 448 | + <name>备注</name> | |
| 449 | + <type>String</type> | |
| 450 | + <length>-1</length> | |
| 451 | + <precision>-1</precision> | |
| 452 | + <trim_type>none</trim_type> | |
| 453 | + <repeat>N</repeat> | |
| 454 | + <format/> | |
| 455 | + <currency/> | |
| 456 | + <decimal/> | |
| 457 | + <group/> | |
| 458 | + </field> | |
| 459 | + </fields> | |
| 460 | + <sheets> | |
| 461 | + <sheet> | |
| 462 | + <name>工作表1</name> | |
| 463 | + <startrow>0</startrow> | |
| 464 | + <startcol>0</startcol> | |
| 465 | + </sheet> | |
| 466 | + </sheets> | |
| 467 | + <strict_types>N</strict_types> | |
| 468 | + <error_ignored>N</error_ignored> | |
| 469 | + <error_line_skipped>N</error_line_skipped> | |
| 470 | + <bad_line_files_destination_directory/> | |
| 471 | + <bad_line_files_extension>warning</bad_line_files_extension> | |
| 472 | + <error_line_files_destination_directory/> | |
| 473 | + <error_line_files_extension>error</error_line_files_extension> | |
| 474 | + <line_number_files_destination_directory/> | |
| 475 | + <line_number_files_extension>line</line_number_files_extension> | |
| 476 | + <shortFileFieldName/> | |
| 477 | + <pathFieldName/> | |
| 478 | + <hiddenFieldName/> | |
| 479 | + <lastModificationTimeFieldName/> | |
| 480 | + <uriNameFieldName/> | |
| 481 | + <rootUriNameFieldName/> | |
| 482 | + <extensionFieldName/> | |
| 483 | + <sizeFieldName/> | |
| 484 | + <spreadsheet_type>JXL</spreadsheet_type> | |
| 485 | + <cluster_schema/> | |
| 486 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 487 | + <xloc>236</xloc> | |
| 488 | + <yloc>83</yloc> | |
| 489 | + <draw>Y</draw> | |
| 490 | + </GUI> | |
| 491 | + </step> | |
| 492 | + | |
| 493 | + <step> | |
| 494 | + <name>插入/更新bsth_c_personnel</name> | |
| 495 | + <type>InsertUpdate</type> | |
| 496 | + <description/> | |
| 497 | + <distribute>Y</distribute> | |
| 498 | + <custom_distribution/> | |
| 499 | + <copies>1</copies> | |
| 500 | + <partitioning> | |
| 501 | + <method>none</method> | |
| 502 | + <schema_name/> | |
| 503 | + </partitioning> | |
| 504 | + <connection>bus_control_variable</connection> | |
| 505 | + <commit>500</commit> | |
| 506 | + <update_bypassed>N</update_bypassed> | |
| 507 | + <lookup> | |
| 508 | + <schema/> | |
| 509 | + <table>bsth_c_personnel</table> | |
| 510 | + <key> | |
| 511 | + <name>gh_calcu</name> | |
| 512 | + <field>job_code</field> | |
| 513 | + <condition>=</condition> | |
| 514 | + <name2/> | |
| 515 | + </key> | |
| 516 | + <value> | |
| 517 | + <name>company</name> | |
| 518 | + <rename>所属公司</rename> | |
| 519 | + <update>Y</update> | |
| 520 | + </value> | |
| 521 | + <value> | |
| 522 | + <name>company_code</name> | |
| 523 | + <rename>gs_code</rename> | |
| 524 | + <update>Y</update> | |
| 525 | + </value> | |
| 526 | + <value> | |
| 527 | + <name>branche_company</name> | |
| 528 | + <rename>所属分公司</rename> | |
| 529 | + <update>Y</update> | |
| 530 | + </value> | |
| 531 | + <value> | |
| 532 | + <name>branche_company_code</name> | |
| 533 | + <rename>fgs_code</rename> | |
| 534 | + <update>Y</update> | |
| 535 | + </value> | |
| 536 | + <value> | |
| 537 | + <name>ic_card_code</name> | |
| 538 | + <rename>一卡通号</rename> | |
| 539 | + <update>Y</update> | |
| 540 | + </value> | |
| 541 | + <value> | |
| 542 | + <name>papers_code</name> | |
| 543 | + <rename>运营服务证号</rename> | |
| 544 | + <update>Y</update> | |
| 545 | + </value> | |
| 546 | + <value> | |
| 547 | + <name>job_code</name> | |
| 548 | + <rename>gh_calcu</rename> | |
| 549 | + <update>Y</update> | |
| 550 | + </value> | |
| 551 | + <value> | |
| 552 | + <name>job_codeori</name> | |
| 553 | + <rename>工号</rename> | |
| 554 | + <update>Y</update> | |
| 555 | + </value> | |
| 556 | + <value> | |
| 557 | + <name>personnel_name</name> | |
| 558 | + <rename>姓名</rename> | |
| 559 | + <update>Y</update> | |
| 560 | + </value> | |
| 561 | + <value> | |
| 562 | + <name>personnel_type</name> | |
| 563 | + <rename>sex</rename> | |
| 564 | + <update>Y</update> | |
| 565 | + </value> | |
| 566 | + <value> | |
| 567 | + <name>posts</name> | |
| 568 | + <rename>posts</rename> | |
| 569 | + <update>Y</update> | |
| 570 | + </value> | |
| 571 | + <value> | |
| 572 | + <name>remark</name> | |
| 573 | + <rename>备注</rename> | |
| 574 | + <update>Y</update> | |
| 575 | + </value> | |
| 576 | + </lookup> | |
| 577 | + <cluster_schema/> | |
| 578 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 579 | + <xloc>240</xloc> | |
| 580 | + <yloc>297</yloc> | |
| 581 | + <draw>Y</draw> | |
| 582 | + </GUI> | |
| 583 | + </step> | |
| 584 | + | |
| 585 | + <step> | |
| 586 | + <name>获取变量</name> | |
| 587 | + <type>GetVariable</type> | |
| 588 | + <description/> | |
| 589 | + <distribute>Y</distribute> | |
| 590 | + <custom_distribution/> | |
| 591 | + <copies>1</copies> | |
| 592 | + <partitioning> | |
| 593 | + <method>none</method> | |
| 594 | + <schema_name/> | |
| 595 | + </partitioning> | |
| 596 | + <fields> | |
| 597 | + <field> | |
| 598 | + <name>filepath_</name> | |
| 599 | + <variable>${filepath}</variable> | |
| 600 | + <type>String</type> | |
| 601 | + <format/> | |
| 602 | + <currency/> | |
| 603 | + <decimal/> | |
| 604 | + <group/> | |
| 605 | + <length>-1</length> | |
| 606 | + <precision>-1</precision> | |
| 607 | + <trim_type>none</trim_type> | |
| 608 | + </field> | |
| 609 | + <field> | |
| 610 | + <name>erroroutputdir_</name> | |
| 611 | + <variable>${erroroutputdir}</variable> | |
| 612 | + <type>String</type> | |
| 613 | + <format/> | |
| 614 | + <currency/> | |
| 615 | + <decimal/> | |
| 616 | + <group/> | |
| 617 | + <length>-1</length> | |
| 618 | + <precision>-1</precision> | |
| 619 | + <trim_type>none</trim_type> | |
| 620 | + </field> | |
| 621 | + </fields> | |
| 622 | + <cluster_schema/> | |
| 623 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 624 | + <xloc>70</xloc> | |
| 625 | + <yloc>85</yloc> | |
| 626 | + <draw>Y</draw> | |
| 627 | + </GUI> | |
| 628 | + </step> | |
| 629 | + | |
| 630 | + <step> | |
| 631 | + <name>错误输出</name> | |
| 632 | + <type>ExcelOutput</type> | |
| 633 | + <description/> | |
| 634 | + <distribute>Y</distribute> | |
| 635 | + <custom_distribution/> | |
| 636 | + <copies>1</copies> | |
| 637 | + <partitioning> | |
| 638 | + <method>none</method> | |
| 639 | + <schema_name/> | |
| 640 | + </partitioning> | |
| 641 | + <header>Y</header> | |
| 642 | + <footer>N</footer> | |
| 643 | + <encoding>UTF-8</encoding> | |
| 644 | + <append>N</append> | |
| 645 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 646 | + <file> | |
| 647 | + <name>${erroroutputdir}/人员基础信息_错误</name> | |
| 648 | + <extention>xls</extention> | |
| 649 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 650 | + <create_parent_folder>N</create_parent_folder> | |
| 651 | + <split>N</split> | |
| 652 | + <add_date>N</add_date> | |
| 653 | + <add_time>N</add_time> | |
| 654 | + <SpecifyFormat>N</SpecifyFormat> | |
| 655 | + <date_time_format/> | |
| 656 | + <sheetname>Sheet1</sheetname> | |
| 657 | + <autosizecolums>N</autosizecolums> | |
| 658 | + <nullisblank>N</nullisblank> | |
| 659 | + <protect_sheet>N</protect_sheet> | |
| 660 | + <password>Encrypted </password> | |
| 661 | + <splitevery>0</splitevery> | |
| 662 | + <usetempfiles>N</usetempfiles> | |
| 663 | + <tempdirectory/> | |
| 664 | + </file> | |
| 665 | + <template> | |
| 666 | + <enabled>N</enabled> | |
| 667 | + <append>N</append> | |
| 668 | + <filename>template.xls</filename> | |
| 669 | + </template> | |
| 670 | + <fields> | |
| 671 | + <field> | |
| 672 | + <name>姓名</name> | |
| 673 | + <type>String</type> | |
| 674 | + <format/> | |
| 675 | + </field> | |
| 676 | + <field> | |
| 677 | + <name>工号</name> | |
| 678 | + <type>String</type> | |
| 679 | + <format/> | |
| 680 | + </field> | |
| 681 | + <field> | |
| 682 | + <name>所属公司</name> | |
| 683 | + <type>String</type> | |
| 684 | + <format/> | |
| 685 | + </field> | |
| 686 | + <field> | |
| 687 | + <name>gs_code</name> | |
| 688 | + <type>String</type> | |
| 689 | + <format/> | |
| 690 | + </field> | |
| 691 | + <field> | |
| 692 | + <name>所属分公司</name> | |
| 693 | + <type>String</type> | |
| 694 | + <format/> | |
| 695 | + </field> | |
| 696 | + <field> | |
| 697 | + <name>fgs_code</name> | |
| 698 | + <type>String</type> | |
| 699 | + <format/> | |
| 700 | + </field> | |
| 701 | + <field> | |
| 702 | + <name>gh_calcu</name> | |
| 703 | + <type>String</type> | |
| 704 | + <format/> | |
| 705 | + </field> | |
| 706 | + <field> | |
| 707 | + <name>error_count</name> | |
| 708 | + <type>Integer</type> | |
| 709 | + <format/> | |
| 710 | + </field> | |
| 711 | + <field> | |
| 712 | + <name>error_desc</name> | |
| 713 | + <type>String</type> | |
| 714 | + <format/> | |
| 715 | + </field> | |
| 716 | + <field> | |
| 717 | + <name>error_column1</name> | |
| 718 | + <type>String</type> | |
| 719 | + <format/> | |
| 720 | + </field> | |
| 721 | + <field> | |
| 722 | + <name>error_column2</name> | |
| 723 | + <type>String</type> | |
| 724 | + <format/> | |
| 725 | + </field> | |
| 726 | + </fields> | |
| 727 | + <custom> | |
| 728 | + <header_font_name>arial</header_font_name> | |
| 729 | + <header_font_size>10</header_font_size> | |
| 730 | + <header_font_bold>N</header_font_bold> | |
| 731 | + <header_font_italic>N</header_font_italic> | |
| 732 | + <header_font_underline>no</header_font_underline> | |
| 733 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 734 | + <header_font_color>black</header_font_color> | |
| 735 | + <header_background_color>none</header_background_color> | |
| 736 | + <header_row_height>255</header_row_height> | |
| 737 | + <header_alignment>left</header_alignment> | |
| 738 | + <header_image/> | |
| 739 | + <row_font_name>arial</row_font_name> | |
| 740 | + <row_font_size>10</row_font_size> | |
| 741 | + <row_font_color>black</row_font_color> | |
| 742 | + <row_background_color>none</row_background_color> | |
| 743 | + </custom> | |
| 744 | + <cluster_schema/> | |
| 745 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 746 | + <xloc>240</xloc> | |
| 747 | + <yloc>442</yloc> | |
| 748 | + <draw>Y</draw> | |
| 749 | + </GUI> | |
| 750 | + </step> | |
| 751 | + | |
| 752 | + <step> | |
| 753 | + <name>岗位数据查询</name> | |
| 754 | + <type>DBLookup</type> | |
| 755 | + <description/> | |
| 756 | + <distribute>Y</distribute> | |
| 757 | + <custom_distribution/> | |
| 758 | + <copies>1</copies> | |
| 759 | + <partitioning> | |
| 760 | + <method>none</method> | |
| 761 | + <schema_name/> | |
| 762 | + </partitioning> | |
| 763 | + <connection>bus_control_variable</connection> | |
| 764 | + <cache>N</cache> | |
| 765 | + <cache_load_all>N</cache_load_all> | |
| 766 | + <cache_size>0</cache_size> | |
| 767 | + <lookup> | |
| 768 | + <schema/> | |
| 769 | + <table>bsth_c_sys_dictionary</table> | |
| 770 | + <orderby/> | |
| 771 | + <fail_on_multiple>N</fail_on_multiple> | |
| 772 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 773 | + <key> | |
| 774 | + <name>gzType</name> | |
| 775 | + <field>d_group</field> | |
| 776 | + <condition>=</condition> | |
| 777 | + <name2/> | |
| 778 | + </key> | |
| 779 | + <key> | |
| 780 | + <name>岗位</name> | |
| 781 | + <field>d_name</field> | |
| 782 | + <condition>=</condition> | |
| 783 | + <name2/> | |
| 784 | + </key> | |
| 785 | + <value> | |
| 786 | + <name>d_code</name> | |
| 787 | + <rename>posts</rename> | |
| 788 | + <default/> | |
| 789 | + <type>String</type> | |
| 790 | + </value> | |
| 791 | + </lookup> | |
| 792 | + <cluster_schema/> | |
| 793 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 794 | + <xloc>588</xloc> | |
| 795 | + <yloc>296</yloc> | |
| 796 | + <draw>Y</draw> | |
| 797 | + </GUI> | |
| 798 | + </step> | |
| 799 | + | |
| 800 | + <step> | |
| 801 | + <name>添加查询常量</name> | |
| 802 | + <type>ScriptValueMod</type> | |
| 803 | + <description/> | |
| 804 | + <distribute>Y</distribute> | |
| 805 | + <custom_distribution/> | |
| 806 | + <copies>1</copies> | |
| 807 | + <partitioning> | |
| 808 | + <method>none</method> | |
| 809 | + <schema_name/> | |
| 810 | + </partitioning> | |
| 811 | + <compatible>N</compatible> | |
| 812 | + <optimizationLevel>9</optimizationLevel> | |
| 813 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 814 | + <jsScript_name>Script 1</jsScript_name> | |
| 815 | + <jsScript_script>//Script here

var up_code = '88';
var sexType = 'sexType';
var gzType = 'gzType';</jsScript_script> | |
| 816 | + </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 817 | + <rename>up_code</rename> | |
| 818 | + <type>String</type> | |
| 819 | + <length>-1</length> | |
| 820 | + <precision>-1</precision> | |
| 821 | + <replace>N</replace> | |
| 822 | + </field> <field> <name>sexType</name> | |
| 823 | + <rename>sexType</rename> | |
| 824 | + <type>String</type> | |
| 825 | + <length>-1</length> | |
| 826 | + <precision>-1</precision> | |
| 827 | + <replace>N</replace> | |
| 828 | + </field> <field> <name>gzType</name> | |
| 829 | + <rename>gzType</rename> | |
| 830 | + <type>String</type> | |
| 831 | + <length>-1</length> | |
| 832 | + <precision>-1</precision> | |
| 833 | + <replace>N</replace> | |
| 834 | + </field> </fields> <cluster_schema/> | |
| 835 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 836 | + <xloc>414</xloc> | |
| 837 | + <yloc>85</yloc> | |
| 838 | + <draw>Y</draw> | |
| 839 | + </GUI> | |
| 840 | + </step> | |
| 841 | + | |
| 842 | + <step> | |
| 843 | + <name>公司查询</name> | |
| 844 | + <type>DBLookup</type> | |
| 845 | + <description/> | |
| 846 | + <distribute>Y</distribute> | |
| 847 | + <custom_distribution/> | |
| 848 | + <copies>1</copies> | |
| 849 | + <partitioning> | |
| 850 | + <method>none</method> | |
| 851 | + <schema_name/> | |
| 852 | + </partitioning> | |
| 853 | + <connection>bus_control_variable</connection> | |
| 854 | + <cache>N</cache> | |
| 855 | + <cache_load_all>N</cache_load_all> | |
| 856 | + <cache_size>0</cache_size> | |
| 857 | + <lookup> | |
| 858 | + <schema/> | |
| 859 | + <table>bsth_c_business</table> | |
| 860 | + <orderby/> | |
| 861 | + <fail_on_multiple>N</fail_on_multiple> | |
| 862 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 863 | + <key> | |
| 864 | + <name>up_code</name> | |
| 865 | + <field>up_code</field> | |
| 866 | + <condition>=</condition> | |
| 867 | + <name2/> | |
| 868 | + </key> | |
| 869 | + <key> | |
| 870 | + <name>所属公司</name> | |
| 871 | + <field>business_name</field> | |
| 872 | + <condition>=</condition> | |
| 873 | + <name2/> | |
| 874 | + </key> | |
| 875 | + <value> | |
| 876 | + <name>business_code</name> | |
| 877 | + <rename>gs_code</rename> | |
| 878 | + <default/> | |
| 879 | + <type>String</type> | |
| 880 | + </value> | |
| 881 | + </lookup> | |
| 882 | + <cluster_schema/> | |
| 883 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 884 | + <xloc>583</xloc> | |
| 885 | + <yloc>83</yloc> | |
| 886 | + <draw>Y</draw> | |
| 887 | + </GUI> | |
| 888 | + </step> | |
| 889 | + | |
| 890 | + <step> | |
| 891 | + <name>工号不为空</name> | |
| 892 | + <type>FilterRows</type> | |
| 893 | + <description/> | |
| 894 | + <distribute>Y</distribute> | |
| 895 | + <custom_distribution/> | |
| 896 | + <copies>1</copies> | |
| 897 | + <partitioning> | |
| 898 | + <method>none</method> | |
| 899 | + <schema_name/> | |
| 900 | + </partitioning> | |
| 901 | +<send_true_to/> | |
| 902 | +<send_false_to/> | |
| 903 | + <compare> | |
| 904 | +<condition> | |
| 905 | + <negated>N</negated> | |
| 906 | + <conditions> | |
| 907 | + <condition> | |
| 908 | + <negated>N</negated> | |
| 909 | + <leftvalue>工号</leftvalue> | |
| 910 | + <function>IS NOT NULL</function> | |
| 911 | + <rightvalue/> | |
| 912 | + </condition> | |
| 913 | + </conditions> | |
| 914 | + </condition> | |
| 915 | + </compare> | |
| 916 | + <cluster_schema/> | |
| 917 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 918 | + <xloc>238</xloc> | |
| 919 | + <yloc>178</yloc> | |
| 920 | + <draw>Y</draw> | |
| 921 | + </GUI> | |
| 922 | + </step> | |
| 923 | + | |
| 924 | + <step> | |
| 925 | + <name>公司代码不为空</name> | |
| 926 | + <type>FilterRows</type> | |
| 927 | + <description/> | |
| 928 | + <distribute>Y</distribute> | |
| 929 | + <custom_distribution/> | |
| 930 | + <copies>1</copies> | |
| 931 | + <partitioning> | |
| 932 | + <method>none</method> | |
| 933 | + <schema_name/> | |
| 934 | + </partitioning> | |
| 935 | +<send_true_to/> | |
| 936 | +<send_false_to/> | |
| 937 | + <compare> | |
| 938 | +<condition> | |
| 939 | + <negated>N</negated> | |
| 940 | + <conditions> | |
| 941 | + <condition> | |
| 942 | + <negated>N</negated> | |
| 943 | + <leftvalue>gs_code</leftvalue> | |
| 944 | + <function>IS NOT NULL</function> | |
| 945 | + <rightvalue/> | |
| 946 | + </condition> | |
| 947 | + </conditions> | |
| 948 | + </condition> | |
| 949 | + </compare> | |
| 950 | + <cluster_schema/> | |
| 951 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 952 | + <xloc>583</xloc> | |
| 953 | + <yloc>175</yloc> | |
| 954 | + <draw>Y</draw> | |
| 955 | + </GUI> | |
| 956 | + </step> | |
| 957 | + | |
| 958 | + <step> | |
| 959 | + <name>分公司查询</name> | |
| 960 | + <type>DBLookup</type> | |
| 961 | + <description/> | |
| 962 | + <distribute>Y</distribute> | |
| 963 | + <custom_distribution/> | |
| 964 | + <copies>1</copies> | |
| 965 | + <partitioning> | |
| 966 | + <method>none</method> | |
| 967 | + <schema_name/> | |
| 968 | + </partitioning> | |
| 969 | + <connection>bus_control_variable</connection> | |
| 970 | + <cache>N</cache> | |
| 971 | + <cache_load_all>N</cache_load_all> | |
| 972 | + <cache_size>0</cache_size> | |
| 973 | + <lookup> | |
| 974 | + <schema/> | |
| 975 | + <table>bsth_c_business</table> | |
| 976 | + <orderby/> | |
| 977 | + <fail_on_multiple>N</fail_on_multiple> | |
| 978 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 979 | + <key> | |
| 980 | + <name>gs_code</name> | |
| 981 | + <field>up_code</field> | |
| 982 | + <condition>=</condition> | |
| 983 | + <name2/> | |
| 984 | + </key> | |
| 985 | + <key> | |
| 986 | + <name>所属分公司</name> | |
| 987 | + <field>business_name</field> | |
| 988 | + <condition>=</condition> | |
| 989 | + <name2/> | |
| 990 | + </key> | |
| 991 | + <value> | |
| 992 | + <name>business_code</name> | |
| 993 | + <rename>fgs_code</rename> | |
| 994 | + <default/> | |
| 995 | + <type>String</type> | |
| 996 | + </value> | |
| 997 | + </lookup> | |
| 998 | + <cluster_schema/> | |
| 999 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1000 | + <xloc>756</xloc> | |
| 1001 | + <yloc>83</yloc> | |
| 1002 | + <draw>Y</draw> | |
| 1003 | + </GUI> | |
| 1004 | + </step> | |
| 1005 | + | |
| 1006 | + <step> | |
| 1007 | + <name>分公司代码不为空</name> | |
| 1008 | + <type>FilterRows</type> | |
| 1009 | + <description/> | |
| 1010 | + <distribute>Y</distribute> | |
| 1011 | + <custom_distribution/> | |
| 1012 | + <copies>1</copies> | |
| 1013 | + <partitioning> | |
| 1014 | + <method>none</method> | |
| 1015 | + <schema_name/> | |
| 1016 | + </partitioning> | |
| 1017 | +<send_true_to/> | |
| 1018 | +<send_false_to/> | |
| 1019 | + <compare> | |
| 1020 | +<condition> | |
| 1021 | + <negated>N</negated> | |
| 1022 | + <conditions> | |
| 1023 | + <condition> | |
| 1024 | + <negated>N</negated> | |
| 1025 | + <leftvalue>fgs_code</leftvalue> | |
| 1026 | + <function>IS NOT NULL</function> | |
| 1027 | + <rightvalue/> | |
| 1028 | + </condition> | |
| 1029 | + </conditions> | |
| 1030 | + </condition> | |
| 1031 | + </compare> | |
| 1032 | + <cluster_schema/> | |
| 1033 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1034 | + <xloc>756</xloc> | |
| 1035 | + <yloc>178</yloc> | |
| 1036 | + <draw>Y</draw> | |
| 1037 | + </GUI> | |
| 1038 | + </step> | |
| 1039 | + | |
| 1040 | + <step> | |
| 1041 | + <name>性别数据查询</name> | |
| 1042 | + <type>DBLookup</type> | |
| 1043 | + <description/> | |
| 1044 | + <distribute>Y</distribute> | |
| 1045 | + <custom_distribution/> | |
| 1046 | + <copies>1</copies> | |
| 1047 | + <partitioning> | |
| 1048 | + <method>none</method> | |
| 1049 | + <schema_name/> | |
| 1050 | + </partitioning> | |
| 1051 | + <connection>bus_control_variable</connection> | |
| 1052 | + <cache>N</cache> | |
| 1053 | + <cache_load_all>N</cache_load_all> | |
| 1054 | + <cache_size>0</cache_size> | |
| 1055 | + <lookup> | |
| 1056 | + <schema/> | |
| 1057 | + <table>bsth_c_sys_dictionary</table> | |
| 1058 | + <orderby/> | |
| 1059 | + <fail_on_multiple>N</fail_on_multiple> | |
| 1060 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 1061 | + <key> | |
| 1062 | + <name>sexType</name> | |
| 1063 | + <field>d_group</field> | |
| 1064 | + <condition>=</condition> | |
| 1065 | + <name2/> | |
| 1066 | + </key> | |
| 1067 | + <key> | |
| 1068 | + <name>性别</name> | |
| 1069 | + <field>d_name</field> | |
| 1070 | + <condition>=</condition> | |
| 1071 | + <name2/> | |
| 1072 | + </key> | |
| 1073 | + <value> | |
| 1074 | + <name>d_code</name> | |
| 1075 | + <rename>sex</rename> | |
| 1076 | + <default/> | |
| 1077 | + <type>String</type> | |
| 1078 | + </value> | |
| 1079 | + </lookup> | |
| 1080 | + <cluster_schema/> | |
| 1081 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1082 | + <xloc>456</xloc> | |
| 1083 | + <yloc>299</yloc> | |
| 1084 | + <draw>Y</draw> | |
| 1085 | + </GUI> | |
| 1086 | + </step> | |
| 1087 | + | |
| 1088 | + <step_error_handling> | |
| 1089 | + <error> | |
| 1090 | + <source_step>插入/更新bsth_c_personnel</source_step> | |
| 1091 | + <target_step>错误输出</target_step> | |
| 1092 | + <is_enabled>Y</is_enabled> | |
| 1093 | + <nr_valuename>error_count</nr_valuename> | |
| 1094 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 1095 | + <fields_valuename>error_column1</fields_valuename> | |
| 1096 | + <codes_valuename>error_column2</codes_valuename> | |
| 1097 | + <max_errors/> | |
| 1098 | + <max_pct_errors/> | |
| 1099 | + <min_pct_rows/> | |
| 1100 | + </error> | |
| 1101 | + </step_error_handling> | |
| 1102 | + <slave-step-copy-partition-distribution> | |
| 1103 | +</slave-step-copy-partition-distribution> | |
| 1104 | + <slave_transformation>N</slave_transformation> | |
| 1105 | + | |
| 1106 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/employeesDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>人员信息导出</name> | |
| 5 | - <description/> | |
| 6 | - <extended_description/> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>filepath</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>excel文件路径</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/08/09 09:57:38.471</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2016/08/09 09:57:38.471</modified_date> | |
| 78 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - </notepads> | |
| 83 | - <connection> | |
| 84 | - <name>192.168.168.1_jwgl_dw</name> | |
| 85 | - <server>192.168.168.1</server> | |
| 86 | - <type>ORACLE</type> | |
| 87 | - <access>Native</access> | |
| 88 | - <database>orcl</database> | |
| 89 | - <port>1521</port> | |
| 90 | - <username>jwgl_dw</username> | |
| 91 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 92 | - <servername/> | |
| 93 | - <data_tablespace/> | |
| 94 | - <index_tablespace/> | |
| 95 | - <attributes> | |
| 96 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 97 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 98 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 99 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 100 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 101 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 103 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 104 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 105 | - </attributes> | |
| 106 | - </connection> | |
| 107 | - <connection> | |
| 108 | - <name>bus_control_variable</name> | |
| 109 | - <server>${v_db_ip}</server> | |
| 110 | - <type>MYSQL</type> | |
| 111 | - <access>Native</access> | |
| 112 | - <database>${v_db_dname}</database> | |
| 113 | - <port>3306</port> | |
| 114 | - <username>${v_db_uname}</username> | |
| 115 | - <password>${v_db_pwd}</password> | |
| 116 | - <servername/> | |
| 117 | - <data_tablespace/> | |
| 118 | - <index_tablespace/> | |
| 119 | - <attributes> | |
| 120 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 121 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 123 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 124 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 125 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 127 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 128 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 131 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 132 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 133 | - </attributes> | |
| 134 | - </connection> | |
| 135 | - <connection> | |
| 136 | - <name>bus_control_公司_201</name> | |
| 137 | - <server>localhost</server> | |
| 138 | - <type>MYSQL</type> | |
| 139 | - <access>Native</access> | |
| 140 | - <database>control</database> | |
| 141 | - <port>3306</port> | |
| 142 | - <username>root</username> | |
| 143 | - <password>Encrypted </password> | |
| 144 | - <servername/> | |
| 145 | - <data_tablespace/> | |
| 146 | - <index_tablespace/> | |
| 147 | - <attributes> | |
| 148 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 149 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 150 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 151 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 152 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 154 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 155 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 158 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 159 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 160 | - </attributes> | |
| 161 | - </connection> | |
| 162 | - <connection> | |
| 163 | - <name>bus_control_本机</name> | |
| 164 | - <server>localhost</server> | |
| 165 | - <type>MYSQL</type> | |
| 166 | - <access>Native</access> | |
| 167 | - <database>control</database> | |
| 168 | - <port>3306</port> | |
| 169 | - <username>root</username> | |
| 170 | - <password>Encrypted </password> | |
| 171 | - <servername/> | |
| 172 | - <data_tablespace/> | |
| 173 | - <index_tablespace/> | |
| 174 | - <attributes> | |
| 175 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 176 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 177 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 178 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 179 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 181 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 182 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 184 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 185 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 186 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 187 | - </attributes> | |
| 188 | - </connection> | |
| 189 | - <connection> | |
| 190 | - <name>xlab_mysql_youle</name> | |
| 191 | - <server>101.231.124.8</server> | |
| 192 | - <type>MYSQL</type> | |
| 193 | - <access>Native</access> | |
| 194 | - <database>xlab_youle</database> | |
| 195 | - <port>45687</port> | |
| 196 | - <username>xlab-youle</username> | |
| 197 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 198 | - <servername/> | |
| 199 | - <data_tablespace/> | |
| 200 | - <index_tablespace/> | |
| 201 | - <attributes> | |
| 202 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 203 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 204 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 205 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 206 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 208 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 211 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 213 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 214 | - </attributes> | |
| 215 | - </connection> | |
| 216 | - <connection> | |
| 217 | - <name>xlab_mysql_youle(本机)</name> | |
| 218 | - <server>localhost</server> | |
| 219 | - <type>MYSQL</type> | |
| 220 | - <access>Native</access> | |
| 221 | - <database>xlab_youle</database> | |
| 222 | - <port>3306</port> | |
| 223 | - <username>root</username> | |
| 224 | - <password>Encrypted </password> | |
| 225 | - <servername/> | |
| 226 | - <data_tablespace/> | |
| 227 | - <index_tablespace/> | |
| 228 | - <attributes> | |
| 229 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 230 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 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>3306</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>N</attribute></attribute> | |
| 239 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 240 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 241 | - </attributes> | |
| 242 | - </connection> | |
| 243 | - <connection> | |
| 244 | - <name>xlab_youle</name> | |
| 245 | - <server/> | |
| 246 | - <type>MYSQL</type> | |
| 247 | - <access>JNDI</access> | |
| 248 | - <database>xlab_youle</database> | |
| 249 | - <port>1521</port> | |
| 250 | - <username/> | |
| 251 | - <password>Encrypted </password> | |
| 252 | - <servername/> | |
| 253 | - <data_tablespace/> | |
| 254 | - <index_tablespace/> | |
| 255 | - <attributes> | |
| 256 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 257 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 258 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 260 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 261 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 262 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 263 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 264 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 265 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 266 | - </attributes> | |
| 267 | - </connection> | |
| 268 | - <order> | |
| 269 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 270 | - <hop> <from>表输入</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 271 | - </order> | |
| 272 | - <step> | |
| 273 | - <name>Excel输出</name> | |
| 274 | - <type>ExcelOutput</type> | |
| 275 | - <description/> | |
| 276 | - <distribute>Y</distribute> | |
| 277 | - <custom_distribution/> | |
| 278 | - <copies>1</copies> | |
| 279 | - <partitioning> | |
| 280 | - <method>none</method> | |
| 281 | - <schema_name/> | |
| 282 | - </partitioning> | |
| 283 | - <header>Y</header> | |
| 284 | - <footer>N</footer> | |
| 285 | - <encoding/> | |
| 286 | - <append>N</append> | |
| 287 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 288 | - <file> | |
| 289 | - <name>${filepath}</name> | |
| 290 | - <extention>xls</extention> | |
| 291 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 292 | - <create_parent_folder>N</create_parent_folder> | |
| 293 | - <split>N</split> | |
| 294 | - <add_date>N</add_date> | |
| 295 | - <add_time>N</add_time> | |
| 296 | - <SpecifyFormat>N</SpecifyFormat> | |
| 297 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 298 | - <sheetname>工作表1</sheetname> | |
| 299 | - <autosizecolums>N</autosizecolums> | |
| 300 | - <nullisblank>N</nullisblank> | |
| 301 | - <protect_sheet>N</protect_sheet> | |
| 302 | - <password>Encrypted </password> | |
| 303 | - <splitevery>0</splitevery> | |
| 304 | - <usetempfiles>N</usetempfiles> | |
| 305 | - <tempdirectory/> | |
| 306 | - </file> | |
| 307 | - <template> | |
| 308 | - <enabled>N</enabled> | |
| 309 | - <append>N</append> | |
| 310 | - <filename>template.xls</filename> | |
| 311 | - </template> | |
| 312 | - <fields> | |
| 313 | - <field> | |
| 314 | - <name>姓名</name> | |
| 315 | - <type>String</type> | |
| 316 | - <format/> | |
| 317 | - </field> | |
| 318 | - <field> | |
| 319 | - <name>工号</name> | |
| 320 | - <type>String</type> | |
| 321 | - <format/> | |
| 322 | - </field> | |
| 323 | - <field> | |
| 324 | - <name>所属公司</name> | |
| 325 | - <type>String</type> | |
| 326 | - <format/> | |
| 327 | - </field> | |
| 328 | - <field> | |
| 329 | - <name>所属公司代码</name> | |
| 330 | - <type>String</type> | |
| 331 | - <format/> | |
| 332 | - </field> | |
| 333 | - <field> | |
| 334 | - <name>所属分公司</name> | |
| 335 | - <type>String</type> | |
| 336 | - <format/> | |
| 337 | - </field> | |
| 338 | - <field> | |
| 339 | - <name>所属分公司代码</name> | |
| 340 | - <type>String</type> | |
| 341 | - <format/> | |
| 342 | - </field> | |
| 343 | - </fields> | |
| 344 | - <custom> | |
| 345 | - <header_font_name>arial</header_font_name> | |
| 346 | - <header_font_size>10</header_font_size> | |
| 347 | - <header_font_bold>N</header_font_bold> | |
| 348 | - <header_font_italic>N</header_font_italic> | |
| 349 | - <header_font_underline>no</header_font_underline> | |
| 350 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 351 | - <header_font_color>black</header_font_color> | |
| 352 | - <header_background_color>none</header_background_color> | |
| 353 | - <header_row_height>255</header_row_height> | |
| 354 | - <header_alignment>left</header_alignment> | |
| 355 | - <header_image/> | |
| 356 | - <row_font_name>arial</row_font_name> | |
| 357 | - <row_font_size>10</row_font_size> | |
| 358 | - <row_font_color>black</row_font_color> | |
| 359 | - <row_background_color>none</row_background_color> | |
| 360 | - </custom> | |
| 361 | - <cluster_schema/> | |
| 362 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 363 | - <xloc>346</xloc> | |
| 364 | - <yloc>66</yloc> | |
| 365 | - <draw>Y</draw> | |
| 366 | - </GUI> | |
| 367 | - </step> | |
| 368 | - | |
| 369 | - <step> | |
| 370 | - <name>字段选择</name> | |
| 371 | - <type>SelectValues</type> | |
| 372 | - <description/> | |
| 373 | - <distribute>Y</distribute> | |
| 374 | - <custom_distribution/> | |
| 375 | - <copies>1</copies> | |
| 376 | - <partitioning> | |
| 377 | - <method>none</method> | |
| 378 | - <schema_name/> | |
| 379 | - </partitioning> | |
| 380 | - <fields> <field> <name>personnel_name</name> | |
| 381 | - <rename>姓名</rename> | |
| 382 | - <length>-2</length> | |
| 383 | - <precision>-2</precision> | |
| 384 | - </field> <field> <name>job_code</name> | |
| 385 | - <rename>工号</rename> | |
| 386 | - <length>-2</length> | |
| 387 | - <precision>-2</precision> | |
| 388 | - </field> <field> <name>company</name> | |
| 389 | - <rename>所属公司</rename> | |
| 390 | - <length>-2</length> | |
| 391 | - <precision>-2</precision> | |
| 392 | - </field> <field> <name>company_code</name> | |
| 393 | - <rename>所属公司代码</rename> | |
| 394 | - <length>-2</length> | |
| 395 | - <precision>-2</precision> | |
| 396 | - </field> <field> <name>branche_company</name> | |
| 397 | - <rename>所属分公司</rename> | |
| 398 | - <length>-2</length> | |
| 399 | - <precision>-2</precision> | |
| 400 | - </field> <field> <name>branche_company_code</name> | |
| 401 | - <rename>所属分公司代码</rename> | |
| 402 | - <length>-2</length> | |
| 403 | - <precision>-2</precision> | |
| 404 | - </field> <select_unspecified>N</select_unspecified> | |
| 405 | - </fields> <cluster_schema/> | |
| 406 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 407 | - <xloc>221</xloc> | |
| 408 | - <yloc>66</yloc> | |
| 409 | - <draw>Y</draw> | |
| 410 | - </GUI> | |
| 411 | - </step> | |
| 412 | - | |
| 413 | - <step> | |
| 414 | - <name>表输入</name> | |
| 415 | - <type>TableInput</type> | |
| 416 | - <description/> | |
| 417 | - <distribute>Y</distribute> | |
| 418 | - <custom_distribution/> | |
| 419 | - <copies>1</copies> | |
| 420 | - <partitioning> | |
| 421 | - <method>none</method> | |
| 422 | - <schema_name/> | |
| 423 | - </partitioning> | |
| 424 | - <connection>bus_control_variable</connection> | |
| 425 | - <sql>SELECT * FROM bsth_c_personnel;</sql> | |
| 426 | - <limit>0</limit> | |
| 427 | - <lookup/> | |
| 428 | - <execute_each_row>N</execute_each_row> | |
| 429 | - <variables_active>N</variables_active> | |
| 430 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 431 | - <cluster_schema/> | |
| 432 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 433 | - <xloc>112</xloc> | |
| 434 | - <yloc>66</yloc> | |
| 435 | - <draw>Y</draw> | |
| 436 | - </GUI> | |
| 437 | - </step> | |
| 438 | - | |
| 439 | - <step_error_handling> | |
| 440 | - </step_error_handling> | |
| 441 | - <slave-step-copy-partition-distribution> | |
| 442 | -</slave-step-copy-partition-distribution> | |
| 443 | - <slave_transformation>N</slave_transformation> | |
| 444 | - | |
| 445 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>人员信息导出</name> | |
| 5 | + <description/> | |
| 6 | + <extended_description/> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>cgsbm_in</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>分公司编码</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>excel文件路径</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/08/09 09:57:38.471</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/08/09 09:57:38.471</modified_date> | |
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | + <is_key_private>N</is_key_private> | |
| 85 | + </info> | |
| 86 | + <notepads> | |
| 87 | + </notepads> | |
| 88 | + <connection> | |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 113 | + <name>bus_control_variable</name> | |
| 114 | + <server>${v_db_ip}</server> | |
| 115 | + <type>MYSQL</type> | |
| 116 | + <access>Native</access> | |
| 117 | + <database>${v_db_dname}</database> | |
| 118 | + <port>3306</port> | |
| 119 | + <username>${v_db_uname}</username> | |
| 120 | + <password>${v_db_pwd}</password> | |
| 121 | + <servername/> | |
| 122 | + <data_tablespace/> | |
| 123 | + <index_tablespace/> | |
| 124 | + <attributes> | |
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | + </attributes> | |
| 139 | + </connection> | |
| 140 | + <connection> | |
| 141 | + <name>bus_control_公司_201</name> | |
| 142 | + <server>localhost</server> | |
| 143 | + <type>MYSQL</type> | |
| 144 | + <access>Native</access> | |
| 145 | + <database>control</database> | |
| 146 | + <port>3306</port> | |
| 147 | + <username>root</username> | |
| 148 | + <password>Encrypted </password> | |
| 149 | + <servername/> | |
| 150 | + <data_tablespace/> | |
| 151 | + <index_tablespace/> | |
| 152 | + <attributes> | |
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | + </attributes> | |
| 166 | + </connection> | |
| 167 | + <connection> | |
| 168 | + <name>bus_control_本机</name> | |
| 169 | + <server>localhost</server> | |
| 170 | + <type>MYSQL</type> | |
| 171 | + <access>Native</access> | |
| 172 | + <database>control</database> | |
| 173 | + <port>3306</port> | |
| 174 | + <username>root</username> | |
| 175 | + <password>Encrypted </password> | |
| 176 | + <servername/> | |
| 177 | + <data_tablespace/> | |
| 178 | + <index_tablespace/> | |
| 179 | + <attributes> | |
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | + </attributes> | |
| 193 | + </connection> | |
| 194 | + <connection> | |
| 195 | + <name>xlab_mysql_youle</name> | |
| 196 | + <server>101.231.124.8</server> | |
| 197 | + <type>MYSQL</type> | |
| 198 | + <access>Native</access> | |
| 199 | + <database>xlab_youle</database> | |
| 200 | + <port>45687</port> | |
| 201 | + <username>xlab-youle</username> | |
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | + <servername/> | |
| 204 | + <data_tablespace/> | |
| 205 | + <index_tablespace/> | |
| 206 | + <attributes> | |
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | + </attributes> | |
| 220 | + </connection> | |
| 221 | + <connection> | |
| 222 | + <name>xlab_mysql_youle(本机)</name> | |
| 223 | + <server>localhost</server> | |
| 224 | + <type>MYSQL</type> | |
| 225 | + <access>Native</access> | |
| 226 | + <database>xlab_youle</database> | |
| 227 | + <port>3306</port> | |
| 228 | + <username>root</username> | |
| 229 | + <password>Encrypted </password> | |
| 230 | + <servername/> | |
| 231 | + <data_tablespace/> | |
| 232 | + <index_tablespace/> | |
| 233 | + <attributes> | |
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | + </attributes> | |
| 247 | + </connection> | |
| 248 | + <connection> | |
| 249 | + <name>xlab_youle</name> | |
| 250 | + <server/> | |
| 251 | + <type>MYSQL</type> | |
| 252 | + <access>JNDI</access> | |
| 253 | + <database>xlab_youle</database> | |
| 254 | + <port>1521</port> | |
| 255 | + <username/> | |
| 256 | + <password>Encrypted </password> | |
| 257 | + <servername/> | |
| 258 | + <data_tablespace/> | |
| 259 | + <index_tablespace/> | |
| 260 | + <attributes> | |
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | + </attributes> | |
| 272 | + </connection> | |
| 273 | + <order> | |
| 274 | + <hop> <from>人员信息表输入</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>岗位数据查询</from><to>性别数据查询</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>性别数据查询</from><to>处理工号</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>处理工号</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 280 | + <hop> <from>公司查询</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 281 | + <hop> <from>分公司查询</from><to>岗位数据查询</to><enabled>Y</enabled> </hop> | |
| 282 | + </order> | |
| 283 | + <step> | |
| 284 | + <name>Excel输出</name> | |
| 285 | + <type>ExcelOutput</type> | |
| 286 | + <description/> | |
| 287 | + <distribute>Y</distribute> | |
| 288 | + <custom_distribution/> | |
| 289 | + <copies>1</copies> | |
| 290 | + <partitioning> | |
| 291 | + <method>none</method> | |
| 292 | + <schema_name/> | |
| 293 | + </partitioning> | |
| 294 | + <header>Y</header> | |
| 295 | + <footer>N</footer> | |
| 296 | + <encoding/> | |
| 297 | + <append>N</append> | |
| 298 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 299 | + <file> | |
| 300 | + <name>${filepath}</name> | |
| 301 | + <extention>xls</extention> | |
| 302 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 303 | + <create_parent_folder>N</create_parent_folder> | |
| 304 | + <split>N</split> | |
| 305 | + <add_date>N</add_date> | |
| 306 | + <add_time>N</add_time> | |
| 307 | + <SpecifyFormat>N</SpecifyFormat> | |
| 308 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 309 | + <sheetname>工作表1</sheetname> | |
| 310 | + <autosizecolums>N</autosizecolums> | |
| 311 | + <nullisblank>N</nullisblank> | |
| 312 | + <protect_sheet>N</protect_sheet> | |
| 313 | + <password>Encrypted </password> | |
| 314 | + <splitevery>0</splitevery> | |
| 315 | + <usetempfiles>N</usetempfiles> | |
| 316 | + <tempdirectory/> | |
| 317 | + </file> | |
| 318 | + <template> | |
| 319 | + <enabled>N</enabled> | |
| 320 | + <append>N</append> | |
| 321 | + <filename>template.xls</filename> | |
| 322 | + </template> | |
| 323 | + <fields> | |
| 324 | + <field> | |
| 325 | + <name>姓名</name> | |
| 326 | + <type>String</type> | |
| 327 | + <format/> | |
| 328 | + </field> | |
| 329 | + <field> | |
| 330 | + <name>工号</name> | |
| 331 | + <type>String</type> | |
| 332 | + <format/> | |
| 333 | + </field> | |
| 334 | + <field> | |
| 335 | + <name>性别</name> | |
| 336 | + <type>String</type> | |
| 337 | + <format/> | |
| 338 | + </field> | |
| 339 | + <field> | |
| 340 | + <name>所属公司</name> | |
| 341 | + <type>String</type> | |
| 342 | + <format/> | |
| 343 | + </field> | |
| 344 | + <field> | |
| 345 | + <name>所属分公司</name> | |
| 346 | + <type>String</type> | |
| 347 | + <format/> | |
| 348 | + </field> | |
| 349 | + <field> | |
| 350 | + <name>一卡通号</name> | |
| 351 | + <type>String</type> | |
| 352 | + <format/> | |
| 353 | + </field> | |
| 354 | + <field> | |
| 355 | + <name>运营服务证号</name> | |
| 356 | + <type>String</type> | |
| 357 | + <format/> | |
| 358 | + </field> | |
| 359 | + <field> | |
| 360 | + <name>岗位</name> | |
| 361 | + <type>String</type> | |
| 362 | + <format/> | |
| 363 | + </field> | |
| 364 | + <field> | |
| 365 | + <name>备注</name> | |
| 366 | + <type>String</type> | |
| 367 | + <format/> | |
| 368 | + </field> | |
| 369 | + </fields> | |
| 370 | + <custom> | |
| 371 | + <header_font_name>arial</header_font_name> | |
| 372 | + <header_font_size>10</header_font_size> | |
| 373 | + <header_font_bold>N</header_font_bold> | |
| 374 | + <header_font_italic>N</header_font_italic> | |
| 375 | + <header_font_underline>no</header_font_underline> | |
| 376 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 377 | + <header_font_color>black</header_font_color> | |
| 378 | + <header_background_color>none</header_background_color> | |
| 379 | + <header_row_height>255</header_row_height> | |
| 380 | + <header_alignment>left</header_alignment> | |
| 381 | + <header_image/> | |
| 382 | + <row_font_name>arial</row_font_name> | |
| 383 | + <row_font_size>10</row_font_size> | |
| 384 | + <row_font_color>black</row_font_color> | |
| 385 | + <row_background_color>none</row_background_color> | |
| 386 | + </custom> | |
| 387 | + <cluster_schema/> | |
| 388 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 389 | + <xloc>625</xloc> | |
| 390 | + <yloc>443</yloc> | |
| 391 | + <draw>Y</draw> | |
| 392 | + </GUI> | |
| 393 | + </step> | |
| 394 | + | |
| 395 | + <step> | |
| 396 | + <name>人员信息表输入</name> | |
| 397 | + <type>TableInput</type> | |
| 398 | + <description/> | |
| 399 | + <distribute>Y</distribute> | |
| 400 | + <custom_distribution/> | |
| 401 | + <copies>1</copies> | |
| 402 | + <partitioning> | |
| 403 | + <method>none</method> | |
| 404 | + <schema_name/> | |
| 405 | + </partitioning> | |
| 406 | + <connection>bus_control_variable</connection> | |
| 407 | + <sql>SELECT * FROM bsth_c_personnel
where concat(company_code, '_', branche_company_code) in (${cgsbm_in})</sql> | |
| 408 | + <limit>0</limit> | |
| 409 | + <lookup/> | |
| 410 | + <execute_each_row>N</execute_each_row> | |
| 411 | + <variables_active>Y</variables_active> | |
| 412 | + <lazy_conversion_active>N</lazy_conversion_active> | |
| 413 | + <cluster_schema/> | |
| 414 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 415 | + <xloc>112</xloc> | |
| 416 | + <yloc>66</yloc> | |
| 417 | + <draw>Y</draw> | |
| 418 | + </GUI> | |
| 419 | + </step> | |
| 420 | + | |
| 421 | + <step> | |
| 422 | + <name>添加查询常量</name> | |
| 423 | + <type>ScriptValueMod</type> | |
| 424 | + <description/> | |
| 425 | + <distribute>Y</distribute> | |
| 426 | + <custom_distribution/> | |
| 427 | + <copies>1</copies> | |
| 428 | + <partitioning> | |
| 429 | + <method>none</method> | |
| 430 | + <schema_name/> | |
| 431 | + </partitioning> | |
| 432 | + <compatible>N</compatible> | |
| 433 | + <optimizationLevel>9</optimizationLevel> | |
| 434 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 435 | + <jsScript_name>Script 1</jsScript_name> | |
| 436 | + <jsScript_script>//Script here

var up_code = '88';
var sexType = 'sexType';
var gzType = 'gzType';</jsScript_script> | |
| 437 | + </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 438 | + <rename>up_code</rename> | |
| 439 | + <type>String</type> | |
| 440 | + <length>-1</length> | |
| 441 | + <precision>-1</precision> | |
| 442 | + <replace>N</replace> | |
| 443 | + </field> <field> <name>sexType</name> | |
| 444 | + <rename>sexType</rename> | |
| 445 | + <type>String</type> | |
| 446 | + <length>-1</length> | |
| 447 | + <precision>-1</precision> | |
| 448 | + <replace>N</replace> | |
| 449 | + </field> <field> <name>gzType</name> | |
| 450 | + <rename>gzType</rename> | |
| 451 | + <type>String</type> | |
| 452 | + <length>-1</length> | |
| 453 | + <precision>-1</precision> | |
| 454 | + <replace>N</replace> | |
| 455 | + </field> </fields> <cluster_schema/> | |
| 456 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 457 | + <xloc>235</xloc> | |
| 458 | + <yloc>65</yloc> | |
| 459 | + <draw>Y</draw> | |
| 460 | + </GUI> | |
| 461 | + </step> | |
| 462 | + | |
| 463 | + <step> | |
| 464 | + <name>岗位数据查询</name> | |
| 465 | + <type>DBLookup</type> | |
| 466 | + <description/> | |
| 467 | + <distribute>Y</distribute> | |
| 468 | + <custom_distribution/> | |
| 469 | + <copies>1</copies> | |
| 470 | + <partitioning> | |
| 471 | + <method>none</method> | |
| 472 | + <schema_name/> | |
| 473 | + </partitioning> | |
| 474 | + <connection>bus_control_variable</connection> | |
| 475 | + <cache>N</cache> | |
| 476 | + <cache_load_all>N</cache_load_all> | |
| 477 | + <cache_size>0</cache_size> | |
| 478 | + <lookup> | |
| 479 | + <schema/> | |
| 480 | + <table>bsth_c_sys_dictionary</table> | |
| 481 | + <orderby/> | |
| 482 | + <fail_on_multiple>N</fail_on_multiple> | |
| 483 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 484 | + <key> | |
| 485 | + <name>gzType</name> | |
| 486 | + <field>d_group</field> | |
| 487 | + <condition>=</condition> | |
| 488 | + <name2/> | |
| 489 | + </key> | |
| 490 | + <key> | |
| 491 | + <name>posts</name> | |
| 492 | + <field>d_code</field> | |
| 493 | + <condition>=</condition> | |
| 494 | + <name2/> | |
| 495 | + </key> | |
| 496 | + <value> | |
| 497 | + <name>d_name</name> | |
| 498 | + <rename>gz</rename> | |
| 499 | + <default/> | |
| 500 | + <type>String</type> | |
| 501 | + </value> | |
| 502 | + </lookup> | |
| 503 | + <cluster_schema/> | |
| 504 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 505 | + <xloc>423</xloc> | |
| 506 | + <yloc>235</yloc> | |
| 507 | + <draw>Y</draw> | |
| 508 | + </GUI> | |
| 509 | + </step> | |
| 510 | + | |
| 511 | + <step> | |
| 512 | + <name>性别数据查询</name> | |
| 513 | + <type>DBLookup</type> | |
| 514 | + <description/> | |
| 515 | + <distribute>Y</distribute> | |
| 516 | + <custom_distribution/> | |
| 517 | + <copies>1</copies> | |
| 518 | + <partitioning> | |
| 519 | + <method>none</method> | |
| 520 | + <schema_name/> | |
| 521 | + </partitioning> | |
| 522 | + <connection>bus_control_variable</connection> | |
| 523 | + <cache>N</cache> | |
| 524 | + <cache_load_all>N</cache_load_all> | |
| 525 | + <cache_size>0</cache_size> | |
| 526 | + <lookup> | |
| 527 | + <schema/> | |
| 528 | + <table>bsth_c_sys_dictionary</table> | |
| 529 | + <orderby/> | |
| 530 | + <fail_on_multiple>N</fail_on_multiple> | |
| 531 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 532 | + <key> | |
| 533 | + <name>sexType</name> | |
| 534 | + <field>d_group</field> | |
| 535 | + <condition>=</condition> | |
| 536 | + <name2/> | |
| 537 | + </key> | |
| 538 | + <key> | |
| 539 | + <name>personnel_type</name> | |
| 540 | + <field>d_code</field> | |
| 541 | + <condition>=</condition> | |
| 542 | + <name2/> | |
| 543 | + </key> | |
| 544 | + <value> | |
| 545 | + <name>d_name</name> | |
| 546 | + <rename>sex</rename> | |
| 547 | + <default/> | |
| 548 | + <type>String</type> | |
| 549 | + </value> | |
| 550 | + </lookup> | |
| 551 | + <cluster_schema/> | |
| 552 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 553 | + <xloc>423</xloc> | |
| 554 | + <yloc>339</yloc> | |
| 555 | + <draw>Y</draw> | |
| 556 | + </GUI> | |
| 557 | + </step> | |
| 558 | + | |
| 559 | + <step> | |
| 560 | + <name>字段选择</name> | |
| 561 | + <type>SelectValues</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 | + <fields> <field> <name>personnel_name</name> | |
| 571 | + <rename>姓名</rename> | |
| 572 | + <length>-2</length> | |
| 573 | + <precision>-2</precision> | |
| 574 | + </field> <field> <name>jc</name> | |
| 575 | + <rename>工号</rename> | |
| 576 | + <length>-2</length> | |
| 577 | + <precision>-2</precision> | |
| 578 | + </field> <field> <name>sex</name> | |
| 579 | + <rename>性别</rename> | |
| 580 | + <length>-2</length> | |
| 581 | + <precision>-2</precision> | |
| 582 | + </field> <field> <name>gs</name> | |
| 583 | + <rename>所属公司</rename> | |
| 584 | + <length>-2</length> | |
| 585 | + <precision>-2</precision> | |
| 586 | + </field> <field> <name>fgs</name> | |
| 587 | + <rename>所属分公司</rename> | |
| 588 | + <length>-2</length> | |
| 589 | + <precision>-2</precision> | |
| 590 | + </field> <field> <name>ic_card_code</name> | |
| 591 | + <rename>一卡通号</rename> | |
| 592 | + <length>-2</length> | |
| 593 | + <precision>-2</precision> | |
| 594 | + </field> <field> <name>papers_code</name> | |
| 595 | + <rename>运营服务证号</rename> | |
| 596 | + <length>-2</length> | |
| 597 | + <precision>-2</precision> | |
| 598 | + </field> <field> <name>gz</name> | |
| 599 | + <rename>岗位</rename> | |
| 600 | + <length>-2</length> | |
| 601 | + <precision>-2</precision> | |
| 602 | + </field> <field> <name>remark</name> | |
| 603 | + <rename>备注</rename> | |
| 604 | + <length>-2</length> | |
| 605 | + <precision>-2</precision> | |
| 606 | + </field> <select_unspecified>N</select_unspecified> | |
| 607 | + </fields> <cluster_schema/> | |
| 608 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 609 | + <xloc>623</xloc> | |
| 610 | + <yloc>339</yloc> | |
| 611 | + <draw>Y</draw> | |
| 612 | + </GUI> | |
| 613 | + </step> | |
| 614 | + | |
| 615 | + <step> | |
| 616 | + <name>处理工号</name> | |
| 617 | + <type>ScriptValueMod</type> | |
| 618 | + <description/> | |
| 619 | + <distribute>Y</distribute> | |
| 620 | + <custom_distribution/> | |
| 621 | + <copies>1</copies> | |
| 622 | + <partitioning> | |
| 623 | + <method>none</method> | |
| 624 | + <schema_name/> | |
| 625 | + </partitioning> | |
| 626 | + <compatible>N</compatible> | |
| 627 | + <optimizationLevel>9</optimizationLevel> | |
| 628 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 629 | + <jsScript_name>Script 1</jsScript_name> | |
| 630 | + <jsScript_script>//Script here

var jc;
jc = job_code.split("-")[1];</jsScript_script> | |
| 631 | + </jsScript> </jsScripts> <fields> <field> <name>jc</name> | |
| 632 | + <rename>jc</rename> | |
| 633 | + <type>String</type> | |
| 634 | + <length>-1</length> | |
| 635 | + <precision>-1</precision> | |
| 636 | + <replace>N</replace> | |
| 637 | + </field> </fields> <cluster_schema/> | |
| 638 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 639 | + <xloc>423</xloc> | |
| 640 | + <yloc>444</yloc> | |
| 641 | + <draw>Y</draw> | |
| 642 | + </GUI> | |
| 643 | + </step> | |
| 644 | + | |
| 645 | + <step> | |
| 646 | + <name>公司查询</name> | |
| 647 | + <type>DBLookup</type> | |
| 648 | + <description/> | |
| 649 | + <distribute>Y</distribute> | |
| 650 | + <custom_distribution/> | |
| 651 | + <copies>1</copies> | |
| 652 | + <partitioning> | |
| 653 | + <method>none</method> | |
| 654 | + <schema_name/> | |
| 655 | + </partitioning> | |
| 656 | + <connection>bus_control_variable</connection> | |
| 657 | + <cache>N</cache> | |
| 658 | + <cache_load_all>N</cache_load_all> | |
| 659 | + <cache_size>0</cache_size> | |
| 660 | + <lookup> | |
| 661 | + <schema/> | |
| 662 | + <table>bsth_c_business</table> | |
| 663 | + <orderby/> | |
| 664 | + <fail_on_multiple>N</fail_on_multiple> | |
| 665 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 666 | + <key> | |
| 667 | + <name>up_code</name> | |
| 668 | + <field>up_code</field> | |
| 669 | + <condition>=</condition> | |
| 670 | + <name2/> | |
| 671 | + </key> | |
| 672 | + <key> | |
| 673 | + <name>company_code</name> | |
| 674 | + <field>business_code</field> | |
| 675 | + <condition>=</condition> | |
| 676 | + <name2/> | |
| 677 | + </key> | |
| 678 | + <value> | |
| 679 | + <name>business_name</name> | |
| 680 | + <rename>gs</rename> | |
| 681 | + <default/> | |
| 682 | + <type>String</type> | |
| 683 | + </value> | |
| 684 | + </lookup> | |
| 685 | + <cluster_schema/> | |
| 686 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 687 | + <xloc>361</xloc> | |
| 688 | + <yloc>65</yloc> | |
| 689 | + <draw>Y</draw> | |
| 690 | + </GUI> | |
| 691 | + </step> | |
| 692 | + | |
| 693 | + <step> | |
| 694 | + <name>分公司查询</name> | |
| 695 | + <type>DBLookup</type> | |
| 696 | + <description/> | |
| 697 | + <distribute>Y</distribute> | |
| 698 | + <custom_distribution/> | |
| 699 | + <copies>1</copies> | |
| 700 | + <partitioning> | |
| 701 | + <method>none</method> | |
| 702 | + <schema_name/> | |
| 703 | + </partitioning> | |
| 704 | + <connection>bus_control_variable</connection> | |
| 705 | + <cache>N</cache> | |
| 706 | + <cache_load_all>N</cache_load_all> | |
| 707 | + <cache_size>0</cache_size> | |
| 708 | + <lookup> | |
| 709 | + <schema/> | |
| 710 | + <table>bsth_c_business</table> | |
| 711 | + <orderby/> | |
| 712 | + <fail_on_multiple>N</fail_on_multiple> | |
| 713 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 714 | + <key> | |
| 715 | + <name>company_code</name> | |
| 716 | + <field>up_code</field> | |
| 717 | + <condition>=</condition> | |
| 718 | + <name2/> | |
| 719 | + </key> | |
| 720 | + <key> | |
| 721 | + <name>branche_company_code</name> | |
| 722 | + <field>business_code</field> | |
| 723 | + <condition>=</condition> | |
| 724 | + <name2/> | |
| 725 | + </key> | |
| 726 | + <value> | |
| 727 | + <name>business_name</name> | |
| 728 | + <rename>fgs</rename> | |
| 729 | + <default/> | |
| 730 | + <type>String</type> | |
| 731 | + </value> | |
| 732 | + </lookup> | |
| 733 | + <cluster_schema/> | |
| 734 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 735 | + <xloc>479</xloc> | |
| 736 | + <yloc>67</yloc> | |
| 737 | + <draw>Y</draw> | |
| 738 | + </GUI> | |
| 739 | + </step> | |
| 740 | + | |
| 741 | + <step_error_handling> | |
| 742 | + </step_error_handling> | |
| 743 | + <slave-step-copy-partition-distribution> | |
| 744 | +</slave-step-copy-partition-distribution> | |
| 745 | + <slave_transformation>N</slave_transformation> | |
| 746 | + | |
| 747 | +</transformation> | ... | ... |
src/main/resources/static/pages/base/timesmodel/js/add-form-wizard.js
| ... | ... | @@ -505,6 +505,14 @@ var SKBFormWizard = function() { |
| 505 | 505 | 'bxrc' : {required : true},// 班型人次,必填项 |
| 506 | 506 | 'linePlayType' : {required : true},// 线路规划类型,必填项 |
| 507 | 507 | 'zdzcrl' : {number : true,digits : true}, |
| 508 | + | |
| 509 | + | |
| 510 | + 'gfupStopTime' : {required : true,number : true}, // 高峰上行停站时间,必填项、必须为整数. | |
| 511 | + 'gfdownStopTime' : {required : true,number : true}, // 高峰下行停站时间,必填项、必须为整数. | |
| 512 | + 'dgupStopTime' : {required : true,number : true}, // 低谷上行停站时间,必填项、必须为整数. | |
| 513 | + 'dgdownStopTime' : {required : true,number : true}, // 低谷下行停站时间,必填项、必须为整数. | |
| 514 | + 'dgmaxfcjx' : {required : true,number : true}, // 低谷最大发车间隙,必填项、必须为整数. | |
| 515 | + 'dgmaxtzsj' : {required : true,number : true}, // 低谷最大停站时间,必填项、必须为整数. | |
| 508 | 516 | }, |
| 509 | 517 | |
| 510 | 518 | /** | ... | ... |
src/main/resources/static/pages/base/timesmodel/js/base-fun.js
| ... | ... | @@ -794,31 +794,36 @@ var BaseFun = function() { |
| 794 | 794 | |
| 795 | 795 | // 第一步 根据表单中的参数得到所有路牌下的班次数[从各路牌下的第一个班次发车时间 到 营运结束时间点并且是连续的班次数]. |
| 796 | 796 | var allLMapBc = baseF.GetByArgusInitAllLpDownedBcCollections(saa , cara , map , seMap , dataMap); |
| 797 | - | |
| 798 | - // 第二步 纵向调整 | |
| 797 | + //return {'json':allLMapBc,'bxrcgs':null}; | |
| 798 | + | |
| 799 | + // 第二步 纵向调整 | |
| 799 | 800 | baseF.evenStartDepartSpace(allLMapBc , dataMap); |
| 800 | - | |
| 801 | + //return {'json':allLMapBc,'bxrcgs':null}; | |
| 802 | + | |
| 801 | 803 | // 第三步 剔除首末班车以外的班次,并确认首末班车. |
| 802 | 804 | var markArray = baseF.markFirstAndLastBusAlsoDietNotInRangeBc(allLMapBc , dataMap); |
| 803 | - // return {'json':markArray,'bxrcgs':null}; | |
| 804 | - // 第四步 横向调整 | |
| 805 | + //return {'json':markArray,'bxrcgs':null}; | |
| 806 | + // 第四步 横向调整 | |
| 805 | 807 | baseF.resizeByPitStopTime(cara , markArray , dataMap); |
| 806 | - // return {'json':markArray,'bxrcgs':null}; | |
| 808 | + //return {'json':markArray,'bxrcgs':null}; | |
| 807 | 809 | /** |
| 808 | 810 | * 第五步 把班型合理的分配到各个路牌上. |
| 809 | - * | |
| 811 | + * | |
| 810 | 812 | * 切割班型/人次/配车数 字符串 为 数组对象. |
| 811 | - * | |
| 813 | + * | |
| 812 | 814 | * 把班型分配到对应的具体路牌上. |
| 813 | 815 | */ |
| 814 | 816 | // 切割班型/人次/配车数 字符串 为 数组对象. |
| 815 | 817 | var list = baseF.getBxRcListCollection(map.bxrc); |
| 816 | 818 | // 把班型分配到对应的具体路牌上. |
| 817 | 819 | baseF.bxAlloTotLp(list,cara); |
| 820 | + //return {'json':markArray,'bxrcgs':null}; | |
| 821 | + | |
| 822 | + | |
| 818 | 823 | // 第六步 抽车来满足工时. |
| 819 | 824 | var tempA = baseF.abstractCar(list , markArray , cara , saa , dataMap , map); |
| 820 | 825 | // return {'json':tempA,'bxrcgs':null}; |
| 821 | - // 第七步 确定吃饭时间. | |
| 826 | + // 第七步 确定吃饭时间. | |
| 822 | 827 | baseF.markeEatTime(list , tempA , cara , saa , dataMap ,map); |
| 823 | 828 | baseF.resizeByPitStopTime(cara , tempA , dataMap); |
| 824 | 829 | baseF.updfcno01(tempA,0); | ... | ... |
src/main/resources/static/pages/base/timesmodel/tepms/bctype_temp.html
| ... | ... | @@ -635,7 +635,9 @@ |
| 635 | 635 | <!-- 线路规划类型 (* 必填项) END --> |
| 636 | 636 | <!-- 起始站首班时间 (* 必填项) START --> |
| 637 | 637 | <div class="col-md-6"> |
| 638 | - <label class="control-label col-md-5"> 起始站首班时间 : </label> | |
| 638 | + <label class="control-label col-md-5"> | |
| 639 | + <span class="required"> * </span> 起始站首班时间 : | |
| 640 | + </label> | |
| 639 | 641 | <div class="col-md-4"> |
| 640 | 642 | <p class="form-control-static" data-display="startStationFirstTime"> </p> |
| 641 | 643 | </div> |
| ... | ... | @@ -643,7 +645,9 @@ |
| 643 | 645 | <!-- 起始站首班时间 (* 必填项) END --> |
| 644 | 646 | <!-- 起始站末班时间 (* 必填项) START --> |
| 645 | 647 | <div class="col-md-6"> |
| 646 | - <label class="control-label col-md-5"> 起始站末班时间 : </label> | |
| 648 | + <label class="control-label col-md-5"> | |
| 649 | + <span class="required"> * </span> 起始站末班时间 : | |
| 650 | + </label> | |
| 647 | 651 | <div class="col-md-4"> |
| 648 | 652 | <p class="form-control-static" data-display="startStationEndTime"> </p> |
| 649 | 653 | </div> |
| ... | ... | @@ -656,7 +660,9 @@ |
| 656 | 660 | <div class="form-group"> |
| 657 | 661 | <!-- 终点站首班时间 (* 必填项) START --> |
| 658 | 662 | <div class="col-md-6"> |
| 659 | - <label class="control-label col-md-5"> 终点站首班时间 : </label> | |
| 663 | + <label class="control-label col-md-5"> | |
| 664 | + <span class="required"> * </span> 终点站首班时间 : | |
| 665 | + </label> | |
| 660 | 666 | <div class="col-md-4"> |
| 661 | 667 | <p class="form-control-static" data-display="endStationFirstTime"> </p> |
| 662 | 668 | </div> |
| ... | ... | @@ -664,7 +670,9 @@ |
| 664 | 670 | <!-- 终点站首班时间 (* 必填项) END --> |
| 665 | 671 | <!-- 终点站末班时间 (* 必填项) START --> |
| 666 | 672 | <div class="col-md-6"> |
| 667 | - <label class="control-label col-md-5"> 终点站末班时间 : </label> | |
| 673 | + <label class="control-label col-md-5"> | |
| 674 | + <span class="required"> * </span> 终点站末班时间 : | |
| 675 | + </label> | |
| 668 | 676 | <div class="col-md-4"> |
| 669 | 677 | <p class="form-control-static" data-display="endStationEndTime"> </p> |
| 670 | 678 | </div> |
| ... | ... | @@ -677,7 +685,9 @@ |
| 677 | 685 | <div class="form-group"> |
| 678 | 686 | <!-- 早高峰开始时间(* 必填项) START --> |
| 679 | 687 | <div class="col-md-6"> |
| 680 | - <label class="control-label col-md-5"> 早高峰开始时间 : </label> | |
| 688 | + <label class="control-label col-md-5"> | |
| 689 | + <span class="required"> * </span> 早高峰开始时间 : | |
| 690 | + </label> | |
| 681 | 691 | <div class="col-md-4"> |
| 682 | 692 | <p class="form-control-static" data-display="earlyStartTime"> </p> |
| 683 | 693 | </div> |
| ... | ... | @@ -685,7 +695,9 @@ |
| 685 | 695 | <!-- 早高峰开始时间 (* 必填项) END --> |
| 686 | 696 | <!-- 早高峰结束时间 (* 必填项) START --> |
| 687 | 697 | <div class="col-md-6"> |
| 688 | - <label class="control-label col-md-5"> 早高峰结束时间 : </label> | |
| 698 | + <label class="control-label col-md-5"> | |
| 699 | + <span class="required"> * </span> 早高峰结束时间 : | |
| 700 | + </label> | |
| 689 | 701 | <div class="col-md-4"> |
| 690 | 702 | <p class="form-control-static" data-display="earlyEndTime"> </p> |
| 691 | 703 | </div> |
| ... | ... | @@ -698,7 +710,9 @@ |
| 698 | 710 | <div class="form-group"> |
| 699 | 711 | <!-- 晚高峰开始时间(* 必填项) START --> |
| 700 | 712 | <div class="col-md-6"> |
| 701 | - <label class="control-label col-md-5"> 晚高峰开始时间 : </label> | |
| 713 | + <label class="control-label col-md-5"> | |
| 714 | + <span class="required"> * </span> 晚高峰开始时间 : | |
| 715 | + </label> | |
| 702 | 716 | <div class="col-md-4"> |
| 703 | 717 | <p class="form-control-static" data-display="lateStartTime"> </p> |
| 704 | 718 | </div> |
| ... | ... | @@ -706,7 +720,9 @@ |
| 706 | 720 | <!-- 晚高峰开始时间(* 必填项) END --> |
| 707 | 721 | <!-- 晚高峰结束时间(* 必填项) START --> |
| 708 | 722 | <div class="col-md-6"> |
| 709 | - <label class="control-label col-md-5"> 晚高峰结束时间 : </label> | |
| 723 | + <label class="control-label col-md-5"> | |
| 724 | + <span class="required"> * </span> 晚高峰结束时间 : | |
| 725 | + </label> | |
| 710 | 726 | <div class="col-md-4"> |
| 711 | 727 | <p class="form-control-static" data-display="lateEndTime"> </p> |
| 712 | 728 | </div> |
| ... | ... | @@ -719,7 +735,9 @@ |
| 719 | 735 | <div class="form-group"> |
| 720 | 736 | <!-- 上行行驶时间(* 必填项) START --> |
| 721 | 737 | <div class="col-md-6"> |
| 722 | - <label class="control-label col-md-5"> 上行行驶时间 : </label> | |
| 738 | + <label class="control-label col-md-5"> | |
| 739 | + <span class="required"> * </span> 上行行驶时间 : | |
| 740 | + </label> | |
| 723 | 741 | <div class="col-md-4"> |
| 724 | 742 | <p class="form-control-static" data-display="upTravelTime"> </p> |
| 725 | 743 | </div> |
| ... | ... | @@ -727,7 +745,9 @@ |
| 727 | 745 | <!-- 上行行驶时间(* 必填项) END --> |
| 728 | 746 | <!-- 下行行驶时间(* 必填项) START --> |
| 729 | 747 | <div class="col-md-6"> |
| 730 | - <label class="control-label col-md-5"> 下行行驶时间 : </label> | |
| 748 | + <label class="control-label col-md-5"> | |
| 749 | + <span class="required"> * </span> 下行行驶时间 : | |
| 750 | + </label> | |
| 731 | 751 | <div class="col-md-4"> |
| 732 | 752 | <p class="form-control-static" data-display="downTravelTime"> </p> |
| 733 | 753 | </div> |
| ... | ... | @@ -740,7 +760,9 @@ |
| 740 | 760 | <div class="form-group"> |
| 741 | 761 | <!-- 上行行驶里程(* 必填项) START --> |
| 742 | 762 | <div class="col-md-6"> |
| 743 | - <label class="control-label col-md-5"> 上行行驶里程 : </label> | |
| 763 | + <label class="control-label col-md-5"> | |
| 764 | + <span class="required"> * </span> 上行行驶里程 : | |
| 765 | + </label> | |
| 744 | 766 | <div class="col-md-4"> |
| 745 | 767 | <p class="form-control-static" data-display="upMileage"> </p> |
| 746 | 768 | </div> |
| ... | ... | @@ -748,7 +770,9 @@ |
| 748 | 770 | <!-- 上行行驶里程(* 必填项) END--> |
| 749 | 771 | <!-- 下行行驶里程(* 必填项) START --> |
| 750 | 772 | <div class="col-md-6"> |
| 751 | - <label class="control-label col-md-5"> 下行行驶里程 : </label> | |
| 773 | + <label class="control-label col-md-5"> | |
| 774 | + <span class="required"> * </span> 下行行驶里程 : | |
| 775 | + </label> | |
| 752 | 776 | <div class="col-md-4"> |
| 753 | 777 | <p class="form-control-static" data-display="downMileage"> </p> |
| 754 | 778 | </div> |
| ... | ... | @@ -761,7 +785,9 @@ |
| 761 | 785 | <div class="form-group"> |
| 762 | 786 | <!-- 高峰上行停站时间(* 必填项) START --> |
| 763 | 787 | <div class="col-md-6"> |
| 764 | - <label class="control-label col-md-5"> 高峰上行停站时间: </label> | |
| 788 | + <label class="control-label col-md-5"> | |
| 789 | + <span class="required"> * </span> 高峰上行停站时间: | |
| 790 | + </label> | |
| 765 | 791 | <div class="col-md-4"> |
| 766 | 792 | <p class="form-control-static" data-display="gfupStopTime"> </p> |
| 767 | 793 | </div> |
| ... | ... | @@ -769,7 +795,9 @@ |
| 769 | 795 | <!-- 高峰上行停站时间(* 必填项) END --> |
| 770 | 796 | <!-- 高峰下行停站时间(* 必填项) START --> |
| 771 | 797 | <div class="col-md-6"> |
| 772 | - <label class="control-label col-md-5"> 高峰下行停站时间: </label> | |
| 798 | + <label class="control-label col-md-5"> | |
| 799 | + <span class="required"> * </span> 高峰下行停站时间: | |
| 800 | + </label> | |
| 773 | 801 | <div class="col-md-4"> |
| 774 | 802 | <p class="form-control-static" data-display="gfdownStopTime"> </p> |
| 775 | 803 | </div> |
| ... | ... | @@ -782,7 +810,9 @@ |
| 782 | 810 | <div class="form-group"> |
| 783 | 811 | <!-- 低谷上行停站时间(* 必填项) START --> |
| 784 | 812 | <div class="col-md-6"> |
| 785 | - <label class="control-label col-md-5"> 低谷上行停站时间: </label> | |
| 813 | + <label class="control-label col-md-5"> | |
| 814 | + <span class="required"> * </span> 低谷上行停站时间: | |
| 815 | + </label> | |
| 786 | 816 | <div class="col-md-4"> |
| 787 | 817 | <p class="form-control-static" data-display="dgupStopTime"> </p> |
| 788 | 818 | </div> |
| ... | ... | @@ -790,7 +820,9 @@ |
| 790 | 820 | <!-- 低谷上行停站时间(* 必填项) END --> |
| 791 | 821 | <!-- 低谷下行停站时间(* 必填项) START --> |
| 792 | 822 | <div class="col-md-6"> |
| 793 | - <label class="control-label col-md-5"> 低谷下行停站时间: </label> | |
| 823 | + <label class="control-label col-md-5"> | |
| 824 | + <span class="required"> * </span> 低谷下行停站时间: | |
| 825 | + </label> | |
| 794 | 826 | <div class="col-md-4"> |
| 795 | 827 | <p class="form-control-static" data-display="dgdownStopTime"> </p> |
| 796 | 828 | </div> |
| ... | ... | @@ -803,7 +835,9 @@ |
| 803 | 835 | <div class="form-group"> |
| 804 | 836 | <!-- 低谷最大发车间隙(* 必填项) START --> |
| 805 | 837 | <div class="col-md-6"> |
| 806 | - <label class="control-label col-md-5"> 低谷最大发车间隙: </label> | |
| 838 | + <label class="control-label col-md-5"> | |
| 839 | + <span class="required"> * </span> 低谷最大发车间隙: | |
| 840 | + </label> | |
| 807 | 841 | <div class="col-md-4"> |
| 808 | 842 | <p class="form-control-static" data-display="dgmaxfcjx"> </p> |
| 809 | 843 | </div> |
| ... | ... | @@ -812,7 +846,9 @@ |
| 812 | 846 | |
| 813 | 847 | <!-- 低谷最大停站时间(* 必填项) START --> |
| 814 | 848 | <div class="col-md-6"> |
| 815 | - <label class="control-label col-md-5"> 低谷最大停站时间: </label> | |
| 849 | + <label class="control-label col-md-5"> | |
| 850 | + <span class="required"> * </span> 低谷最大停站时间: | |
| 851 | + </label> | |
| 816 | 852 | <div class="col-md-4"> |
| 817 | 853 | <p class="form-control-static" data-display="dgmaxtzsj"> </p> |
| 818 | 854 | </div> |
| ... | ... | @@ -825,7 +861,9 @@ |
| 825 | 861 | <div class="form-group"> |
| 826 | 862 | <!-- 线路规划类型 (* 必填项) START --> |
| 827 | 863 | <div class="col-md-6"> |
| 828 | - <label class="control-label col-md-5"> 线路规划类型 : </label> | |
| 864 | + <label class="control-label col-md-5"> | |
| 865 | + <span class="required"> * </span> 线路规划类型 : | |
| 866 | + </label> | |
| 829 | 867 | <div class="col-md-4"> |
| 830 | 868 | <p class="form-control-static" data-display="linePlayType"> </p> |
| 831 | 869 | </div> |
| ... | ... | @@ -1076,7 +1114,9 @@ |
| 1076 | 1114 | <div class="form-group"> |
| 1077 | 1115 | <!-- 班型与人次 START --> |
| 1078 | 1116 | <div class="col-md-6"> |
| 1079 | - <label class="control-label col-md-5">班型/人次/车辆 :</label> | |
| 1117 | + <label class="control-label col-md-5"> | |
| 1118 | + <span class="required"> * </span> 班型/人次/车辆 : | |
| 1119 | + </label> | |
| 1080 | 1120 | <div class="col-md-4"> |
| 1081 | 1121 | <p class="form-control-static" data-display="bxrc"> </p> |
| 1082 | 1122 | </div> |
| ... | ... | @@ -1084,7 +1124,9 @@ |
| 1084 | 1124 | <!-- 班型与人次 END --> |
| 1085 | 1125 | <!-- 车辆总数 START --> |
| 1086 | 1126 | <div class="col-md-6"> |
| 1087 | - <label class="control-label col-md-5"> 车辆总数 :</label> | |
| 1127 | + <label class="control-label col-md-5"> | |
| 1128 | + <span class="required"> * </span> 车辆总数 : | |
| 1129 | + </label> | |
| 1088 | 1130 | <div class="col-md-4"> |
| 1089 | 1131 | <p class="form-control-static" data-display="clzs"> </p> |
| 1090 | 1132 | </div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/edit.html
| ... | ... | @@ -55,8 +55,8 @@ |
| 55 | 55 | </div> |
| 56 | 56 | </div> |
| 57 | 57 | |
| 58 | - <div class="form-group"> | |
| 59 | - <label class="col-md-2 control-label">分公司:</label> | |
| 58 | + <div class="form-group has-success has-feedback"> | |
| 59 | + <label class="col-md-2 control-label">分公司*:</label> | |
| 60 | 60 | <div class="col-md-3"> |
| 61 | 61 | <sa-Select5 name="fgs" |
| 62 | 62 | model="ctrl.employeeInfoForSave" |
| ... | ... | @@ -68,17 +68,23 @@ |
| 68 | 68 | iterobjexp="item.businessName" |
| 69 | 69 | searchph="请选择所属分公司..." |
| 70 | 70 | searchexp="this.businessName" |
| 71 | + required | |
| 71 | 72 | > |
| 72 | 73 | </sa-Select5> |
| 73 | 74 | |
| 74 | 75 | </div> |
| 76 | + | |
| 77 | + <!-- 隐藏块,显示验证信息 --> | |
| 78 | + <div class="alert alert-danger well-sm" ng-show="myForm.fgs.$error.required"> | |
| 79 | + 分公司也必须选择 | |
| 80 | + </div> | |
| 75 | 81 | </div> |
| 76 | 82 | |
| 77 | 83 | <div class="form-group has-success has-feedback"> |
| 78 | 84 | <label class="col-md-2 control-label">工号*:</label> |
| 79 | 85 | <div class="col-md-3"> |
| 80 | 86 | <input type="text" class="form-control" |
| 81 | - name="jobCode" ng-model="ctrl.employeeInfoForSave.jobCode" | |
| 87 | + name="jobCode" ng-model="ctrl.employeeInfoForSave.jobCodeori" | |
| 82 | 88 | required placeholder="请输入工号" |
| 83 | 89 | remote-Validation |
| 84 | 90 | remotevtype="ee_gh" |
| ... | ... | @@ -147,6 +153,17 @@ |
| 147 | 153 | </div> |
| 148 | 154 | </div> |
| 149 | 155 | |
| 156 | + <div class="form-group"> | |
| 157 | + <label class="col-md-2 control-label">备注:</label> | |
| 158 | + <div class="col-md-3"> | |
| 159 | + <textarea class="form-control" | |
| 160 | + ng-model="ctrl.employeeInfoForSave.remark" | |
| 161 | + > | |
| 162 | + </textarea> | |
| 163 | + </div> | |
| 164 | + | |
| 165 | + </div> | |
| 166 | + | |
| 150 | 167 | <!-- 其他form-group --> |
| 151 | 168 | |
| 152 | 169 | </div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/form.html
| ... | ... | @@ -55,8 +55,8 @@ |
| 55 | 55 | </div> |
| 56 | 56 | </div> |
| 57 | 57 | |
| 58 | - <div class="form-group"> | |
| 59 | - <label class="col-md-2 control-label">分公司:</label> | |
| 58 | + <div class="form-group has-success has-feedback"> | |
| 59 | + <label class="col-md-2 control-label">分公司*:</label> | |
| 60 | 60 | <div class="col-md-3"> |
| 61 | 61 | <sa-Select5 name="fgs" |
| 62 | 62 | model="ctrl.employeeInfoForSave" |
| ... | ... | @@ -68,17 +68,22 @@ |
| 68 | 68 | iterobjexp="item.businessName" |
| 69 | 69 | searchph="请选择所属分公司..." |
| 70 | 70 | searchexp="this.businessName" |
| 71 | + required | |
| 71 | 72 | > |
| 72 | 73 | </sa-Select5> |
| 73 | 74 | |
| 74 | 75 | </div> |
| 76 | + <!-- 隐藏块,显示验证信息 --> | |
| 77 | + <div class="alert alert-danger well-sm" ng-show="myForm.fgs.$error.required"> | |
| 78 | + 分公司也必须选择 | |
| 79 | + </div> | |
| 75 | 80 | </div> |
| 76 | 81 | |
| 77 | 82 | <div class="form-group has-success has-feedback"> |
| 78 | 83 | <label class="col-md-2 control-label">工号*:</label> |
| 79 | 84 | <div class="col-md-3"> |
| 80 | 85 | <input type="text" class="form-control" |
| 81 | - name="jobCode" ng-model="ctrl.employeeInfoForSave.jobCode" | |
| 86 | + name="jobCode" ng-model="ctrl.employeeInfoForSave.jobCodeori" | |
| 82 | 87 | required placeholder="请输入工号" |
| 83 | 88 | remote-Validation |
| 84 | 89 | remotevtype="ee_gh" |
| ... | ... | @@ -147,6 +152,17 @@ |
| 147 | 152 | </div> |
| 148 | 153 | </div> |
| 149 | 154 | |
| 155 | + <div class="form-group"> | |
| 156 | + <label class="col-md-2 control-label">备注:</label> | |
| 157 | + <div class="col-md-3"> | |
| 158 | + <textarea class="form-control" | |
| 159 | + ng-model="ctrl.employeeInfoForSave.remark" | |
| 160 | + > | |
| 161 | + </textarea> | |
| 162 | + </div> | |
| 163 | + | |
| 164 | + </div> | |
| 165 | + | |
| 150 | 166 | <!-- 其他form-group --> |
| 151 | 167 | |
| 152 | 168 | </div> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/list.html
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | <tr role="row" class="heading"> |
| 7 | 7 | <th style="width: 50px;">序号</th> |
| 8 | 8 | <th style="width: 130px;">姓名</th> |
| 9 | - <th style="width: 130px;">工号</th> | |
| 9 | + <th style="width: 130px;">员工编号</th> | |
| 10 | 10 | <th style="width: 5%;">性别</th> |
| 11 | 11 | <th style="width: 15%;">所在公司</th> |
| 12 | 12 | <th >分公司</th> | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/employeeInfoManage/module.js
| ... | ... | @@ -72,7 +72,13 @@ angular.module('ScheduleApp').factory( |
| 72 | 72 | * @returns {*|Function|promise|n} |
| 73 | 73 | */ |
| 74 | 74 | dataExport: function() { |
| 75 | - return service.dataTools.dataExport().$promise; | |
| 75 | + if (UserPrincipal.getGsStrsQuery().length > 0) { | |
| 76 | + return service.dataTools.dataExport( | |
| 77 | + {'cgsbm_in': UserPrincipal.getGsStrsQuery().join(",")} | |
| 78 | + ).$promise; | |
| 79 | + } else { | |
| 80 | + return null; | |
| 81 | + } | |
| 76 | 82 | } |
| 77 | 83 | } |
| 78 | 84 | } |
| ... | ... | @@ -124,14 +130,17 @@ angular.module('ScheduleApp').controller( |
| 124 | 130 | |
| 125 | 131 | // 导出excel |
| 126 | 132 | self.exportData = function() { |
| 127 | - employeeInfoManageService.dataExport().then( | |
| 128 | - function(result) { | |
| 129 | - fileDownload.downloadFile(result.data, "application/octet-stream", "人员基础信息.xls"); | |
| 130 | - }, | |
| 131 | - function(result) { | |
| 132 | - console.log("exportData failed:" + result); | |
| 133 | - } | |
| 134 | - ); | |
| 133 | + var p = employeeInfoManageService.dataExport(); | |
| 134 | + if (p) { | |
| 135 | + p.then( | |
| 136 | + function(result) { | |
| 137 | + fileDownload.downloadFile(result.data, "application/octet-stream", "人员基础信息.xls"); | |
| 138 | + }, | |
| 139 | + function(result) { | |
| 140 | + console.log("exportData failed:" + result); | |
| 141 | + } | |
| 142 | + ); | |
| 143 | + } | |
| 135 | 144 | }; |
| 136 | 145 | |
| 137 | 146 | } |
| ... | ... | @@ -256,17 +265,20 @@ angular.module('ScheduleApp').controller( |
| 256 | 265 | // 获取传过来的id,有的话就是修改,获取一遍数据 |
| 257 | 266 | var id = $stateParams.id; |
| 258 | 267 | if (id) { |
| 259 | - self.employeeInfoForSave = Employee.get({id: id}, function() {}); | |
| 268 | + self.employeeInfoForSave = Employee.get({id: id}, function() { | |
| 269 | + // 员工编号=公司编码_工号 | |
| 270 | + if (!self.employeeInfoForSave.jobCodeori) { | |
| 271 | + self.employeeInfoForSave.jobCodeori = self.employeeInfoForSave.jobCode.split("-")[1]; | |
| 272 | + } | |
| 273 | + }); | |
| 274 | + | |
| 260 | 275 | } |
| 261 | 276 | |
| 262 | 277 | // 提交方法 |
| 263 | 278 | self.submit = function() { |
| 264 | - // 在工号前添加公司编码 | |
| 265 | - var gh = self.employeeInfoForSave.jobCode; | |
| 266 | - if (gh.indexOf("-") < 0) { | |
| 267 | - gh = self.employeeInfoForSave.companyCode + "-" + gh; | |
| 268 | - self.employeeInfoForSave.jobCode = gh; | |
| 269 | - } | |
| 279 | + // 员工编号=公司编码_工号 | |
| 280 | + var gh = self.employeeInfoForSave.jobCodeori; | |
| 281 | + self.employeeInfoForSave.jobCode = self.employeeInfoForSave.companyCode + "-" + gh; | |
| 270 | 282 | |
| 271 | 283 | console.log(self.employeeInfoForSave); |
| 272 | 284 | ... | ... |
src/main/resources/static/pages/scheduleApp/module/common/main.js
| ... | ... | @@ -19,6 +19,7 @@ ScheduleApp.factory('UserPrincipal', [ |
| 19 | 19 | var gsinfos = []; // 原始返回的对象数据 |
| 20 | 20 | var gsinfo_strs = []; // 拼装以后的(公司代码_分公司代码) |
| 21 | 21 | var gsinfo_strs_u = []; // 拼装以后的(分公司代码_公司代码) |
| 22 | + var gsinfo_strs_query = []; // 拼装以后的(公司代码_分公司代码),带单引号 | |
| 22 | 23 | |
| 23 | 24 | $http({ |
| 24 | 25 | method: 'GET', |
| ... | ... | @@ -32,6 +33,7 @@ ScheduleApp.factory('UserPrincipal', [ |
| 32 | 33 | var fgsbm = obj2.code; |
| 33 | 34 | gsinfo_strs.push(gsbm + "_" + fgsbm); |
| 34 | 35 | gsinfo_strs_u.push(fgsbm + "_" + gsbm); |
| 36 | + gsinfo_strs_query.push("'" + gsbm + "_" + fgsbm + "'"); | |
| 35 | 37 | }); |
| 36 | 38 | }); |
| 37 | 39 | |
| ... | ... | @@ -46,6 +48,9 @@ ScheduleApp.factory('UserPrincipal', [ |
| 46 | 48 | }, |
| 47 | 49 | getGsStrsU: function() { |
| 48 | 50 | return gsinfo_strs_u; |
| 51 | + }, | |
| 52 | + getGsStrsQuery: function() { | |
| 53 | + return gsinfo_strs_query; | |
| 49 | 54 | } |
| 50 | 55 | }; |
| 51 | 56 | } | ... | ... |