Commit 3f4c51e7543bc057271827468a1a5702dc7b289e
1 parent
e1a1ce87
update
Showing
10 changed files
with
3285 additions
and
6 deletions
src/main/java/com/bsth/controller/schedule/TTInfoController.java
| @@ -2,6 +2,9 @@ package com.bsth.controller.schedule; | @@ -2,6 +2,9 @@ package com.bsth.controller.schedule; | ||
| 2 | 2 | ||
| 3 | import com.bsth.controller.BaseController; | 3 | import com.bsth.controller.BaseController; |
| 4 | import com.bsth.entity.schedule.TTInfo; | 4 | import com.bsth.entity.schedule.TTInfo; |
| 5 | +import com.bsth.service.schedule.utils.DataToolsProperties; | ||
| 6 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 7 | +import org.springframework.boot.context.properties.EnableConfigurationProperties; | ||
| 5 | import org.springframework.web.bind.annotation.RequestMapping; | 8 | import org.springframework.web.bind.annotation.RequestMapping; |
| 6 | import org.springframework.web.bind.annotation.RestController; | 9 | import org.springframework.web.bind.annotation.RestController; |
| 7 | 10 | ||
| @@ -10,5 +13,13 @@ import org.springframework.web.bind.annotation.RestController; | @@ -10,5 +13,13 @@ import org.springframework.web.bind.annotation.RestController; | ||
| 10 | */ | 13 | */ |
| 11 | @RestController | 14 | @RestController |
| 12 | @RequestMapping("tic") | 15 | @RequestMapping("tic") |
| 16 | +@EnableConfigurationProperties(DataToolsProperties.class) | ||
| 13 | public class TTInfoController extends BaseController<TTInfo, Long> { | 17 | public class TTInfoController extends BaseController<TTInfo, Long> { |
| 18 | + @Autowired | ||
| 19 | + private DataToolsProperties dataToolsProperties; | ||
| 20 | + | ||
| 21 | + @Override | ||
| 22 | + protected String getDataImportKtrClasspath() { | ||
| 23 | + return dataToolsProperties.getTtinfoDatainputktr(); | ||
| 24 | + } | ||
| 14 | } | 25 | } |
src/main/java/com/bsth/service/schedule/utils/DataToolsProperties.java
| @@ -40,6 +40,9 @@ public class DataToolsProperties { | @@ -40,6 +40,9 @@ public class DataToolsProperties { | ||
| 40 | /** 路牌信息导入 */ | 40 | /** 路牌信息导入 */ |
| 41 | @NotNull | 41 | @NotNull |
| 42 | private String guideboardsDatainputktr; | 42 | private String guideboardsDatainputktr; |
| 43 | + /** 时刻表基础信息导入 */ | ||
| 44 | + @NotNull | ||
| 45 | + private String ttinfoDatainputktr; | ||
| 43 | 46 | ||
| 44 | // TODO: | 47 | // TODO: |
| 45 | 48 | ||
| @@ -106,4 +109,12 @@ public class DataToolsProperties { | @@ -106,4 +109,12 @@ public class DataToolsProperties { | ||
| 106 | public void setGuideboardsDatainputktr(String guideboardsDatainputktr) { | 109 | public void setGuideboardsDatainputktr(String guideboardsDatainputktr) { |
| 107 | this.guideboardsDatainputktr = guideboardsDatainputktr; | 110 | this.guideboardsDatainputktr = guideboardsDatainputktr; |
| 108 | } | 111 | } |
| 112 | + | ||
| 113 | + public String getTtinfoDatainputktr() { | ||
| 114 | + return ttinfoDatainputktr; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + public void setTtinfoDatainputktr(String ttinfoDatainputktr) { | ||
| 118 | + this.ttinfoDatainputktr = ttinfoDatainputktr; | ||
| 119 | + } | ||
| 109 | } | 120 | } |
src/main/resources/datatools/config.properties
| @@ -14,10 +14,9 @@ datatools.cars_datainputktr=/datatools/ktrs/carsDataInput.ktr | @@ -14,10 +14,9 @@ datatools.cars_datainputktr=/datatools/ktrs/carsDataInput.ktr | ||
| 14 | datatools.employees_datainputktr=/datatools/ktrs/employeesDataInput.ktr | 14 | datatools.employees_datainputktr=/datatools/ktrs/employeesDataInput.ktr |
| 15 | # 路牌信息导入 | 15 | # 路牌信息导入 |
| 16 | datatools.guideboards_datainputktr=/datatools/ktrs/guideboardDataInput.ktr | 16 | datatools.guideboards_datainputktr=/datatools/ktrs/guideboardDataInput.ktr |
| 17 | - | ||
| 18 | # 时刻表基础信息导入 | 17 | # 时刻表基础信息导入 |
| 19 | - | ||
| 20 | -# 时刻明细信息导入 | 18 | +datatools.ttinfo_datainputktr=/datatools/ktrs/ttinfoDataInput.ktr |
| 19 | +# 时刻表明细信息导入 | ||
| 21 | 20 | ||
| 22 | # 车辆配置信息导入 | 21 | # 车辆配置信息导入 |
| 23 | datatools.carsconfig_datainputktr=/datatools/ktrs/carsConfigDataInput.ktr | 22 | datatools.carsconfig_datainputktr=/datatools/ktrs/carsConfigDataInput.ktr |
src/main/resources/datatools/ktrs/ttinfoDataInput.ktr
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>ttinfoDataInput</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/30 09:35:41.558</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2016/06/30 09:35:41.558</modified_date> | ||
| 83 | + <key_for_session_key/> | ||
| 84 | + <is_key_private>N</is_key_private> | ||
| 85 | + </info> | ||
| 86 | + <notepads> | ||
| 87 | + <notepad> | ||
| 88 | + <note>有些字段没有输入,不太明白,以后再补
模版类型 分时刻表/间隔式两种,暂时空着
是否启用调度模版 暂时空着
还有就是 分别在,圈后圈 暂时没有</note> | ||
| 89 | + <xloc>429</xloc> | ||
| 90 | + <yloc>144</yloc> | ||
| 91 | + <width>240</width> | ||
| 92 | + <heigth>74</heigth> | ||
| 93 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 94 | + <fontsize>12</fontsize> | ||
| 95 | + <fontbold>N</fontbold> | ||
| 96 | + <fontitalic>N</fontitalic> | ||
| 97 | + <fontcolorred>0</fontcolorred> | ||
| 98 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 99 | + <fontcolorblue>0</fontcolorblue> | ||
| 100 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 101 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 102 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 103 | + <bordercolorred>100</bordercolorred> | ||
| 104 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 105 | + <bordercolorblue>100</bordercolorblue> | ||
| 106 | + <drawshadow>Y</drawshadow> | ||
| 107 | + </notepad> | ||
| 108 | + </notepads> | ||
| 109 | + <connection> | ||
| 110 | + <name>bus_control_公司_201</name> | ||
| 111 | + <server>192.168.168.201</server> | ||
| 112 | + <type>MYSQL</type> | ||
| 113 | + <access>Native</access> | ||
| 114 | + <database>control</database> | ||
| 115 | + <port>3306</port> | ||
| 116 | + <username>root</username> | ||
| 117 | + <password>Encrypted 2be98afc86aa7f2e4cb79ff228dc6fa8c</password> | ||
| 118 | + <servername/> | ||
| 119 | + <data_tablespace/> | ||
| 120 | + <index_tablespace/> | ||
| 121 | + <attributes> | ||
| 122 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 123 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 124 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 125 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 126 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 127 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 128 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 129 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 130 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 131 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 132 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 133 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 134 | + </attributes> | ||
| 135 | + </connection> | ||
| 136 | + <connection> | ||
| 137 | + <name>xlab_mysql_youle</name> | ||
| 138 | + <server>101.231.124.8</server> | ||
| 139 | + <type>MYSQL</type> | ||
| 140 | + <access>Native</access> | ||
| 141 | + <database>xlab_youle</database> | ||
| 142 | + <port>45687</port> | ||
| 143 | + <username>xlab-youle</username> | ||
| 144 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 145 | + <servername/> | ||
| 146 | + <data_tablespace/> | ||
| 147 | + <index_tablespace/> | ||
| 148 | + <attributes> | ||
| 149 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 150 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 151 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 152 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 153 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 154 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 155 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 156 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 157 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 158 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 161 | + </attributes> | ||
| 162 | + </connection> | ||
| 163 | + <connection> | ||
| 164 | + <name>xlab_mysql_youle(本机)</name> | ||
| 165 | + <server>localhost</server> | ||
| 166 | + <type>MYSQL</type> | ||
| 167 | + <access>Native</access> | ||
| 168 | + <database>xlab_youle</database> | ||
| 169 | + <port>3306</port> | ||
| 170 | + <username>root</username> | ||
| 171 | + <password>Encrypted </password> | ||
| 172 | + <servername/> | ||
| 173 | + <data_tablespace/> | ||
| 174 | + <index_tablespace/> | ||
| 175 | + <attributes> | ||
| 176 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 177 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 178 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 179 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 180 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 181 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 182 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 183 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 184 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 185 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 186 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 188 | + </attributes> | ||
| 189 | + </connection> | ||
| 190 | + <connection> | ||
| 191 | + <name>xlab_youle</name> | ||
| 192 | + <server/> | ||
| 193 | + <type>MYSQL</type> | ||
| 194 | + <access>JNDI</access> | ||
| 195 | + <database>xlab_youle</database> | ||
| 196 | + <port>1521</port> | ||
| 197 | + <username/> | ||
| 198 | + <password>Encrypted </password> | ||
| 199 | + <servername/> | ||
| 200 | + <data_tablespace/> | ||
| 201 | + <index_tablespace/> | ||
| 202 | + <attributes> | ||
| 203 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 204 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 205 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 206 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 207 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 208 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 209 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 210 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 211 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 212 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 213 | + </attributes> | ||
| 214 | + </connection> | ||
| 215 | + <order> | ||
| 216 | + <hop> <from>插入/更新bsth_c_s_ttinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | ||
| 217 | + <hop> <from>查找线路关联</from><to>插入/更新bsth_c_s_ttinfo</to><enabled>Y</enabled> </hop> | ||
| 218 | + <hop> <from>时刻表基础数据Excel输入</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 219 | + <hop> <from>字段选择</from><to>线路上下行值映射</to><enabled>Y</enabled> </hop> | ||
| 220 | + <hop> <from>线路上下行值映射</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 221 | + <hop> <from>获取变量</from><to>时刻表基础数据Excel输入</to><enabled>Y</enabled> </hop> | ||
| 222 | + </order> | ||
| 223 | + <step> | ||
| 224 | + <name>插入/更新bsth_c_s_ttinfo</name> | ||
| 225 | + <type>InsertUpdate</type> | ||
| 226 | + <description/> | ||
| 227 | + <distribute>Y</distribute> | ||
| 228 | + <custom_distribution/> | ||
| 229 | + <copies>1</copies> | ||
| 230 | + <partitioning> | ||
| 231 | + <method>none</method> | ||
| 232 | + <schema_name/> | ||
| 233 | + </partitioning> | ||
| 234 | + <connection>bus_control_公司_201</connection> | ||
| 235 | + <commit>100</commit> | ||
| 236 | + <update_bypassed>N</update_bypassed> | ||
| 237 | + <lookup> | ||
| 238 | + <schema/> | ||
| 239 | + <table>bsth_c_s_ttinfo</table> | ||
| 240 | + <key> | ||
| 241 | + <name>xlid</name> | ||
| 242 | + <field>xl</field> | ||
| 243 | + <condition>=</condition> | ||
| 244 | + <name2/> | ||
| 245 | + </key> | ||
| 246 | + <key> | ||
| 247 | + <name>name</name> | ||
| 248 | + <field>name</field> | ||
| 249 | + <condition>=</condition> | ||
| 250 | + <name2/> | ||
| 251 | + </key> | ||
| 252 | + <value> | ||
| 253 | + <name>name</name> | ||
| 254 | + <rename>name</rename> | ||
| 255 | + <update>Y</update> | ||
| 256 | + </value> | ||
| 257 | + <value> | ||
| 258 | + <name>xl_dir</name> | ||
| 259 | + <rename>xlDir</rename> | ||
| 260 | + <update>Y</update> | ||
| 261 | + </value> | ||
| 262 | + <value> | ||
| 263 | + <name>qyrq</name> | ||
| 264 | + <rename>qyrq</rename> | ||
| 265 | + <update>Y</update> | ||
| 266 | + </value> | ||
| 267 | + <value> | ||
| 268 | + <name>lp_count</name> | ||
| 269 | + <rename>lpCount</rename> | ||
| 270 | + <update>Y</update> | ||
| 271 | + </value> | ||
| 272 | + <value> | ||
| 273 | + <name>loop_count</name> | ||
| 274 | + <rename>loopCount</rename> | ||
| 275 | + <update>Y</update> | ||
| 276 | + </value> | ||
| 277 | + <value> | ||
| 278 | + <name>rule_days</name> | ||
| 279 | + <rename>rule_days</rename> | ||
| 280 | + <update>Y</update> | ||
| 281 | + </value> | ||
| 282 | + <value> | ||
| 283 | + <name>special_days</name> | ||
| 284 | + <rename>special_days</rename> | ||
| 285 | + <update>Y</update> | ||
| 286 | + </value> | ||
| 287 | + <value> | ||
| 288 | + <name>xl</name> | ||
| 289 | + <rename>xlid</rename> | ||
| 290 | + <update>Y</update> | ||
| 291 | + </value> | ||
| 292 | + </lookup> | ||
| 293 | + <cluster_schema/> | ||
| 294 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 295 | + <xloc>799</xloc> | ||
| 296 | + <yloc>71</yloc> | ||
| 297 | + <draw>Y</draw> | ||
| 298 | + </GUI> | ||
| 299 | + </step> | ||
| 300 | + | ||
| 301 | + <step> | ||
| 302 | + <name>查找线路关联</name> | ||
| 303 | + <type>DBLookup</type> | ||
| 304 | + <description/> | ||
| 305 | + <distribute>Y</distribute> | ||
| 306 | + <custom_distribution/> | ||
| 307 | + <copies>1</copies> | ||
| 308 | + <partitioning> | ||
| 309 | + <method>none</method> | ||
| 310 | + <schema_name/> | ||
| 311 | + </partitioning> | ||
| 312 | + <connection>bus_control_公司_201</connection> | ||
| 313 | + <cache>N</cache> | ||
| 314 | + <cache_load_all>N</cache_load_all> | ||
| 315 | + <cache_size>0</cache_size> | ||
| 316 | + <lookup> | ||
| 317 | + <schema/> | ||
| 318 | + <table>bsth_c_line</table> | ||
| 319 | + <orderby/> | ||
| 320 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 321 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 322 | + <key> | ||
| 323 | + <name>xlName</name> | ||
| 324 | + <field>name</field> | ||
| 325 | + <condition>=</condition> | ||
| 326 | + <name2/> | ||
| 327 | + </key> | ||
| 328 | + <value> | ||
| 329 | + <name>id</name> | ||
| 330 | + <rename>xlid</rename> | ||
| 331 | + <default/> | ||
| 332 | + <type>Integer</type> | ||
| 333 | + </value> | ||
| 334 | + </lookup> | ||
| 335 | + <cluster_schema/> | ||
| 336 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 337 | + <xloc>599</xloc> | ||
| 338 | + <yloc>71</yloc> | ||
| 339 | + <draw>Y</draw> | ||
| 340 | + </GUI> | ||
| 341 | + </step> | ||
| 342 | + | ||
| 343 | + <step> | ||
| 344 | + <name>错误输出</name> | ||
| 345 | + <type>ExcelOutput</type> | ||
| 346 | + <description/> | ||
| 347 | + <distribute>Y</distribute> | ||
| 348 | + <custom_distribution/> | ||
| 349 | + <copies>1</copies> | ||
| 350 | + <partitioning> | ||
| 351 | + <method>none</method> | ||
| 352 | + <schema_name/> | ||
| 353 | + </partitioning> | ||
| 354 | + <header>Y</header> | ||
| 355 | + <footer>N</footer> | ||
| 356 | + <encoding>UTF-8</encoding> | ||
| 357 | + <append>N</append> | ||
| 358 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 359 | + <file> | ||
| 360 | + <name>${erroroutputdir}/时刻表基础信息_错误</name> | ||
| 361 | + <extention>xls</extention> | ||
| 362 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 363 | + <create_parent_folder>N</create_parent_folder> | ||
| 364 | + <split>N</split> | ||
| 365 | + <add_date>N</add_date> | ||
| 366 | + <add_time>N</add_time> | ||
| 367 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 368 | + <date_time_format/> | ||
| 369 | + <sheetname>Sheet1</sheetname> | ||
| 370 | + <autosizecolums>N</autosizecolums> | ||
| 371 | + <nullisblank>N</nullisblank> | ||
| 372 | + <protect_sheet>N</protect_sheet> | ||
| 373 | + <password>Encrypted </password> | ||
| 374 | + <splitevery>0</splitevery> | ||
| 375 | + <usetempfiles>N</usetempfiles> | ||
| 376 | + <tempdirectory/> | ||
| 377 | + </file> | ||
| 378 | + <template> | ||
| 379 | + <enabled>N</enabled> | ||
| 380 | + <append>N</append> | ||
| 381 | + <filename>template.xls</filename> | ||
| 382 | + </template> | ||
| 383 | + <fields> | ||
| 384 | + <field> | ||
| 385 | + <name>xlName</name> | ||
| 386 | + <type>String</type> | ||
| 387 | + <format/> | ||
| 388 | + </field> | ||
| 389 | + <field> | ||
| 390 | + <name>name</name> | ||
| 391 | + <type>String</type> | ||
| 392 | + <format/> | ||
| 393 | + </field> | ||
| 394 | + <field> | ||
| 395 | + <name>xlDir</name> | ||
| 396 | + <type>String</type> | ||
| 397 | + <format/> | ||
| 398 | + </field> | ||
| 399 | + <field> | ||
| 400 | + <name>qyrq</name> | ||
| 401 | + <type>Date</type> | ||
| 402 | + <format/> | ||
| 403 | + </field> | ||
| 404 | + <field> | ||
| 405 | + <name>lpCount</name> | ||
| 406 | + <type>Integer</type> | ||
| 407 | + <format/> | ||
| 408 | + </field> | ||
| 409 | + <field> | ||
| 410 | + <name>loopCount</name> | ||
| 411 | + <type>Integer</type> | ||
| 412 | + <format/> | ||
| 413 | + </field> | ||
| 414 | + <field> | ||
| 415 | + <name>rule_days</name> | ||
| 416 | + <type>String</type> | ||
| 417 | + <format/> | ||
| 418 | + </field> | ||
| 419 | + <field> | ||
| 420 | + <name>special_days</name> | ||
| 421 | + <type>String</type> | ||
| 422 | + <format/> | ||
| 423 | + </field> | ||
| 424 | + <field> | ||
| 425 | + <name>xlid</name> | ||
| 426 | + <type>Integer</type> | ||
| 427 | + <format/> | ||
| 428 | + </field> | ||
| 429 | + <field> | ||
| 430 | + <name>error_count</name> | ||
| 431 | + <type>Integer</type> | ||
| 432 | + <format/> | ||
| 433 | + </field> | ||
| 434 | + <field> | ||
| 435 | + <name>error_desc</name> | ||
| 436 | + <type>String</type> | ||
| 437 | + <format/> | ||
| 438 | + </field> | ||
| 439 | + <field> | ||
| 440 | + <name>error_column1</name> | ||
| 441 | + <type>String</type> | ||
| 442 | + <format/> | ||
| 443 | + </field> | ||
| 444 | + <field> | ||
| 445 | + <name>error_column2</name> | ||
| 446 | + <type>String</type> | ||
| 447 | + <format/> | ||
| 448 | + </field> | ||
| 449 | + </fields> | ||
| 450 | + <custom> | ||
| 451 | + <header_font_name>arial</header_font_name> | ||
| 452 | + <header_font_size>10</header_font_size> | ||
| 453 | + <header_font_bold>N</header_font_bold> | ||
| 454 | + <header_font_italic>N</header_font_italic> | ||
| 455 | + <header_font_underline>no</header_font_underline> | ||
| 456 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 457 | + <header_font_color>black</header_font_color> | ||
| 458 | + <header_background_color>none</header_background_color> | ||
| 459 | + <header_row_height>255</header_row_height> | ||
| 460 | + <header_alignment>left</header_alignment> | ||
| 461 | + <header_image/> | ||
| 462 | + <row_font_name>arial</row_font_name> | ||
| 463 | + <row_font_size>10</row_font_size> | ||
| 464 | + <row_font_color>black</row_font_color> | ||
| 465 | + <row_background_color>none</row_background_color> | ||
| 466 | + </custom> | ||
| 467 | + <cluster_schema/> | ||
| 468 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 469 | + <xloc>799</xloc> | ||
| 470 | + <yloc>184</yloc> | ||
| 471 | + <draw>Y</draw> | ||
| 472 | + </GUI> | ||
| 473 | + </step> | ||
| 474 | + | ||
| 475 | + <step> | ||
| 476 | + <name>时刻表基础数据Excel输入</name> | ||
| 477 | + <type>ExcelInput</type> | ||
| 478 | + <description/> | ||
| 479 | + <distribute>Y</distribute> | ||
| 480 | + <custom_distribution/> | ||
| 481 | + <copies>1</copies> | ||
| 482 | + <partitioning> | ||
| 483 | + <method>none</method> | ||
| 484 | + <schema_name/> | ||
| 485 | + </partitioning> | ||
| 486 | + <header>Y</header> | ||
| 487 | + <noempty>Y</noempty> | ||
| 488 | + <stoponempty>N</stoponempty> | ||
| 489 | + <filefield/> | ||
| 490 | + <sheetfield/> | ||
| 491 | + <sheetrownumfield/> | ||
| 492 | + <rownumfield/> | ||
| 493 | + <sheetfield/> | ||
| 494 | + <filefield/> | ||
| 495 | + <limit>0</limit> | ||
| 496 | + <encoding/> | ||
| 497 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 498 | + <accept_filenames>Y</accept_filenames> | ||
| 499 | + <accept_field>filepath_</accept_field> | ||
| 500 | + <accept_stepname>获取变量</accept_stepname> | ||
| 501 | + <file> | ||
| 502 | + <name/> | ||
| 503 | + <filemask/> | ||
| 504 | + <exclude_filemask/> | ||
| 505 | + <file_required>N</file_required> | ||
| 506 | + <include_subfolders>N</include_subfolders> | ||
| 507 | + </file> | ||
| 508 | + <fields> | ||
| 509 | + <field> | ||
| 510 | + <name>线路名称</name> | ||
| 511 | + <type>String</type> | ||
| 512 | + <length>-1</length> | ||
| 513 | + <precision>-1</precision> | ||
| 514 | + <trim_type>none</trim_type> | ||
| 515 | + <repeat>N</repeat> | ||
| 516 | + <format/> | ||
| 517 | + <currency/> | ||
| 518 | + <decimal/> | ||
| 519 | + <group/> | ||
| 520 | + </field> | ||
| 521 | + <field> | ||
| 522 | + <name>时刻表名称</name> | ||
| 523 | + <type>String</type> | ||
| 524 | + <length>-1</length> | ||
| 525 | + <precision>-1</precision> | ||
| 526 | + <trim_type>none</trim_type> | ||
| 527 | + <repeat>N</repeat> | ||
| 528 | + <format/> | ||
| 529 | + <currency/> | ||
| 530 | + <decimal/> | ||
| 531 | + <group/> | ||
| 532 | + </field> | ||
| 533 | + <field> | ||
| 534 | + <name>线路上下行</name> | ||
| 535 | + <type>String</type> | ||
| 536 | + <length>-1</length> | ||
| 537 | + <precision>-1</precision> | ||
| 538 | + <trim_type>none</trim_type> | ||
| 539 | + <repeat>N</repeat> | ||
| 540 | + <format/> | ||
| 541 | + <currency/> | ||
| 542 | + <decimal/> | ||
| 543 | + <group/> | ||
| 544 | + </field> | ||
| 545 | + <field> | ||
| 546 | + <name>启用日期</name> | ||
| 547 | + <type>String</type> | ||
| 548 | + <length>-1</length> | ||
| 549 | + <precision>-1</precision> | ||
| 550 | + <trim_type>none</trim_type> | ||
| 551 | + <repeat>N</repeat> | ||
| 552 | + <format/> | ||
| 553 | + <currency/> | ||
| 554 | + <decimal/> | ||
| 555 | + <group/> | ||
| 556 | + </field> | ||
| 557 | + <field> | ||
| 558 | + <name>路牌数</name> | ||
| 559 | + <type>String</type> | ||
| 560 | + <length>-1</length> | ||
| 561 | + <precision>-1</precision> | ||
| 562 | + <trim_type>none</trim_type> | ||
| 563 | + <repeat>N</repeat> | ||
| 564 | + <format>#</format> | ||
| 565 | + <currency/> | ||
| 566 | + <decimal/> | ||
| 567 | + <group/> | ||
| 568 | + </field> | ||
| 569 | + <field> | ||
| 570 | + <name>圈数</name> | ||
| 571 | + <type>String</type> | ||
| 572 | + <length>-1</length> | ||
| 573 | + <precision>-1</precision> | ||
| 574 | + <trim_type>none</trim_type> | ||
| 575 | + <repeat>N</repeat> | ||
| 576 | + <format>#</format> | ||
| 577 | + <currency/> | ||
| 578 | + <decimal/> | ||
| 579 | + <group/> | ||
| 580 | + </field> | ||
| 581 | + <field> | ||
| 582 | + <name>常规有效日</name> | ||
| 583 | + <type>String</type> | ||
| 584 | + <length>-1</length> | ||
| 585 | + <precision>-1</precision> | ||
| 586 | + <trim_type>none</trim_type> | ||
| 587 | + <repeat>N</repeat> | ||
| 588 | + <format/> | ||
| 589 | + <currency/> | ||
| 590 | + <decimal/> | ||
| 591 | + <group/> | ||
| 592 | + </field> | ||
| 593 | + <field> | ||
| 594 | + <name>特殊有效日</name> | ||
| 595 | + <type>String</type> | ||
| 596 | + <length>-1</length> | ||
| 597 | + <precision>-1</precision> | ||
| 598 | + <trim_type>none</trim_type> | ||
| 599 | + <repeat>N</repeat> | ||
| 600 | + <format/> | ||
| 601 | + <currency/> | ||
| 602 | + <decimal/> | ||
| 603 | + <group/> | ||
| 604 | + </field> | ||
| 605 | + </fields> | ||
| 606 | + <sheets> | ||
| 607 | + <sheet> | ||
| 608 | + <name>工作表1</name> | ||
| 609 | + <startrow>0</startrow> | ||
| 610 | + <startcol>0</startcol> | ||
| 611 | + </sheet> | ||
| 612 | + </sheets> | ||
| 613 | + <strict_types>N</strict_types> | ||
| 614 | + <error_ignored>N</error_ignored> | ||
| 615 | + <error_line_skipped>N</error_line_skipped> | ||
| 616 | + <bad_line_files_destination_directory/> | ||
| 617 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 618 | + <error_line_files_destination_directory/> | ||
| 619 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 620 | + <line_number_files_destination_directory/> | ||
| 621 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 622 | + <shortFileFieldName/> | ||
| 623 | + <pathFieldName/> | ||
| 624 | + <hiddenFieldName/> | ||
| 625 | + <lastModificationTimeFieldName/> | ||
| 626 | + <uriNameFieldName/> | ||
| 627 | + <rootUriNameFieldName/> | ||
| 628 | + <extensionFieldName/> | ||
| 629 | + <sizeFieldName/> | ||
| 630 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 631 | + <cluster_schema/> | ||
| 632 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 633 | + <xloc>158</xloc> | ||
| 634 | + <yloc>77</yloc> | ||
| 635 | + <draw>Y</draw> | ||
| 636 | + </GUI> | ||
| 637 | + </step> | ||
| 638 | + | ||
| 639 | + <step> | ||
| 640 | + <name>字段选择</name> | ||
| 641 | + <type>SelectValues</type> | ||
| 642 | + <description/> | ||
| 643 | + <distribute>Y</distribute> | ||
| 644 | + <custom_distribution/> | ||
| 645 | + <copies>1</copies> | ||
| 646 | + <partitioning> | ||
| 647 | + <method>none</method> | ||
| 648 | + <schema_name/> | ||
| 649 | + </partitioning> | ||
| 650 | + <fields> <field> <name>线路名称</name> | ||
| 651 | + <rename>xlName</rename> | ||
| 652 | + <length>-2</length> | ||
| 653 | + <precision>-2</precision> | ||
| 654 | + </field> <field> <name>时刻表名称</name> | ||
| 655 | + <rename>name</rename> | ||
| 656 | + <length>-2</length> | ||
| 657 | + <precision>-2</precision> | ||
| 658 | + </field> <field> <name>线路上下行</name> | ||
| 659 | + <rename>xlDir</rename> | ||
| 660 | + <length>-2</length> | ||
| 661 | + <precision>-2</precision> | ||
| 662 | + </field> <field> <name>启用日期</name> | ||
| 663 | + <rename>qyrq</rename> | ||
| 664 | + <length>-2</length> | ||
| 665 | + <precision>-2</precision> | ||
| 666 | + </field> <field> <name>路牌数</name> | ||
| 667 | + <rename>lpCount</rename> | ||
| 668 | + <length>-2</length> | ||
| 669 | + <precision>-2</precision> | ||
| 670 | + </field> <field> <name>圈数</name> | ||
| 671 | + <rename>loopCount</rename> | ||
| 672 | + <length>-2</length> | ||
| 673 | + <precision>-2</precision> | ||
| 674 | + </field> <field> <name>常规有效日</name> | ||
| 675 | + <rename>rule_days</rename> | ||
| 676 | + <length>-2</length> | ||
| 677 | + <precision>-2</precision> | ||
| 678 | + </field> <field> <name>特殊有效日</name> | ||
| 679 | + <rename>special_days</rename> | ||
| 680 | + <length>-2</length> | ||
| 681 | + <precision>-2</precision> | ||
| 682 | + </field> <select_unspecified>N</select_unspecified> | ||
| 683 | + </fields> <cluster_schema/> | ||
| 684 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 685 | + <xloc>323</xloc> | ||
| 686 | + <yloc>75</yloc> | ||
| 687 | + <draw>Y</draw> | ||
| 688 | + </GUI> | ||
| 689 | + </step> | ||
| 690 | + | ||
| 691 | + <step> | ||
| 692 | + <name>线路上下行值映射</name> | ||
| 693 | + <type>ValueMapper</type> | ||
| 694 | + <description/> | ||
| 695 | + <distribute>Y</distribute> | ||
| 696 | + <custom_distribution/> | ||
| 697 | + <copies>1</copies> | ||
| 698 | + <partitioning> | ||
| 699 | + <method>none</method> | ||
| 700 | + <schema_name/> | ||
| 701 | + </partitioning> | ||
| 702 | + <field_to_use>xlDir</field_to_use> | ||
| 703 | + <target_field/> | ||
| 704 | + <non_match_default/> | ||
| 705 | + <fields> | ||
| 706 | + <field> | ||
| 707 | + <source_value>上行</source_value> | ||
| 708 | + <target_value>0</target_value> | ||
| 709 | + </field> | ||
| 710 | + <field> | ||
| 711 | + <source_value>下行</source_value> | ||
| 712 | + <target_value>1</target_value> | ||
| 713 | + </field> | ||
| 714 | + <field> | ||
| 715 | + <source_value>上下行</source_value> | ||
| 716 | + <target_value>2</target_value> | ||
| 717 | + </field> | ||
| 718 | + </fields> | ||
| 719 | + <cluster_schema/> | ||
| 720 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 721 | + <xloc>460</xloc> | ||
| 722 | + <yloc>74</yloc> | ||
| 723 | + <draw>Y</draw> | ||
| 724 | + </GUI> | ||
| 725 | + </step> | ||
| 726 | + | ||
| 727 | + <step> | ||
| 728 | + <name>获取变量</name> | ||
| 729 | + <type>GetVariable</type> | ||
| 730 | + <description/> | ||
| 731 | + <distribute>Y</distribute> | ||
| 732 | + <custom_distribution/> | ||
| 733 | + <copies>1</copies> | ||
| 734 | + <partitioning> | ||
| 735 | + <method>none</method> | ||
| 736 | + <schema_name/> | ||
| 737 | + </partitioning> | ||
| 738 | + <fields> | ||
| 739 | + <field> | ||
| 740 | + <name>filepath_</name> | ||
| 741 | + <variable>${filepath}</variable> | ||
| 742 | + <type>String</type> | ||
| 743 | + <format/> | ||
| 744 | + <currency/> | ||
| 745 | + <decimal/> | ||
| 746 | + <group/> | ||
| 747 | + <length>-1</length> | ||
| 748 | + <precision>-1</precision> | ||
| 749 | + <trim_type>none</trim_type> | ||
| 750 | + </field> | ||
| 751 | + <field> | ||
| 752 | + <name>erroroutputdir_</name> | ||
| 753 | + <variable>${erroroutputdir}</variable> | ||
| 754 | + <type>String</type> | ||
| 755 | + <format/> | ||
| 756 | + <currency/> | ||
| 757 | + <decimal/> | ||
| 758 | + <group/> | ||
| 759 | + <length>-1</length> | ||
| 760 | + <precision>-1</precision> | ||
| 761 | + <trim_type>none</trim_type> | ||
| 762 | + </field> | ||
| 763 | + </fields> | ||
| 764 | + <cluster_schema/> | ||
| 765 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 766 | + <xloc>162</xloc> | ||
| 767 | + <yloc>191</yloc> | ||
| 768 | + <draw>Y</draw> | ||
| 769 | + </GUI> | ||
| 770 | + </step> | ||
| 771 | + | ||
| 772 | + <step_error_handling> | ||
| 773 | + <error> | ||
| 774 | + <source_step>插入/更新bsth_c_s_ttinfo</source_step> | ||
| 775 | + <target_step>错误输出</target_step> | ||
| 776 | + <is_enabled>Y</is_enabled> | ||
| 777 | + <nr_valuename>error_count</nr_valuename> | ||
| 778 | + <descriptions_valuename>error_desc</descriptions_valuename> | ||
| 779 | + <fields_valuename>error_column1</fields_valuename> | ||
| 780 | + <codes_valuename>error_column2</codes_valuename> | ||
| 781 | + <max_errors/> | ||
| 782 | + <max_pct_errors/> | ||
| 783 | + <min_pct_rows/> | ||
| 784 | + </error> | ||
| 785 | + </step_error_handling> | ||
| 786 | + <slave-step-copy-partition-distribution> | ||
| 787 | +</slave-step-copy-partition-distribution> | ||
| 788 | + <slave_transformation>N</slave_transformation> | ||
| 789 | + | ||
| 790 | +</transformation> |
src/main/resources/datatools/ktrs/ttinfodetailDataInput.ktr
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>ttinfodetailDataInput</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 | + <parameter> | ||
| 23 | + <name>tccname</name> | ||
| 24 | + <default_value/> | ||
| 25 | + <description>停车场名字</description> | ||
| 26 | + </parameter> | ||
| 27 | + <parameter> | ||
| 28 | + <name>ttinfoname</name> | ||
| 29 | + <default_value/> | ||
| 30 | + <description>时刻表名称</description> | ||
| 31 | + </parameter> | ||
| 32 | + <parameter> | ||
| 33 | + <name>xlname</name> | ||
| 34 | + <default_value/> | ||
| 35 | + <description>线路名称</description> | ||
| 36 | + </parameter> | ||
| 37 | + </parameters> | ||
| 38 | + <log> | ||
| 39 | +<trans-log-table><connection/> | ||
| 40 | +<schema/> | ||
| 41 | +<table/> | ||
| 42 | +<size_limit_lines/> | ||
| 43 | +<interval/> | ||
| 44 | +<timeout_days/> | ||
| 45 | +<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> | ||
| 46 | +<perf-log-table><connection/> | ||
| 47 | +<schema/> | ||
| 48 | +<table/> | ||
| 49 | +<interval/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<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> | ||
| 52 | +<channel-log-table><connection/> | ||
| 53 | +<schema/> | ||
| 54 | +<table/> | ||
| 55 | +<timeout_days/> | ||
| 56 | +<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> | ||
| 57 | +<step-log-table><connection/> | ||
| 58 | +<schema/> | ||
| 59 | +<table/> | ||
| 60 | +<timeout_days/> | ||
| 61 | +<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> | ||
| 62 | +<metrics-log-table><connection/> | ||
| 63 | +<schema/> | ||
| 64 | +<table/> | ||
| 65 | +<timeout_days/> | ||
| 66 | +<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> | ||
| 67 | + </log> | ||
| 68 | + <maxdate> | ||
| 69 | + <connection/> | ||
| 70 | + <table/> | ||
| 71 | + <field/> | ||
| 72 | + <offset>0.0</offset> | ||
| 73 | + <maxdiff>0.0</maxdiff> | ||
| 74 | + </maxdate> | ||
| 75 | + <size_rowset>10000</size_rowset> | ||
| 76 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 77 | + <sleep_time_full>50</sleep_time_full> | ||
| 78 | + <unique_connections>N</unique_connections> | ||
| 79 | + <feedback_shown>Y</feedback_shown> | ||
| 80 | + <feedback_size>50000</feedback_size> | ||
| 81 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 82 | + <shared_objects_file/> | ||
| 83 | + <capture_step_performance>N</capture_step_performance> | ||
| 84 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 85 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 86 | + <dependencies> | ||
| 87 | + </dependencies> | ||
| 88 | + <partitionschemas> | ||
| 89 | + </partitionschemas> | ||
| 90 | + <slaveservers> | ||
| 91 | + </slaveservers> | ||
| 92 | + <clusterschemas> | ||
| 93 | + </clusterschemas> | ||
| 94 | + <created_user>-</created_user> | ||
| 95 | + <created_date>2016/06/30 12:21:57.536</created_date> | ||
| 96 | + <modified_user>-</modified_user> | ||
| 97 | + <modified_date>2016/06/30 12:21:57.536</modified_date> | ||
| 98 | + <key_for_session_key/> | ||
| 99 | + <is_key_private>N</is_key_private> | ||
| 100 | + </info> | ||
| 101 | + <notepads> | ||
| 102 | + </notepads> | ||
| 103 | + <connection> | ||
| 104 | + <name>bus_control_公司_201</name> | ||
| 105 | + <server>192.168.168.201</server> | ||
| 106 | + <type>MYSQL</type> | ||
| 107 | + <access>Native</access> | ||
| 108 | + <database>control</database> | ||
| 109 | + <port>3306</port> | ||
| 110 | + <username>root</username> | ||
| 111 | + <password>Encrypted 2be98afc86aa7f2e4cb79ff228dc6fa8c</password> | ||
| 112 | + <servername/> | ||
| 113 | + <data_tablespace/> | ||
| 114 | + <index_tablespace/> | ||
| 115 | + <attributes> | ||
| 116 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 117 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 118 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 119 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 120 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 121 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 122 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 123 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 124 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 125 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 126 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 127 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 128 | + </attributes> | ||
| 129 | + </connection> | ||
| 130 | + <connection> | ||
| 131 | + <name>xlab_mysql_youle</name> | ||
| 132 | + <server>101.231.124.8</server> | ||
| 133 | + <type>MYSQL</type> | ||
| 134 | + <access>Native</access> | ||
| 135 | + <database>xlab_youle</database> | ||
| 136 | + <port>45687</port> | ||
| 137 | + <username>xlab-youle</username> | ||
| 138 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 139 | + <servername/> | ||
| 140 | + <data_tablespace/> | ||
| 141 | + <index_tablespace/> | ||
| 142 | + <attributes> | ||
| 143 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 144 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 145 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 146 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 147 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 148 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 149 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 150 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 151 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 152 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 153 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 154 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 155 | + </attributes> | ||
| 156 | + </connection> | ||
| 157 | + <connection> | ||
| 158 | + <name>xlab_mysql_youle(本机)</name> | ||
| 159 | + <server>localhost</server> | ||
| 160 | + <type>MYSQL</type> | ||
| 161 | + <access>Native</access> | ||
| 162 | + <database>xlab_youle</database> | ||
| 163 | + <port>3306</port> | ||
| 164 | + <username>root</username> | ||
| 165 | + <password>Encrypted </password> | ||
| 166 | + <servername/> | ||
| 167 | + <data_tablespace/> | ||
| 168 | + <index_tablespace/> | ||
| 169 | + <attributes> | ||
| 170 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 171 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 172 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 173 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 174 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 175 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 176 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 177 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 178 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 179 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 180 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 181 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 182 | + </attributes> | ||
| 183 | + </connection> | ||
| 184 | + <connection> | ||
| 185 | + <name>xlab_youle</name> | ||
| 186 | + <server/> | ||
| 187 | + <type>MYSQL</type> | ||
| 188 | + <access>JNDI</access> | ||
| 189 | + <database>xlab_youle</database> | ||
| 190 | + <port>1521</port> | ||
| 191 | + <username/> | ||
| 192 | + <password>Encrypted </password> | ||
| 193 | + <servername/> | ||
| 194 | + <data_tablespace/> | ||
| 195 | + <index_tablespace/> | ||
| 196 | + <attributes> | ||
| 197 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 198 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 199 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 200 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 201 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 202 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 203 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 204 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 205 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 206 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 207 | + </attributes> | ||
| 208 | + </connection> | ||
| 209 | + <order> | ||
| 210 | + <hop> <from>时刻表明细信息Excel输入</from><to>班次数据范式化</to><enabled>Y</enabled> </hop> | ||
| 211 | + <hop> <from>班次数据范式化</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 212 | + <hop> <from>字段选择</from><to>添加发车顺序号</to><enabled>Y</enabled> </hop> | ||
| 213 | + <hop> <from>添加发车顺序号</from><to>过滤记录(发车时间为空)</to><enabled>Y</enabled> </hop> | ||
| 214 | + <hop> <from>过滤记录(发车时间为空)</from><to>添加对应班次数</to><enabled>Y</enabled> </hop> | ||
| 215 | + <hop> <from>添加对应班次数</from><to>处理数据</to><enabled>Y</enabled> </hop> | ||
| 216 | + <hop> <from>处理数据</from><to>分组各个路牌的站</to><enabled>Y</enabled> </hop> | ||
| 217 | + <hop> <from>查找时刻表基础信息关联</from><to>查找路牌关联</to><enabled>Y</enabled> </hop> | ||
| 218 | + <hop> <from>查找线路关联</from><to>查找时刻表基础信息关联</to><enabled>Y</enabled> </hop> | ||
| 219 | + <hop> <from>获取变量</from><to>时刻表明细信息Excel输入</to><enabled>Y</enabled> </hop> | ||
| 220 | + <hop> <from>分组各个路牌的站</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 221 | + <hop> <from>上下行字典</from><to>班次类型字典</to><enabled>Y</enabled> </hop> | ||
| 222 | + <hop> <from>上下行字典 2</from><to>班次类型字典 2</to><enabled>Y</enabled> </hop> | ||
| 223 | + <hop> <from>上下行字典 3</from><to>班次类型字典 3</to><enabled>Y</enabled> </hop> | ||
| 224 | + <hop> <from>出场班次_处理数据</from><to>查找停车场1</to><enabled>Y</enabled> </hop> | ||
| 225 | + <hop> <from>出场班次数据</from><to>出场班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 226 | + <hop> <from>匹配上下行班次里程时间</from><to>类型修正</to><enabled>Y</enabled> </hop> | ||
| 227 | + <hop> <from>按照班次类型过滤数据1</from><to>按照班次类型过滤数据2</to><enabled>Y</enabled> </hop> | ||
| 228 | + <hop> <from>按照班次类型过滤数据1</from><to>正常班次数据</to><enabled>Y</enabled> </hop> | ||
| 229 | + <hop> <from>按照班次类型过滤数据2</from><to>出场班次数据</to><enabled>Y</enabled> </hop> | ||
| 230 | + <hop> <from>按照班次类型过滤数据2</from><to>进场班次数据</to><enabled>Y</enabled> </hop> | ||
| 231 | + <hop> <from>查找停车场1</from><to>查找终点站关联1</to><enabled>Y</enabled> </hop> | ||
| 232 | + <hop> <from>查找停车场2</from><to>查找终点站关联2</to><enabled>Y</enabled> </hop> | ||
| 233 | + <hop> <from>查找线路上下行里程时间</from><to>匹配上下行班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 234 | + <hop> <from>查找终点站关联</from><to>上下行字典</to><enabled>Y</enabled> </hop> | ||
| 235 | + <hop> <from>查找终点站关联1</from><to>上下行字典 2</to><enabled>Y</enabled> </hop> | ||
| 236 | + <hop> <from>查找终点站关联2</from><to>上下行字典 3</to><enabled>Y</enabled> </hop> | ||
| 237 | + <hop> <from>查找起点站关联并确定上下行</from><to>查找终点站关联</to><enabled>Y</enabled> </hop> | ||
| 238 | + <hop> <from>正常班次_处理数据</from><to>查找起点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 239 | + <hop> <from>正常班次数据</from><to>正常班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 240 | + <hop> <from>班次类型字典</from><to>查找线路上下行里程时间</to><enabled>Y</enabled> </hop> | ||
| 241 | + <hop> <from>班次类型字典 2</from><to>查找线路出场里程时间</to><enabled>Y</enabled> </hop> | ||
| 242 | + <hop> <from>班次类型字典 3</from><to>查找线路进场里程时间</to><enabled>Y</enabled> </hop> | ||
| 243 | + <hop> <from>进场班次_处理数据</from><to>查找停车场2</to><enabled>Y</enabled> </hop> | ||
| 244 | + <hop> <from>进场班次数据</from><to>进场班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 245 | + <hop> <from>查找路牌关联</from><to>计算班次类型</to><enabled>Y</enabled> </hop> | ||
| 246 | + <hop> <from>计算班次类型</from><to>按照班次类型过滤数据1</to><enabled>Y</enabled> </hop> | ||
| 247 | + </order> | ||
| 248 | + <step> | ||
| 249 | + <name>时刻表明细信息Excel输入</name> | ||
| 250 | + <type>ExcelInput</type> | ||
| 251 | + <description/> | ||
| 252 | + <distribute>Y</distribute> | ||
| 253 | + <custom_distribution/> | ||
| 254 | + <copies>1</copies> | ||
| 255 | + <partitioning> | ||
| 256 | + <method>none</method> | ||
| 257 | + <schema_name/> | ||
| 258 | + </partitioning> | ||
| 259 | + <header>Y</header> | ||
| 260 | + <noempty>Y</noempty> | ||
| 261 | + <stoponempty>N</stoponempty> | ||
| 262 | + <filefield/> | ||
| 263 | + <sheetfield/> | ||
| 264 | + <sheetrownumfield/> | ||
| 265 | + <rownumfield/> | ||
| 266 | + <sheetfield/> | ||
| 267 | + <filefield/> | ||
| 268 | + <limit>0</limit> | ||
| 269 | + <encoding/> | ||
| 270 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 271 | + <accept_filenames>N</accept_filenames> | ||
| 272 | + <accept_field/> | ||
| 273 | + <accept_stepname/> | ||
| 274 | + <file> | ||
| 275 | + <name>/Users/xu/resource/project/bsth_control_etl/闵行公交/85路0328平表-测试1-时刻明细.xls</name> | ||
| 276 | + <filemask/> | ||
| 277 | + <exclude_filemask/> | ||
| 278 | + <file_required>N</file_required> | ||
| 279 | + <include_subfolders>N</include_subfolders> | ||
| 280 | + </file> | ||
| 281 | + <fields> | ||
| 282 | + <field> | ||
| 283 | + <name>路牌</name> | ||
| 284 | + <type>String</type> | ||
| 285 | + <length>-1</length> | ||
| 286 | + <precision>-1</precision> | ||
| 287 | + <trim_type>none</trim_type> | ||
| 288 | + <repeat>N</repeat> | ||
| 289 | + <format/> | ||
| 290 | + <currency/> | ||
| 291 | + <decimal/> | ||
| 292 | + <group/> | ||
| 293 | + </field> | ||
| 294 | + <field> | ||
| 295 | + <name>出场</name> | ||
| 296 | + <type>String</type> | ||
| 297 | + <length>-1</length> | ||
| 298 | + <precision>-1</precision> | ||
| 299 | + <trim_type>none</trim_type> | ||
| 300 | + <repeat>N</repeat> | ||
| 301 | + <format/> | ||
| 302 | + <currency/> | ||
| 303 | + <decimal/> | ||
| 304 | + <group/> | ||
| 305 | + </field> | ||
| 306 | + <field> | ||
| 307 | + <name>陆家嘴地铁站1</name> | ||
| 308 | + <type>String</type> | ||
| 309 | + <length>-1</length> | ||
| 310 | + <precision>-1</precision> | ||
| 311 | + <trim_type>none</trim_type> | ||
| 312 | + <repeat>N</repeat> | ||
| 313 | + <format/> | ||
| 314 | + <currency/> | ||
| 315 | + <decimal/> | ||
| 316 | + <group/> | ||
| 317 | + </field> | ||
| 318 | + <field> | ||
| 319 | + <name>长岛路东陆路1</name> | ||
| 320 | + <type>String</type> | ||
| 321 | + <length>-1</length> | ||
| 322 | + <precision>-1</precision> | ||
| 323 | + <trim_type>none</trim_type> | ||
| 324 | + <repeat>N</repeat> | ||
| 325 | + <format/> | ||
| 326 | + <currency/> | ||
| 327 | + <decimal/> | ||
| 328 | + <group/> | ||
| 329 | + </field> | ||
| 330 | + <field> | ||
| 331 | + <name>陆家嘴地铁站2</name> | ||
| 332 | + <type>String</type> | ||
| 333 | + <length>-1</length> | ||
| 334 | + <precision>-1</precision> | ||
| 335 | + <trim_type>none</trim_type> | ||
| 336 | + <repeat>N</repeat> | ||
| 337 | + <format/> | ||
| 338 | + <currency/> | ||
| 339 | + <decimal/> | ||
| 340 | + <group/> | ||
| 341 | + </field> | ||
| 342 | + <field> | ||
| 343 | + <name>长岛路东陆路2</name> | ||
| 344 | + <type>String</type> | ||
| 345 | + <length>-1</length> | ||
| 346 | + <precision>-1</precision> | ||
| 347 | + <trim_type>none</trim_type> | ||
| 348 | + <repeat>N</repeat> | ||
| 349 | + <format/> | ||
| 350 | + <currency/> | ||
| 351 | + <decimal/> | ||
| 352 | + <group/> | ||
| 353 | + </field> | ||
| 354 | + <field> | ||
| 355 | + <name>陆家嘴地铁站3</name> | ||
| 356 | + <type>String</type> | ||
| 357 | + <length>-1</length> | ||
| 358 | + <precision>-1</precision> | ||
| 359 | + <trim_type>none</trim_type> | ||
| 360 | + <repeat>N</repeat> | ||
| 361 | + <format/> | ||
| 362 | + <currency/> | ||
| 363 | + <decimal/> | ||
| 364 | + <group/> | ||
| 365 | + </field> | ||
| 366 | + <field> | ||
| 367 | + <name>长岛路东陆路3</name> | ||
| 368 | + <type>String</type> | ||
| 369 | + <length>-1</length> | ||
| 370 | + <precision>-1</precision> | ||
| 371 | + <trim_type>none</trim_type> | ||
| 372 | + <repeat>N</repeat> | ||
| 373 | + <format/> | ||
| 374 | + <currency/> | ||
| 375 | + <decimal/> | ||
| 376 | + <group/> | ||
| 377 | + </field> | ||
| 378 | + <field> | ||
| 379 | + <name>陆家嘴地铁站4</name> | ||
| 380 | + <type>String</type> | ||
| 381 | + <length>-1</length> | ||
| 382 | + <precision>-1</precision> | ||
| 383 | + <trim_type>none</trim_type> | ||
| 384 | + <repeat>N</repeat> | ||
| 385 | + <format/> | ||
| 386 | + <currency/> | ||
| 387 | + <decimal/> | ||
| 388 | + <group/> | ||
| 389 | + </field> | ||
| 390 | + <field> | ||
| 391 | + <name>长岛路东陆路4</name> | ||
| 392 | + <type>String</type> | ||
| 393 | + <length>-1</length> | ||
| 394 | + <precision>-1</precision> | ||
| 395 | + <trim_type>none</trim_type> | ||
| 396 | + <repeat>N</repeat> | ||
| 397 | + <format/> | ||
| 398 | + <currency/> | ||
| 399 | + <decimal/> | ||
| 400 | + <group/> | ||
| 401 | + </field> | ||
| 402 | + <field> | ||
| 403 | + <name>陆家嘴地铁站5</name> | ||
| 404 | + <type>String</type> | ||
| 405 | + <length>-1</length> | ||
| 406 | + <precision>-1</precision> | ||
| 407 | + <trim_type>none</trim_type> | ||
| 408 | + <repeat>N</repeat> | ||
| 409 | + <format/> | ||
| 410 | + <currency/> | ||
| 411 | + <decimal/> | ||
| 412 | + <group/> | ||
| 413 | + </field> | ||
| 414 | + <field> | ||
| 415 | + <name>长岛路东陆路5</name> | ||
| 416 | + <type>String</type> | ||
| 417 | + <length>-1</length> | ||
| 418 | + <precision>-1</precision> | ||
| 419 | + <trim_type>none</trim_type> | ||
| 420 | + <repeat>N</repeat> | ||
| 421 | + <format/> | ||
| 422 | + <currency/> | ||
| 423 | + <decimal/> | ||
| 424 | + <group/> | ||
| 425 | + </field> | ||
| 426 | + <field> | ||
| 427 | + <name>陆家嘴地铁站6</name> | ||
| 428 | + <type>String</type> | ||
| 429 | + <length>-1</length> | ||
| 430 | + <precision>-1</precision> | ||
| 431 | + <trim_type>none</trim_type> | ||
| 432 | + <repeat>N</repeat> | ||
| 433 | + <format/> | ||
| 434 | + <currency/> | ||
| 435 | + <decimal/> | ||
| 436 | + <group/> | ||
| 437 | + </field> | ||
| 438 | + <field> | ||
| 439 | + <name>长岛路东陆路6</name> | ||
| 440 | + <type>String</type> | ||
| 441 | + <length>-1</length> | ||
| 442 | + <precision>-1</precision> | ||
| 443 | + <trim_type>none</trim_type> | ||
| 444 | + <repeat>N</repeat> | ||
| 445 | + <format/> | ||
| 446 | + <currency/> | ||
| 447 | + <decimal/> | ||
| 448 | + <group/> | ||
| 449 | + </field> | ||
| 450 | + <field> | ||
| 451 | + <name>进场1</name> | ||
| 452 | + <type>String</type> | ||
| 453 | + <length>-1</length> | ||
| 454 | + <precision>-1</precision> | ||
| 455 | + <trim_type>none</trim_type> | ||
| 456 | + <repeat>N</repeat> | ||
| 457 | + <format/> | ||
| 458 | + <currency/> | ||
| 459 | + <decimal/> | ||
| 460 | + <group/> | ||
| 461 | + </field> | ||
| 462 | + <field> | ||
| 463 | + <name>出场1</name> | ||
| 464 | + <type>String</type> | ||
| 465 | + <length>-1</length> | ||
| 466 | + <precision>-1</precision> | ||
| 467 | + <trim_type>none</trim_type> | ||
| 468 | + <repeat>N</repeat> | ||
| 469 | + <format/> | ||
| 470 | + <currency/> | ||
| 471 | + <decimal/> | ||
| 472 | + <group/> | ||
| 473 | + </field> | ||
| 474 | + <field> | ||
| 475 | + <name>陆家嘴地铁站7</name> | ||
| 476 | + <type>String</type> | ||
| 477 | + <length>-1</length> | ||
| 478 | + <precision>-1</precision> | ||
| 479 | + <trim_type>none</trim_type> | ||
| 480 | + <repeat>N</repeat> | ||
| 481 | + <format/> | ||
| 482 | + <currency/> | ||
| 483 | + <decimal/> | ||
| 484 | + <group/> | ||
| 485 | + </field> | ||
| 486 | + <field> | ||
| 487 | + <name>长岛路东陆路7</name> | ||
| 488 | + <type>String</type> | ||
| 489 | + <length>-1</length> | ||
| 490 | + <precision>-1</precision> | ||
| 491 | + <trim_type>none</trim_type> | ||
| 492 | + <repeat>N</repeat> | ||
| 493 | + <format/> | ||
| 494 | + <currency/> | ||
| 495 | + <decimal/> | ||
| 496 | + <group/> | ||
| 497 | + </field> | ||
| 498 | + <field> | ||
| 499 | + <name>陆家嘴地铁站8</name> | ||
| 500 | + <type>String</type> | ||
| 501 | + <length>-1</length> | ||
| 502 | + <precision>-1</precision> | ||
| 503 | + <trim_type>none</trim_type> | ||
| 504 | + <repeat>N</repeat> | ||
| 505 | + <format/> | ||
| 506 | + <currency/> | ||
| 507 | + <decimal/> | ||
| 508 | + <group/> | ||
| 509 | + </field> | ||
| 510 | + <field> | ||
| 511 | + <name>长岛路东陆路8</name> | ||
| 512 | + <type>String</type> | ||
| 513 | + <length>-1</length> | ||
| 514 | + <precision>-1</precision> | ||
| 515 | + <trim_type>none</trim_type> | ||
| 516 | + <repeat>N</repeat> | ||
| 517 | + <format/> | ||
| 518 | + <currency/> | ||
| 519 | + <decimal/> | ||
| 520 | + <group/> | ||
| 521 | + </field> | ||
| 522 | + <field> | ||
| 523 | + <name>陆家嘴地铁站9</name> | ||
| 524 | + <type>String</type> | ||
| 525 | + <length>-1</length> | ||
| 526 | + <precision>-1</precision> | ||
| 527 | + <trim_type>none</trim_type> | ||
| 528 | + <repeat>N</repeat> | ||
| 529 | + <format/> | ||
| 530 | + <currency/> | ||
| 531 | + <decimal/> | ||
| 532 | + <group/> | ||
| 533 | + </field> | ||
| 534 | + <field> | ||
| 535 | + <name>长岛路东陆路9</name> | ||
| 536 | + <type>String</type> | ||
| 537 | + <length>-1</length> | ||
| 538 | + <precision>-1</precision> | ||
| 539 | + <trim_type>none</trim_type> | ||
| 540 | + <repeat>N</repeat> | ||
| 541 | + <format/> | ||
| 542 | + <currency/> | ||
| 543 | + <decimal/> | ||
| 544 | + <group/> | ||
| 545 | + </field> | ||
| 546 | + <field> | ||
| 547 | + <name>陆家嘴地铁站10</name> | ||
| 548 | + <type>String</type> | ||
| 549 | + <length>-1</length> | ||
| 550 | + <precision>-1</precision> | ||
| 551 | + <trim_type>none</trim_type> | ||
| 552 | + <repeat>N</repeat> | ||
| 553 | + <format/> | ||
| 554 | + <currency/> | ||
| 555 | + <decimal/> | ||
| 556 | + <group/> | ||
| 557 | + </field> | ||
| 558 | + <field> | ||
| 559 | + <name>长岛路东陆路10</name> | ||
| 560 | + <type>String</type> | ||
| 561 | + <length>-1</length> | ||
| 562 | + <precision>-1</precision> | ||
| 563 | + <trim_type>none</trim_type> | ||
| 564 | + <repeat>N</repeat> | ||
| 565 | + <format/> | ||
| 566 | + <currency/> | ||
| 567 | + <decimal/> | ||
| 568 | + <group/> | ||
| 569 | + </field> | ||
| 570 | + <field> | ||
| 571 | + <name>陆家嘴地铁站11</name> | ||
| 572 | + <type>String</type> | ||
| 573 | + <length>-1</length> | ||
| 574 | + <precision>-1</precision> | ||
| 575 | + <trim_type>none</trim_type> | ||
| 576 | + <repeat>N</repeat> | ||
| 577 | + <format/> | ||
| 578 | + <currency/> | ||
| 579 | + <decimal/> | ||
| 580 | + <group/> | ||
| 581 | + </field> | ||
| 582 | + <field> | ||
| 583 | + <name>长岛路东陆路11</name> | ||
| 584 | + <type>String</type> | ||
| 585 | + <length>-1</length> | ||
| 586 | + <precision>-1</precision> | ||
| 587 | + <trim_type>none</trim_type> | ||
| 588 | + <repeat>N</repeat> | ||
| 589 | + <format/> | ||
| 590 | + <currency/> | ||
| 591 | + <decimal/> | ||
| 592 | + <group/> | ||
| 593 | + </field> | ||
| 594 | + <field> | ||
| 595 | + <name>陆家嘴地铁站12</name> | ||
| 596 | + <type>String</type> | ||
| 597 | + <length>-1</length> | ||
| 598 | + <precision>-1</precision> | ||
| 599 | + <trim_type>none</trim_type> | ||
| 600 | + <repeat>N</repeat> | ||
| 601 | + <format/> | ||
| 602 | + <currency/> | ||
| 603 | + <decimal/> | ||
| 604 | + <group/> | ||
| 605 | + </field> | ||
| 606 | + <field> | ||
| 607 | + <name>长岛路东陆路12</name> | ||
| 608 | + <type>String</type> | ||
| 609 | + <length>-1</length> | ||
| 610 | + <precision>-1</precision> | ||
| 611 | + <trim_type>none</trim_type> | ||
| 612 | + <repeat>N</repeat> | ||
| 613 | + <format/> | ||
| 614 | + <currency/> | ||
| 615 | + <decimal/> | ||
| 616 | + <group/> | ||
| 617 | + </field> | ||
| 618 | + <field> | ||
| 619 | + <name>陆家嘴地铁站13</name> | ||
| 620 | + <type>String</type> | ||
| 621 | + <length>-1</length> | ||
| 622 | + <precision>-1</precision> | ||
| 623 | + <trim_type>none</trim_type> | ||
| 624 | + <repeat>N</repeat> | ||
| 625 | + <format/> | ||
| 626 | + <currency/> | ||
| 627 | + <decimal/> | ||
| 628 | + <group/> | ||
| 629 | + </field> | ||
| 630 | + <field> | ||
| 631 | + <name>长岛路东陆路13</name> | ||
| 632 | + <type>String</type> | ||
| 633 | + <length>-1</length> | ||
| 634 | + <precision>-1</precision> | ||
| 635 | + <trim_type>none</trim_type> | ||
| 636 | + <repeat>N</repeat> | ||
| 637 | + <format/> | ||
| 638 | + <currency/> | ||
| 639 | + <decimal/> | ||
| 640 | + <group/> | ||
| 641 | + </field> | ||
| 642 | + <field> | ||
| 643 | + <name>进场</name> | ||
| 644 | + <type>String</type> | ||
| 645 | + <length>-1</length> | ||
| 646 | + <precision>-1</precision> | ||
| 647 | + <trim_type>none</trim_type> | ||
| 648 | + <repeat>N</repeat> | ||
| 649 | + <format/> | ||
| 650 | + <currency/> | ||
| 651 | + <decimal/> | ||
| 652 | + <group/> | ||
| 653 | + </field> | ||
| 654 | + </fields> | ||
| 655 | + <sheets> | ||
| 656 | + <sheet> | ||
| 657 | + <name>工作表1</name> | ||
| 658 | + <startrow>0</startrow> | ||
| 659 | + <startcol>0</startcol> | ||
| 660 | + </sheet> | ||
| 661 | + </sheets> | ||
| 662 | + <strict_types>N</strict_types> | ||
| 663 | + <error_ignored>N</error_ignored> | ||
| 664 | + <error_line_skipped>N</error_line_skipped> | ||
| 665 | + <bad_line_files_destination_directory/> | ||
| 666 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 667 | + <error_line_files_destination_directory/> | ||
| 668 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 669 | + <line_number_files_destination_directory/> | ||
| 670 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 671 | + <shortFileFieldName/> | ||
| 672 | + <pathFieldName/> | ||
| 673 | + <hiddenFieldName/> | ||
| 674 | + <lastModificationTimeFieldName/> | ||
| 675 | + <uriNameFieldName/> | ||
| 676 | + <rootUriNameFieldName/> | ||
| 677 | + <extensionFieldName/> | ||
| 678 | + <sizeFieldName/> | ||
| 679 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 680 | + <cluster_schema/> | ||
| 681 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 682 | + <xloc>112</xloc> | ||
| 683 | + <yloc>44</yloc> | ||
| 684 | + <draw>Y</draw> | ||
| 685 | + </GUI> | ||
| 686 | + </step> | ||
| 687 | + | ||
| 688 | + <step> | ||
| 689 | + <name>班次数据范式化</name> | ||
| 690 | + <type>Normaliser</type> | ||
| 691 | + <description/> | ||
| 692 | + <distribute>Y</distribute> | ||
| 693 | + <custom_distribution/> | ||
| 694 | + <copies>1</copies> | ||
| 695 | + <partitioning> | ||
| 696 | + <method>none</method> | ||
| 697 | + <schema_name/> | ||
| 698 | + </partitioning> | ||
| 699 | + <typefield>站点名称</typefield> | ||
| 700 | + <fields> <field> <name>出场</name> | ||
| 701 | + <value>出场</value> | ||
| 702 | + <norm>发车时间</norm> | ||
| 703 | + </field> <field> <name>陆家嘴地铁站1</name> | ||
| 704 | + <value>陆家嘴地铁站1</value> | ||
| 705 | + <norm>发车时间</norm> | ||
| 706 | + </field> <field> <name>长岛路东陆路1</name> | ||
| 707 | + <value>长岛路东陆路1</value> | ||
| 708 | + <norm>发车时间</norm> | ||
| 709 | + </field> <field> <name>陆家嘴地铁站2</name> | ||
| 710 | + <value>陆家嘴地铁站2</value> | ||
| 711 | + <norm>发车时间</norm> | ||
| 712 | + </field> <field> <name>长岛路东陆路2</name> | ||
| 713 | + <value>长岛路东陆路2</value> | ||
| 714 | + <norm>发车时间</norm> | ||
| 715 | + </field> <field> <name>陆家嘴地铁站3</name> | ||
| 716 | + <value>陆家嘴地铁站3</value> | ||
| 717 | + <norm>发车时间</norm> | ||
| 718 | + </field> <field> <name>长岛路东陆路3</name> | ||
| 719 | + <value>长岛路东陆路3</value> | ||
| 720 | + <norm>发车时间</norm> | ||
| 721 | + </field> <field> <name>陆家嘴地铁站4</name> | ||
| 722 | + <value>陆家嘴地铁站4</value> | ||
| 723 | + <norm>发车时间</norm> | ||
| 724 | + </field> <field> <name>长岛路东陆路4</name> | ||
| 725 | + <value>长岛路东陆路4</value> | ||
| 726 | + <norm>发车时间</norm> | ||
| 727 | + </field> <field> <name>陆家嘴地铁站5</name> | ||
| 728 | + <value>陆家嘴地铁站5</value> | ||
| 729 | + <norm>发车时间</norm> | ||
| 730 | + </field> <field> <name>长岛路东陆路5</name> | ||
| 731 | + <value>长岛路东陆路5</value> | ||
| 732 | + <norm>发车时间</norm> | ||
| 733 | + </field> <field> <name>陆家嘴地铁站6</name> | ||
| 734 | + <value>陆家嘴地铁站6</value> | ||
| 735 | + <norm>发车时间</norm> | ||
| 736 | + </field> <field> <name>长岛路东陆路6</name> | ||
| 737 | + <value>长岛路东陆路6</value> | ||
| 738 | + <norm>发车时间</norm> | ||
| 739 | + </field> <field> <name>进场1</name> | ||
| 740 | + <value>进场1</value> | ||
| 741 | + <norm>发车时间</norm> | ||
| 742 | + </field> <field> <name>出场1</name> | ||
| 743 | + <value>出场1</value> | ||
| 744 | + <norm>发车时间</norm> | ||
| 745 | + </field> <field> <name>陆家嘴地铁站7</name> | ||
| 746 | + <value>陆家嘴地铁站7</value> | ||
| 747 | + <norm>发车时间</norm> | ||
| 748 | + </field> <field> <name>长岛路东陆路7</name> | ||
| 749 | + <value>长岛路东陆路7</value> | ||
| 750 | + <norm>发车时间</norm> | ||
| 751 | + </field> <field> <name>陆家嘴地铁站8</name> | ||
| 752 | + <value>陆家嘴地铁站8</value> | ||
| 753 | + <norm>发车时间</norm> | ||
| 754 | + </field> <field> <name>长岛路东陆路8</name> | ||
| 755 | + <value>长岛路东陆路8</value> | ||
| 756 | + <norm>发车时间</norm> | ||
| 757 | + </field> <field> <name>陆家嘴地铁站9</name> | ||
| 758 | + <value>陆家嘴地铁站9</value> | ||
| 759 | + <norm>发车时间</norm> | ||
| 760 | + </field> <field> <name>长岛路东陆路9</name> | ||
| 761 | + <value>长岛路东陆路9</value> | ||
| 762 | + <norm>发车时间</norm> | ||
| 763 | + </field> <field> <name>陆家嘴地铁站10</name> | ||
| 764 | + <value>陆家嘴地铁站10</value> | ||
| 765 | + <norm>发车时间</norm> | ||
| 766 | + </field> <field> <name>长岛路东陆路10</name> | ||
| 767 | + <value>长岛路东陆路10</value> | ||
| 768 | + <norm>发车时间</norm> | ||
| 769 | + </field> <field> <name>陆家嘴地铁站11</name> | ||
| 770 | + <value>陆家嘴地铁站11</value> | ||
| 771 | + <norm>发车时间</norm> | ||
| 772 | + </field> <field> <name>长岛路东陆路11</name> | ||
| 773 | + <value>长岛路东陆路11</value> | ||
| 774 | + <norm>发车时间</norm> | ||
| 775 | + </field> <field> <name>陆家嘴地铁站12</name> | ||
| 776 | + <value>陆家嘴地铁站12</value> | ||
| 777 | + <norm>发车时间</norm> | ||
| 778 | + </field> <field> <name>长岛路东陆路12</name> | ||
| 779 | + <value>长岛路东陆路12</value> | ||
| 780 | + <norm>发车时间</norm> | ||
| 781 | + </field> <field> <name>陆家嘴地铁站13</name> | ||
| 782 | + <value>陆家嘴地铁站13</value> | ||
| 783 | + <norm>发车时间</norm> | ||
| 784 | + </field> <field> <name>长岛路东陆路13</name> | ||
| 785 | + <value>长岛路东陆路13</value> | ||
| 786 | + <norm>发车时间</norm> | ||
| 787 | + </field> <field> <name>进场</name> | ||
| 788 | + <value>进场</value> | ||
| 789 | + <norm>发车时间</norm> | ||
| 790 | + </field> </fields> <cluster_schema/> | ||
| 791 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 792 | + <xloc>248</xloc> | ||
| 793 | + <yloc>44</yloc> | ||
| 794 | + <draw>Y</draw> | ||
| 795 | + </GUI> | ||
| 796 | + </step> | ||
| 797 | + | ||
| 798 | + <step> | ||
| 799 | + <name>字段选择</name> | ||
| 800 | + <type>SelectValues</type> | ||
| 801 | + <description/> | ||
| 802 | + <distribute>Y</distribute> | ||
| 803 | + <custom_distribution/> | ||
| 804 | + <copies>1</copies> | ||
| 805 | + <partitioning> | ||
| 806 | + <method>none</method> | ||
| 807 | + <schema_name/> | ||
| 808 | + </partitioning> | ||
| 809 | + <fields> <field> <name>路牌</name> | ||
| 810 | + <rename>lp</rename> | ||
| 811 | + <length>-2</length> | ||
| 812 | + <precision>-2</precision> | ||
| 813 | + </field> <field> <name>站点名称</name> | ||
| 814 | + <rename>qdzname</rename> | ||
| 815 | + <length>-2</length> | ||
| 816 | + <precision>-2</precision> | ||
| 817 | + </field> <field> <name>发车时间</name> | ||
| 818 | + <rename>sendtime</rename> | ||
| 819 | + <length>-2</length> | ||
| 820 | + <precision>-2</precision> | ||
| 821 | + </field> <select_unspecified>Y</select_unspecified> | ||
| 822 | + </fields> <cluster_schema/> | ||
| 823 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 824 | + <xloc>351</xloc> | ||
| 825 | + <yloc>45</yloc> | ||
| 826 | + <draw>Y</draw> | ||
| 827 | + </GUI> | ||
| 828 | + </step> | ||
| 829 | + | ||
| 830 | + <step> | ||
| 831 | + <name>添加发车顺序号</name> | ||
| 832 | + <type>GroupBy</type> | ||
| 833 | + <description/> | ||
| 834 | + <distribute>Y</distribute> | ||
| 835 | + <custom_distribution/> | ||
| 836 | + <copies>1</copies> | ||
| 837 | + <partitioning> | ||
| 838 | + <method>none</method> | ||
| 839 | + <schema_name/> | ||
| 840 | + </partitioning> | ||
| 841 | + <all_rows>Y</all_rows> | ||
| 842 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 843 | + <field_ignore/> | ||
| 844 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 845 | + <prefix>grp</prefix> | ||
| 846 | + <add_linenr>Y</add_linenr> | ||
| 847 | + <linenr_fieldname>fcno</linenr_fieldname> | ||
| 848 | + <give_back_row>N</give_back_row> | ||
| 849 | + <group> | ||
| 850 | + <field> | ||
| 851 | + <name>lp</name> | ||
| 852 | + </field> | ||
| 853 | + </group> | ||
| 854 | + <fields> | ||
| 855 | + </fields> | ||
| 856 | + <cluster_schema/> | ||
| 857 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 858 | + <xloc>442</xloc> | ||
| 859 | + <yloc>44</yloc> | ||
| 860 | + <draw>Y</draw> | ||
| 861 | + </GUI> | ||
| 862 | + </step> | ||
| 863 | + | ||
| 864 | + <step> | ||
| 865 | + <name>过滤记录(发车时间为空)</name> | ||
| 866 | + <type>FilterRows</type> | ||
| 867 | + <description/> | ||
| 868 | + <distribute>Y</distribute> | ||
| 869 | + <custom_distribution/> | ||
| 870 | + <copies>1</copies> | ||
| 871 | + <partitioning> | ||
| 872 | + <method>none</method> | ||
| 873 | + <schema_name/> | ||
| 874 | + </partitioning> | ||
| 875 | +<send_true_to/> | ||
| 876 | +<send_false_to/> | ||
| 877 | + <compare> | ||
| 878 | +<condition> | ||
| 879 | + <negated>N</negated> | ||
| 880 | + <leftvalue>sendtime</leftvalue> | ||
| 881 | + <function>IS NOT NULL</function> | ||
| 882 | + <rightvalue/> | ||
| 883 | + </condition> | ||
| 884 | + </compare> | ||
| 885 | + <cluster_schema/> | ||
| 886 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 887 | + <xloc>571</xloc> | ||
| 888 | + <yloc>44</yloc> | ||
| 889 | + <draw>Y</draw> | ||
| 890 | + </GUI> | ||
| 891 | + </step> | ||
| 892 | + | ||
| 893 | + <step> | ||
| 894 | + <name>添加对应班次数</name> | ||
| 895 | + <type>GroupBy</type> | ||
| 896 | + <description/> | ||
| 897 | + <distribute>Y</distribute> | ||
| 898 | + <custom_distribution/> | ||
| 899 | + <copies>1</copies> | ||
| 900 | + <partitioning> | ||
| 901 | + <method>none</method> | ||
| 902 | + <schema_name/> | ||
| 903 | + </partitioning> | ||
| 904 | + <all_rows>Y</all_rows> | ||
| 905 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 906 | + <field_ignore/> | ||
| 907 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 908 | + <prefix>grp</prefix> | ||
| 909 | + <add_linenr>Y</add_linenr> | ||
| 910 | + <linenr_fieldname>bcs</linenr_fieldname> | ||
| 911 | + <give_back_row>N</give_back_row> | ||
| 912 | + <group> | ||
| 913 | + </group> | ||
| 914 | + <fields> | ||
| 915 | + </fields> | ||
| 916 | + <cluster_schema/> | ||
| 917 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 918 | + <xloc>692</xloc> | ||
| 919 | + <yloc>44</yloc> | ||
| 920 | + <draw>Y</draw> | ||
| 921 | + </GUI> | ||
| 922 | + </step> | ||
| 923 | + | ||
| 924 | + <step> | ||
| 925 | + <name>处理数据</name> | ||
| 926 | + <type>ScriptValueMod</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 | + <compatible>N</compatible> | ||
| 936 | + <optimizationLevel>9</optimizationLevel> | ||
| 937 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 938 | + <jsScript_name>Script 1</jsScript_name> | ||
| 939 | + <jsScript_script>//Script here

// 使用正则表达式去除站点名称中的数字
qdzname = qdzname.replace(/\d+/g,'');

</jsScript_script> | ||
| 940 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname</name> | ||
| 941 | + <rename>qdzname</rename> | ||
| 942 | + <type>String</type> | ||
| 943 | + <length>-1</length> | ||
| 944 | + <precision>-1</precision> | ||
| 945 | + <replace>Y</replace> | ||
| 946 | + </field> </fields> <cluster_schema/> | ||
| 947 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 948 | + <xloc>788</xloc> | ||
| 949 | + <yloc>44</yloc> | ||
| 950 | + <draw>Y</draw> | ||
| 951 | + </GUI> | ||
| 952 | + </step> | ||
| 953 | + | ||
| 954 | + <step> | ||
| 955 | + <name>分组各个路牌的站</name> | ||
| 956 | + <type>GroupBy</type> | ||
| 957 | + <description/> | ||
| 958 | + <distribute>Y</distribute> | ||
| 959 | + <custom_distribution/> | ||
| 960 | + <copies>1</copies> | ||
| 961 | + <partitioning> | ||
| 962 | + <method>none</method> | ||
| 963 | + <schema_name/> | ||
| 964 | + </partitioning> | ||
| 965 | + <all_rows>Y</all_rows> | ||
| 966 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 967 | + <field_ignore/> | ||
| 968 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 969 | + <prefix>grp</prefix> | ||
| 970 | + <add_linenr>N</add_linenr> | ||
| 971 | + <linenr_fieldname>fcno</linenr_fieldname> | ||
| 972 | + <give_back_row>N</give_back_row> | ||
| 973 | + <group> | ||
| 974 | + <field> | ||
| 975 | + <name>lp</name> | ||
| 976 | + </field> | ||
| 977 | + </group> | ||
| 978 | + <fields> | ||
| 979 | + <field> | ||
| 980 | + <aggregate>qdzgroups</aggregate> | ||
| 981 | + <subject>qdzname</subject> | ||
| 982 | + <type>CONCAT_STRING</type> | ||
| 983 | + <valuefield>,</valuefield> | ||
| 984 | + </field> | ||
| 985 | + </fields> | ||
| 986 | + <cluster_schema/> | ||
| 987 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 988 | + <xloc>892</xloc> | ||
| 989 | + <yloc>44</yloc> | ||
| 990 | + <draw>Y</draw> | ||
| 991 | + </GUI> | ||
| 992 | + </step> | ||
| 993 | + | ||
| 994 | + <step> | ||
| 995 | + <name>查找时刻表基础信息关联</name> | ||
| 996 | + <type>DBLookup</type> | ||
| 997 | + <description/> | ||
| 998 | + <distribute>Y</distribute> | ||
| 999 | + <custom_distribution/> | ||
| 1000 | + <copies>1</copies> | ||
| 1001 | + <partitioning> | ||
| 1002 | + <method>none</method> | ||
| 1003 | + <schema_name/> | ||
| 1004 | + </partitioning> | ||
| 1005 | + <connection>bus_control_公司_201</connection> | ||
| 1006 | + <cache>N</cache> | ||
| 1007 | + <cache_load_all>N</cache_load_all> | ||
| 1008 | + <cache_size>0</cache_size> | ||
| 1009 | + <lookup> | ||
| 1010 | + <schema/> | ||
| 1011 | + <table>bsth_c_s_ttinfo</table> | ||
| 1012 | + <orderby/> | ||
| 1013 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1014 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1015 | + <key> | ||
| 1016 | + <name>xlid</name> | ||
| 1017 | + <field>xl</field> | ||
| 1018 | + <condition>=</condition> | ||
| 1019 | + <name2/> | ||
| 1020 | + </key> | ||
| 1021 | + <key> | ||
| 1022 | + <name>ttname</name> | ||
| 1023 | + <field>name</field> | ||
| 1024 | + <condition>=</condition> | ||
| 1025 | + <name2/> | ||
| 1026 | + </key> | ||
| 1027 | + <value> | ||
| 1028 | + <name>id</name> | ||
| 1029 | + <rename>ttid</rename> | ||
| 1030 | + <default/> | ||
| 1031 | + <type>Integer</type> | ||
| 1032 | + </value> | ||
| 1033 | + </lookup> | ||
| 1034 | + <cluster_schema/> | ||
| 1035 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1036 | + <xloc>1011</xloc> | ||
| 1037 | + <yloc>134</yloc> | ||
| 1038 | + <draw>Y</draw> | ||
| 1039 | + </GUI> | ||
| 1040 | + </step> | ||
| 1041 | + | ||
| 1042 | + <step> | ||
| 1043 | + <name>查找线路关联</name> | ||
| 1044 | + <type>DBLookup</type> | ||
| 1045 | + <description/> | ||
| 1046 | + <distribute>Y</distribute> | ||
| 1047 | + <custom_distribution/> | ||
| 1048 | + <copies>1</copies> | ||
| 1049 | + <partitioning> | ||
| 1050 | + <method>none</method> | ||
| 1051 | + <schema_name/> | ||
| 1052 | + </partitioning> | ||
| 1053 | + <connection>bus_control_公司_201</connection> | ||
| 1054 | + <cache>N</cache> | ||
| 1055 | + <cache_load_all>N</cache_load_all> | ||
| 1056 | + <cache_size>0</cache_size> | ||
| 1057 | + <lookup> | ||
| 1058 | + <schema/> | ||
| 1059 | + <table>bsth_c_line</table> | ||
| 1060 | + <orderby/> | ||
| 1061 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1062 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1063 | + <key> | ||
| 1064 | + <name>xlname</name> | ||
| 1065 | + <field>name</field> | ||
| 1066 | + <condition>=</condition> | ||
| 1067 | + <name2/> | ||
| 1068 | + </key> | ||
| 1069 | + <value> | ||
| 1070 | + <name>id</name> | ||
| 1071 | + <rename>xlid</rename> | ||
| 1072 | + <default/> | ||
| 1073 | + <type>Integer</type> | ||
| 1074 | + </value> | ||
| 1075 | + </lookup> | ||
| 1076 | + <cluster_schema/> | ||
| 1077 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1078 | + <xloc>1007</xloc> | ||
| 1079 | + <yloc>43</yloc> | ||
| 1080 | + <draw>Y</draw> | ||
| 1081 | + </GUI> | ||
| 1082 | + </step> | ||
| 1083 | + | ||
| 1084 | + <step> | ||
| 1085 | + <name>查找路牌关联</name> | ||
| 1086 | + <type>DBLookup</type> | ||
| 1087 | + <description/> | ||
| 1088 | + <distribute>Y</distribute> | ||
| 1089 | + <custom_distribution/> | ||
| 1090 | + <copies>1</copies> | ||
| 1091 | + <partitioning> | ||
| 1092 | + <method>none</method> | ||
| 1093 | + <schema_name/> | ||
| 1094 | + </partitioning> | ||
| 1095 | + <connection>bus_control_公司_201</connection> | ||
| 1096 | + <cache>N</cache> | ||
| 1097 | + <cache_load_all>N</cache_load_all> | ||
| 1098 | + <cache_size>0</cache_size> | ||
| 1099 | + <lookup> | ||
| 1100 | + <schema/> | ||
| 1101 | + <table>bsth_c_s_gbi</table> | ||
| 1102 | + <orderby/> | ||
| 1103 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1104 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1105 | + <key> | ||
| 1106 | + <name>xlid</name> | ||
| 1107 | + <field>xl</field> | ||
| 1108 | + <condition>=</condition> | ||
| 1109 | + <name2/> | ||
| 1110 | + </key> | ||
| 1111 | + <key> | ||
| 1112 | + <name>lp</name> | ||
| 1113 | + <field>lp_name</field> | ||
| 1114 | + <condition>=</condition> | ||
| 1115 | + <name2/> | ||
| 1116 | + </key> | ||
| 1117 | + <value> | ||
| 1118 | + <name>id</name> | ||
| 1119 | + <rename>lpid</rename> | ||
| 1120 | + <default/> | ||
| 1121 | + <type>Integer</type> | ||
| 1122 | + </value> | ||
| 1123 | + </lookup> | ||
| 1124 | + <cluster_schema/> | ||
| 1125 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1126 | + <xloc>1013</xloc> | ||
| 1127 | + <yloc>265</yloc> | ||
| 1128 | + <draw>Y</draw> | ||
| 1129 | + </GUI> | ||
| 1130 | + </step> | ||
| 1131 | + | ||
| 1132 | + <step> | ||
| 1133 | + <name>获取变量</name> | ||
| 1134 | + <type>GetVariable</type> | ||
| 1135 | + <description/> | ||
| 1136 | + <distribute>Y</distribute> | ||
| 1137 | + <custom_distribution/> | ||
| 1138 | + <copies>1</copies> | ||
| 1139 | + <partitioning> | ||
| 1140 | + <method>none</method> | ||
| 1141 | + <schema_name/> | ||
| 1142 | + </partitioning> | ||
| 1143 | + <fields> | ||
| 1144 | + <field> | ||
| 1145 | + <name>filepath_</name> | ||
| 1146 | + <variable>${filepath}</variable> | ||
| 1147 | + <type>String</type> | ||
| 1148 | + <format/> | ||
| 1149 | + <currency/> | ||
| 1150 | + <decimal/> | ||
| 1151 | + <group/> | ||
| 1152 | + <length>-1</length> | ||
| 1153 | + <precision>-1</precision> | ||
| 1154 | + <trim_type>none</trim_type> | ||
| 1155 | + </field> | ||
| 1156 | + <field> | ||
| 1157 | + <name>erroroutputdir_</name> | ||
| 1158 | + <variable>${erroroutputdir}</variable> | ||
| 1159 | + <type>String</type> | ||
| 1160 | + <format/> | ||
| 1161 | + <currency/> | ||
| 1162 | + <decimal/> | ||
| 1163 | + <group/> | ||
| 1164 | + <length>-1</length> | ||
| 1165 | + <precision>-1</precision> | ||
| 1166 | + <trim_type>none</trim_type> | ||
| 1167 | + </field> | ||
| 1168 | + <field> | ||
| 1169 | + <name>ttinfoname_</name> | ||
| 1170 | + <variable>${ttinfoname}</variable> | ||
| 1171 | + <type>String</type> | ||
| 1172 | + <format/> | ||
| 1173 | + <currency/> | ||
| 1174 | + <decimal/> | ||
| 1175 | + <group/> | ||
| 1176 | + <length>-1</length> | ||
| 1177 | + <precision>-1</precision> | ||
| 1178 | + <trim_type>none</trim_type> | ||
| 1179 | + </field> | ||
| 1180 | + <field> | ||
| 1181 | + <name>xlname_</name> | ||
| 1182 | + <variable>${xlname}</variable> | ||
| 1183 | + <type>String</type> | ||
| 1184 | + <format/> | ||
| 1185 | + <currency/> | ||
| 1186 | + <decimal/> | ||
| 1187 | + <group/> | ||
| 1188 | + <length>-1</length> | ||
| 1189 | + <precision>-1</precision> | ||
| 1190 | + <trim_type>none</trim_type> | ||
| 1191 | + </field> | ||
| 1192 | + <field> | ||
| 1193 | + <name>tccname_</name> | ||
| 1194 | + <variable>${tccname}</variable> | ||
| 1195 | + <type>String</type> | ||
| 1196 | + <format/> | ||
| 1197 | + <currency/> | ||
| 1198 | + <decimal/> | ||
| 1199 | + <group/> | ||
| 1200 | + <length>-1</length> | ||
| 1201 | + <precision>-1</precision> | ||
| 1202 | + <trim_type>none</trim_type> | ||
| 1203 | + </field> | ||
| 1204 | + </fields> | ||
| 1205 | + <cluster_schema/> | ||
| 1206 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1207 | + <xloc>113</xloc> | ||
| 1208 | + <yloc>141</yloc> | ||
| 1209 | + <draw>Y</draw> | ||
| 1210 | + </GUI> | ||
| 1211 | + </step> | ||
| 1212 | + | ||
| 1213 | + <step> | ||
| 1214 | + <name>上下行字典</name> | ||
| 1215 | + <type>ValueMapper</type> | ||
| 1216 | + <description/> | ||
| 1217 | + <distribute>Y</distribute> | ||
| 1218 | + <custom_distribution/> | ||
| 1219 | + <copies>1</copies> | ||
| 1220 | + <partitioning> | ||
| 1221 | + <method>none</method> | ||
| 1222 | + <schema_name/> | ||
| 1223 | + </partitioning> | ||
| 1224 | + <field_to_use>sxx</field_to_use> | ||
| 1225 | + <target_field>sxx_desc</target_field> | ||
| 1226 | + <non_match_default/> | ||
| 1227 | + <fields> | ||
| 1228 | + <field> | ||
| 1229 | + <source_value>0</source_value> | ||
| 1230 | + <target_value>上行</target_value> | ||
| 1231 | + </field> | ||
| 1232 | + <field> | ||
| 1233 | + <source_value>1</source_value> | ||
| 1234 | + <target_value>下行</target_value> | ||
| 1235 | + </field> | ||
| 1236 | + </fields> | ||
| 1237 | + <cluster_schema/> | ||
| 1238 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1239 | + <xloc>147</xloc> | ||
| 1240 | + <yloc>403</yloc> | ||
| 1241 | + <draw>Y</draw> | ||
| 1242 | + </GUI> | ||
| 1243 | + </step> | ||
| 1244 | + | ||
| 1245 | + <step> | ||
| 1246 | + <name>上下行字典 2</name> | ||
| 1247 | + <type>ValueMapper</type> | ||
| 1248 | + <description/> | ||
| 1249 | + <distribute>Y</distribute> | ||
| 1250 | + <custom_distribution/> | ||
| 1251 | + <copies>1</copies> | ||
| 1252 | + <partitioning> | ||
| 1253 | + <method>none</method> | ||
| 1254 | + <schema_name/> | ||
| 1255 | + </partitioning> | ||
| 1256 | + <field_to_use>sxx</field_to_use> | ||
| 1257 | + <target_field>sxx_desc</target_field> | ||
| 1258 | + <non_match_default/> | ||
| 1259 | + <fields> | ||
| 1260 | + <field> | ||
| 1261 | + <source_value>0</source_value> | ||
| 1262 | + <target_value>上行</target_value> | ||
| 1263 | + </field> | ||
| 1264 | + <field> | ||
| 1265 | + <source_value>1</source_value> | ||
| 1266 | + <target_value>下行</target_value> | ||
| 1267 | + </field> | ||
| 1268 | + </fields> | ||
| 1269 | + <cluster_schema/> | ||
| 1270 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1271 | + <xloc>435</xloc> | ||
| 1272 | + <yloc>579</yloc> | ||
| 1273 | + <draw>Y</draw> | ||
| 1274 | + </GUI> | ||
| 1275 | + </step> | ||
| 1276 | + | ||
| 1277 | + <step> | ||
| 1278 | + <name>上下行字典 3</name> | ||
| 1279 | + <type>ValueMapper</type> | ||
| 1280 | + <description/> | ||
| 1281 | + <distribute>Y</distribute> | ||
| 1282 | + <custom_distribution/> | ||
| 1283 | + <copies>1</copies> | ||
| 1284 | + <partitioning> | ||
| 1285 | + <method>none</method> | ||
| 1286 | + <schema_name/> | ||
| 1287 | + </partitioning> | ||
| 1288 | + <field_to_use>sxx</field_to_use> | ||
| 1289 | + <target_field>sxx_desc</target_field> | ||
| 1290 | + <non_match_default/> | ||
| 1291 | + <fields> | ||
| 1292 | + <field> | ||
| 1293 | + <source_value>0</source_value> | ||
| 1294 | + <target_value>上行</target_value> | ||
| 1295 | + </field> | ||
| 1296 | + <field> | ||
| 1297 | + <source_value>1</source_value> | ||
| 1298 | + <target_value>下行</target_value> | ||
| 1299 | + </field> | ||
| 1300 | + </fields> | ||
| 1301 | + <cluster_schema/> | ||
| 1302 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1303 | + <xloc>592</xloc> | ||
| 1304 | + <yloc>674</yloc> | ||
| 1305 | + <draw>Y</draw> | ||
| 1306 | + </GUI> | ||
| 1307 | + </step> | ||
| 1308 | + | ||
| 1309 | + <step> | ||
| 1310 | + <name>出场班次_处理数据</name> | ||
| 1311 | + <type>ScriptValueMod</type> | ||
| 1312 | + <description/> | ||
| 1313 | + <distribute>Y</distribute> | ||
| 1314 | + <custom_distribution/> | ||
| 1315 | + <copies>1</copies> | ||
| 1316 | + <partitioning> | ||
| 1317 | + <method>none</method> | ||
| 1318 | + <schema_name/> | ||
| 1319 | + </partitioning> | ||
| 1320 | + <compatible>N</compatible> | ||
| 1321 | + <optimizationLevel>9</optimizationLevel> | ||
| 1322 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 1323 | + <jsScript_name>Script 1</jsScript_name> | ||
| 1324 | + <jsScript_script>//Script here

// 添加站点标识
var tccname = '东靖路高行停车场';
var zdzname = '长岛路东陆路';
var sxx = '1'; // 下行
var endZdtype = 'B';</jsScript_script> | ||
| 1325 | + </jsScript> </jsScripts> <fields> <field> <name>tccname</name> | ||
| 1326 | + <rename>tccname</rename> | ||
| 1327 | + <type>String</type> | ||
| 1328 | + <length>-1</length> | ||
| 1329 | + <precision>-1</precision> | ||
| 1330 | + <replace>N</replace> | ||
| 1331 | + </field> <field> <name>zdzname</name> | ||
| 1332 | + <rename>zdzname</rename> | ||
| 1333 | + <type>String</type> | ||
| 1334 | + <length>-1</length> | ||
| 1335 | + <precision>-1</precision> | ||
| 1336 | + <replace>N</replace> | ||
| 1337 | + </field> <field> <name>sxx</name> | ||
| 1338 | + <rename>sxx</rename> | ||
| 1339 | + <type>String</type> | ||
| 1340 | + <length>-1</length> | ||
| 1341 | + <precision>-1</precision> | ||
| 1342 | + <replace>N</replace> | ||
| 1343 | + </field> <field> <name>endZdtype</name> | ||
| 1344 | + <rename>endZdtype</rename> | ||
| 1345 | + <type>String</type> | ||
| 1346 | + <length>-1</length> | ||
| 1347 | + <precision>-1</precision> | ||
| 1348 | + <replace>N</replace> | ||
| 1349 | + </field> </fields> <cluster_schema/> | ||
| 1350 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1351 | + <xloc>730</xloc> | ||
| 1352 | + <yloc>502</yloc> | ||
| 1353 | + <draw>Y</draw> | ||
| 1354 | + </GUI> | ||
| 1355 | + </step> | ||
| 1356 | + | ||
| 1357 | + <step> | ||
| 1358 | + <name>出场班次数据</name> | ||
| 1359 | + <type>Dummy</type> | ||
| 1360 | + <description/> | ||
| 1361 | + <distribute>Y</distribute> | ||
| 1362 | + <custom_distribution/> | ||
| 1363 | + <copies>1</copies> | ||
| 1364 | + <partitioning> | ||
| 1365 | + <method>none</method> | ||
| 1366 | + <schema_name/> | ||
| 1367 | + </partitioning> | ||
| 1368 | + <cluster_schema/> | ||
| 1369 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1370 | + <xloc>869</xloc> | ||
| 1371 | + <yloc>504</yloc> | ||
| 1372 | + <draw>Y</draw> | ||
| 1373 | + </GUI> | ||
| 1374 | + </step> | ||
| 1375 | + | ||
| 1376 | + <step> | ||
| 1377 | + <name>匹配上下行班次里程时间</name> | ||
| 1378 | + <type>ScriptValueMod</type> | ||
| 1379 | + <description/> | ||
| 1380 | + <distribute>Y</distribute> | ||
| 1381 | + <custom_distribution/> | ||
| 1382 | + <copies>1</copies> | ||
| 1383 | + <partitioning> | ||
| 1384 | + <method>none</method> | ||
| 1385 | + <schema_name/> | ||
| 1386 | + </partitioning> | ||
| 1387 | + <compatible>N</compatible> | ||
| 1388 | + <optimizationLevel>9</optimizationLevel> | ||
| 1389 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 1390 | + <jsScript_name>Script 1</jsScript_name> | ||
| 1391 | + <jsScript_script>//Script here

var jhlc; // 计划里程
var bcsj; // 班次时间

if (sxx == 0) { // 上行
 jhlc = up_mileage;
 bcsj = up_travel_time;
} else { // sxx == 1 下行
 jhlc = down_mileage;
 bcsj = down_travel_time;
}</jsScript_script> | ||
| 1392 | + </jsScript> </jsScripts> <fields> <field> <name>jhlc</name> | ||
| 1393 | + <rename>jhlc</rename> | ||
| 1394 | + <type>String</type> | ||
| 1395 | + <length>-1</length> | ||
| 1396 | + <precision>-1</precision> | ||
| 1397 | + <replace>N</replace> | ||
| 1398 | + </field> <field> <name>bcsj</name> | ||
| 1399 | + <rename>bcsj</rename> | ||
| 1400 | + <type>String</type> | ||
| 1401 | + <length>-1</length> | ||
| 1402 | + <precision>-1</precision> | ||
| 1403 | + <replace>N</replace> | ||
| 1404 | + </field> </fields> <cluster_schema/> | ||
| 1405 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1406 | + <xloc>148</xloc> | ||
| 1407 | + <yloc>674</yloc> | ||
| 1408 | + <draw>Y</draw> | ||
| 1409 | + </GUI> | ||
| 1410 | + </step> | ||
| 1411 | + | ||
| 1412 | + <step> | ||
| 1413 | + <name>按照班次类型过滤数据1</name> | ||
| 1414 | + <type>FilterRows</type> | ||
| 1415 | + <description/> | ||
| 1416 | + <distribute>Y</distribute> | ||
| 1417 | + <custom_distribution/> | ||
| 1418 | + <copies>1</copies> | ||
| 1419 | + <partitioning> | ||
| 1420 | + <method>none</method> | ||
| 1421 | + <schema_name/> | ||
| 1422 | + </partitioning> | ||
| 1423 | +<send_true_to>正常班次数据</send_true_to> | ||
| 1424 | +<send_false_to>按照班次类型过滤数据2</send_false_to> | ||
| 1425 | + <compare> | ||
| 1426 | +<condition> | ||
| 1427 | + <negated>N</negated> | ||
| 1428 | + <leftvalue>bctype</leftvalue> | ||
| 1429 | + <function>=</function> | ||
| 1430 | + <rightvalue/> | ||
| 1431 | + <value><name>constant</name><type>String</type><text>正常班次</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 1432 | + </compare> | ||
| 1433 | + <cluster_schema/> | ||
| 1434 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1435 | + <xloc>868</xloc> | ||
| 1436 | + <yloc>404</yloc> | ||
| 1437 | + <draw>Y</draw> | ||
| 1438 | + </GUI> | ||
| 1439 | + </step> | ||
| 1440 | + | ||
| 1441 | + <step> | ||
| 1442 | + <name>按照班次类型过滤数据2</name> | ||
| 1443 | + <type>FilterRows</type> | ||
| 1444 | + <description/> | ||
| 1445 | + <distribute>Y</distribute> | ||
| 1446 | + <custom_distribution/> | ||
| 1447 | + <copies>1</copies> | ||
| 1448 | + <partitioning> | ||
| 1449 | + <method>none</method> | ||
| 1450 | + <schema_name/> | ||
| 1451 | + </partitioning> | ||
| 1452 | +<send_true_to>出场班次数据</send_true_to> | ||
| 1453 | +<send_false_to>进场班次数据</send_false_to> | ||
| 1454 | + <compare> | ||
| 1455 | +<condition> | ||
| 1456 | + <negated>N</negated> | ||
| 1457 | + <leftvalue>bctype</leftvalue> | ||
| 1458 | + <function>=</function> | ||
| 1459 | + <rightvalue/> | ||
| 1460 | + <value><name>constant</name><type>String</type><text>出场</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 1461 | + </compare> | ||
| 1462 | + <cluster_schema/> | ||
| 1463 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1464 | + <xloc>995</xloc> | ||
| 1465 | + <yloc>503</yloc> | ||
| 1466 | + <draw>Y</draw> | ||
| 1467 | + </GUI> | ||
| 1468 | + </step> | ||
| 1469 | + | ||
| 1470 | + <step> | ||
| 1471 | + <name>查找停车场1</name> | ||
| 1472 | + <type>DBLookup</type> | ||
| 1473 | + <description/> | ||
| 1474 | + <distribute>Y</distribute> | ||
| 1475 | + <custom_distribution/> | ||
| 1476 | + <copies>1</copies> | ||
| 1477 | + <partitioning> | ||
| 1478 | + <method>none</method> | ||
| 1479 | + <schema_name/> | ||
| 1480 | + </partitioning> | ||
| 1481 | + <connection>bus_control_公司_201</connection> | ||
| 1482 | + <cache>N</cache> | ||
| 1483 | + <cache_load_all>N</cache_load_all> | ||
| 1484 | + <cache_size>0</cache_size> | ||
| 1485 | + <lookup> | ||
| 1486 | + <schema/> | ||
| 1487 | + <table>bsth_c_car_park</table> | ||
| 1488 | + <orderby/> | ||
| 1489 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1490 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1491 | + <key> | ||
| 1492 | + <name>tccname</name> | ||
| 1493 | + <field>park_name</field> | ||
| 1494 | + <condition>=</condition> | ||
| 1495 | + <name2/> | ||
| 1496 | + </key> | ||
| 1497 | + <value> | ||
| 1498 | + <name>id</name> | ||
| 1499 | + <rename>qdzid</rename> | ||
| 1500 | + <default/> | ||
| 1501 | + <type>Integer</type> | ||
| 1502 | + </value> | ||
| 1503 | + </lookup> | ||
| 1504 | + <cluster_schema/> | ||
| 1505 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1506 | + <xloc>591</xloc> | ||
| 1507 | + <yloc>503</yloc> | ||
| 1508 | + <draw>Y</draw> | ||
| 1509 | + </GUI> | ||
| 1510 | + </step> | ||
| 1511 | + | ||
| 1512 | + <step> | ||
| 1513 | + <name>查找停车场2</name> | ||
| 1514 | + <type>DBLookup</type> | ||
| 1515 | + <description/> | ||
| 1516 | + <distribute>Y</distribute> | ||
| 1517 | + <custom_distribution/> | ||
| 1518 | + <copies>1</copies> | ||
| 1519 | + <partitioning> | ||
| 1520 | + <method>none</method> | ||
| 1521 | + <schema_name/> | ||
| 1522 | + </partitioning> | ||
| 1523 | + <connection>bus_control_公司_201</connection> | ||
| 1524 | + <cache>N</cache> | ||
| 1525 | + <cache_load_all>N</cache_load_all> | ||
| 1526 | + <cache_size>0</cache_size> | ||
| 1527 | + <lookup> | ||
| 1528 | + <schema/> | ||
| 1529 | + <table>bsth_c_car_park</table> | ||
| 1530 | + <orderby/> | ||
| 1531 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1532 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1533 | + <key> | ||
| 1534 | + <name>tccname</name> | ||
| 1535 | + <field>park_name</field> | ||
| 1536 | + <condition>=</condition> | ||
| 1537 | + <name2/> | ||
| 1538 | + </key> | ||
| 1539 | + <value> | ||
| 1540 | + <name>id</name> | ||
| 1541 | + <rename>zdzid</rename> | ||
| 1542 | + <default/> | ||
| 1543 | + <type>Integer</type> | ||
| 1544 | + </value> | ||
| 1545 | + </lookup> | ||
| 1546 | + <cluster_schema/> | ||
| 1547 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1548 | + <xloc>734</xloc> | ||
| 1549 | + <yloc>610</yloc> | ||
| 1550 | + <draw>Y</draw> | ||
| 1551 | + </GUI> | ||
| 1552 | + </step> | ||
| 1553 | + | ||
| 1554 | + <step> | ||
| 1555 | + <name>查找线路上下行里程时间</name> | ||
| 1556 | + <type>DBLookup</type> | ||
| 1557 | + <description/> | ||
| 1558 | + <distribute>Y</distribute> | ||
| 1559 | + <custom_distribution/> | ||
| 1560 | + <copies>1</copies> | ||
| 1561 | + <partitioning> | ||
| 1562 | + <method>none</method> | ||
| 1563 | + <schema_name/> | ||
| 1564 | + </partitioning> | ||
| 1565 | + <connection>bus_control_公司_201</connection> | ||
| 1566 | + <cache>N</cache> | ||
| 1567 | + <cache_load_all>N</cache_load_all> | ||
| 1568 | + <cache_size>0</cache_size> | ||
| 1569 | + <lookup> | ||
| 1570 | + <schema/> | ||
| 1571 | + <table>bsth_c_line_information</table> | ||
| 1572 | + <orderby/> | ||
| 1573 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1574 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1575 | + <key> | ||
| 1576 | + <name>xlid</name> | ||
| 1577 | + <field>line</field> | ||
| 1578 | + <condition>=</condition> | ||
| 1579 | + <name2/> | ||
| 1580 | + </key> | ||
| 1581 | + <value> | ||
| 1582 | + <name>up_mileage</name> | ||
| 1583 | + <rename>up_mileage</rename> | ||
| 1584 | + <default/> | ||
| 1585 | + <type>Number</type> | ||
| 1586 | + </value> | ||
| 1587 | + <value> | ||
| 1588 | + <name>down_mileage</name> | ||
| 1589 | + <rename>down_mileage</rename> | ||
| 1590 | + <default/> | ||
| 1591 | + <type>Number</type> | ||
| 1592 | + </value> | ||
| 1593 | + <value> | ||
| 1594 | + <name>up_travel_time</name> | ||
| 1595 | + <rename>up_travel_time</rename> | ||
| 1596 | + <default/> | ||
| 1597 | + <type>Number</type> | ||
| 1598 | + </value> | ||
| 1599 | + <value> | ||
| 1600 | + <name>down_travel_time</name> | ||
| 1601 | + <rename>down_travel_time</rename> | ||
| 1602 | + <default/> | ||
| 1603 | + <type>Number</type> | ||
| 1604 | + </value> | ||
| 1605 | + </lookup> | ||
| 1606 | + <cluster_schema/> | ||
| 1607 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1608 | + <xloc>149</xloc> | ||
| 1609 | + <yloc>581</yloc> | ||
| 1610 | + <draw>Y</draw> | ||
| 1611 | + </GUI> | ||
| 1612 | + </step> | ||
| 1613 | + | ||
| 1614 | + <step> | ||
| 1615 | + <name>查找线路出场里程时间</name> | ||
| 1616 | + <type>DBLookup</type> | ||
| 1617 | + <description/> | ||
| 1618 | + <distribute>Y</distribute> | ||
| 1619 | + <custom_distribution/> | ||
| 1620 | + <copies>1</copies> | ||
| 1621 | + <partitioning> | ||
| 1622 | + <method>none</method> | ||
| 1623 | + <schema_name/> | ||
| 1624 | + </partitioning> | ||
| 1625 | + <connection>bus_control_公司_201</connection> | ||
| 1626 | + <cache>N</cache> | ||
| 1627 | + <cache_load_all>N</cache_load_all> | ||
| 1628 | + <cache_size>0</cache_size> | ||
| 1629 | + <lookup> | ||
| 1630 | + <schema/> | ||
| 1631 | + <table>bsth_c_line_information</table> | ||
| 1632 | + <orderby/> | ||
| 1633 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1634 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1635 | + <key> | ||
| 1636 | + <name>xlid</name> | ||
| 1637 | + <field>line</field> | ||
| 1638 | + <condition>=</condition> | ||
| 1639 | + <name2/> | ||
| 1640 | + </key> | ||
| 1641 | + <value> | ||
| 1642 | + <name>out_mileage</name> | ||
| 1643 | + <rename>out_mileage</rename> | ||
| 1644 | + <default/> | ||
| 1645 | + <type>Number</type> | ||
| 1646 | + </value> | ||
| 1647 | + <value> | ||
| 1648 | + <name>out_time</name> | ||
| 1649 | + <rename>out_time</rename> | ||
| 1650 | + <default/> | ||
| 1651 | + <type>Number</type> | ||
| 1652 | + </value> | ||
| 1653 | + </lookup> | ||
| 1654 | + <cluster_schema/> | ||
| 1655 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1656 | + <xloc>439</xloc> | ||
| 1657 | + <yloc>744</yloc> | ||
| 1658 | + <draw>Y</draw> | ||
| 1659 | + </GUI> | ||
| 1660 | + </step> | ||
| 1661 | + | ||
| 1662 | + <step> | ||
| 1663 | + <name>查找线路进场里程时间</name> | ||
| 1664 | + <type>DBLookup</type> | ||
| 1665 | + <description/> | ||
| 1666 | + <distribute>Y</distribute> | ||
| 1667 | + <custom_distribution/> | ||
| 1668 | + <copies>1</copies> | ||
| 1669 | + <partitioning> | ||
| 1670 | + <method>none</method> | ||
| 1671 | + <schema_name/> | ||
| 1672 | + </partitioning> | ||
| 1673 | + <connection>bus_control_公司_201</connection> | ||
| 1674 | + <cache>N</cache> | ||
| 1675 | + <cache_load_all>N</cache_load_all> | ||
| 1676 | + <cache_size>0</cache_size> | ||
| 1677 | + <lookup> | ||
| 1678 | + <schema/> | ||
| 1679 | + <table>bsth_c_line_information</table> | ||
| 1680 | + <orderby/> | ||
| 1681 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1682 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1683 | + <key> | ||
| 1684 | + <name>xlid</name> | ||
| 1685 | + <field>line</field> | ||
| 1686 | + <condition>=</condition> | ||
| 1687 | + <name2/> | ||
| 1688 | + </key> | ||
| 1689 | + <value> | ||
| 1690 | + <name>parade_mileage</name> | ||
| 1691 | + <rename>parade_mileage</rename> | ||
| 1692 | + <default/> | ||
| 1693 | + <type>Number</type> | ||
| 1694 | + </value> | ||
| 1695 | + <value> | ||
| 1696 | + <name>parade_time</name> | ||
| 1697 | + <rename>parade_time</rename> | ||
| 1698 | + <default/> | ||
| 1699 | + <type>Number</type> | ||
| 1700 | + </value> | ||
| 1701 | + </lookup> | ||
| 1702 | + <cluster_schema/> | ||
| 1703 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1704 | + <xloc>592</xloc> | ||
| 1705 | + <yloc>819</yloc> | ||
| 1706 | + <draw>Y</draw> | ||
| 1707 | + </GUI> | ||
| 1708 | + </step> | ||
| 1709 | + | ||
| 1710 | + <step> | ||
| 1711 | + <name>查找终点站关联</name> | ||
| 1712 | + <type>DBLookup</type> | ||
| 1713 | + <description/> | ||
| 1714 | + <distribute>Y</distribute> | ||
| 1715 | + <custom_distribution/> | ||
| 1716 | + <copies>1</copies> | ||
| 1717 | + <partitioning> | ||
| 1718 | + <method>none</method> | ||
| 1719 | + <schema_name/> | ||
| 1720 | + </partitioning> | ||
| 1721 | + <connection>bus_control_公司_201</connection> | ||
| 1722 | + <cache>N</cache> | ||
| 1723 | + <cache_load_all>N</cache_load_all> | ||
| 1724 | + <cache_size>0</cache_size> | ||
| 1725 | + <lookup> | ||
| 1726 | + <schema/> | ||
| 1727 | + <table>bsth_c_stationroute</table> | ||
| 1728 | + <orderby/> | ||
| 1729 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1730 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1731 | + <key> | ||
| 1732 | + <name>xlid</name> | ||
| 1733 | + <field>line</field> | ||
| 1734 | + <condition>=</condition> | ||
| 1735 | + <name2/> | ||
| 1736 | + </key> | ||
| 1737 | + <key> | ||
| 1738 | + <name>sxx</name> | ||
| 1739 | + <field>directions</field> | ||
| 1740 | + <condition>=</condition> | ||
| 1741 | + <name2/> | ||
| 1742 | + </key> | ||
| 1743 | + <key> | ||
| 1744 | + <name>endZdtype</name> | ||
| 1745 | + <field>station_mark</field> | ||
| 1746 | + <condition>=</condition> | ||
| 1747 | + <name2/> | ||
| 1748 | + </key> | ||
| 1749 | + <value> | ||
| 1750 | + <name>station_name</name> | ||
| 1751 | + <rename>zdzname</rename> | ||
| 1752 | + <default/> | ||
| 1753 | + <type>String</type> | ||
| 1754 | + </value> | ||
| 1755 | + <value> | ||
| 1756 | + <name>station</name> | ||
| 1757 | + <rename>zdzid</rename> | ||
| 1758 | + <default/> | ||
| 1759 | + <type>Integer</type> | ||
| 1760 | + </value> | ||
| 1761 | + </lookup> | ||
| 1762 | + <cluster_schema/> | ||
| 1763 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1764 | + <xloc>280</xloc> | ||
| 1765 | + <yloc>404</yloc> | ||
| 1766 | + <draw>Y</draw> | ||
| 1767 | + </GUI> | ||
| 1768 | + </step> | ||
| 1769 | + | ||
| 1770 | + <step> | ||
| 1771 | + <name>查找终点站关联1</name> | ||
| 1772 | + <type>DBLookup</type> | ||
| 1773 | + <description/> | ||
| 1774 | + <distribute>Y</distribute> | ||
| 1775 | + <custom_distribution/> | ||
| 1776 | + <copies>1</copies> | ||
| 1777 | + <partitioning> | ||
| 1778 | + <method>none</method> | ||
| 1779 | + <schema_name/> | ||
| 1780 | + </partitioning> | ||
| 1781 | + <connection>bus_control_公司_201</connection> | ||
| 1782 | + <cache>N</cache> | ||
| 1783 | + <cache_load_all>N</cache_load_all> | ||
| 1784 | + <cache_size>0</cache_size> | ||
| 1785 | + <lookup> | ||
| 1786 | + <schema/> | ||
| 1787 | + <table>bsth_c_stationroute</table> | ||
| 1788 | + <orderby/> | ||
| 1789 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1790 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1791 | + <key> | ||
| 1792 | + <name>xlid</name> | ||
| 1793 | + <field>line</field> | ||
| 1794 | + <condition>=</condition> | ||
| 1795 | + <name2/> | ||
| 1796 | + </key> | ||
| 1797 | + <key> | ||
| 1798 | + <name>sxx</name> | ||
| 1799 | + <field>directions</field> | ||
| 1800 | + <condition>=</condition> | ||
| 1801 | + <name2/> | ||
| 1802 | + </key> | ||
| 1803 | + <key> | ||
| 1804 | + <name>endZdtype</name> | ||
| 1805 | + <field>station_mark</field> | ||
| 1806 | + <condition>=</condition> | ||
| 1807 | + <name2/> | ||
| 1808 | + </key> | ||
| 1809 | + <key> | ||
| 1810 | + <name>zdzname</name> | ||
| 1811 | + <field>station_name</field> | ||
| 1812 | + <condition>=</condition> | ||
| 1813 | + <name2/> | ||
| 1814 | + </key> | ||
| 1815 | + <value> | ||
| 1816 | + <name>station</name> | ||
| 1817 | + <rename>zdzid</rename> | ||
| 1818 | + <default/> | ||
| 1819 | + <type>Integer</type> | ||
| 1820 | + </value> | ||
| 1821 | + </lookup> | ||
| 1822 | + <cluster_schema/> | ||
| 1823 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1824 | + <xloc>436</xloc> | ||
| 1825 | + <yloc>502</yloc> | ||
| 1826 | + <draw>Y</draw> | ||
| 1827 | + </GUI> | ||
| 1828 | + </step> | ||
| 1829 | + | ||
| 1830 | + <step> | ||
| 1831 | + <name>查找终点站关联2</name> | ||
| 1832 | + <type>DBLookup</type> | ||
| 1833 | + <description/> | ||
| 1834 | + <distribute>Y</distribute> | ||
| 1835 | + <custom_distribution/> | ||
| 1836 | + <copies>1</copies> | ||
| 1837 | + <partitioning> | ||
| 1838 | + <method>none</method> | ||
| 1839 | + <schema_name/> | ||
| 1840 | + </partitioning> | ||
| 1841 | + <connection>bus_control_公司_201</connection> | ||
| 1842 | + <cache>N</cache> | ||
| 1843 | + <cache_load_all>N</cache_load_all> | ||
| 1844 | + <cache_size>0</cache_size> | ||
| 1845 | + <lookup> | ||
| 1846 | + <schema/> | ||
| 1847 | + <table>bsth_c_stationroute</table> | ||
| 1848 | + <orderby/> | ||
| 1849 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1850 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1851 | + <key> | ||
| 1852 | + <name>xlid</name> | ||
| 1853 | + <field>line</field> | ||
| 1854 | + <condition>=</condition> | ||
| 1855 | + <name2/> | ||
| 1856 | + </key> | ||
| 1857 | + <key> | ||
| 1858 | + <name>sxx</name> | ||
| 1859 | + <field>directions</field> | ||
| 1860 | + <condition>=</condition> | ||
| 1861 | + <name2/> | ||
| 1862 | + </key> | ||
| 1863 | + <key> | ||
| 1864 | + <name>sendZdtype</name> | ||
| 1865 | + <field>station_mark</field> | ||
| 1866 | + <condition>=</condition> | ||
| 1867 | + <name2/> | ||
| 1868 | + </key> | ||
| 1869 | + <key> | ||
| 1870 | + <name>qdzname_2</name> | ||
| 1871 | + <field>station_name</field> | ||
| 1872 | + <condition>=</condition> | ||
| 1873 | + <name2/> | ||
| 1874 | + </key> | ||
| 1875 | + <value> | ||
| 1876 | + <name>station</name> | ||
| 1877 | + <rename>qdzid</rename> | ||
| 1878 | + <default/> | ||
| 1879 | + <type>Integer</type> | ||
| 1880 | + </value> | ||
| 1881 | + </lookup> | ||
| 1882 | + <cluster_schema/> | ||
| 1883 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1884 | + <xloc>592</xloc> | ||
| 1885 | + <yloc>609</yloc> | ||
| 1886 | + <draw>Y</draw> | ||
| 1887 | + </GUI> | ||
| 1888 | + </step> | ||
| 1889 | + | ||
| 1890 | + <step> | ||
| 1891 | + <name>查找起点站关联并确定上下行</name> | ||
| 1892 | + <type>DBLookup</type> | ||
| 1893 | + <description/> | ||
| 1894 | + <distribute>Y</distribute> | ||
| 1895 | + <custom_distribution/> | ||
| 1896 | + <copies>1</copies> | ||
| 1897 | + <partitioning> | ||
| 1898 | + <method>none</method> | ||
| 1899 | + <schema_name/> | ||
| 1900 | + </partitioning> | ||
| 1901 | + <connection>bus_control_公司_201</connection> | ||
| 1902 | + <cache>N</cache> | ||
| 1903 | + <cache_load_all>N</cache_load_all> | ||
| 1904 | + <cache_size>0</cache_size> | ||
| 1905 | + <lookup> | ||
| 1906 | + <schema/> | ||
| 1907 | + <table>bsth_c_stationroute</table> | ||
| 1908 | + <orderby/> | ||
| 1909 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1910 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1911 | + <key> | ||
| 1912 | + <name>xlid</name> | ||
| 1913 | + <field>line</field> | ||
| 1914 | + <condition>=</condition> | ||
| 1915 | + <name2/> | ||
| 1916 | + </key> | ||
| 1917 | + <key> | ||
| 1918 | + <name>qdzname</name> | ||
| 1919 | + <field>station_name</field> | ||
| 1920 | + <condition>=</condition> | ||
| 1921 | + <name2/> | ||
| 1922 | + </key> | ||
| 1923 | + <key> | ||
| 1924 | + <name>sendZdtype</name> | ||
| 1925 | + <field>station_mark</field> | ||
| 1926 | + <condition>=</condition> | ||
| 1927 | + <name2/> | ||
| 1928 | + </key> | ||
| 1929 | + <value> | ||
| 1930 | + <name>station</name> | ||
| 1931 | + <rename>qdzid</rename> | ||
| 1932 | + <default/> | ||
| 1933 | + <type>Integer</type> | ||
| 1934 | + </value> | ||
| 1935 | + <value> | ||
| 1936 | + <name>directions</name> | ||
| 1937 | + <rename>sxx</rename> | ||
| 1938 | + <default/> | ||
| 1939 | + <type>Integer</type> | ||
| 1940 | + </value> | ||
| 1941 | + </lookup> | ||
| 1942 | + <cluster_schema/> | ||
| 1943 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1944 | + <xloc>430</xloc> | ||
| 1945 | + <yloc>403</yloc> | ||
| 1946 | + <draw>Y</draw> | ||
| 1947 | + </GUI> | ||
| 1948 | + </step> | ||
| 1949 | + | ||
| 1950 | + <step> | ||
| 1951 | + <name>正常班次_处理数据</name> | ||
| 1952 | + <type>ScriptValueMod</type> | ||
| 1953 | + <description/> | ||
| 1954 | + <distribute>Y</distribute> | ||
| 1955 | + <custom_distribution/> | ||
| 1956 | + <copies>1</copies> | ||
| 1957 | + <partitioning> | ||
| 1958 | + <method>none</method> | ||
| 1959 | + <schema_name/> | ||
| 1960 | + </partitioning> | ||
| 1961 | + <compatible>N</compatible> | ||
| 1962 | + <optimizationLevel>9</optimizationLevel> | ||
| 1963 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 1964 | + <jsScript_name>Script 1</jsScript_name> | ||
| 1965 | + <jsScript_script>//Script here

// 添加站点标识
var sendZdtype = 'B';
var endZdtype = 'E';
</jsScript_script> | ||
| 1966 | + </jsScript> </jsScripts> <fields> <field> <name>sendZdtype</name> | ||
| 1967 | + <rename>sendZdtype</rename> | ||
| 1968 | + <type>String</type> | ||
| 1969 | + <length>-1</length> | ||
| 1970 | + <precision>-1</precision> | ||
| 1971 | + <replace>N</replace> | ||
| 1972 | + </field> <field> <name>endZdtype</name> | ||
| 1973 | + <rename>endZdtype</rename> | ||
| 1974 | + <type>String</type> | ||
| 1975 | + <length>-1</length> | ||
| 1976 | + <precision>-1</precision> | ||
| 1977 | + <replace>N</replace> | ||
| 1978 | + </field> </fields> <cluster_schema/> | ||
| 1979 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1980 | + <xloc>588</xloc> | ||
| 1981 | + <yloc>403</yloc> | ||
| 1982 | + <draw>Y</draw> | ||
| 1983 | + </GUI> | ||
| 1984 | + </step> | ||
| 1985 | + | ||
| 1986 | + <step> | ||
| 1987 | + <name>正常班次数据</name> | ||
| 1988 | + <type>Dummy</type> | ||
| 1989 | + <description/> | ||
| 1990 | + <distribute>Y</distribute> | ||
| 1991 | + <custom_distribution/> | ||
| 1992 | + <copies>1</copies> | ||
| 1993 | + <partitioning> | ||
| 1994 | + <method>none</method> | ||
| 1995 | + <schema_name/> | ||
| 1996 | + </partitioning> | ||
| 1997 | + <cluster_schema/> | ||
| 1998 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1999 | + <xloc>725</xloc> | ||
| 2000 | + <yloc>404</yloc> | ||
| 2001 | + <draw>Y</draw> | ||
| 2002 | + </GUI> | ||
| 2003 | + </step> | ||
| 2004 | + | ||
| 2005 | + <step> | ||
| 2006 | + <name>班次类型字典</name> | ||
| 2007 | + <type>ValueMapper</type> | ||
| 2008 | + <description/> | ||
| 2009 | + <distribute>Y</distribute> | ||
| 2010 | + <custom_distribution/> | ||
| 2011 | + <copies>1</copies> | ||
| 2012 | + <partitioning> | ||
| 2013 | + <method>none</method> | ||
| 2014 | + <schema_name/> | ||
| 2015 | + </partitioning> | ||
| 2016 | + <field_to_use>bctype</field_to_use> | ||
| 2017 | + <target_field>bctype_code</target_field> | ||
| 2018 | + <non_match_default>未知类型</non_match_default> | ||
| 2019 | + <fields> | ||
| 2020 | + <field> | ||
| 2021 | + <source_value>正常班次</source_value> | ||
| 2022 | + <target_value>normal</target_value> | ||
| 2023 | + </field> | ||
| 2024 | + <field> | ||
| 2025 | + <source_value>出场</source_value> | ||
| 2026 | + <target_value>out</target_value> | ||
| 2027 | + </field> | ||
| 2028 | + <field> | ||
| 2029 | + <source_value>进场</source_value> | ||
| 2030 | + <target_value>in</target_value> | ||
| 2031 | + </field> | ||
| 2032 | + <field> | ||
| 2033 | + <source_value>加油</source_value> | ||
| 2034 | + <target_value>oil</target_value> | ||
| 2035 | + </field> | ||
| 2036 | + <field> | ||
| 2037 | + <source_value>临加</source_value> | ||
| 2038 | + <target_value>temp</target_value> | ||
| 2039 | + </field> | ||
| 2040 | + <field> | ||
| 2041 | + <source_value>区间</source_value> | ||
| 2042 | + <target_value>region</target_value> | ||
| 2043 | + </field> | ||
| 2044 | + <field> | ||
| 2045 | + <source_value>放空</source_value> | ||
| 2046 | + <target_value>venting</target_value> | ||
| 2047 | + </field> | ||
| 2048 | + <field> | ||
| 2049 | + <source_value>放大站</source_value> | ||
| 2050 | + <target_value>major</target_value> | ||
| 2051 | + </field> | ||
| 2052 | + </fields> | ||
| 2053 | + <cluster_schema/> | ||
| 2054 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2055 | + <xloc>149</xloc> | ||
| 2056 | + <yloc>491</yloc> | ||
| 2057 | + <draw>Y</draw> | ||
| 2058 | + </GUI> | ||
| 2059 | + </step> | ||
| 2060 | + | ||
| 2061 | + <step> | ||
| 2062 | + <name>班次类型字典 2</name> | ||
| 2063 | + <type>ValueMapper</type> | ||
| 2064 | + <description/> | ||
| 2065 | + <distribute>Y</distribute> | ||
| 2066 | + <custom_distribution/> | ||
| 2067 | + <copies>1</copies> | ||
| 2068 | + <partitioning> | ||
| 2069 | + <method>none</method> | ||
| 2070 | + <schema_name/> | ||
| 2071 | + </partitioning> | ||
| 2072 | + <field_to_use>bctype</field_to_use> | ||
| 2073 | + <target_field>bctype_code</target_field> | ||
| 2074 | + <non_match_default>未知类型</non_match_default> | ||
| 2075 | + <fields> | ||
| 2076 | + <field> | ||
| 2077 | + <source_value>正常班次</source_value> | ||
| 2078 | + <target_value>normal</target_value> | ||
| 2079 | + </field> | ||
| 2080 | + <field> | ||
| 2081 | + <source_value>出场</source_value> | ||
| 2082 | + <target_value>out</target_value> | ||
| 2083 | + </field> | ||
| 2084 | + <field> | ||
| 2085 | + <source_value>进场</source_value> | ||
| 2086 | + <target_value>in</target_value> | ||
| 2087 | + </field> | ||
| 2088 | + <field> | ||
| 2089 | + <source_value>加油</source_value> | ||
| 2090 | + <target_value>oil</target_value> | ||
| 2091 | + </field> | ||
| 2092 | + <field> | ||
| 2093 | + <source_value>临加</source_value> | ||
| 2094 | + <target_value>temp</target_value> | ||
| 2095 | + </field> | ||
| 2096 | + <field> | ||
| 2097 | + <source_value>区间</source_value> | ||
| 2098 | + <target_value>region</target_value> | ||
| 2099 | + </field> | ||
| 2100 | + <field> | ||
| 2101 | + <source_value>放空</source_value> | ||
| 2102 | + <target_value>venting</target_value> | ||
| 2103 | + </field> | ||
| 2104 | + <field> | ||
| 2105 | + <source_value>放大站</source_value> | ||
| 2106 | + <target_value>major</target_value> | ||
| 2107 | + </field> | ||
| 2108 | + </fields> | ||
| 2109 | + <cluster_schema/> | ||
| 2110 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2111 | + <xloc>437</xloc> | ||
| 2112 | + <yloc>662</yloc> | ||
| 2113 | + <draw>Y</draw> | ||
| 2114 | + </GUI> | ||
| 2115 | + </step> | ||
| 2116 | + | ||
| 2117 | + <step> | ||
| 2118 | + <name>班次类型字典 3</name> | ||
| 2119 | + <type>ValueMapper</type> | ||
| 2120 | + <description/> | ||
| 2121 | + <distribute>Y</distribute> | ||
| 2122 | + <custom_distribution/> | ||
| 2123 | + <copies>1</copies> | ||
| 2124 | + <partitioning> | ||
| 2125 | + <method>none</method> | ||
| 2126 | + <schema_name/> | ||
| 2127 | + </partitioning> | ||
| 2128 | + <field_to_use>bctype</field_to_use> | ||
| 2129 | + <target_field>bctype_code</target_field> | ||
| 2130 | + <non_match_default>未知类型</non_match_default> | ||
| 2131 | + <fields> | ||
| 2132 | + <field> | ||
| 2133 | + <source_value>正常班次</source_value> | ||
| 2134 | + <target_value>normal</target_value> | ||
| 2135 | + </field> | ||
| 2136 | + <field> | ||
| 2137 | + <source_value>出场</source_value> | ||
| 2138 | + <target_value>out</target_value> | ||
| 2139 | + </field> | ||
| 2140 | + <field> | ||
| 2141 | + <source_value>进场</source_value> | ||
| 2142 | + <target_value>in</target_value> | ||
| 2143 | + </field> | ||
| 2144 | + <field> | ||
| 2145 | + <source_value>加油</source_value> | ||
| 2146 | + <target_value>oil</target_value> | ||
| 2147 | + </field> | ||
| 2148 | + <field> | ||
| 2149 | + <source_value>临加</source_value> | ||
| 2150 | + <target_value>temp</target_value> | ||
| 2151 | + </field> | ||
| 2152 | + <field> | ||
| 2153 | + <source_value>区间</source_value> | ||
| 2154 | + <target_value>region</target_value> | ||
| 2155 | + </field> | ||
| 2156 | + <field> | ||
| 2157 | + <source_value>放空</source_value> | ||
| 2158 | + <target_value>venting</target_value> | ||
| 2159 | + </field> | ||
| 2160 | + <field> | ||
| 2161 | + <source_value>放大站</source_value> | ||
| 2162 | + <target_value>major</target_value> | ||
| 2163 | + </field> | ||
| 2164 | + </fields> | ||
| 2165 | + <cluster_schema/> | ||
| 2166 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2167 | + <xloc>590</xloc> | ||
| 2168 | + <yloc>743</yloc> | ||
| 2169 | + <draw>Y</draw> | ||
| 2170 | + </GUI> | ||
| 2171 | + </step> | ||
| 2172 | + | ||
| 2173 | + <step> | ||
| 2174 | + <name>类型修正</name> | ||
| 2175 | + <type>SelectValues</type> | ||
| 2176 | + <description/> | ||
| 2177 | + <distribute>Y</distribute> | ||
| 2178 | + <custom_distribution/> | ||
| 2179 | + <copies>1</copies> | ||
| 2180 | + <partitioning> | ||
| 2181 | + <method>none</method> | ||
| 2182 | + <schema_name/> | ||
| 2183 | + </partitioning> | ||
| 2184 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2185 | + <meta> <name>jhlc</name> | ||
| 2186 | + <rename>jhlc</rename> | ||
| 2187 | + <type>Number</type> | ||
| 2188 | + <length>-2</length> | ||
| 2189 | + <precision>-2</precision> | ||
| 2190 | + <conversion_mask/> | ||
| 2191 | + <date_format_lenient>false</date_format_lenient> | ||
| 2192 | + <date_format_locale/> | ||
| 2193 | + <date_format_timezone/> | ||
| 2194 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2195 | + <encoding/> | ||
| 2196 | + <decimal_symbol/> | ||
| 2197 | + <grouping_symbol/> | ||
| 2198 | + <currency_symbol/> | ||
| 2199 | + <storage_type/> | ||
| 2200 | + </meta> <meta> <name>bcsj</name> | ||
| 2201 | + <rename>bcsj</rename> | ||
| 2202 | + <type>Integer</type> | ||
| 2203 | + <length>-2</length> | ||
| 2204 | + <precision>-2</precision> | ||
| 2205 | + <conversion_mask/> | ||
| 2206 | + <date_format_lenient>false</date_format_lenient> | ||
| 2207 | + <date_format_locale/> | ||
| 2208 | + <date_format_timezone/> | ||
| 2209 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2210 | + <encoding/> | ||
| 2211 | + <decimal_symbol/> | ||
| 2212 | + <grouping_symbol/> | ||
| 2213 | + <currency_symbol/> | ||
| 2214 | + <storage_type/> | ||
| 2215 | + </meta> </fields> <cluster_schema/> | ||
| 2216 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2217 | + <xloc>146</xloc> | ||
| 2218 | + <yloc>768</yloc> | ||
| 2219 | + <draw>Y</draw> | ||
| 2220 | + </GUI> | ||
| 2221 | + </step> | ||
| 2222 | + | ||
| 2223 | + <step> | ||
| 2224 | + <name>进场班次_处理数据</name> | ||
| 2225 | + <type>ScriptValueMod</type> | ||
| 2226 | + <description/> | ||
| 2227 | + <distribute>Y</distribute> | ||
| 2228 | + <custom_distribution/> | ||
| 2229 | + <copies>1</copies> | ||
| 2230 | + <partitioning> | ||
| 2231 | + <method>none</method> | ||
| 2232 | + <schema_name/> | ||
| 2233 | + </partitioning> | ||
| 2234 | + <compatible>N</compatible> | ||
| 2235 | + <optimizationLevel>9</optimizationLevel> | ||
| 2236 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2237 | + <jsScript_name>Script 1</jsScript_name> | ||
| 2238 | + <jsScript_script>//Script here

// 添加站点标识
var qdzname_2 = '长岛路东陆路';
var tccname = '东靖路高行停车场';
var sxx = '1' // 下行;
var sendZdtype = 'B';</jsScript_script> | ||
| 2239 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname_2</name> | ||
| 2240 | + <rename>qdzname_2</rename> | ||
| 2241 | + <type>String</type> | ||
| 2242 | + <length>-1</length> | ||
| 2243 | + <precision>-1</precision> | ||
| 2244 | + <replace>N</replace> | ||
| 2245 | + </field> <field> <name>tccname</name> | ||
| 2246 | + <rename>tccname</rename> | ||
| 2247 | + <type>String</type> | ||
| 2248 | + <length>-1</length> | ||
| 2249 | + <precision>-1</precision> | ||
| 2250 | + <replace>N</replace> | ||
| 2251 | + </field> <field> <name>sxx</name> | ||
| 2252 | + <rename>sxx</rename> | ||
| 2253 | + <type>String</type> | ||
| 2254 | + <length>-1</length> | ||
| 2255 | + <precision>-1</precision> | ||
| 2256 | + <replace>N</replace> | ||
| 2257 | + </field> <field> <name>sendZdtype</name> | ||
| 2258 | + <rename>sendZdtype</rename> | ||
| 2259 | + <type>String</type> | ||
| 2260 | + <length>-1</length> | ||
| 2261 | + <precision>-1</precision> | ||
| 2262 | + <replace>N</replace> | ||
| 2263 | + </field> </fields> <cluster_schema/> | ||
| 2264 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2265 | + <xloc>871</xloc> | ||
| 2266 | + <yloc>608</yloc> | ||
| 2267 | + <draw>Y</draw> | ||
| 2268 | + </GUI> | ||
| 2269 | + </step> | ||
| 2270 | + | ||
| 2271 | + <step> | ||
| 2272 | + <name>进场班次数据</name> | ||
| 2273 | + <type>Dummy</type> | ||
| 2274 | + <description/> | ||
| 2275 | + <distribute>Y</distribute> | ||
| 2276 | + <custom_distribution/> | ||
| 2277 | + <copies>1</copies> | ||
| 2278 | + <partitioning> | ||
| 2279 | + <method>none</method> | ||
| 2280 | + <schema_name/> | ||
| 2281 | + </partitioning> | ||
| 2282 | + <cluster_schema/> | ||
| 2283 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2284 | + <xloc>997</xloc> | ||
| 2285 | + <yloc>606</yloc> | ||
| 2286 | + <draw>Y</draw> | ||
| 2287 | + </GUI> | ||
| 2288 | + </step> | ||
| 2289 | + | ||
| 2290 | + <step> | ||
| 2291 | + <name>计算班次类型</name> | ||
| 2292 | + <type>ValueMapper</type> | ||
| 2293 | + <description/> | ||
| 2294 | + <distribute>Y</distribute> | ||
| 2295 | + <custom_distribution/> | ||
| 2296 | + <copies>1</copies> | ||
| 2297 | + <partitioning> | ||
| 2298 | + <method>none</method> | ||
| 2299 | + <schema_name/> | ||
| 2300 | + </partitioning> | ||
| 2301 | + <field_to_use>qdzname_replace</field_to_use> | ||
| 2302 | + <target_field>bctype</target_field> | ||
| 2303 | + <non_match_default>正常班次</non_match_default> | ||
| 2304 | + <fields> | ||
| 2305 | + <field> | ||
| 2306 | + <source_value>出场</source_value> | ||
| 2307 | + <target_value>出场</target_value> | ||
| 2308 | + </field> | ||
| 2309 | + <field> | ||
| 2310 | + <source_value>进场</source_value> | ||
| 2311 | + <target_value>进场</target_value> | ||
| 2312 | + </field> | ||
| 2313 | + </fields> | ||
| 2314 | + <cluster_schema/> | ||
| 2315 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2316 | + <xloc>1014</xloc> | ||
| 2317 | + <yloc>401</yloc> | ||
| 2318 | + <draw>Y</draw> | ||
| 2319 | + </GUI> | ||
| 2320 | + </step> | ||
| 2321 | + | ||
| 2322 | + <step_error_handling> | ||
| 2323 | + </step_error_handling> | ||
| 2324 | + <slave-step-copy-partition-distribution> | ||
| 2325 | +</slave-step-copy-partition-distribution> | ||
| 2326 | + <slave_transformation>N</slave_transformation> | ||
| 2327 | + | ||
| 2328 | +</transformation> |
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/dataExport.html
0 → 100644
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/dataImport.html
0 → 100644
| 1 | +<div class="modal-header"> | ||
| 2 | + <h3 class="modal-title">时刻表基础信息excel数据导入</h3> | ||
| 3 | +</div> | ||
| 4 | +<div class="modal-body"> | ||
| 5 | + <div class="col-md-6"> | ||
| 6 | + <div class="input-group"> | ||
| 7 | + <input type="file" class="form-control" nv-file-select="" uploader="ctrl.uploader"/> | ||
| 8 | + <span class="input-group-btn"> | ||
| 9 | + <button type="button" ng-click="ctrl.clearInputFile()" class="btn btn-default"> | ||
| 10 | + <span class="glyphicon glyphicon-trash"></span> | ||
| 11 | + </button> | ||
| 12 | + </span> | ||
| 13 | + </div> | ||
| 14 | + </div> | ||
| 15 | + | ||
| 16 | + <div class="table-scrollable table-scrollable-borderless"> | ||
| 17 | + <table class="table table-hover table-light"> | ||
| 18 | + <thead> | ||
| 19 | + <tr class="uppercase"> | ||
| 20 | + <th width="50%">文件名</th> | ||
| 21 | + <th ng-show="ctrl.uploader.isHTML5">大小(M)</th> | ||
| 22 | + <th ng-show="ctrl.uploader.isHTML5">进度</th> | ||
| 23 | + <th>状态</th> | ||
| 24 | + <th>操作</th> | ||
| 25 | + </tr> | ||
| 26 | + </thead> | ||
| 27 | + <tbody> | ||
| 28 | + <tr ng-repeat="item in ctrl.uploader.queue"> | ||
| 29 | + <td> | ||
| 30 | + <strong>{{ item.file.name }}</strong> | ||
| 31 | + </td> | ||
| 32 | + <td ng-show="ctrl.uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td> | ||
| 33 | + <td ng-show="ctrl.uploader.isHTML5"> | ||
| 34 | + <div class="progress progress-sm" style="margin-bottom: 0;"> | ||
| 35 | + <div class="progress-bar progress-bar-info" role="progressbar" | ||
| 36 | + ng-style="{ 'width': item.progress + '%' }"></div> | ||
| 37 | + </div> | ||
| 38 | + </td> | ||
| 39 | + <td class="text-center"> | ||
| 40 | + <span ng-show="item.isSuccess" class="text-success"> | ||
| 41 | + <i class="glyphicon glyphicon-ok"></i> | ||
| 42 | + </span> | ||
| 43 | + <span ng-show="item.isCancel" class="text-info"> | ||
| 44 | + <i class="glyphicon glyphicon-ban-circle"></i> | ||
| 45 | + </span> | ||
| 46 | + <span ng-show="item.isError" class="text-danger"> | ||
| 47 | + <i class="glyphicon glyphicon-remove"></i> | ||
| 48 | + </span> | ||
| 49 | + </td> | ||
| 50 | + <td nowrap> | ||
| 51 | + <button type="button" class="btn btn-success btn-xs" ng-click="item.upload()" | ||
| 52 | + ng-disabled="item.isReady || item.isUploading || item.isSuccess"> | ||
| 53 | + <span class="glyphicon glyphicon-upload"></span> 上传 | ||
| 54 | + </button> | ||
| 55 | + <button type="button" class="btn btn-warning btn-xs" ng-click="item.cancel()" | ||
| 56 | + ng-disabled="!item.isUploading"> | ||
| 57 | + <span class="glyphicon glyphicon-ban-circle"></span> 取消 | ||
| 58 | + </button> | ||
| 59 | + <button type="button" class="btn btn-danger btn-xs" ng-click="item.remove()"> | ||
| 60 | + <span class="glyphicon glyphicon-trash"></span> 删除 | ||
| 61 | + </button> | ||
| 62 | + </td> | ||
| 63 | + </tr> | ||
| 64 | + </tbody> | ||
| 65 | + </table> | ||
| 66 | + </div> | ||
| 67 | + | ||
| 68 | +</div> | ||
| 69 | + | ||
| 70 | +<div class="modal-footer"> | ||
| 71 | + <button class="btn btn-primary" ng-click="ctrl.close()">关闭</button> | ||
| 72 | +</div> | ||
| 0 | \ No newline at end of file | 73 | \ No newline at end of file |
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/list.html
| @@ -8,7 +8,8 @@ | @@ -8,7 +8,8 @@ | ||
| 8 | <th>时刻表名称</th> | 8 | <th>时刻表名称</th> |
| 9 | <th>路牌数</th> | 9 | <th>路牌数</th> |
| 10 | <th>圈数</th> | 10 | <th>圈数</th> |
| 11 | - <th>是否启用</th> | 11 | + <th>上下行</th> |
| 12 | + <th>启用</th> | ||
| 12 | <th>修改时间</th> | 13 | <th>修改时间</th> |
| 13 | <th>时刻表明细</th> | 14 | <th>时刻表明细</th> |
| 14 | <th width="14%">操作</th> | 15 | <th width="14%">操作</th> |
| @@ -24,6 +25,7 @@ | @@ -24,6 +25,7 @@ | ||
| 24 | <td></td> | 25 | <td></td> |
| 25 | <td></td> | 26 | <td></td> |
| 26 | <td></td> | 27 | <td></td> |
| 28 | + <td></td> | ||
| 27 | <td> | 29 | <td> |
| 28 | <button class="btn btn-sm green btn-outline filter-submit margin-bottom" | 30 | <button class="btn btn-sm green btn-outline filter-submit margin-bottom" |
| 29 | ng-click="ctrl.pageChanaged()"> | 31 | ng-click="ctrl.pageChanaged()"> |
| @@ -54,6 +56,9 @@ | @@ -54,6 +56,9 @@ | ||
| 54 | <span ng-bind="info.loopCount"></span> | 56 | <span ng-bind="info.loopCount"></span> |
| 55 | </td> | 57 | </td> |
| 56 | <td> | 58 | <td> |
| 59 | + <span ng-bind="info.xlDir | dict:'LineTrend':'未知'"></span> | ||
| 60 | + </td> | ||
| 61 | + <td> | ||
| 57 | <span ng-bind="info.isEnableDisTemplate"></span> | 62 | <span ng-bind="info.isEnableDisTemplate"></span> |
| 58 | </td> | 63 | </td> |
| 59 | <td> | 64 | <td> |
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/timeTableManage.js
| @@ -61,14 +61,76 @@ angular.module('ScheduleApp').factory('TimeTableManageService', ['TimeTableManag | @@ -61,14 +61,76 @@ angular.module('ScheduleApp').factory('TimeTableManageService', ['TimeTableManag | ||
| 61 | 61 | ||
| 62 | }]); | 62 | }]); |
| 63 | 63 | ||
| 64 | -angular.module('ScheduleApp').controller('TimeTableManageCtrl', ['TimeTableManageService', '$state', function(timeTableManageService, $state) { | 64 | +angular.module('ScheduleApp').controller('TimeTableManageCtrl', ['TimeTableManageService', '$state', '$uibModal', function(timeTableManageService, $state, $uibModal) { |
| 65 | var self = this; | 65 | var self = this; |
| 66 | 66 | ||
| 67 | // 切换到form状态 | 67 | // 切换到form状态 |
| 68 | self.goForm = function() { | 68 | self.goForm = function() { |
| 69 | //alert("切换"); | 69 | //alert("切换"); |
| 70 | $state.go("timeTableManage_form"); | 70 | $state.go("timeTableManage_form"); |
| 71 | - } | 71 | + }; |
| 72 | + | ||
| 73 | + // 导入excel | ||
| 74 | + self.importData = function() { | ||
| 75 | + // large方式弹出模态对话框 | ||
| 76 | + var modalInstance = $uibModal.open({ | ||
| 77 | + templateUrl: '/pages/scheduleApp/module/core/timeTableManage/dataImport.html', | ||
| 78 | + size: "lg", | ||
| 79 | + animation: true, | ||
| 80 | + backdrop: 'static', | ||
| 81 | + resolve: { | ||
| 82 | + // 可以传值给controller | ||
| 83 | + }, | ||
| 84 | + windowClass: 'center-modal', | ||
| 85 | + controller: "TimeTableManageToolsCtrl", | ||
| 86 | + controllerAs: "ctrl", | ||
| 87 | + bindToController: true | ||
| 88 | + }); | ||
| 89 | + modalInstance.result.then( | ||
| 90 | + function() { | ||
| 91 | + console.log("dataImport.html打开"); | ||
| 92 | + }, | ||
| 93 | + function() { | ||
| 94 | + console.log("dataImport.html消失"); | ||
| 95 | + } | ||
| 96 | + ); | ||
| 97 | + }; | ||
| 98 | +}]); | ||
| 99 | + | ||
| 100 | +angular.module('ScheduleApp').controller('TimeTableManageToolsCtrl', ['$modalInstance', 'FileUploader', function($modalInstance, FileUploader) { | ||
| 101 | + var self = this; | ||
| 102 | + self.data = "TODO"; | ||
| 103 | + | ||
| 104 | + // 关闭窗口 | ||
| 105 | + self.close = function() { | ||
| 106 | + $modalInstance.dismiss("cancel"); | ||
| 107 | + }; | ||
| 108 | + | ||
| 109 | + self.clearInputFile = function() { | ||
| 110 | + angular.element("input[type='file']").val(null); | ||
| 111 | + }; | ||
| 112 | + | ||
| 113 | + // 上传文件组件 | ||
| 114 | + self.uploader = new FileUploader({ | ||
| 115 | + url: "/tic/dataImport", | ||
| 116 | + filters: [] // 用于过滤文件,比如只允许导入excel | ||
| 117 | + }); | ||
| 118 | + self.uploader.onAfterAddingFile = function(fileItem) | ||
| 119 | + { | ||
| 120 | + console.info('onAfterAddingFile', fileItem); | ||
| 121 | + console.log(self.uploader.queue.length); | ||
| 122 | + if (self.uploader.queue.length > 1) | ||
| 123 | + self.uploader.removeFromQueue(0); | ||
| 124 | + }; | ||
| 125 | + self.uploader.onSuccessItem = function(fileItem, response, status, headers) | ||
| 126 | + { | ||
| 127 | + console.info('onSuccessItem', fileItem, response, status, headers); | ||
| 128 | + }; | ||
| 129 | + self.uploader.onErrorItem = function(fileItem, response, status, headers) | ||
| 130 | + { | ||
| 131 | + console.info('onErrorItem', fileItem, response, status, headers); | ||
| 132 | + }; | ||
| 133 | + | ||
| 72 | }]); | 134 | }]); |
| 73 | 135 | ||
| 74 | angular.module('ScheduleApp').controller('TimeTableManageListCtrl', ['TimeTableManageService', function(timeTableManageService) { | 136 | angular.module('ScheduleApp').controller('TimeTableManageListCtrl', ['TimeTableManageService', function(timeTableManageService) { |
src/main/resources/static/pages/scheduleApp/module/main.js
| @@ -493,6 +493,7 @@ ScheduleApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvi | @@ -493,6 +493,7 @@ ScheduleApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvi | ||
| 493 | name: 'timeTableManage_module', | 493 | name: 'timeTableManage_module', |
| 494 | insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | 494 | insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 |
| 495 | files: [ | 495 | files: [ |
| 496 | + "assets/bower_components/angular-file-upload/dist/angular-file-upload.min.js", | ||
| 496 | "pages/scheduleApp/module/core/timeTableManage/timeTableManage.js" | 497 | "pages/scheduleApp/module/core/timeTableManage/timeTableManage.js" |
| 497 | ] | 498 | ] |
| 498 | }); | 499 | }); |