Commit ae4b1e0c3032a05e81da1e3f6296bed771bb12ec
Merge branch 'minhang' of http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
Showing
18 changed files
with
4462 additions
and
4001 deletions
src/main/java/com/bsth/service/oil/impl/DlbServiceImpl.java
| ... | ... | @@ -710,7 +710,7 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS |
| 710 | 710 | List<Dlb> ylListBe=repository.obtainYlbefore(rq, gsbm, "", xlbm, nbbm); |
| 711 | 711 | // List<Cdl> cylList=cdlRepository.obtainCdl(nbbm, gsbm); |
| 712 | 712 | List<Dlb> ylbList=repository.obtainDl(rq,gsbm,fgsbm,xlbm,nbbm,"nbbm"); |
| 713 | - List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,0,gsbm); | |
| 713 | + List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,1,gsbm); | |
| 714 | 714 | for (int i = 0; i < ylxxbList.size(); i++) { |
| 715 | 715 | Boolean fage=true; |
| 716 | 716 | Ylxxb y1=ylxxbList.get(i); |
| ... | ... | @@ -738,37 +738,23 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS |
| 738 | 738 | Line line= BasicData.nbbm2LineMap.get(y1.getNbbm()); |
| 739 | 739 | if(null !=line){ |
| 740 | 740 | t.setXlbm(line.getLineCode()); |
| 741 | - }else{ | |
| 742 | - t.setXlbm(""); | |
| 743 | - } | |
| 744 | - boolean status=true; | |
| 745 | - for (int j = 0; j < ylListBe.size(); j++) { | |
| 746 | - Dlb b=ylListBe.get(j); | |
| 747 | - if(b.getNbbm().equals(y1.getNbbm())){ | |
| 748 | - t.setCzcd(b.getJzcd()); | |
| 749 | - status=false; | |
| 750 | - break; | |
| 751 | - } | |
| 752 | - } | |
| 753 | - /*if(status){ | |
| 754 | - for (int j = 0; j < cylList.size(); j++) { | |
| 755 | - Cyl c=cylList.get(j); | |
| 756 | - if(c.getNbbm().equals(y1.getNbbm())){ | |
| 757 | - t.setCzyl(c.getCyl()); | |
| 758 | - cyl=c; | |
| 741 | + boolean status=true; | |
| 742 | + for (int j = 0; j < ylListBe.size(); j++) { | |
| 743 | + Dlb b=ylListBe.get(j); | |
| 744 | + if(b.getNbbm().equals(y1.getNbbm())){ | |
| 745 | + t.setCzcd(b.getJzcd()); | |
| 759 | 746 | status=false; |
| 760 | 747 | break; |
| 761 | 748 | } |
| 762 | 749 | } |
| 763 | - }*/ | |
| 764 | - if(status){ | |
| 765 | - t.setCzcd(0.0); | |
| 766 | - } | |
| 767 | -// double jzyl=Arith.add(t.getJzl(), t.getCzyl()); | |
| 768 | - t.setJzcd(100.0); | |
| 769 | - t.setHd(0.0); | |
| 770 | - if(fgsdm.equals(fgsbm)){ | |
| 771 | - repository.save(t); | |
| 750 | + if(status){ | |
| 751 | + t.setCzcd(0.0); | |
| 752 | + } | |
| 753 | + t.setJzcd(100.0); | |
| 754 | + t.setHd(0.0); | |
| 755 | + if(fgsdm.equals(fgsbm)){ | |
| 756 | + repository.save(t); | |
| 757 | + } | |
| 772 | 758 | } |
| 773 | 759 | } |
| 774 | 760 | } | ... | ... |
src/main/java/com/bsth/service/schedule/rules/shiftloop/ScheduleResults_output.java
| ... | ... | @@ -48,6 +48,7 @@ public class ScheduleResults_output { |
| 48 | 48 | groupRuleIdGuideBoardMap.get(s.getRuleId()).add(s); |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | + stringBuilder.append("\n"); | |
| 51 | 52 | for (String ruleId : groupRuleIdGuideBoardMap.keySet()) { |
| 52 | 53 | Collections.sort(groupRuleIdGuideBoardMap.get(ruleId), new Comparator<ScheduleResult_output>() { |
| 53 | 54 | @Override | ... | ... |
src/main/java/com/bsth/service/traffic/impl/VehicleInoutStopServiceImpl.java
| ... | ... | @@ -4,6 +4,7 @@ import com.bsth.entity.traffic.VehicleInoutStop; |
| 4 | 4 | import com.bsth.service.impl.BaseServiceImpl; |
| 5 | 5 | import com.bsth.service.traffic.VehicleInoutStopService; |
| 6 | 6 | import com.bsth.util.DateUtils; |
| 7 | +import com.bsth.util.db.DBUtils_MS; | |
| 7 | 8 | import org.springframework.beans.factory.annotation.Autowired; |
| 8 | 9 | import org.springframework.jdbc.core.JdbcTemplate; |
| 9 | 10 | import org.springframework.stereotype.Service; |
| ... | ... | @@ -51,17 +52,16 @@ public class VehicleInoutStopServiceImpl extends BaseServiceImpl<VehicleInoutSto |
| 51 | 52 | String order = " order by report_date asc"+ " LIMIT "+page*size+","+size; |
| 52 | 53 | int dayNum = DateUtils.calcDaynumberInYear(reportDate_start.substring(0,8)) -1; |
| 53 | 54 | if(!lineId.equals("")){ |
| 54 | - sql.append(" and l.id = ").append(lineId); | |
| 55 | + sql.append(" and line_id = ").append(lineId); | |
| 55 | 56 | } |
| 56 | 57 | if(!insideCode.equals("")){ |
| 57 | - sql.append(" and c.inside_code = ").append("'").append(insideCode.toUpperCase()).append("'"); | |
| 58 | + sql.append(" and inside_code = ").append("'").append(insideCode.toUpperCase()).append("'"); | |
| 58 | 59 | } |
| 59 | 60 | if(!carPlate.equals("")){ |
| 60 | - sql.append(" and c.car_plate = ").append("'").append("沪").append(carPlate.substring(0,1)).append("-") | |
| 61 | - .append(carPlate.substring(1)).append("'"); | |
| 61 | + sql.append(" and car_plate = ").append("'").append(carPlate).append("'"); | |
| 62 | 62 | } |
| 63 | 63 | sql.append(" and FROM_UNIXTIME(REPORT_DATE/1000,'%Y%m%d%H') between '").append(reportDate_start). |
| 64 | - append("' and '").append(reportDate_end).append("'").append(" and r.day_year = ").append(dayNum); | |
| 64 | + append("' and '").append(reportDate_end).append("'").append(" and day_year = ").append(dayNum); | |
| 65 | 65 | if(flag.equals("count")){ |
| 66 | 66 | return sql.toString(); |
| 67 | 67 | }else{ |
| ... | ... | @@ -75,13 +75,13 @@ public class VehicleInoutStopServiceImpl extends BaseServiceImpl<VehicleInoutSto |
| 75 | 75 | * @return |
| 76 | 76 | */ |
| 77 | 77 | public List<Map<String, Object>> getVehicleInoutStopByParam(Map<String,Object> map){ |
| 78 | - String sql = "SELECT c.branche_company,c.company,l.name,l.shanghai_linecode,inside_code,equipment_code,car_plate," + | |
| 79 | - "if( r.service_state= 0,'营运','停运') as service_state ," + | |
| 80 | - "if( r.up_down= 0,'上行','下行') as up_down ," + | |
| 81 | - "if( r.in_out_stop= 0,'站内','站外') as in_out_stop , " + | |
| 82 | - "r.stop,r.report_date FROM bsth_c_shreal r LEFT JOIN bsth_c_cars c on r.cars = c.id " + | |
| 83 | - "LEFT JOIN bsth_c_line l on r.line = l.id" + packageParam(map,"") ; | |
| 84 | - List<Map<String, Object>> result = jdbcTemplate.queryForList(sql); | |
| 78 | + JdbcTemplate jdbcTemp = new JdbcTemplate(DBUtils_MS.getDataSource()); | |
| 79 | + String sql = "SELECT branche_company,company,name,shanghai_linecode,inside_code,equipment_code,car_plate," + | |
| 80 | + "if( service_state= 0,'营运','停运') as service_state ," + | |
| 81 | + "if( up_down= 0,'上行','下行') as up_down ," + | |
| 82 | + "if( in_out_stop= 0,'站内','站外') as in_out_stop , " + | |
| 83 | + "stop,report_date FROM bsth_c_shreal " + packageParam(map,"") ; | |
| 84 | + List<Map<String, Object>> result = jdbcTemp.queryForList(sql); | |
| 85 | 85 | return result; |
| 86 | 86 | } |
| 87 | 87 | |
| ... | ... | @@ -91,9 +91,9 @@ public class VehicleInoutStopServiceImpl extends BaseServiceImpl<VehicleInoutSto |
| 91 | 91 | * @return |
| 92 | 92 | */ |
| 93 | 93 | public long getVehicleInoutStopCountByParam(Map<String,Object> map){ |
| 94 | - String sql = "SELECT count(1) COUNT FROM bsth_c_shreal r LEFT JOIN bsth_c_cars c on r.cars = c.id " + | |
| 95 | - "LEFT JOIN bsth_c_line l on r.line = l.id" + packageParam(map,"count"); | |
| 96 | - long result = Long.valueOf(jdbcTemplate.queryForMap(sql).get("COUNT")+""); | |
| 94 | + JdbcTemplate jdbcTemp = new JdbcTemplate(DBUtils_MS.getDataSource()); | |
| 95 | + String sql = "SELECT count(1) COUNT FROM bsth_c_shreal" + packageParam(map,"count"); | |
| 96 | + long result = Long.valueOf(jdbcTemp.queryForMap(sql).get("COUNT")+""); | |
| 97 | 97 | return result; |
| 98 | 98 | } |
| 99 | 99 | } | ... | ... |
src/main/resources/datatools/ktrs/carsDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>车辆信息导入</name> | |
| 5 | - <description>车辆信息导入</description> | |
| 6 | - <extended_description>车辆基础信息</extended_description> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>erroroutputdir</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>ktr step配置的错误输出目录</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value/> | |
| 20 | - <description>待处理导入的excel文件</description> | |
| 21 | - </parameter> | |
| 22 | - </parameters> | |
| 23 | - <log> | |
| 24 | -<trans-log-table><connection/> | |
| 25 | -<schema/> | |
| 26 | -<table/> | |
| 27 | -<size_limit_lines/> | |
| 28 | -<interval/> | |
| 29 | -<timeout_days/> | |
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | -<perf-log-table><connection/> | |
| 32 | -<schema/> | |
| 33 | -<table/> | |
| 34 | -<interval/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | -<channel-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | -<step-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | -<metrics-log-table><connection/> | |
| 48 | -<schema/> | |
| 49 | -<table/> | |
| 50 | -<timeout_days/> | |
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | - </log> | |
| 53 | - <maxdate> | |
| 54 | - <connection/> | |
| 55 | - <table/> | |
| 56 | - <field/> | |
| 57 | - <offset>0.0</offset> | |
| 58 | - <maxdiff>0.0</maxdiff> | |
| 59 | - </maxdate> | |
| 60 | - <size_rowset>10000</size_rowset> | |
| 61 | - <sleep_time_empty>50</sleep_time_empty> | |
| 62 | - <sleep_time_full>50</sleep_time_full> | |
| 63 | - <unique_connections>N</unique_connections> | |
| 64 | - <feedback_shown>Y</feedback_shown> | |
| 65 | - <feedback_size>50000</feedback_size> | |
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | - <shared_objects_file/> | |
| 68 | - <capture_step_performance>N</capture_step_performance> | |
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | - <dependencies> | |
| 72 | - </dependencies> | |
| 73 | - <partitionschemas> | |
| 74 | - </partitionschemas> | |
| 75 | - <slaveservers> | |
| 76 | - </slaveservers> | |
| 77 | - <clusterschemas> | |
| 78 | - </clusterschemas> | |
| 79 | - <created_user>-</created_user> | |
| 80 | - <created_date>2016/06/23 17:44:46.781</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2016/06/23 17:44:46.781</modified_date> | |
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | - <is_key_private>N</is_key_private> | |
| 85 | - </info> | |
| 86 | - <notepads> | |
| 87 | - </notepads> | |
| 88 | - <connection> | |
| 89 | - <name>192.168.168.1_jwgl_dw</name> | |
| 90 | - <server>192.168.168.1</server> | |
| 91 | - <type>ORACLE</type> | |
| 92 | - <access>Native</access> | |
| 93 | - <database>orcl</database> | |
| 94 | - <port>1521</port> | |
| 95 | - <username>jwgl_dw</username> | |
| 96 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | - <servername/> | |
| 98 | - <data_tablespace/> | |
| 99 | - <index_tablespace/> | |
| 100 | - <attributes> | |
| 101 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | - </attributes> | |
| 111 | - </connection> | |
| 112 | - <connection> | |
| 113 | - <name>bus_control_variable</name> | |
| 114 | - <server>${v_db_ip}</server> | |
| 115 | - <type>MYSQL</type> | |
| 116 | - <access>Native</access> | |
| 117 | - <database>${v_db_dname}</database> | |
| 118 | - <port>3306</port> | |
| 119 | - <username>${v_db_uname}</username> | |
| 120 | - <password>${v_db_pwd}</password> | |
| 121 | - <servername/> | |
| 122 | - <data_tablespace/> | |
| 123 | - <index_tablespace/> | |
| 124 | - <attributes> | |
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | - </attributes> | |
| 139 | - </connection> | |
| 140 | - <connection> | |
| 141 | - <name>bus_control_公司_201</name> | |
| 142 | - <server>localhost</server> | |
| 143 | - <type>MYSQL</type> | |
| 144 | - <access>Native</access> | |
| 145 | - <database>control</database> | |
| 146 | - <port>3306</port> | |
| 147 | - <username>root</username> | |
| 148 | - <password>Encrypted </password> | |
| 149 | - <servername/> | |
| 150 | - <data_tablespace/> | |
| 151 | - <index_tablespace/> | |
| 152 | - <attributes> | |
| 153 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | - </attributes> | |
| 166 | - </connection> | |
| 167 | - <connection> | |
| 168 | - <name>bus_control_本机</name> | |
| 169 | - <server>localhost</server> | |
| 170 | - <type>MYSQL</type> | |
| 171 | - <access>Native</access> | |
| 172 | - <database>control</database> | |
| 173 | - <port>3306</port> | |
| 174 | - <username>root</username> | |
| 175 | - <password>Encrypted </password> | |
| 176 | - <servername/> | |
| 177 | - <data_tablespace/> | |
| 178 | - <index_tablespace/> | |
| 179 | - <attributes> | |
| 180 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | - </attributes> | |
| 193 | - </connection> | |
| 194 | - <connection> | |
| 195 | - <name>xlab_mysql_youle</name> | |
| 196 | - <server>101.231.124.8</server> | |
| 197 | - <type>MYSQL</type> | |
| 198 | - <access>Native</access> | |
| 199 | - <database>xlab_youle</database> | |
| 200 | - <port>45687</port> | |
| 201 | - <username>xlab-youle</username> | |
| 202 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | - <servername/> | |
| 204 | - <data_tablespace/> | |
| 205 | - <index_tablespace/> | |
| 206 | - <attributes> | |
| 207 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | - </attributes> | |
| 220 | - </connection> | |
| 221 | - <connection> | |
| 222 | - <name>xlab_mysql_youle(本机)</name> | |
| 223 | - <server>localhost</server> | |
| 224 | - <type>MYSQL</type> | |
| 225 | - <access>Native</access> | |
| 226 | - <database>xlab_youle</database> | |
| 227 | - <port>3306</port> | |
| 228 | - <username>root</username> | |
| 229 | - <password>Encrypted </password> | |
| 230 | - <servername/> | |
| 231 | - <data_tablespace/> | |
| 232 | - <index_tablespace/> | |
| 233 | - <attributes> | |
| 234 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | - </attributes> | |
| 247 | - </connection> | |
| 248 | - <connection> | |
| 249 | - <name>xlab_youle</name> | |
| 250 | - <server/> | |
| 251 | - <type>MYSQL</type> | |
| 252 | - <access>JNDI</access> | |
| 253 | - <database>xlab_youle</database> | |
| 254 | - <port>1521</port> | |
| 255 | - <username/> | |
| 256 | - <password>Encrypted </password> | |
| 257 | - <servername/> | |
| 258 | - <data_tablespace/> | |
| 259 | - <index_tablespace/> | |
| 260 | - <attributes> | |
| 261 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | - </attributes> | |
| 272 | - </connection> | |
| 273 | - <order> | |
| 274 | - <hop> <from>插入/更新bsth_c_cars 2</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>原始系统导出的Excel输入</from><to>内部编码不为空</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>内部编码不为空</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 279 | - <hop> <from>公司查询</from><to>公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 280 | - <hop> <from>公司代码不为空</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 281 | - <hop> <from>分公司查询</from><to>分公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 282 | - <hop> <from>分公司代码不为空</from><to>车辆编码</to><enabled>Y</enabled> </hop> | |
| 283 | - <hop> <from>车辆编码</from><to>是否电车</to><enabled>Y</enabled> </hop> | |
| 284 | - <hop> <from>是否电车</from><to>插入/更新bsth_c_cars 2</to><enabled>Y</enabled> </hop> | |
| 285 | - </order> | |
| 286 | - <step> | |
| 287 | - <name>公司代码不为空</name> | |
| 288 | - <type>FilterRows</type> | |
| 289 | - <description/> | |
| 290 | - <distribute>Y</distribute> | |
| 291 | - <custom_distribution/> | |
| 292 | - <copies>1</copies> | |
| 293 | - <partitioning> | |
| 294 | - <method>none</method> | |
| 295 | - <schema_name/> | |
| 296 | - </partitioning> | |
| 297 | -<send_true_to/> | |
| 298 | -<send_false_to/> | |
| 299 | - <compare> | |
| 300 | -<condition> | |
| 301 | - <negated>N</negated> | |
| 302 | - <conditions> | |
| 303 | - <condition> | |
| 304 | - <negated>N</negated> | |
| 305 | - <leftvalue>gs_code</leftvalue> | |
| 306 | - <function>IS NOT NULL</function> | |
| 307 | - <rightvalue/> | |
| 308 | - </condition> | |
| 309 | - </conditions> | |
| 310 | - </condition> | |
| 311 | - </compare> | |
| 312 | - <cluster_schema/> | |
| 313 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 314 | - <xloc>542</xloc> | |
| 315 | - <yloc>164</yloc> | |
| 316 | - <draw>Y</draw> | |
| 317 | - </GUI> | |
| 318 | - </step> | |
| 319 | - | |
| 320 | - <step> | |
| 321 | - <name>公司查询</name> | |
| 322 | - <type>DBLookup</type> | |
| 323 | - <description/> | |
| 324 | - <distribute>Y</distribute> | |
| 325 | - <custom_distribution/> | |
| 326 | - <copies>1</copies> | |
| 327 | - <partitioning> | |
| 328 | - <method>none</method> | |
| 329 | - <schema_name/> | |
| 330 | - </partitioning> | |
| 331 | - <connection>bus_control_variable</connection> | |
| 332 | - <cache>N</cache> | |
| 333 | - <cache_load_all>N</cache_load_all> | |
| 334 | - <cache_size>0</cache_size> | |
| 335 | - <lookup> | |
| 336 | - <schema/> | |
| 337 | - <table>bsth_c_business</table> | |
| 338 | - <orderby/> | |
| 339 | - <fail_on_multiple>N</fail_on_multiple> | |
| 340 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 341 | - <key> | |
| 342 | - <name>up_code</name> | |
| 343 | - <field>up_code</field> | |
| 344 | - <condition>=</condition> | |
| 345 | - <name2/> | |
| 346 | - </key> | |
| 347 | - <key> | |
| 348 | - <name>所属公司</name> | |
| 349 | - <field>business_name</field> | |
| 350 | - <condition>=</condition> | |
| 351 | - <name2/> | |
| 352 | - </key> | |
| 353 | - <value> | |
| 354 | - <name>business_code</name> | |
| 355 | - <rename>gs_code</rename> | |
| 356 | - <default/> | |
| 357 | - <type>String</type> | |
| 358 | - </value> | |
| 359 | - </lookup> | |
| 360 | - <cluster_schema/> | |
| 361 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 362 | - <xloc>540</xloc> | |
| 363 | - <yloc>59</yloc> | |
| 364 | - <draw>Y</draw> | |
| 365 | - </GUI> | |
| 366 | - </step> | |
| 367 | - | |
| 368 | - <step> | |
| 369 | - <name>内部编码不为空</name> | |
| 370 | - <type>FilterRows</type> | |
| 371 | - <description/> | |
| 372 | - <distribute>Y</distribute> | |
| 373 | - <custom_distribution/> | |
| 374 | - <copies>1</copies> | |
| 375 | - <partitioning> | |
| 376 | - <method>none</method> | |
| 377 | - <schema_name/> | |
| 378 | - </partitioning> | |
| 379 | -<send_true_to/> | |
| 380 | -<send_false_to/> | |
| 381 | - <compare> | |
| 382 | -<condition> | |
| 383 | - <negated>N</negated> | |
| 384 | - <conditions> | |
| 385 | - <condition> | |
| 386 | - <negated>N</negated> | |
| 387 | - <leftvalue>内部编码</leftvalue> | |
| 388 | - <function>IS NOT NULL</function> | |
| 389 | - <rightvalue/> | |
| 390 | - </condition> | |
| 391 | - </conditions> | |
| 392 | - </condition> | |
| 393 | - </compare> | |
| 394 | - <cluster_schema/> | |
| 395 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 396 | - <xloc>218</xloc> | |
| 397 | - <yloc>164</yloc> | |
| 398 | - <draw>Y</draw> | |
| 399 | - </GUI> | |
| 400 | - </step> | |
| 401 | - | |
| 402 | - <step> | |
| 403 | - <name>分公司代码不为空</name> | |
| 404 | - <type>FilterRows</type> | |
| 405 | - <description/> | |
| 406 | - <distribute>Y</distribute> | |
| 407 | - <custom_distribution/> | |
| 408 | - <copies>1</copies> | |
| 409 | - <partitioning> | |
| 410 | - <method>none</method> | |
| 411 | - <schema_name/> | |
| 412 | - </partitioning> | |
| 413 | -<send_true_to/> | |
| 414 | -<send_false_to/> | |
| 415 | - <compare> | |
| 416 | -<condition> | |
| 417 | - <negated>N</negated> | |
| 418 | - <conditions> | |
| 419 | - <condition> | |
| 420 | - <negated>N</negated> | |
| 421 | - <leftvalue>fgs_code</leftvalue> | |
| 422 | - <function>IS NOT NULL</function> | |
| 423 | - <rightvalue/> | |
| 424 | - </condition> | |
| 425 | - </conditions> | |
| 426 | - </condition> | |
| 427 | - </compare> | |
| 428 | - <cluster_schema/> | |
| 429 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 430 | - <xloc>685</xloc> | |
| 431 | - <yloc>162</yloc> | |
| 432 | - <draw>Y</draw> | |
| 433 | - </GUI> | |
| 434 | - </step> | |
| 435 | - | |
| 436 | - <step> | |
| 437 | - <name>分公司查询</name> | |
| 438 | - <type>DBLookup</type> | |
| 439 | - <description/> | |
| 440 | - <distribute>Y</distribute> | |
| 441 | - <custom_distribution/> | |
| 442 | - <copies>1</copies> | |
| 443 | - <partitioning> | |
| 444 | - <method>none</method> | |
| 445 | - <schema_name/> | |
| 446 | - </partitioning> | |
| 447 | - <connection>bus_control_variable</connection> | |
| 448 | - <cache>N</cache> | |
| 449 | - <cache_load_all>N</cache_load_all> | |
| 450 | - <cache_size>0</cache_size> | |
| 451 | - <lookup> | |
| 452 | - <schema/> | |
| 453 | - <table>bsth_c_business</table> | |
| 454 | - <orderby/> | |
| 455 | - <fail_on_multiple>N</fail_on_multiple> | |
| 456 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 457 | - <key> | |
| 458 | - <name>gs_code</name> | |
| 459 | - <field>up_code</field> | |
| 460 | - <condition>=</condition> | |
| 461 | - <name2/> | |
| 462 | - </key> | |
| 463 | - <key> | |
| 464 | - <name>所属分公司</name> | |
| 465 | - <field>business_name</field> | |
| 466 | - <condition>=</condition> | |
| 467 | - <name2/> | |
| 468 | - </key> | |
| 469 | - <value> | |
| 470 | - <name>business_code</name> | |
| 471 | - <rename>fgs_code</rename> | |
| 472 | - <default/> | |
| 473 | - <type>String</type> | |
| 474 | - </value> | |
| 475 | - </lookup> | |
| 476 | - <cluster_schema/> | |
| 477 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 478 | - <xloc>683</xloc> | |
| 479 | - <yloc>59</yloc> | |
| 480 | - <draw>Y</draw> | |
| 481 | - </GUI> | |
| 482 | - </step> | |
| 483 | - | |
| 484 | - <step> | |
| 485 | - <name>原始系统导出的Excel输入</name> | |
| 486 | - <type>ExcelInput</type> | |
| 487 | - <description/> | |
| 488 | - <distribute>Y</distribute> | |
| 489 | - <custom_distribution/> | |
| 490 | - <copies>1</copies> | |
| 491 | - <partitioning> | |
| 492 | - <method>none</method> | |
| 493 | - <schema_name/> | |
| 494 | - </partitioning> | |
| 495 | - <header>Y</header> | |
| 496 | - <noempty>Y</noempty> | |
| 497 | - <stoponempty>N</stoponempty> | |
| 498 | - <filefield/> | |
| 499 | - <sheetfield/> | |
| 500 | - <sheetrownumfield/> | |
| 501 | - <rownumfield/> | |
| 502 | - <sheetfield/> | |
| 503 | - <filefield/> | |
| 504 | - <limit>0</limit> | |
| 505 | - <encoding/> | |
| 506 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 507 | - <accept_filenames>Y</accept_filenames> | |
| 508 | - <accept_field>filepath_</accept_field> | |
| 509 | - <accept_stepname>获取变量</accept_stepname> | |
| 510 | - <file> | |
| 511 | - <name/> | |
| 512 | - <filemask/> | |
| 513 | - <exclude_filemask/> | |
| 514 | - <file_required>N</file_required> | |
| 515 | - <include_subfolders>N</include_subfolders> | |
| 516 | - </file> | |
| 517 | - <fields> | |
| 518 | - <field> | |
| 519 | - <name>车牌号</name> | |
| 520 | - <type>String</type> | |
| 521 | - <length>-1</length> | |
| 522 | - <precision>-1</precision> | |
| 523 | - <trim_type>none</trim_type> | |
| 524 | - <repeat>N</repeat> | |
| 525 | - <format/> | |
| 526 | - <currency/> | |
| 527 | - <decimal/> | |
| 528 | - <group/> | |
| 529 | - </field> | |
| 530 | - <field> | |
| 531 | - <name>内部编码</name> | |
| 532 | - <type>String</type> | |
| 533 | - <length>-1</length> | |
| 534 | - <precision>-1</precision> | |
| 535 | - <trim_type>none</trim_type> | |
| 536 | - <repeat>N</repeat> | |
| 537 | - <format/> | |
| 538 | - <currency/> | |
| 539 | - <decimal/> | |
| 540 | - <group/> | |
| 541 | - </field> | |
| 542 | - <field> | |
| 543 | - <name>所属公司</name> | |
| 544 | - <type>String</type> | |
| 545 | - <length>-1</length> | |
| 546 | - <precision>-1</precision> | |
| 547 | - <trim_type>none</trim_type> | |
| 548 | - <repeat>N</repeat> | |
| 549 | - <format/> | |
| 550 | - <currency/> | |
| 551 | - <decimal/> | |
| 552 | - <group/> | |
| 553 | - </field> | |
| 554 | - <field> | |
| 555 | - <name>所属分公司</name> | |
| 556 | - <type>String</type> | |
| 557 | - <length>-1</length> | |
| 558 | - <precision>-1</precision> | |
| 559 | - <trim_type>none</trim_type> | |
| 560 | - <repeat>N</repeat> | |
| 561 | - <format/> | |
| 562 | - <currency/> | |
| 563 | - <decimal/> | |
| 564 | - <group/> | |
| 565 | - </field> | |
| 566 | - <field> | |
| 567 | - <name>设备供应厂商</name> | |
| 568 | - <type>String</type> | |
| 569 | - <length>-1</length> | |
| 570 | - <precision>-1</precision> | |
| 571 | - <trim_type>none</trim_type> | |
| 572 | - <repeat>N</repeat> | |
| 573 | - <format/> | |
| 574 | - <currency/> | |
| 575 | - <decimal/> | |
| 576 | - <group/> | |
| 577 | - </field> | |
| 578 | - <field> | |
| 579 | - <name>设备终端号</name> | |
| 580 | - <type>String</type> | |
| 581 | - <length>-1</length> | |
| 582 | - <precision>-1</precision> | |
| 583 | - <trim_type>none</trim_type> | |
| 584 | - <repeat>N</repeat> | |
| 585 | - <format/> | |
| 586 | - <currency/> | |
| 587 | - <decimal/> | |
| 588 | - <group/> | |
| 589 | - </field> | |
| 590 | - <field> | |
| 591 | - <name>是否电车</name> | |
| 592 | - <type>String</type> | |
| 593 | - <length>-1</length> | |
| 594 | - <precision>-1</precision> | |
| 595 | - <trim_type>none</trim_type> | |
| 596 | - <repeat>N</repeat> | |
| 597 | - <format/> | |
| 598 | - <currency/> | |
| 599 | - <decimal/> | |
| 600 | - <group/> | |
| 601 | - </field> | |
| 602 | - </fields> | |
| 603 | - <sheets> | |
| 604 | - <sheet> | |
| 605 | - <name>工作表1</name> | |
| 606 | - <startrow>0</startrow> | |
| 607 | - <startcol>0</startcol> | |
| 608 | - </sheet> | |
| 609 | - </sheets> | |
| 610 | - <strict_types>N</strict_types> | |
| 611 | - <error_ignored>N</error_ignored> | |
| 612 | - <error_line_skipped>N</error_line_skipped> | |
| 613 | - <bad_line_files_destination_directory/> | |
| 614 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 615 | - <error_line_files_destination_directory/> | |
| 616 | - <error_line_files_extension>error</error_line_files_extension> | |
| 617 | - <line_number_files_destination_directory/> | |
| 618 | - <line_number_files_extension>line</line_number_files_extension> | |
| 619 | - <shortFileFieldName/> | |
| 620 | - <pathFieldName/> | |
| 621 | - <hiddenFieldName/> | |
| 622 | - <lastModificationTimeFieldName/> | |
| 623 | - <uriNameFieldName/> | |
| 624 | - <rootUriNameFieldName/> | |
| 625 | - <extensionFieldName/> | |
| 626 | - <sizeFieldName/> | |
| 627 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 628 | - <cluster_schema/> | |
| 629 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 630 | - <xloc>218</xloc> | |
| 631 | - <yloc>59</yloc> | |
| 632 | - <draw>Y</draw> | |
| 633 | - </GUI> | |
| 634 | - </step> | |
| 635 | - | |
| 636 | - <step> | |
| 637 | - <name>插入/更新bsth_c_cars 2</name> | |
| 638 | - <type>InsertUpdate</type> | |
| 639 | - <description/> | |
| 640 | - <distribute>Y</distribute> | |
| 641 | - <custom_distribution/> | |
| 642 | - <copies>1</copies> | |
| 643 | - <partitioning> | |
| 644 | - <method>none</method> | |
| 645 | - <schema_name/> | |
| 646 | - </partitioning> | |
| 647 | - <connection>bus_control_variable</connection> | |
| 648 | - <commit>500</commit> | |
| 649 | - <update_bypassed>N</update_bypassed> | |
| 650 | - <lookup> | |
| 651 | - <schema/> | |
| 652 | - <table>bsth_c_cars</table> | |
| 653 | - <key> | |
| 654 | - <name>内部编码</name> | |
| 655 | - <field>inside_code</field> | |
| 656 | - <condition>=</condition> | |
| 657 | - <name2/> | |
| 658 | - </key> | |
| 659 | - <value> | |
| 660 | - <name>car_plate</name> | |
| 661 | - <rename>车牌号</rename> | |
| 662 | - <update>Y</update> | |
| 663 | - </value> | |
| 664 | - <value> | |
| 665 | - <name>car_code</name> | |
| 666 | - <rename>cl_code</rename> | |
| 667 | - <update>Y</update> | |
| 668 | - </value> | |
| 669 | - <value> | |
| 670 | - <name>inside_code</name> | |
| 671 | - <rename>内部编码</rename> | |
| 672 | - <update>Y</update> | |
| 673 | - </value> | |
| 674 | - <value> | |
| 675 | - <name>company</name> | |
| 676 | - <rename>所属公司</rename> | |
| 677 | - <update>Y</update> | |
| 678 | - </value> | |
| 679 | - <value> | |
| 680 | - <name>business_code</name> | |
| 681 | - <rename>gs_code</rename> | |
| 682 | - <update>Y</update> | |
| 683 | - </value> | |
| 684 | - <value> | |
| 685 | - <name>branche_company</name> | |
| 686 | - <rename>所属分公司</rename> | |
| 687 | - <update>Y</update> | |
| 688 | - </value> | |
| 689 | - <value> | |
| 690 | - <name>branche_company_code</name> | |
| 691 | - <rename>fgs_code</rename> | |
| 692 | - <update>Y</update> | |
| 693 | - </value> | |
| 694 | - <value> | |
| 695 | - <name>supplier_name</name> | |
| 696 | - <rename>设备供应厂商</rename> | |
| 697 | - <update>Y</update> | |
| 698 | - </value> | |
| 699 | - <value> | |
| 700 | - <name>equipment_code</name> | |
| 701 | - <rename>设备终端号</rename> | |
| 702 | - <update>Y</update> | |
| 703 | - </value> | |
| 704 | - <value> | |
| 705 | - <name>sfdc</name> | |
| 706 | - <rename>sfdc_cal</rename> | |
| 707 | - <update>Y</update> | |
| 708 | - </value> | |
| 709 | - </lookup> | |
| 710 | - <cluster_schema/> | |
| 711 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 712 | - <xloc>561</xloc> | |
| 713 | - <yloc>359</yloc> | |
| 714 | - <draw>Y</draw> | |
| 715 | - </GUI> | |
| 716 | - </step> | |
| 717 | - | |
| 718 | - <step> | |
| 719 | - <name>添加查询常量</name> | |
| 720 | - <type>ScriptValueMod</type> | |
| 721 | - <description/> | |
| 722 | - <distribute>Y</distribute> | |
| 723 | - <custom_distribution/> | |
| 724 | - <copies>1</copies> | |
| 725 | - <partitioning> | |
| 726 | - <method>none</method> | |
| 727 | - <schema_name/> | |
| 728 | - </partitioning> | |
| 729 | - <compatible>N</compatible> | |
| 730 | - <optimizationLevel>9</optimizationLevel> | |
| 731 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 732 | - <jsScript_name>Script 1</jsScript_name> | |
| 733 | - <jsScript_script>//Script here

var up_code = '88';</jsScript_script> | |
| 734 | - </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 735 | - <rename>up_code</rename> | |
| 736 | - <type>String</type> | |
| 737 | - <length>-1</length> | |
| 738 | - <precision>-1</precision> | |
| 739 | - <replace>N</replace> | |
| 740 | - </field> </fields> <cluster_schema/> | |
| 741 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 742 | - <xloc>389</xloc> | |
| 743 | - <yloc>61</yloc> | |
| 744 | - <draw>Y</draw> | |
| 745 | - </GUI> | |
| 746 | - </step> | |
| 747 | - | |
| 748 | - <step> | |
| 749 | - <name>获取变量</name> | |
| 750 | - <type>GetVariable</type> | |
| 751 | - <description/> | |
| 752 | - <distribute>Y</distribute> | |
| 753 | - <custom_distribution/> | |
| 754 | - <copies>1</copies> | |
| 755 | - <partitioning> | |
| 756 | - <method>none</method> | |
| 757 | - <schema_name/> | |
| 758 | - </partitioning> | |
| 759 | - <fields> | |
| 760 | - <field> | |
| 761 | - <name>filepath_</name> | |
| 762 | - <variable>${filepath}</variable> | |
| 763 | - <type>String</type> | |
| 764 | - <format/> | |
| 765 | - <currency/> | |
| 766 | - <decimal/> | |
| 767 | - <group/> | |
| 768 | - <length>-1</length> | |
| 769 | - <precision>-1</precision> | |
| 770 | - <trim_type>none</trim_type> | |
| 771 | - </field> | |
| 772 | - <field> | |
| 773 | - <name>erroroutputdir_</name> | |
| 774 | - <variable>${erroroutputdir}</variable> | |
| 775 | - <type>String</type> | |
| 776 | - <format/> | |
| 777 | - <currency/> | |
| 778 | - <decimal/> | |
| 779 | - <group/> | |
| 780 | - <length>-1</length> | |
| 781 | - <precision>-1</precision> | |
| 782 | - <trim_type>none</trim_type> | |
| 783 | - </field> | |
| 784 | - </fields> | |
| 785 | - <cluster_schema/> | |
| 786 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 787 | - <xloc>70</xloc> | |
| 788 | - <yloc>59</yloc> | |
| 789 | - <draw>Y</draw> | |
| 790 | - </GUI> | |
| 791 | - </step> | |
| 792 | - | |
| 793 | - <step> | |
| 794 | - <name>车辆编码</name> | |
| 795 | - <type>ScriptValueMod</type> | |
| 796 | - <description/> | |
| 797 | - <distribute>Y</distribute> | |
| 798 | - <custom_distribution/> | |
| 799 | - <copies>1</copies> | |
| 800 | - <partitioning> | |
| 801 | - <method>none</method> | |
| 802 | - <schema_name/> | |
| 803 | - </partitioning> | |
| 804 | - <compatible>N</compatible> | |
| 805 | - <optimizationLevel>9</optimizationLevel> | |
| 806 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 807 | - <jsScript_name>Script 1</jsScript_name> | |
| 808 | - <jsScript_script>//Script here

var cl_code = gs_code + "0" + 内部编码;</jsScript_script> | |
| 809 | - </jsScript> </jsScripts> <fields> <field> <name>cl_code</name> | |
| 810 | - <rename>cl_code</rename> | |
| 811 | - <type>String</type> | |
| 812 | - <length>-1</length> | |
| 813 | - <precision>-1</precision> | |
| 814 | - <replace>N</replace> | |
| 815 | - </field> </fields> <cluster_schema/> | |
| 816 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 817 | - <xloc>688</xloc> | |
| 818 | - <yloc>273</yloc> | |
| 819 | - <draw>Y</draw> | |
| 820 | - </GUI> | |
| 821 | - </step> | |
| 822 | - | |
| 823 | - <step> | |
| 824 | - <name>错误输出 2</name> | |
| 825 | - <type>ExcelOutput</type> | |
| 826 | - <description/> | |
| 827 | - <distribute>Y</distribute> | |
| 828 | - <custom_distribution/> | |
| 829 | - <copies>1</copies> | |
| 830 | - <partitioning> | |
| 831 | - <method>none</method> | |
| 832 | - <schema_name/> | |
| 833 | - </partitioning> | |
| 834 | - <header>Y</header> | |
| 835 | - <footer>N</footer> | |
| 836 | - <encoding/> | |
| 837 | - <append>N</append> | |
| 838 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 839 | - <file> | |
| 840 | - <name>${erroroutputdir}/车辆基础信息_错误</name> | |
| 841 | - <extention>xls</extention> | |
| 842 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 843 | - <create_parent_folder>N</create_parent_folder> | |
| 844 | - <split>N</split> | |
| 845 | - <add_date>N</add_date> | |
| 846 | - <add_time>N</add_time> | |
| 847 | - <SpecifyFormat>N</SpecifyFormat> | |
| 848 | - <date_time_format/> | |
| 849 | - <sheetname>Sheet1</sheetname> | |
| 850 | - <autosizecolums>N</autosizecolums> | |
| 851 | - <nullisblank>N</nullisblank> | |
| 852 | - <protect_sheet>N</protect_sheet> | |
| 853 | - <password>Encrypted </password> | |
| 854 | - <splitevery>0</splitevery> | |
| 855 | - <usetempfiles>N</usetempfiles> | |
| 856 | - <tempdirectory/> | |
| 857 | - </file> | |
| 858 | - <template> | |
| 859 | - <enabled>N</enabled> | |
| 860 | - <append>N</append> | |
| 861 | - <filename>template.xls</filename> | |
| 862 | - </template> | |
| 863 | - <fields> | |
| 864 | - <field> | |
| 865 | - <name>车牌号</name> | |
| 866 | - <type>String</type> | |
| 867 | - <format/> | |
| 868 | - </field> | |
| 869 | - <field> | |
| 870 | - <name>内部编码</name> | |
| 871 | - <type>String</type> | |
| 872 | - <format/> | |
| 873 | - </field> | |
| 874 | - <field> | |
| 875 | - <name>所属公司</name> | |
| 876 | - <type>String</type> | |
| 877 | - <format/> | |
| 878 | - </field> | |
| 879 | - <field> | |
| 880 | - <name>所属分公司</name> | |
| 881 | - <type>String</type> | |
| 882 | - <format/> | |
| 883 | - </field> | |
| 884 | - <field> | |
| 885 | - <name>设备供应厂商</name> | |
| 886 | - <type>String</type> | |
| 887 | - <format/> | |
| 888 | - </field> | |
| 889 | - <field> | |
| 890 | - <name>设备终端号</name> | |
| 891 | - <type>String</type> | |
| 892 | - <format/> | |
| 893 | - </field> | |
| 894 | - <field> | |
| 895 | - <name>error_count</name> | |
| 896 | - <type>Integer</type> | |
| 897 | - <format/> | |
| 898 | - </field> | |
| 899 | - <field> | |
| 900 | - <name>error_desc</name> | |
| 901 | - <type>String</type> | |
| 902 | - <format/> | |
| 903 | - </field> | |
| 904 | - <field> | |
| 905 | - <name>error_column1</name> | |
| 906 | - <type>String</type> | |
| 907 | - <format/> | |
| 908 | - </field> | |
| 909 | - <field> | |
| 910 | - <name>error_column2</name> | |
| 911 | - <type>String</type> | |
| 912 | - <format/> | |
| 913 | - </field> | |
| 914 | - </fields> | |
| 915 | - <custom> | |
| 916 | - <header_font_name>arial</header_font_name> | |
| 917 | - <header_font_size>10</header_font_size> | |
| 918 | - <header_font_bold>N</header_font_bold> | |
| 919 | - <header_font_italic>N</header_font_italic> | |
| 920 | - <header_font_underline>no</header_font_underline> | |
| 921 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 922 | - <header_font_color>black</header_font_color> | |
| 923 | - <header_background_color>none</header_background_color> | |
| 924 | - <header_row_height>255</header_row_height> | |
| 925 | - <header_alignment>left</header_alignment> | |
| 926 | - <header_image/> | |
| 927 | - <row_font_name>arial</row_font_name> | |
| 928 | - <row_font_size>10</row_font_size> | |
| 929 | - <row_font_color>black</row_font_color> | |
| 930 | - <row_background_color>none</row_background_color> | |
| 931 | - </custom> | |
| 932 | - <cluster_schema/> | |
| 933 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 934 | - <xloc>373</xloc> | |
| 935 | - <yloc>361</yloc> | |
| 936 | - <draw>Y</draw> | |
| 937 | - </GUI> | |
| 938 | - </step> | |
| 939 | - | |
| 940 | - <step> | |
| 941 | - <name>是否电车</name> | |
| 942 | - <type>ScriptValueMod</type> | |
| 943 | - <description/> | |
| 944 | - <distribute>Y</distribute> | |
| 945 | - <custom_distribution/> | |
| 946 | - <copies>1</copies> | |
| 947 | - <partitioning> | |
| 948 | - <method>none</method> | |
| 949 | - <schema_name/> | |
| 950 | - </partitioning> | |
| 951 | - <compatible>N</compatible> | |
| 952 | - <optimizationLevel>9</optimizationLevel> | |
| 953 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 954 | - <jsScript_name>Script 1</jsScript_name> | |
| 955 | - <jsScript_script>//Script here

var sfdc_cal = 0;

if (是否电车 == "是") {
 sfdc_cal = 1;
}</jsScript_script> | |
| 956 | - </jsScript> </jsScripts> <fields> <field> <name>sfdc_cal</name> | |
| 957 | - <rename>sfdc_cal</rename> | |
| 958 | - <type>Integer</type> | |
| 959 | - <length>16</length> | |
| 960 | - <precision>2</precision> | |
| 961 | - <replace>N</replace> | |
| 962 | - </field> </fields> <cluster_schema/> | |
| 963 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 964 | - <xloc>888</xloc> | |
| 965 | - <yloc>273</yloc> | |
| 966 | - <draw>Y</draw> | |
| 967 | - </GUI> | |
| 968 | - </step> | |
| 969 | - | |
| 970 | - <step_error_handling> | |
| 971 | - <error> | |
| 972 | - <source_step>插入/更新bsth_c_cars 2</source_step> | |
| 973 | - <target_step>错误输出 2</target_step> | |
| 974 | - <is_enabled>Y</is_enabled> | |
| 975 | - <nr_valuename>error_count</nr_valuename> | |
| 976 | - <descriptions_valuename>error_desc</descriptions_valuename> | |
| 977 | - <fields_valuename>error_column1</fields_valuename> | |
| 978 | - <codes_valuename>error_column2</codes_valuename> | |
| 979 | - <max_errors/> | |
| 980 | - <max_pct_errors/> | |
| 981 | - <min_pct_rows/> | |
| 982 | - </error> | |
| 983 | - </step_error_handling> | |
| 984 | - <slave-step-copy-partition-distribution> | |
| 985 | -</slave-step-copy-partition-distribution> | |
| 986 | - <slave_transformation>N</slave_transformation> | |
| 987 | - | |
| 988 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>车辆信息导入</name> | |
| 5 | + <description>车辆信息导入</description> | |
| 6 | + <extended_description>车辆基础信息</extended_description> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>erroroutputdir</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>ktr step配置的错误输出目录</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>待处理导入的excel文件</description> | |
| 21 | + </parameter> | |
| 22 | + </parameters> | |
| 23 | + <log> | |
| 24 | +<trans-log-table><connection/> | |
| 25 | +<schema/> | |
| 26 | +<table/> | |
| 27 | +<size_limit_lines/> | |
| 28 | +<interval/> | |
| 29 | +<timeout_days/> | |
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | +<perf-log-table><connection/> | |
| 32 | +<schema/> | |
| 33 | +<table/> | |
| 34 | +<interval/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | +<channel-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | +<step-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | +<metrics-log-table><connection/> | |
| 48 | +<schema/> | |
| 49 | +<table/> | |
| 50 | +<timeout_days/> | |
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | + </log> | |
| 53 | + <maxdate> | |
| 54 | + <connection/> | |
| 55 | + <table/> | |
| 56 | + <field/> | |
| 57 | + <offset>0.0</offset> | |
| 58 | + <maxdiff>0.0</maxdiff> | |
| 59 | + </maxdate> | |
| 60 | + <size_rowset>10000</size_rowset> | |
| 61 | + <sleep_time_empty>50</sleep_time_empty> | |
| 62 | + <sleep_time_full>50</sleep_time_full> | |
| 63 | + <unique_connections>N</unique_connections> | |
| 64 | + <feedback_shown>Y</feedback_shown> | |
| 65 | + <feedback_size>50000</feedback_size> | |
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | + <shared_objects_file/> | |
| 68 | + <capture_step_performance>N</capture_step_performance> | |
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | + <dependencies> | |
| 72 | + </dependencies> | |
| 73 | + <partitionschemas> | |
| 74 | + </partitionschemas> | |
| 75 | + <slaveservers> | |
| 76 | + </slaveservers> | |
| 77 | + <clusterschemas> | |
| 78 | + </clusterschemas> | |
| 79 | + <created_user>-</created_user> | |
| 80 | + <created_date>2016/06/23 17:44:46.781</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/06/23 17:44:46.781</modified_date> | |
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | + <is_key_private>N</is_key_private> | |
| 85 | + </info> | |
| 86 | + <notepads> | |
| 87 | + </notepads> | |
| 88 | + <connection> | |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 113 | + <name>bus_control_variable</name> | |
| 114 | + <server>${v_db_ip}</server> | |
| 115 | + <type>MYSQL</type> | |
| 116 | + <access>Native</access> | |
| 117 | + <database>${v_db_dname}</database> | |
| 118 | + <port>3306</port> | |
| 119 | + <username>${v_db_uname}</username> | |
| 120 | + <password>${v_db_pwd}</password> | |
| 121 | + <servername/> | |
| 122 | + <data_tablespace/> | |
| 123 | + <index_tablespace/> | |
| 124 | + <attributes> | |
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | + </attributes> | |
| 139 | + </connection> | |
| 140 | + <connection> | |
| 141 | + <name>bus_control_公司_201</name> | |
| 142 | + <server>localhost</server> | |
| 143 | + <type>MYSQL</type> | |
| 144 | + <access>Native</access> | |
| 145 | + <database>control</database> | |
| 146 | + <port>3306</port> | |
| 147 | + <username>root</username> | |
| 148 | + <password>Encrypted </password> | |
| 149 | + <servername/> | |
| 150 | + <data_tablespace/> | |
| 151 | + <index_tablespace/> | |
| 152 | + <attributes> | |
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | + </attributes> | |
| 166 | + </connection> | |
| 167 | + <connection> | |
| 168 | + <name>bus_control_本机</name> | |
| 169 | + <server>localhost</server> | |
| 170 | + <type>MYSQL</type> | |
| 171 | + <access>Native</access> | |
| 172 | + <database>control</database> | |
| 173 | + <port>3306</port> | |
| 174 | + <username>root</username> | |
| 175 | + <password>Encrypted </password> | |
| 176 | + <servername/> | |
| 177 | + <data_tablespace/> | |
| 178 | + <index_tablespace/> | |
| 179 | + <attributes> | |
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | + </attributes> | |
| 193 | + </connection> | |
| 194 | + <connection> | |
| 195 | + <name>xlab_mysql_youle</name> | |
| 196 | + <server>101.231.124.8</server> | |
| 197 | + <type>MYSQL</type> | |
| 198 | + <access>Native</access> | |
| 199 | + <database>xlab_youle</database> | |
| 200 | + <port>45687</port> | |
| 201 | + <username>xlab-youle</username> | |
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | + <servername/> | |
| 204 | + <data_tablespace/> | |
| 205 | + <index_tablespace/> | |
| 206 | + <attributes> | |
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | + </attributes> | |
| 220 | + </connection> | |
| 221 | + <connection> | |
| 222 | + <name>xlab_mysql_youle(本机)</name> | |
| 223 | + <server>localhost</server> | |
| 224 | + <type>MYSQL</type> | |
| 225 | + <access>Native</access> | |
| 226 | + <database>xlab_youle</database> | |
| 227 | + <port>3306</port> | |
| 228 | + <username>root</username> | |
| 229 | + <password>Encrypted </password> | |
| 230 | + <servername/> | |
| 231 | + <data_tablespace/> | |
| 232 | + <index_tablespace/> | |
| 233 | + <attributes> | |
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | + </attributes> | |
| 247 | + </connection> | |
| 248 | + <connection> | |
| 249 | + <name>xlab_youle</name> | |
| 250 | + <server/> | |
| 251 | + <type>MYSQL</type> | |
| 252 | + <access>JNDI</access> | |
| 253 | + <database>xlab_youle</database> | |
| 254 | + <port>1521</port> | |
| 255 | + <username/> | |
| 256 | + <password>Encrypted </password> | |
| 257 | + <servername/> | |
| 258 | + <data_tablespace/> | |
| 259 | + <index_tablespace/> | |
| 260 | + <attributes> | |
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | + </attributes> | |
| 272 | + </connection> | |
| 273 | + <order> | |
| 274 | + <hop> <from>插入/更新bsth_c_cars 2</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>原始系统导出的Excel输入</from><to>内部编码不为空</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>内部编码不为空</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>公司查询</from><to>公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 280 | + <hop> <from>公司代码不为空</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 281 | + <hop> <from>分公司查询</from><to>分公司代码不为空</to><enabled>Y</enabled> </hop> | |
| 282 | + <hop> <from>分公司代码不为空</from><to>车辆编码</to><enabled>Y</enabled> </hop> | |
| 283 | + <hop> <from>车辆编码</from><to>是否电车</to><enabled>Y</enabled> </hop> | |
| 284 | + <hop> <from>是否电车</from><to>插入/更新bsth_c_cars 2</to><enabled>Y</enabled> </hop> | |
| 285 | + </order> | |
| 286 | + <step> | |
| 287 | + <name>公司代码不为空</name> | |
| 288 | + <type>FilterRows</type> | |
| 289 | + <description/> | |
| 290 | + <distribute>Y</distribute> | |
| 291 | + <custom_distribution/> | |
| 292 | + <copies>1</copies> | |
| 293 | + <partitioning> | |
| 294 | + <method>none</method> | |
| 295 | + <schema_name/> | |
| 296 | + </partitioning> | |
| 297 | +<send_true_to/> | |
| 298 | +<send_false_to/> | |
| 299 | + <compare> | |
| 300 | +<condition> | |
| 301 | + <negated>N</negated> | |
| 302 | + <conditions> | |
| 303 | + <condition> | |
| 304 | + <negated>N</negated> | |
| 305 | + <leftvalue>gs_code</leftvalue> | |
| 306 | + <function>IS NOT NULL</function> | |
| 307 | + <rightvalue/> | |
| 308 | + </condition> | |
| 309 | + </conditions> | |
| 310 | + </condition> | |
| 311 | + </compare> | |
| 312 | + <cluster_schema/> | |
| 313 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 314 | + <xloc>542</xloc> | |
| 315 | + <yloc>164</yloc> | |
| 316 | + <draw>Y</draw> | |
| 317 | + </GUI> | |
| 318 | + </step> | |
| 319 | + | |
| 320 | + <step> | |
| 321 | + <name>公司查询</name> | |
| 322 | + <type>DBLookup</type> | |
| 323 | + <description/> | |
| 324 | + <distribute>Y</distribute> | |
| 325 | + <custom_distribution/> | |
| 326 | + <copies>1</copies> | |
| 327 | + <partitioning> | |
| 328 | + <method>none</method> | |
| 329 | + <schema_name/> | |
| 330 | + </partitioning> | |
| 331 | + <connection>bus_control_variable</connection> | |
| 332 | + <cache>N</cache> | |
| 333 | + <cache_load_all>N</cache_load_all> | |
| 334 | + <cache_size>0</cache_size> | |
| 335 | + <lookup> | |
| 336 | + <schema/> | |
| 337 | + <table>bsth_c_business</table> | |
| 338 | + <orderby/> | |
| 339 | + <fail_on_multiple>N</fail_on_multiple> | |
| 340 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 341 | + <key> | |
| 342 | + <name>up_code</name> | |
| 343 | + <field>up_code</field> | |
| 344 | + <condition>=</condition> | |
| 345 | + <name2/> | |
| 346 | + </key> | |
| 347 | + <key> | |
| 348 | + <name>所属公司</name> | |
| 349 | + <field>business_name</field> | |
| 350 | + <condition>=</condition> | |
| 351 | + <name2/> | |
| 352 | + </key> | |
| 353 | + <value> | |
| 354 | + <name>business_code</name> | |
| 355 | + <rename>gs_code</rename> | |
| 356 | + <default/> | |
| 357 | + <type>String</type> | |
| 358 | + </value> | |
| 359 | + </lookup> | |
| 360 | + <cluster_schema/> | |
| 361 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 362 | + <xloc>540</xloc> | |
| 363 | + <yloc>59</yloc> | |
| 364 | + <draw>Y</draw> | |
| 365 | + </GUI> | |
| 366 | + </step> | |
| 367 | + | |
| 368 | + <step> | |
| 369 | + <name>内部编码不为空</name> | |
| 370 | + <type>FilterRows</type> | |
| 371 | + <description/> | |
| 372 | + <distribute>Y</distribute> | |
| 373 | + <custom_distribution/> | |
| 374 | + <copies>1</copies> | |
| 375 | + <partitioning> | |
| 376 | + <method>none</method> | |
| 377 | + <schema_name/> | |
| 378 | + </partitioning> | |
| 379 | +<send_true_to/> | |
| 380 | +<send_false_to/> | |
| 381 | + <compare> | |
| 382 | +<condition> | |
| 383 | + <negated>N</negated> | |
| 384 | + <conditions> | |
| 385 | + <condition> | |
| 386 | + <negated>N</negated> | |
| 387 | + <leftvalue>内部编码</leftvalue> | |
| 388 | + <function>IS NOT NULL</function> | |
| 389 | + <rightvalue/> | |
| 390 | + </condition> | |
| 391 | + </conditions> | |
| 392 | + </condition> | |
| 393 | + </compare> | |
| 394 | + <cluster_schema/> | |
| 395 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 396 | + <xloc>218</xloc> | |
| 397 | + <yloc>164</yloc> | |
| 398 | + <draw>Y</draw> | |
| 399 | + </GUI> | |
| 400 | + </step> | |
| 401 | + | |
| 402 | + <step> | |
| 403 | + <name>分公司代码不为空</name> | |
| 404 | + <type>FilterRows</type> | |
| 405 | + <description/> | |
| 406 | + <distribute>Y</distribute> | |
| 407 | + <custom_distribution/> | |
| 408 | + <copies>1</copies> | |
| 409 | + <partitioning> | |
| 410 | + <method>none</method> | |
| 411 | + <schema_name/> | |
| 412 | + </partitioning> | |
| 413 | +<send_true_to/> | |
| 414 | +<send_false_to/> | |
| 415 | + <compare> | |
| 416 | +<condition> | |
| 417 | + <negated>N</negated> | |
| 418 | + <conditions> | |
| 419 | + <condition> | |
| 420 | + <negated>N</negated> | |
| 421 | + <leftvalue>fgs_code</leftvalue> | |
| 422 | + <function>IS NOT NULL</function> | |
| 423 | + <rightvalue/> | |
| 424 | + </condition> | |
| 425 | + </conditions> | |
| 426 | + </condition> | |
| 427 | + </compare> | |
| 428 | + <cluster_schema/> | |
| 429 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 430 | + <xloc>685</xloc> | |
| 431 | + <yloc>162</yloc> | |
| 432 | + <draw>Y</draw> | |
| 433 | + </GUI> | |
| 434 | + </step> | |
| 435 | + | |
| 436 | + <step> | |
| 437 | + <name>分公司查询</name> | |
| 438 | + <type>DBLookup</type> | |
| 439 | + <description/> | |
| 440 | + <distribute>Y</distribute> | |
| 441 | + <custom_distribution/> | |
| 442 | + <copies>1</copies> | |
| 443 | + <partitioning> | |
| 444 | + <method>none</method> | |
| 445 | + <schema_name/> | |
| 446 | + </partitioning> | |
| 447 | + <connection>bus_control_variable</connection> | |
| 448 | + <cache>N</cache> | |
| 449 | + <cache_load_all>N</cache_load_all> | |
| 450 | + <cache_size>0</cache_size> | |
| 451 | + <lookup> | |
| 452 | + <schema/> | |
| 453 | + <table>bsth_c_business</table> | |
| 454 | + <orderby/> | |
| 455 | + <fail_on_multiple>N</fail_on_multiple> | |
| 456 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 457 | + <key> | |
| 458 | + <name>gs_code</name> | |
| 459 | + <field>up_code</field> | |
| 460 | + <condition>=</condition> | |
| 461 | + <name2/> | |
| 462 | + </key> | |
| 463 | + <key> | |
| 464 | + <name>所属分公司</name> | |
| 465 | + <field>business_name</field> | |
| 466 | + <condition>=</condition> | |
| 467 | + <name2/> | |
| 468 | + </key> | |
| 469 | + <value> | |
| 470 | + <name>business_code</name> | |
| 471 | + <rename>fgs_code</rename> | |
| 472 | + <default/> | |
| 473 | + <type>String</type> | |
| 474 | + </value> | |
| 475 | + </lookup> | |
| 476 | + <cluster_schema/> | |
| 477 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 478 | + <xloc>683</xloc> | |
| 479 | + <yloc>59</yloc> | |
| 480 | + <draw>Y</draw> | |
| 481 | + </GUI> | |
| 482 | + </step> | |
| 483 | + | |
| 484 | + <step> | |
| 485 | + <name>原始系统导出的Excel输入</name> | |
| 486 | + <type>ExcelInput</type> | |
| 487 | + <description/> | |
| 488 | + <distribute>Y</distribute> | |
| 489 | + <custom_distribution/> | |
| 490 | + <copies>1</copies> | |
| 491 | + <partitioning> | |
| 492 | + <method>none</method> | |
| 493 | + <schema_name/> | |
| 494 | + </partitioning> | |
| 495 | + <header>Y</header> | |
| 496 | + <noempty>Y</noempty> | |
| 497 | + <stoponempty>N</stoponempty> | |
| 498 | + <filefield/> | |
| 499 | + <sheetfield/> | |
| 500 | + <sheetrownumfield/> | |
| 501 | + <rownumfield/> | |
| 502 | + <sheetfield/> | |
| 503 | + <filefield/> | |
| 504 | + <limit>0</limit> | |
| 505 | + <encoding/> | |
| 506 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 507 | + <accept_filenames>Y</accept_filenames> | |
| 508 | + <accept_field>filepath_</accept_field> | |
| 509 | + <accept_stepname>获取变量</accept_stepname> | |
| 510 | + <file> | |
| 511 | + <name/> | |
| 512 | + <filemask/> | |
| 513 | + <exclude_filemask/> | |
| 514 | + <file_required>N</file_required> | |
| 515 | + <include_subfolders>N</include_subfolders> | |
| 516 | + </file> | |
| 517 | + <fields> | |
| 518 | + <field> | |
| 519 | + <name>车牌号</name> | |
| 520 | + <type>String</type> | |
| 521 | + <length>-1</length> | |
| 522 | + <precision>-1</precision> | |
| 523 | + <trim_type>none</trim_type> | |
| 524 | + <repeat>N</repeat> | |
| 525 | + <format/> | |
| 526 | + <currency/> | |
| 527 | + <decimal/> | |
| 528 | + <group/> | |
| 529 | + </field> | |
| 530 | + <field> | |
| 531 | + <name>内部编码</name> | |
| 532 | + <type>String</type> | |
| 533 | + <length>-1</length> | |
| 534 | + <precision>-1</precision> | |
| 535 | + <trim_type>none</trim_type> | |
| 536 | + <repeat>N</repeat> | |
| 537 | + <format/> | |
| 538 | + <currency/> | |
| 539 | + <decimal/> | |
| 540 | + <group/> | |
| 541 | + </field> | |
| 542 | + <field> | |
| 543 | + <name>所属公司</name> | |
| 544 | + <type>String</type> | |
| 545 | + <length>-1</length> | |
| 546 | + <precision>-1</precision> | |
| 547 | + <trim_type>none</trim_type> | |
| 548 | + <repeat>N</repeat> | |
| 549 | + <format/> | |
| 550 | + <currency/> | |
| 551 | + <decimal/> | |
| 552 | + <group/> | |
| 553 | + </field> | |
| 554 | + <field> | |
| 555 | + <name>所属分公司</name> | |
| 556 | + <type>String</type> | |
| 557 | + <length>-1</length> | |
| 558 | + <precision>-1</precision> | |
| 559 | + <trim_type>none</trim_type> | |
| 560 | + <repeat>N</repeat> | |
| 561 | + <format/> | |
| 562 | + <currency/> | |
| 563 | + <decimal/> | |
| 564 | + <group/> | |
| 565 | + </field> | |
| 566 | + <field> | |
| 567 | + <name>设备供应厂商</name> | |
| 568 | + <type>String</type> | |
| 569 | + <length>-1</length> | |
| 570 | + <precision>-1</precision> | |
| 571 | + <trim_type>none</trim_type> | |
| 572 | + <repeat>N</repeat> | |
| 573 | + <format/> | |
| 574 | + <currency/> | |
| 575 | + <decimal/> | |
| 576 | + <group/> | |
| 577 | + </field> | |
| 578 | + <field> | |
| 579 | + <name>设备终端号</name> | |
| 580 | + <type>String</type> | |
| 581 | + <length>-1</length> | |
| 582 | + <precision>-1</precision> | |
| 583 | + <trim_type>none</trim_type> | |
| 584 | + <repeat>N</repeat> | |
| 585 | + <format/> | |
| 586 | + <currency/> | |
| 587 | + <decimal/> | |
| 588 | + <group/> | |
| 589 | + </field> | |
| 590 | + <field> | |
| 591 | + <name>是否电车</name> | |
| 592 | + <type>String</type> | |
| 593 | + <length>-1</length> | |
| 594 | + <precision>-1</precision> | |
| 595 | + <trim_type>none</trim_type> | |
| 596 | + <repeat>N</repeat> | |
| 597 | + <format/> | |
| 598 | + <currency/> | |
| 599 | + <decimal/> | |
| 600 | + <group/> | |
| 601 | + </field> | |
| 602 | + </fields> | |
| 603 | + <sheets> | |
| 604 | + <sheet> | |
| 605 | + <name>工作表1</name> | |
| 606 | + <startrow>0</startrow> | |
| 607 | + <startcol>0</startcol> | |
| 608 | + </sheet> | |
| 609 | + </sheets> | |
| 610 | + <strict_types>N</strict_types> | |
| 611 | + <error_ignored>N</error_ignored> | |
| 612 | + <error_line_skipped>N</error_line_skipped> | |
| 613 | + <bad_line_files_destination_directory/> | |
| 614 | + <bad_line_files_extension>warning</bad_line_files_extension> | |
| 615 | + <error_line_files_destination_directory/> | |
| 616 | + <error_line_files_extension>error</error_line_files_extension> | |
| 617 | + <line_number_files_destination_directory/> | |
| 618 | + <line_number_files_extension>line</line_number_files_extension> | |
| 619 | + <shortFileFieldName/> | |
| 620 | + <pathFieldName/> | |
| 621 | + <hiddenFieldName/> | |
| 622 | + <lastModificationTimeFieldName/> | |
| 623 | + <uriNameFieldName/> | |
| 624 | + <rootUriNameFieldName/> | |
| 625 | + <extensionFieldName/> | |
| 626 | + <sizeFieldName/> | |
| 627 | + <spreadsheet_type>JXL</spreadsheet_type> | |
| 628 | + <cluster_schema/> | |
| 629 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 630 | + <xloc>218</xloc> | |
| 631 | + <yloc>59</yloc> | |
| 632 | + <draw>Y</draw> | |
| 633 | + </GUI> | |
| 634 | + </step> | |
| 635 | + | |
| 636 | + <step> | |
| 637 | + <name>插入/更新bsth_c_cars 2</name> | |
| 638 | + <type>InsertUpdate</type> | |
| 639 | + <description/> | |
| 640 | + <distribute>Y</distribute> | |
| 641 | + <custom_distribution/> | |
| 642 | + <copies>1</copies> | |
| 643 | + <partitioning> | |
| 644 | + <method>none</method> | |
| 645 | + <schema_name/> | |
| 646 | + </partitioning> | |
| 647 | + <connection>bus_control_variable</connection> | |
| 648 | + <commit>500</commit> | |
| 649 | + <update_bypassed>N</update_bypassed> | |
| 650 | + <lookup> | |
| 651 | + <schema/> | |
| 652 | + <table>bsth_c_cars</table> | |
| 653 | + <key> | |
| 654 | + <name>内部编码</name> | |
| 655 | + <field>inside_code</field> | |
| 656 | + <condition>=</condition> | |
| 657 | + <name2/> | |
| 658 | + </key> | |
| 659 | + <value> | |
| 660 | + <name>car_plate</name> | |
| 661 | + <rename>车牌号</rename> | |
| 662 | + <update>Y</update> | |
| 663 | + </value> | |
| 664 | + <value> | |
| 665 | + <name>car_code</name> | |
| 666 | + <rename>cl_code</rename> | |
| 667 | + <update>Y</update> | |
| 668 | + </value> | |
| 669 | + <value> | |
| 670 | + <name>inside_code</name> | |
| 671 | + <rename>内部编码</rename> | |
| 672 | + <update>Y</update> | |
| 673 | + </value> | |
| 674 | + <value> | |
| 675 | + <name>company</name> | |
| 676 | + <rename>所属公司</rename> | |
| 677 | + <update>Y</update> | |
| 678 | + </value> | |
| 679 | + <value> | |
| 680 | + <name>business_code</name> | |
| 681 | + <rename>gs_code</rename> | |
| 682 | + <update>Y</update> | |
| 683 | + </value> | |
| 684 | + <value> | |
| 685 | + <name>branche_company</name> | |
| 686 | + <rename>所属分公司</rename> | |
| 687 | + <update>Y</update> | |
| 688 | + </value> | |
| 689 | + <value> | |
| 690 | + <name>branche_company_code</name> | |
| 691 | + <rename>fgs_code</rename> | |
| 692 | + <update>Y</update> | |
| 693 | + </value> | |
| 694 | + <value> | |
| 695 | + <name>supplier_name</name> | |
| 696 | + <rename>设备供应厂商</rename> | |
| 697 | + <update>Y</update> | |
| 698 | + </value> | |
| 699 | + <value> | |
| 700 | + <name>equipment_code</name> | |
| 701 | + <rename>设备终端号</rename> | |
| 702 | + <update>Y</update> | |
| 703 | + </value> | |
| 704 | + <value> | |
| 705 | + <name>sfdc</name> | |
| 706 | + <rename>sfdc_cal</rename> | |
| 707 | + <update>Y</update> | |
| 708 | + </value> | |
| 709 | + </lookup> | |
| 710 | + <cluster_schema/> | |
| 711 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 712 | + <xloc>561</xloc> | |
| 713 | + <yloc>359</yloc> | |
| 714 | + <draw>Y</draw> | |
| 715 | + </GUI> | |
| 716 | + </step> | |
| 717 | + | |
| 718 | + <step> | |
| 719 | + <name>添加查询常量</name> | |
| 720 | + <type>ScriptValueMod</type> | |
| 721 | + <description/> | |
| 722 | + <distribute>Y</distribute> | |
| 723 | + <custom_distribution/> | |
| 724 | + <copies>1</copies> | |
| 725 | + <partitioning> | |
| 726 | + <method>none</method> | |
| 727 | + <schema_name/> | |
| 728 | + </partitioning> | |
| 729 | + <compatible>N</compatible> | |
| 730 | + <optimizationLevel>9</optimizationLevel> | |
| 731 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 732 | + <jsScript_name>Script 1</jsScript_name> | |
| 733 | + <jsScript_script>//Script here

var up_code = '88';</jsScript_script> | |
| 734 | + </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 735 | + <rename>up_code</rename> | |
| 736 | + <type>String</type> | |
| 737 | + <length>-1</length> | |
| 738 | + <precision>-1</precision> | |
| 739 | + <replace>N</replace> | |
| 740 | + </field> </fields> <cluster_schema/> | |
| 741 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 742 | + <xloc>389</xloc> | |
| 743 | + <yloc>61</yloc> | |
| 744 | + <draw>Y</draw> | |
| 745 | + </GUI> | |
| 746 | + </step> | |
| 747 | + | |
| 748 | + <step> | |
| 749 | + <name>获取变量</name> | |
| 750 | + <type>GetVariable</type> | |
| 751 | + <description/> | |
| 752 | + <distribute>Y</distribute> | |
| 753 | + <custom_distribution/> | |
| 754 | + <copies>1</copies> | |
| 755 | + <partitioning> | |
| 756 | + <method>none</method> | |
| 757 | + <schema_name/> | |
| 758 | + </partitioning> | |
| 759 | + <fields> | |
| 760 | + <field> | |
| 761 | + <name>filepath_</name> | |
| 762 | + <variable>${filepath}</variable> | |
| 763 | + <type>String</type> | |
| 764 | + <format/> | |
| 765 | + <currency/> | |
| 766 | + <decimal/> | |
| 767 | + <group/> | |
| 768 | + <length>-1</length> | |
| 769 | + <precision>-1</precision> | |
| 770 | + <trim_type>none</trim_type> | |
| 771 | + </field> | |
| 772 | + <field> | |
| 773 | + <name>erroroutputdir_</name> | |
| 774 | + <variable>${erroroutputdir}</variable> | |
| 775 | + <type>String</type> | |
| 776 | + <format/> | |
| 777 | + <currency/> | |
| 778 | + <decimal/> | |
| 779 | + <group/> | |
| 780 | + <length>-1</length> | |
| 781 | + <precision>-1</precision> | |
| 782 | + <trim_type>none</trim_type> | |
| 783 | + </field> | |
| 784 | + </fields> | |
| 785 | + <cluster_schema/> | |
| 786 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 787 | + <xloc>70</xloc> | |
| 788 | + <yloc>59</yloc> | |
| 789 | + <draw>Y</draw> | |
| 790 | + </GUI> | |
| 791 | + </step> | |
| 792 | + | |
| 793 | + <step> | |
| 794 | + <name>车辆编码</name> | |
| 795 | + <type>ScriptValueMod</type> | |
| 796 | + <description/> | |
| 797 | + <distribute>Y</distribute> | |
| 798 | + <custom_distribution/> | |
| 799 | + <copies>1</copies> | |
| 800 | + <partitioning> | |
| 801 | + <method>none</method> | |
| 802 | + <schema_name/> | |
| 803 | + </partitioning> | |
| 804 | + <compatible>N</compatible> | |
| 805 | + <optimizationLevel>9</optimizationLevel> | |
| 806 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 807 | + <jsScript_name>Script 1</jsScript_name> | |
| 808 | + <jsScript_script>//Script here

var cl_code = gs_code + "0" + 内部编码;</jsScript_script> | |
| 809 | + </jsScript> </jsScripts> <fields> <field> <name>cl_code</name> | |
| 810 | + <rename>cl_code</rename> | |
| 811 | + <type>String</type> | |
| 812 | + <length>-1</length> | |
| 813 | + <precision>-1</precision> | |
| 814 | + <replace>N</replace> | |
| 815 | + </field> </fields> <cluster_schema/> | |
| 816 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 817 | + <xloc>688</xloc> | |
| 818 | + <yloc>273</yloc> | |
| 819 | + <draw>Y</draw> | |
| 820 | + </GUI> | |
| 821 | + </step> | |
| 822 | + | |
| 823 | + <step> | |
| 824 | + <name>错误输出 2</name> | |
| 825 | + <type>ExcelOutput</type> | |
| 826 | + <description/> | |
| 827 | + <distribute>Y</distribute> | |
| 828 | + <custom_distribution/> | |
| 829 | + <copies>1</copies> | |
| 830 | + <partitioning> | |
| 831 | + <method>none</method> | |
| 832 | + <schema_name/> | |
| 833 | + </partitioning> | |
| 834 | + <header>Y</header> | |
| 835 | + <footer>N</footer> | |
| 836 | + <encoding/> | |
| 837 | + <append>N</append> | |
| 838 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 839 | + <file> | |
| 840 | + <name>${erroroutputdir}/车辆基础信息_错误</name> | |
| 841 | + <extention>xls</extention> | |
| 842 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 843 | + <create_parent_folder>N</create_parent_folder> | |
| 844 | + <split>N</split> | |
| 845 | + <add_date>N</add_date> | |
| 846 | + <add_time>N</add_time> | |
| 847 | + <SpecifyFormat>N</SpecifyFormat> | |
| 848 | + <date_time_format/> | |
| 849 | + <sheetname>Sheet1</sheetname> | |
| 850 | + <autosizecolums>N</autosizecolums> | |
| 851 | + <nullisblank>N</nullisblank> | |
| 852 | + <protect_sheet>N</protect_sheet> | |
| 853 | + <password>Encrypted </password> | |
| 854 | + <splitevery>0</splitevery> | |
| 855 | + <usetempfiles>N</usetempfiles> | |
| 856 | + <tempdirectory/> | |
| 857 | + </file> | |
| 858 | + <template> | |
| 859 | + <enabled>N</enabled> | |
| 860 | + <append>N</append> | |
| 861 | + <filename>template.xls</filename> | |
| 862 | + </template> | |
| 863 | + <fields> | |
| 864 | + <field> | |
| 865 | + <name>车牌号</name> | |
| 866 | + <type>String</type> | |
| 867 | + <format/> | |
| 868 | + </field> | |
| 869 | + <field> | |
| 870 | + <name>内部编码</name> | |
| 871 | + <type>String</type> | |
| 872 | + <format/> | |
| 873 | + </field> | |
| 874 | + <field> | |
| 875 | + <name>所属公司</name> | |
| 876 | + <type>String</type> | |
| 877 | + <format/> | |
| 878 | + </field> | |
| 879 | + <field> | |
| 880 | + <name>所属分公司</name> | |
| 881 | + <type>String</type> | |
| 882 | + <format/> | |
| 883 | + </field> | |
| 884 | + <field> | |
| 885 | + <name>设备供应厂商</name> | |
| 886 | + <type>String</type> | |
| 887 | + <format/> | |
| 888 | + </field> | |
| 889 | + <field> | |
| 890 | + <name>设备终端号</name> | |
| 891 | + <type>String</type> | |
| 892 | + <format/> | |
| 893 | + </field> | |
| 894 | + <field> | |
| 895 | + <name>error_count</name> | |
| 896 | + <type>Integer</type> | |
| 897 | + <format/> | |
| 898 | + </field> | |
| 899 | + <field> | |
| 900 | + <name>error_desc</name> | |
| 901 | + <type>String</type> | |
| 902 | + <format/> | |
| 903 | + </field> | |
| 904 | + <field> | |
| 905 | + <name>error_column1</name> | |
| 906 | + <type>String</type> | |
| 907 | + <format/> | |
| 908 | + </field> | |
| 909 | + <field> | |
| 910 | + <name>error_column2</name> | |
| 911 | + <type>String</type> | |
| 912 | + <format/> | |
| 913 | + </field> | |
| 914 | + </fields> | |
| 915 | + <custom> | |
| 916 | + <header_font_name>arial</header_font_name> | |
| 917 | + <header_font_size>10</header_font_size> | |
| 918 | + <header_font_bold>N</header_font_bold> | |
| 919 | + <header_font_italic>N</header_font_italic> | |
| 920 | + <header_font_underline>no</header_font_underline> | |
| 921 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 922 | + <header_font_color>black</header_font_color> | |
| 923 | + <header_background_color>none</header_background_color> | |
| 924 | + <header_row_height>255</header_row_height> | |
| 925 | + <header_alignment>left</header_alignment> | |
| 926 | + <header_image/> | |
| 927 | + <row_font_name>arial</row_font_name> | |
| 928 | + <row_font_size>10</row_font_size> | |
| 929 | + <row_font_color>black</row_font_color> | |
| 930 | + <row_background_color>none</row_background_color> | |
| 931 | + </custom> | |
| 932 | + <cluster_schema/> | |
| 933 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 934 | + <xloc>373</xloc> | |
| 935 | + <yloc>361</yloc> | |
| 936 | + <draw>Y</draw> | |
| 937 | + </GUI> | |
| 938 | + </step> | |
| 939 | + | |
| 940 | + <step> | |
| 941 | + <name>是否电车</name> | |
| 942 | + <type>ScriptValueMod</type> | |
| 943 | + <description/> | |
| 944 | + <distribute>Y</distribute> | |
| 945 | + <custom_distribution/> | |
| 946 | + <copies>1</copies> | |
| 947 | + <partitioning> | |
| 948 | + <method>none</method> | |
| 949 | + <schema_name/> | |
| 950 | + </partitioning> | |
| 951 | + <compatible>N</compatible> | |
| 952 | + <optimizationLevel>9</optimizationLevel> | |
| 953 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 954 | + <jsScript_name>Script 1</jsScript_name> | |
| 955 | + <jsScript_script>//Script here

var sfdc_cal = 0;

if (是否电车 == "是") {
 sfdc_cal = 1;
}</jsScript_script> | |
| 956 | + </jsScript> </jsScripts> <fields> <field> <name>sfdc_cal</name> | |
| 957 | + <rename>sfdc_cal</rename> | |
| 958 | + <type>Integer</type> | |
| 959 | + <length>16</length> | |
| 960 | + <precision>2</precision> | |
| 961 | + <replace>N</replace> | |
| 962 | + </field> </fields> <cluster_schema/> | |
| 963 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 964 | + <xloc>888</xloc> | |
| 965 | + <yloc>273</yloc> | |
| 966 | + <draw>Y</draw> | |
| 967 | + </GUI> | |
| 968 | + </step> | |
| 969 | + | |
| 970 | + <step_error_handling> | |
| 971 | + <error> | |
| 972 | + <source_step>插入/更新bsth_c_cars 2</source_step> | |
| 973 | + <target_step>错误输出 2</target_step> | |
| 974 | + <is_enabled>Y</is_enabled> | |
| 975 | + <nr_valuename>error_count</nr_valuename> | |
| 976 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 977 | + <fields_valuename>error_column1</fields_valuename> | |
| 978 | + <codes_valuename>error_column2</codes_valuename> | |
| 979 | + <max_errors/> | |
| 980 | + <max_pct_errors/> | |
| 981 | + <min_pct_rows/> | |
| 982 | + </error> | |
| 983 | + </step_error_handling> | |
| 984 | + <slave-step-copy-partition-distribution> | |
| 985 | +</slave-step-copy-partition-distribution> | |
| 986 | + <slave_transformation>N</slave_transformation> | |
| 987 | + | |
| 988 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/carsDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>车辆信息导出</name> | |
| 5 | - <description>车辆信息导出</description> | |
| 6 | - <extended_description>车辆基础信息</extended_description> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>cgsbm_in</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>分公司编码</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value/> | |
| 20 | - <description>excel文件路径</description> | |
| 21 | - </parameter> | |
| 22 | - </parameters> | |
| 23 | - <log> | |
| 24 | -<trans-log-table><connection/> | |
| 25 | -<schema/> | |
| 26 | -<table/> | |
| 27 | -<size_limit_lines/> | |
| 28 | -<interval/> | |
| 29 | -<timeout_days/> | |
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | -<perf-log-table><connection/> | |
| 32 | -<schema/> | |
| 33 | -<table/> | |
| 34 | -<interval/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | -<channel-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | -<step-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | -<metrics-log-table><connection/> | |
| 48 | -<schema/> | |
| 49 | -<table/> | |
| 50 | -<timeout_days/> | |
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | - </log> | |
| 53 | - <maxdate> | |
| 54 | - <connection/> | |
| 55 | - <table/> | |
| 56 | - <field/> | |
| 57 | - <offset>0.0</offset> | |
| 58 | - <maxdiff>0.0</maxdiff> | |
| 59 | - </maxdate> | |
| 60 | - <size_rowset>10000</size_rowset> | |
| 61 | - <sleep_time_empty>50</sleep_time_empty> | |
| 62 | - <sleep_time_full>50</sleep_time_full> | |
| 63 | - <unique_connections>N</unique_connections> | |
| 64 | - <feedback_shown>Y</feedback_shown> | |
| 65 | - <feedback_size>50000</feedback_size> | |
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | - <shared_objects_file/> | |
| 68 | - <capture_step_performance>N</capture_step_performance> | |
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | - <dependencies> | |
| 72 | - </dependencies> | |
| 73 | - <partitionschemas> | |
| 74 | - </partitionschemas> | |
| 75 | - <slaveservers> | |
| 76 | - </slaveservers> | |
| 77 | - <clusterschemas> | |
| 78 | - </clusterschemas> | |
| 79 | - <created_user>-</created_user> | |
| 80 | - <created_date>2016/08/05 16:42:22.753</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2016/08/05 16:42:22.753</modified_date> | |
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | - <is_key_private>N</is_key_private> | |
| 85 | - </info> | |
| 86 | - <notepads> | |
| 87 | - </notepads> | |
| 88 | - <connection> | |
| 89 | - <name>192.168.168.1_jwgl_dw</name> | |
| 90 | - <server>192.168.168.1</server> | |
| 91 | - <type>ORACLE</type> | |
| 92 | - <access>Native</access> | |
| 93 | - <database>orcl</database> | |
| 94 | - <port>1521</port> | |
| 95 | - <username>jwgl_dw</username> | |
| 96 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | - <servername/> | |
| 98 | - <data_tablespace/> | |
| 99 | - <index_tablespace/> | |
| 100 | - <attributes> | |
| 101 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | - </attributes> | |
| 111 | - </connection> | |
| 112 | - <connection> | |
| 113 | - <name>bus_control_variable</name> | |
| 114 | - <server>${v_db_ip}</server> | |
| 115 | - <type>MYSQL</type> | |
| 116 | - <access>Native</access> | |
| 117 | - <database>${v_db_dname}</database> | |
| 118 | - <port>3306</port> | |
| 119 | - <username>${v_db_uname}</username> | |
| 120 | - <password>${v_db_pwd}</password> | |
| 121 | - <servername/> | |
| 122 | - <data_tablespace/> | |
| 123 | - <index_tablespace/> | |
| 124 | - <attributes> | |
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | - </attributes> | |
| 139 | - </connection> | |
| 140 | - <connection> | |
| 141 | - <name>bus_control_公司_201</name> | |
| 142 | - <server>localhost</server> | |
| 143 | - <type>MYSQL</type> | |
| 144 | - <access>Native</access> | |
| 145 | - <database>control</database> | |
| 146 | - <port>3306</port> | |
| 147 | - <username>root</username> | |
| 148 | - <password>Encrypted </password> | |
| 149 | - <servername/> | |
| 150 | - <data_tablespace/> | |
| 151 | - <index_tablespace/> | |
| 152 | - <attributes> | |
| 153 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | - </attributes> | |
| 166 | - </connection> | |
| 167 | - <connection> | |
| 168 | - <name>bus_control_本机</name> | |
| 169 | - <server>localhost</server> | |
| 170 | - <type>MYSQL</type> | |
| 171 | - <access>Native</access> | |
| 172 | - <database>control</database> | |
| 173 | - <port>3306</port> | |
| 174 | - <username>root</username> | |
| 175 | - <password>Encrypted </password> | |
| 176 | - <servername/> | |
| 177 | - <data_tablespace/> | |
| 178 | - <index_tablespace/> | |
| 179 | - <attributes> | |
| 180 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | - </attributes> | |
| 193 | - </connection> | |
| 194 | - <connection> | |
| 195 | - <name>xlab_mysql_youle</name> | |
| 196 | - <server>101.231.124.8</server> | |
| 197 | - <type>MYSQL</type> | |
| 198 | - <access>Native</access> | |
| 199 | - <database>xlab_youle</database> | |
| 200 | - <port>45687</port> | |
| 201 | - <username>xlab-youle</username> | |
| 202 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | - <servername/> | |
| 204 | - <data_tablespace/> | |
| 205 | - <index_tablespace/> | |
| 206 | - <attributes> | |
| 207 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | - </attributes> | |
| 220 | - </connection> | |
| 221 | - <connection> | |
| 222 | - <name>xlab_mysql_youle(本机)</name> | |
| 223 | - <server>localhost</server> | |
| 224 | - <type>MYSQL</type> | |
| 225 | - <access>Native</access> | |
| 226 | - <database>xlab_youle</database> | |
| 227 | - <port>3306</port> | |
| 228 | - <username>root</username> | |
| 229 | - <password>Encrypted </password> | |
| 230 | - <servername/> | |
| 231 | - <data_tablespace/> | |
| 232 | - <index_tablespace/> | |
| 233 | - <attributes> | |
| 234 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | - </attributes> | |
| 247 | - </connection> | |
| 248 | - <connection> | |
| 249 | - <name>xlab_youle</name> | |
| 250 | - <server/> | |
| 251 | - <type>MYSQL</type> | |
| 252 | - <access>JNDI</access> | |
| 253 | - <database>xlab_youle</database> | |
| 254 | - <port>1521</port> | |
| 255 | - <username/> | |
| 256 | - <password>Encrypted </password> | |
| 257 | - <servername/> | |
| 258 | - <data_tablespace/> | |
| 259 | - <index_tablespace/> | |
| 260 | - <attributes> | |
| 261 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | - </attributes> | |
| 272 | - </connection> | |
| 273 | - <order> | |
| 274 | - <hop> <from>公司查询</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>分公司查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>车辆信息表输入</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>字段选择</from><to>是否电车</to><enabled>Y</enabled> </hop> | |
| 279 | - <hop> <from>是否电车</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 280 | - </order> | |
| 281 | - <step> | |
| 282 | - <name>Excel输出</name> | |
| 283 | - <type>ExcelOutput</type> | |
| 284 | - <description/> | |
| 285 | - <distribute>Y</distribute> | |
| 286 | - <custom_distribution/> | |
| 287 | - <copies>1</copies> | |
| 288 | - <partitioning> | |
| 289 | - <method>none</method> | |
| 290 | - <schema_name/> | |
| 291 | - </partitioning> | |
| 292 | - <header>Y</header> | |
| 293 | - <footer>N</footer> | |
| 294 | - <encoding/> | |
| 295 | - <append>N</append> | |
| 296 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 297 | - <file> | |
| 298 | - <name>${filepath}</name> | |
| 299 | - <extention>xls</extention> | |
| 300 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 301 | - <create_parent_folder>N</create_parent_folder> | |
| 302 | - <split>N</split> | |
| 303 | - <add_date>N</add_date> | |
| 304 | - <add_time>N</add_time> | |
| 305 | - <SpecifyFormat>N</SpecifyFormat> | |
| 306 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 307 | - <sheetname>工作表1</sheetname> | |
| 308 | - <autosizecolums>N</autosizecolums> | |
| 309 | - <nullisblank>N</nullisblank> | |
| 310 | - <protect_sheet>N</protect_sheet> | |
| 311 | - <password>Encrypted </password> | |
| 312 | - <splitevery>0</splitevery> | |
| 313 | - <usetempfiles>N</usetempfiles> | |
| 314 | - <tempdirectory/> | |
| 315 | - </file> | |
| 316 | - <template> | |
| 317 | - <enabled>N</enabled> | |
| 318 | - <append>N</append> | |
| 319 | - <filename>template.xls</filename> | |
| 320 | - </template> | |
| 321 | - <fields> | |
| 322 | - <field> | |
| 323 | - <name>车牌号</name> | |
| 324 | - <type>String</type> | |
| 325 | - <format/> | |
| 326 | - </field> | |
| 327 | - <field> | |
| 328 | - <name>内部编码</name> | |
| 329 | - <type>String</type> | |
| 330 | - <format/> | |
| 331 | - </field> | |
| 332 | - <field> | |
| 333 | - <name>所属公司</name> | |
| 334 | - <type>String</type> | |
| 335 | - <format/> | |
| 336 | - </field> | |
| 337 | - <field> | |
| 338 | - <name>所属分公司</name> | |
| 339 | - <type>String</type> | |
| 340 | - <format/> | |
| 341 | - </field> | |
| 342 | - <field> | |
| 343 | - <name>设备供应厂商</name> | |
| 344 | - <type>String</type> | |
| 345 | - <format/> | |
| 346 | - </field> | |
| 347 | - <field> | |
| 348 | - <name>设备终端号</name> | |
| 349 | - <type>String</type> | |
| 350 | - <format/> | |
| 351 | - </field> | |
| 352 | - <field> | |
| 353 | - <name>是否电车</name> | |
| 354 | - <type>String</type> | |
| 355 | - <format/> | |
| 356 | - </field> | |
| 357 | - </fields> | |
| 358 | - <custom> | |
| 359 | - <header_font_name>arial</header_font_name> | |
| 360 | - <header_font_size>10</header_font_size> | |
| 361 | - <header_font_bold>N</header_font_bold> | |
| 362 | - <header_font_italic>N</header_font_italic> | |
| 363 | - <header_font_underline>no</header_font_underline> | |
| 364 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 365 | - <header_font_color>black</header_font_color> | |
| 366 | - <header_background_color>none</header_background_color> | |
| 367 | - <header_row_height>255</header_row_height> | |
| 368 | - <header_alignment>left</header_alignment> | |
| 369 | - <header_image/> | |
| 370 | - <row_font_name>arial</row_font_name> | |
| 371 | - <row_font_size>10</row_font_size> | |
| 372 | - <row_font_color>black</row_font_color> | |
| 373 | - <row_background_color>none</row_background_color> | |
| 374 | - </custom> | |
| 375 | - <cluster_schema/> | |
| 376 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 377 | - <xloc>498</xloc> | |
| 378 | - <yloc>348</yloc> | |
| 379 | - <draw>Y</draw> | |
| 380 | - </GUI> | |
| 381 | - </step> | |
| 382 | - | |
| 383 | - <step> | |
| 384 | - <name>公司查询</name> | |
| 385 | - <type>DBLookup</type> | |
| 386 | - <description/> | |
| 387 | - <distribute>Y</distribute> | |
| 388 | - <custom_distribution/> | |
| 389 | - <copies>1</copies> | |
| 390 | - <partitioning> | |
| 391 | - <method>none</method> | |
| 392 | - <schema_name/> | |
| 393 | - </partitioning> | |
| 394 | - <connection>bus_control_variable</connection> | |
| 395 | - <cache>N</cache> | |
| 396 | - <cache_load_all>N</cache_load_all> | |
| 397 | - <cache_size>0</cache_size> | |
| 398 | - <lookup> | |
| 399 | - <schema/> | |
| 400 | - <table>bsth_c_business</table> | |
| 401 | - <orderby/> | |
| 402 | - <fail_on_multiple>N</fail_on_multiple> | |
| 403 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 404 | - <key> | |
| 405 | - <name>up_code</name> | |
| 406 | - <field>up_code</field> | |
| 407 | - <condition>=</condition> | |
| 408 | - <name2/> | |
| 409 | - </key> | |
| 410 | - <key> | |
| 411 | - <name>business_code</name> | |
| 412 | - <field>business_code</field> | |
| 413 | - <condition>=</condition> | |
| 414 | - <name2/> | |
| 415 | - </key> | |
| 416 | - <value> | |
| 417 | - <name>business_name</name> | |
| 418 | - <rename>gs</rename> | |
| 419 | - <default/> | |
| 420 | - <type>String</type> | |
| 421 | - </value> | |
| 422 | - </lookup> | |
| 423 | - <cluster_schema/> | |
| 424 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 425 | - <xloc>364</xloc> | |
| 426 | - <yloc>60</yloc> | |
| 427 | - <draw>Y</draw> | |
| 428 | - </GUI> | |
| 429 | - </step> | |
| 430 | - | |
| 431 | - <step> | |
| 432 | - <name>分公司查询</name> | |
| 433 | - <type>DBLookup</type> | |
| 434 | - <description/> | |
| 435 | - <distribute>Y</distribute> | |
| 436 | - <custom_distribution/> | |
| 437 | - <copies>1</copies> | |
| 438 | - <partitioning> | |
| 439 | - <method>none</method> | |
| 440 | - <schema_name/> | |
| 441 | - </partitioning> | |
| 442 | - <connection>bus_control_variable</connection> | |
| 443 | - <cache>N</cache> | |
| 444 | - <cache_load_all>N</cache_load_all> | |
| 445 | - <cache_size>0</cache_size> | |
| 446 | - <lookup> | |
| 447 | - <schema/> | |
| 448 | - <table>bsth_c_business</table> | |
| 449 | - <orderby/> | |
| 450 | - <fail_on_multiple>N</fail_on_multiple> | |
| 451 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 452 | - <key> | |
| 453 | - <name>business_code</name> | |
| 454 | - <field>up_code</field> | |
| 455 | - <condition>=</condition> | |
| 456 | - <name2/> | |
| 457 | - </key> | |
| 458 | - <key> | |
| 459 | - <name>branche_company_code</name> | |
| 460 | - <field>business_code</field> | |
| 461 | - <condition>=</condition> | |
| 462 | - <name2/> | |
| 463 | - </key> | |
| 464 | - <value> | |
| 465 | - <name>business_name</name> | |
| 466 | - <rename>fgs</rename> | |
| 467 | - <default/> | |
| 468 | - <type>String</type> | |
| 469 | - </value> | |
| 470 | - </lookup> | |
| 471 | - <cluster_schema/> | |
| 472 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 473 | - <xloc>491</xloc> | |
| 474 | - <yloc>60</yloc> | |
| 475 | - <draw>Y</draw> | |
| 476 | - </GUI> | |
| 477 | - </step> | |
| 478 | - | |
| 479 | - <step> | |
| 480 | - <name>字段选择</name> | |
| 481 | - <type>SelectValues</type> | |
| 482 | - <description/> | |
| 483 | - <distribute>Y</distribute> | |
| 484 | - <custom_distribution/> | |
| 485 | - <copies>1</copies> | |
| 486 | - <partitioning> | |
| 487 | - <method>none</method> | |
| 488 | - <schema_name/> | |
| 489 | - </partitioning> | |
| 490 | - <fields> <field> <name>car_plate</name> | |
| 491 | - <rename>车牌号</rename> | |
| 492 | - <length>-2</length> | |
| 493 | - <precision>-2</precision> | |
| 494 | - </field> <field> <name>inside_code</name> | |
| 495 | - <rename>内部编码</rename> | |
| 496 | - <length>-2</length> | |
| 497 | - <precision>-2</precision> | |
| 498 | - </field> <field> <name>gs</name> | |
| 499 | - <rename>所属公司</rename> | |
| 500 | - <length>-2</length> | |
| 501 | - <precision>-2</precision> | |
| 502 | - </field> <field> <name>fgs</name> | |
| 503 | - <rename>所属分公司</rename> | |
| 504 | - <length>-2</length> | |
| 505 | - <precision>-2</precision> | |
| 506 | - </field> <field> <name>supplier_name</name> | |
| 507 | - <rename>设备供应厂商</rename> | |
| 508 | - <length>-2</length> | |
| 509 | - <precision>-2</precision> | |
| 510 | - </field> <field> <name>equipment_code</name> | |
| 511 | - <rename>设备终端号</rename> | |
| 512 | - <length>-2</length> | |
| 513 | - <precision>-2</precision> | |
| 514 | - </field> <field> <name>sfdc</name> | |
| 515 | - <rename>sfdc_cal</rename> | |
| 516 | - <length>-2</length> | |
| 517 | - <precision>-2</precision> | |
| 518 | - </field> <select_unspecified>N</select_unspecified> | |
| 519 | - </fields> <cluster_schema/> | |
| 520 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 521 | - <xloc>495</xloc> | |
| 522 | - <yloc>173</yloc> | |
| 523 | - <draw>Y</draw> | |
| 524 | - </GUI> | |
| 525 | - </step> | |
| 526 | - | |
| 527 | - <step> | |
| 528 | - <name>添加查询常量</name> | |
| 529 | - <type>ScriptValueMod</type> | |
| 530 | - <description/> | |
| 531 | - <distribute>Y</distribute> | |
| 532 | - <custom_distribution/> | |
| 533 | - <copies>1</copies> | |
| 534 | - <partitioning> | |
| 535 | - <method>none</method> | |
| 536 | - <schema_name/> | |
| 537 | - </partitioning> | |
| 538 | - <compatible>N</compatible> | |
| 539 | - <optimizationLevel>9</optimizationLevel> | |
| 540 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 541 | - <jsScript_name>Script 1</jsScript_name> | |
| 542 | - <jsScript_script>//Script here

var up_code = '88';</jsScript_script> | |
| 543 | - </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 544 | - <rename>up_code</rename> | |
| 545 | - <type>String</type> | |
| 546 | - <length>-1</length> | |
| 547 | - <precision>-1</precision> | |
| 548 | - <replace>N</replace> | |
| 549 | - </field> </fields> <cluster_schema/> | |
| 550 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 551 | - <xloc>227</xloc> | |
| 552 | - <yloc>59</yloc> | |
| 553 | - <draw>Y</draw> | |
| 554 | - </GUI> | |
| 555 | - </step> | |
| 556 | - | |
| 557 | - <step> | |
| 558 | - <name>车辆信息表输入</name> | |
| 559 | - <type>TableInput</type> | |
| 560 | - <description/> | |
| 561 | - <distribute>Y</distribute> | |
| 562 | - <custom_distribution/> | |
| 563 | - <copies>1</copies> | |
| 564 | - <partitioning> | |
| 565 | - <method>none</method> | |
| 566 | - <schema_name/> | |
| 567 | - </partitioning> | |
| 568 | - <connection>bus_control_variable</connection> | |
| 569 | - <sql>SELECT * FROM bsth_c_cars

</sql> | |
| 570 | - <limit>0</limit> | |
| 571 | - <lookup/> | |
| 572 | - <execute_each_row>N</execute_each_row> | |
| 573 | - <variables_active>Y</variables_active> | |
| 574 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 575 | - <cluster_schema/> | |
| 576 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 577 | - <xloc>88</xloc> | |
| 578 | - <yloc>59</yloc> | |
| 579 | - <draw>Y</draw> | |
| 580 | - </GUI> | |
| 581 | - </step> | |
| 582 | - | |
| 583 | - <step> | |
| 584 | - <name>是否电车</name> | |
| 585 | - <type>ScriptValueMod</type> | |
| 586 | - <description/> | |
| 587 | - <distribute>Y</distribute> | |
| 588 | - <custom_distribution/> | |
| 589 | - <copies>1</copies> | |
| 590 | - <partitioning> | |
| 591 | - <method>none</method> | |
| 592 | - <schema_name/> | |
| 593 | - </partitioning> | |
| 594 | - <compatible>N</compatible> | |
| 595 | - <optimizationLevel>9</optimizationLevel> | |
| 596 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 597 | - <jsScript_name>Script 1</jsScript_name> | |
| 598 | - <jsScript_script>//Script here

var 是否电车 = "否";

if(sfdc_cal) {
 是否电车 = "是";
}
</jsScript_script> | |
| 599 | - </jsScript> </jsScripts> <fields> <field> <name>是否电车</name> | |
| 600 | - <rename>是否电车</rename> | |
| 601 | - <type>String</type> | |
| 602 | - <length>-1</length> | |
| 603 | - <precision>-1</precision> | |
| 604 | - <replace>N</replace> | |
| 605 | - </field> </fields> <cluster_schema/> | |
| 606 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 607 | - <xloc>695</xloc> | |
| 608 | - <yloc>173</yloc> | |
| 609 | - <draw>Y</draw> | |
| 610 | - </GUI> | |
| 611 | - </step> | |
| 612 | - | |
| 613 | - <step_error_handling> | |
| 614 | - </step_error_handling> | |
| 615 | - <slave-step-copy-partition-distribution> | |
| 616 | -</slave-step-copy-partition-distribution> | |
| 617 | - <slave_transformation>N</slave_transformation> | |
| 618 | - | |
| 619 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>车辆信息导出</name> | |
| 5 | + <description>车辆信息导出</description> | |
| 6 | + <extended_description>车辆基础信息</extended_description> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>cgsbm_in</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>分公司编码</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>excel文件路径</description> | |
| 21 | + </parameter> | |
| 22 | + </parameters> | |
| 23 | + <log> | |
| 24 | +<trans-log-table><connection/> | |
| 25 | +<schema/> | |
| 26 | +<table/> | |
| 27 | +<size_limit_lines/> | |
| 28 | +<interval/> | |
| 29 | +<timeout_days/> | |
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | +<perf-log-table><connection/> | |
| 32 | +<schema/> | |
| 33 | +<table/> | |
| 34 | +<interval/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | +<channel-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | +<step-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | +<metrics-log-table><connection/> | |
| 48 | +<schema/> | |
| 49 | +<table/> | |
| 50 | +<timeout_days/> | |
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | + </log> | |
| 53 | + <maxdate> | |
| 54 | + <connection/> | |
| 55 | + <table/> | |
| 56 | + <field/> | |
| 57 | + <offset>0.0</offset> | |
| 58 | + <maxdiff>0.0</maxdiff> | |
| 59 | + </maxdate> | |
| 60 | + <size_rowset>10000</size_rowset> | |
| 61 | + <sleep_time_empty>50</sleep_time_empty> | |
| 62 | + <sleep_time_full>50</sleep_time_full> | |
| 63 | + <unique_connections>N</unique_connections> | |
| 64 | + <feedback_shown>Y</feedback_shown> | |
| 65 | + <feedback_size>50000</feedback_size> | |
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | + <shared_objects_file/> | |
| 68 | + <capture_step_performance>N</capture_step_performance> | |
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | + <dependencies> | |
| 72 | + </dependencies> | |
| 73 | + <partitionschemas> | |
| 74 | + </partitionschemas> | |
| 75 | + <slaveservers> | |
| 76 | + </slaveservers> | |
| 77 | + <clusterschemas> | |
| 78 | + </clusterschemas> | |
| 79 | + <created_user>-</created_user> | |
| 80 | + <created_date>2016/08/05 16:42:22.753</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/08/05 16:42:22.753</modified_date> | |
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | + <is_key_private>N</is_key_private> | |
| 85 | + </info> | |
| 86 | + <notepads> | |
| 87 | + </notepads> | |
| 88 | + <connection> | |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 113 | + <name>bus_control_variable</name> | |
| 114 | + <server>${v_db_ip}</server> | |
| 115 | + <type>MYSQL</type> | |
| 116 | + <access>Native</access> | |
| 117 | + <database>${v_db_dname}</database> | |
| 118 | + <port>3306</port> | |
| 119 | + <username>${v_db_uname}</username> | |
| 120 | + <password>${v_db_pwd}</password> | |
| 121 | + <servername/> | |
| 122 | + <data_tablespace/> | |
| 123 | + <index_tablespace/> | |
| 124 | + <attributes> | |
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | + </attributes> | |
| 139 | + </connection> | |
| 140 | + <connection> | |
| 141 | + <name>bus_control_公司_201</name> | |
| 142 | + <server>localhost</server> | |
| 143 | + <type>MYSQL</type> | |
| 144 | + <access>Native</access> | |
| 145 | + <database>control</database> | |
| 146 | + <port>3306</port> | |
| 147 | + <username>root</username> | |
| 148 | + <password>Encrypted </password> | |
| 149 | + <servername/> | |
| 150 | + <data_tablespace/> | |
| 151 | + <index_tablespace/> | |
| 152 | + <attributes> | |
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | + </attributes> | |
| 166 | + </connection> | |
| 167 | + <connection> | |
| 168 | + <name>bus_control_本机</name> | |
| 169 | + <server>localhost</server> | |
| 170 | + <type>MYSQL</type> | |
| 171 | + <access>Native</access> | |
| 172 | + <database>control</database> | |
| 173 | + <port>3306</port> | |
| 174 | + <username>root</username> | |
| 175 | + <password>Encrypted </password> | |
| 176 | + <servername/> | |
| 177 | + <data_tablespace/> | |
| 178 | + <index_tablespace/> | |
| 179 | + <attributes> | |
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | + </attributes> | |
| 193 | + </connection> | |
| 194 | + <connection> | |
| 195 | + <name>xlab_mysql_youle</name> | |
| 196 | + <server>101.231.124.8</server> | |
| 197 | + <type>MYSQL</type> | |
| 198 | + <access>Native</access> | |
| 199 | + <database>xlab_youle</database> | |
| 200 | + <port>45687</port> | |
| 201 | + <username>xlab-youle</username> | |
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | + <servername/> | |
| 204 | + <data_tablespace/> | |
| 205 | + <index_tablespace/> | |
| 206 | + <attributes> | |
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | + </attributes> | |
| 220 | + </connection> | |
| 221 | + <connection> | |
| 222 | + <name>xlab_mysql_youle(本机)</name> | |
| 223 | + <server>localhost</server> | |
| 224 | + <type>MYSQL</type> | |
| 225 | + <access>Native</access> | |
| 226 | + <database>xlab_youle</database> | |
| 227 | + <port>3306</port> | |
| 228 | + <username>root</username> | |
| 229 | + <password>Encrypted </password> | |
| 230 | + <servername/> | |
| 231 | + <data_tablespace/> | |
| 232 | + <index_tablespace/> | |
| 233 | + <attributes> | |
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | + </attributes> | |
| 247 | + </connection> | |
| 248 | + <connection> | |
| 249 | + <name>xlab_youle</name> | |
| 250 | + <server/> | |
| 251 | + <type>MYSQL</type> | |
| 252 | + <access>JNDI</access> | |
| 253 | + <database>xlab_youle</database> | |
| 254 | + <port>1521</port> | |
| 255 | + <username/> | |
| 256 | + <password>Encrypted </password> | |
| 257 | + <servername/> | |
| 258 | + <data_tablespace/> | |
| 259 | + <index_tablespace/> | |
| 260 | + <attributes> | |
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | + </attributes> | |
| 272 | + </connection> | |
| 273 | + <order> | |
| 274 | + <hop> <from>公司查询</from><to>分公司查询</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>分公司查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>添加查询常量</from><to>公司查询</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>车辆信息表输入</from><to>添加查询常量</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>字段选择</from><to>是否电车</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>是否电车</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 280 | + </order> | |
| 281 | + <step> | |
| 282 | + <name>Excel输出</name> | |
| 283 | + <type>ExcelOutput</type> | |
| 284 | + <description/> | |
| 285 | + <distribute>Y</distribute> | |
| 286 | + <custom_distribution/> | |
| 287 | + <copies>1</copies> | |
| 288 | + <partitioning> | |
| 289 | + <method>none</method> | |
| 290 | + <schema_name/> | |
| 291 | + </partitioning> | |
| 292 | + <header>Y</header> | |
| 293 | + <footer>N</footer> | |
| 294 | + <encoding/> | |
| 295 | + <append>N</append> | |
| 296 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 297 | + <file> | |
| 298 | + <name>${filepath}</name> | |
| 299 | + <extention>xls</extention> | |
| 300 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 301 | + <create_parent_folder>N</create_parent_folder> | |
| 302 | + <split>N</split> | |
| 303 | + <add_date>N</add_date> | |
| 304 | + <add_time>N</add_time> | |
| 305 | + <SpecifyFormat>N</SpecifyFormat> | |
| 306 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 307 | + <sheetname>工作表1</sheetname> | |
| 308 | + <autosizecolums>N</autosizecolums> | |
| 309 | + <nullisblank>N</nullisblank> | |
| 310 | + <protect_sheet>N</protect_sheet> | |
| 311 | + <password>Encrypted </password> | |
| 312 | + <splitevery>0</splitevery> | |
| 313 | + <usetempfiles>N</usetempfiles> | |
| 314 | + <tempdirectory/> | |
| 315 | + </file> | |
| 316 | + <template> | |
| 317 | + <enabled>N</enabled> | |
| 318 | + <append>N</append> | |
| 319 | + <filename>template.xls</filename> | |
| 320 | + </template> | |
| 321 | + <fields> | |
| 322 | + <field> | |
| 323 | + <name>车牌号</name> | |
| 324 | + <type>String</type> | |
| 325 | + <format/> | |
| 326 | + </field> | |
| 327 | + <field> | |
| 328 | + <name>内部编码</name> | |
| 329 | + <type>String</type> | |
| 330 | + <format/> | |
| 331 | + </field> | |
| 332 | + <field> | |
| 333 | + <name>所属公司</name> | |
| 334 | + <type>String</type> | |
| 335 | + <format/> | |
| 336 | + </field> | |
| 337 | + <field> | |
| 338 | + <name>所属分公司</name> | |
| 339 | + <type>String</type> | |
| 340 | + <format/> | |
| 341 | + </field> | |
| 342 | + <field> | |
| 343 | + <name>设备供应厂商</name> | |
| 344 | + <type>String</type> | |
| 345 | + <format/> | |
| 346 | + </field> | |
| 347 | + <field> | |
| 348 | + <name>设备终端号</name> | |
| 349 | + <type>String</type> | |
| 350 | + <format/> | |
| 351 | + </field> | |
| 352 | + <field> | |
| 353 | + <name>是否电车</name> | |
| 354 | + <type>String</type> | |
| 355 | + <format/> | |
| 356 | + </field> | |
| 357 | + </fields> | |
| 358 | + <custom> | |
| 359 | + <header_font_name>arial</header_font_name> | |
| 360 | + <header_font_size>10</header_font_size> | |
| 361 | + <header_font_bold>N</header_font_bold> | |
| 362 | + <header_font_italic>N</header_font_italic> | |
| 363 | + <header_font_underline>no</header_font_underline> | |
| 364 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 365 | + <header_font_color>black</header_font_color> | |
| 366 | + <header_background_color>none</header_background_color> | |
| 367 | + <header_row_height>255</header_row_height> | |
| 368 | + <header_alignment>left</header_alignment> | |
| 369 | + <header_image/> | |
| 370 | + <row_font_name>arial</row_font_name> | |
| 371 | + <row_font_size>10</row_font_size> | |
| 372 | + <row_font_color>black</row_font_color> | |
| 373 | + <row_background_color>none</row_background_color> | |
| 374 | + </custom> | |
| 375 | + <cluster_schema/> | |
| 376 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 377 | + <xloc>498</xloc> | |
| 378 | + <yloc>348</yloc> | |
| 379 | + <draw>Y</draw> | |
| 380 | + </GUI> | |
| 381 | + </step> | |
| 382 | + | |
| 383 | + <step> | |
| 384 | + <name>公司查询</name> | |
| 385 | + <type>DBLookup</type> | |
| 386 | + <description/> | |
| 387 | + <distribute>Y</distribute> | |
| 388 | + <custom_distribution/> | |
| 389 | + <copies>1</copies> | |
| 390 | + <partitioning> | |
| 391 | + <method>none</method> | |
| 392 | + <schema_name/> | |
| 393 | + </partitioning> | |
| 394 | + <connection>bus_control_variable</connection> | |
| 395 | + <cache>N</cache> | |
| 396 | + <cache_load_all>N</cache_load_all> | |
| 397 | + <cache_size>0</cache_size> | |
| 398 | + <lookup> | |
| 399 | + <schema/> | |
| 400 | + <table>bsth_c_business</table> | |
| 401 | + <orderby/> | |
| 402 | + <fail_on_multiple>N</fail_on_multiple> | |
| 403 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 404 | + <key> | |
| 405 | + <name>up_code</name> | |
| 406 | + <field>up_code</field> | |
| 407 | + <condition>=</condition> | |
| 408 | + <name2/> | |
| 409 | + </key> | |
| 410 | + <key> | |
| 411 | + <name>business_code</name> | |
| 412 | + <field>business_code</field> | |
| 413 | + <condition>=</condition> | |
| 414 | + <name2/> | |
| 415 | + </key> | |
| 416 | + <value> | |
| 417 | + <name>business_name</name> | |
| 418 | + <rename>gs</rename> | |
| 419 | + <default/> | |
| 420 | + <type>String</type> | |
| 421 | + </value> | |
| 422 | + </lookup> | |
| 423 | + <cluster_schema/> | |
| 424 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 425 | + <xloc>364</xloc> | |
| 426 | + <yloc>60</yloc> | |
| 427 | + <draw>Y</draw> | |
| 428 | + </GUI> | |
| 429 | + </step> | |
| 430 | + | |
| 431 | + <step> | |
| 432 | + <name>分公司查询</name> | |
| 433 | + <type>DBLookup</type> | |
| 434 | + <description/> | |
| 435 | + <distribute>Y</distribute> | |
| 436 | + <custom_distribution/> | |
| 437 | + <copies>1</copies> | |
| 438 | + <partitioning> | |
| 439 | + <method>none</method> | |
| 440 | + <schema_name/> | |
| 441 | + </partitioning> | |
| 442 | + <connection>bus_control_variable</connection> | |
| 443 | + <cache>N</cache> | |
| 444 | + <cache_load_all>N</cache_load_all> | |
| 445 | + <cache_size>0</cache_size> | |
| 446 | + <lookup> | |
| 447 | + <schema/> | |
| 448 | + <table>bsth_c_business</table> | |
| 449 | + <orderby/> | |
| 450 | + <fail_on_multiple>N</fail_on_multiple> | |
| 451 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 452 | + <key> | |
| 453 | + <name>business_code</name> | |
| 454 | + <field>up_code</field> | |
| 455 | + <condition>=</condition> | |
| 456 | + <name2/> | |
| 457 | + </key> | |
| 458 | + <key> | |
| 459 | + <name>branche_company_code</name> | |
| 460 | + <field>business_code</field> | |
| 461 | + <condition>=</condition> | |
| 462 | + <name2/> | |
| 463 | + </key> | |
| 464 | + <value> | |
| 465 | + <name>business_name</name> | |
| 466 | + <rename>fgs</rename> | |
| 467 | + <default/> | |
| 468 | + <type>String</type> | |
| 469 | + </value> | |
| 470 | + </lookup> | |
| 471 | + <cluster_schema/> | |
| 472 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 473 | + <xloc>491</xloc> | |
| 474 | + <yloc>60</yloc> | |
| 475 | + <draw>Y</draw> | |
| 476 | + </GUI> | |
| 477 | + </step> | |
| 478 | + | |
| 479 | + <step> | |
| 480 | + <name>字段选择</name> | |
| 481 | + <type>SelectValues</type> | |
| 482 | + <description/> | |
| 483 | + <distribute>Y</distribute> | |
| 484 | + <custom_distribution/> | |
| 485 | + <copies>1</copies> | |
| 486 | + <partitioning> | |
| 487 | + <method>none</method> | |
| 488 | + <schema_name/> | |
| 489 | + </partitioning> | |
| 490 | + <fields> <field> <name>car_plate</name> | |
| 491 | + <rename>车牌号</rename> | |
| 492 | + <length>-2</length> | |
| 493 | + <precision>-2</precision> | |
| 494 | + </field> <field> <name>inside_code</name> | |
| 495 | + <rename>内部编码</rename> | |
| 496 | + <length>-2</length> | |
| 497 | + <precision>-2</precision> | |
| 498 | + </field> <field> <name>gs</name> | |
| 499 | + <rename>所属公司</rename> | |
| 500 | + <length>-2</length> | |
| 501 | + <precision>-2</precision> | |
| 502 | + </field> <field> <name>fgs</name> | |
| 503 | + <rename>所属分公司</rename> | |
| 504 | + <length>-2</length> | |
| 505 | + <precision>-2</precision> | |
| 506 | + </field> <field> <name>supplier_name</name> | |
| 507 | + <rename>设备供应厂商</rename> | |
| 508 | + <length>-2</length> | |
| 509 | + <precision>-2</precision> | |
| 510 | + </field> <field> <name>equipment_code</name> | |
| 511 | + <rename>设备终端号</rename> | |
| 512 | + <length>-2</length> | |
| 513 | + <precision>-2</precision> | |
| 514 | + </field> <field> <name>sfdc</name> | |
| 515 | + <rename>sfdc_cal</rename> | |
| 516 | + <length>-2</length> | |
| 517 | + <precision>-2</precision> | |
| 518 | + </field> <select_unspecified>N</select_unspecified> | |
| 519 | + </fields> <cluster_schema/> | |
| 520 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 521 | + <xloc>495</xloc> | |
| 522 | + <yloc>173</yloc> | |
| 523 | + <draw>Y</draw> | |
| 524 | + </GUI> | |
| 525 | + </step> | |
| 526 | + | |
| 527 | + <step> | |
| 528 | + <name>添加查询常量</name> | |
| 529 | + <type>ScriptValueMod</type> | |
| 530 | + <description/> | |
| 531 | + <distribute>Y</distribute> | |
| 532 | + <custom_distribution/> | |
| 533 | + <copies>1</copies> | |
| 534 | + <partitioning> | |
| 535 | + <method>none</method> | |
| 536 | + <schema_name/> | |
| 537 | + </partitioning> | |
| 538 | + <compatible>N</compatible> | |
| 539 | + <optimizationLevel>9</optimizationLevel> | |
| 540 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 541 | + <jsScript_name>Script 1</jsScript_name> | |
| 542 | + <jsScript_script>//Script here

var up_code = '88';</jsScript_script> | |
| 543 | + </jsScript> </jsScripts> <fields> <field> <name>up_code</name> | |
| 544 | + <rename>up_code</rename> | |
| 545 | + <type>String</type> | |
| 546 | + <length>-1</length> | |
| 547 | + <precision>-1</precision> | |
| 548 | + <replace>N</replace> | |
| 549 | + </field> </fields> <cluster_schema/> | |
| 550 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 551 | + <xloc>227</xloc> | |
| 552 | + <yloc>59</yloc> | |
| 553 | + <draw>Y</draw> | |
| 554 | + </GUI> | |
| 555 | + </step> | |
| 556 | + | |
| 557 | + <step> | |
| 558 | + <name>车辆信息表输入</name> | |
| 559 | + <type>TableInput</type> | |
| 560 | + <description/> | |
| 561 | + <distribute>Y</distribute> | |
| 562 | + <custom_distribution/> | |
| 563 | + <copies>1</copies> | |
| 564 | + <partitioning> | |
| 565 | + <method>none</method> | |
| 566 | + <schema_name/> | |
| 567 | + </partitioning> | |
| 568 | + <connection>bus_control_variable</connection> | |
| 569 | + <sql>SELECT * FROM bsth_c_cars

</sql> | |
| 570 | + <limit>0</limit> | |
| 571 | + <lookup/> | |
| 572 | + <execute_each_row>N</execute_each_row> | |
| 573 | + <variables_active>Y</variables_active> | |
| 574 | + <lazy_conversion_active>N</lazy_conversion_active> | |
| 575 | + <cluster_schema/> | |
| 576 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 577 | + <xloc>88</xloc> | |
| 578 | + <yloc>59</yloc> | |
| 579 | + <draw>Y</draw> | |
| 580 | + </GUI> | |
| 581 | + </step> | |
| 582 | + | |
| 583 | + <step> | |
| 584 | + <name>是否电车</name> | |
| 585 | + <type>ScriptValueMod</type> | |
| 586 | + <description/> | |
| 587 | + <distribute>Y</distribute> | |
| 588 | + <custom_distribution/> | |
| 589 | + <copies>1</copies> | |
| 590 | + <partitioning> | |
| 591 | + <method>none</method> | |
| 592 | + <schema_name/> | |
| 593 | + </partitioning> | |
| 594 | + <compatible>N</compatible> | |
| 595 | + <optimizationLevel>9</optimizationLevel> | |
| 596 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 597 | + <jsScript_name>Script 1</jsScript_name> | |
| 598 | + <jsScript_script>//Script here

var 是否电车 = "否";

if(sfdc_cal) {
 是否电车 = "是";
}
</jsScript_script> | |
| 599 | + </jsScript> </jsScripts> <fields> <field> <name>是否电车</name> | |
| 600 | + <rename>是否电车</rename> | |
| 601 | + <type>String</type> | |
| 602 | + <length>-1</length> | |
| 603 | + <precision>-1</precision> | |
| 604 | + <replace>N</replace> | |
| 605 | + </field> </fields> <cluster_schema/> | |
| 606 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 607 | + <xloc>695</xloc> | |
| 608 | + <yloc>173</yloc> | |
| 609 | + <draw>Y</draw> | |
| 610 | + </GUI> | |
| 611 | + </step> | |
| 612 | + | |
| 613 | + <step_error_handling> | |
| 614 | + </step_error_handling> | |
| 615 | + <slave-step-copy-partition-distribution> | |
| 616 | +</slave-step-copy-partition-distribution> | |
| 617 | + <slave_transformation>N</slave_transformation> | |
| 618 | + | |
| 619 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/scheduleRuleDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>排班规则信息导入</name> | |
| 5 | - <description/> | |
| 6 | - <extended_description/> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>erroroutputdir</name> | |
| 14 | - <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1</default_value> | |
| 15 | - <description>ktr step配置的错误输出目录</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1/排版规则信息.xls</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>2017/01/09 10:10:36.915</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2017/01/09 10:10:36.915</modified_date> | |
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | - <is_key_private>N</is_key_private> | |
| 85 | - </info> | |
| 86 | - <notepads> | |
| 87 | - </notepads> | |
| 88 | - <connection> | |
| 89 | - <name>192.168.168.1_jwgl_dw</name> | |
| 90 | - <server>192.168.168.1</server> | |
| 91 | - <type>ORACLE</type> | |
| 92 | - <access>Native</access> | |
| 93 | - <database>orcl</database> | |
| 94 | - <port>1521</port> | |
| 95 | - <username>jwgl_dw</username> | |
| 96 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | - <servername/> | |
| 98 | - <data_tablespace/> | |
| 99 | - <index_tablespace/> | |
| 100 | - <attributes> | |
| 101 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | - </attributes> | |
| 111 | - </connection> | |
| 112 | - <connection> | |
| 113 | - <name>bus_control_variable</name> | |
| 114 | - <server>${v_db_ip}</server> | |
| 115 | - <type>MYSQL</type> | |
| 116 | - <access>Native</access> | |
| 117 | - <database>${v_db_dname}</database> | |
| 118 | - <port>3306</port> | |
| 119 | - <username>${v_db_uname}</username> | |
| 120 | - <password>${v_db_pwd}</password> | |
| 121 | - <servername/> | |
| 122 | - <data_tablespace/> | |
| 123 | - <index_tablespace/> | |
| 124 | - <attributes> | |
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | - </attributes> | |
| 139 | - </connection> | |
| 140 | - <connection> | |
| 141 | - <name>bus_control_公司_201</name> | |
| 142 | - <server>localhost</server> | |
| 143 | - <type>MYSQL</type> | |
| 144 | - <access>Native</access> | |
| 145 | - <database>control</database> | |
| 146 | - <port>3306</port> | |
| 147 | - <username>root</username> | |
| 148 | - <password>Encrypted </password> | |
| 149 | - <servername/> | |
| 150 | - <data_tablespace/> | |
| 151 | - <index_tablespace/> | |
| 152 | - <attributes> | |
| 153 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | - </attributes> | |
| 166 | - </connection> | |
| 167 | - <connection> | |
| 168 | - <name>bus_control_本机</name> | |
| 169 | - <server>localhost</server> | |
| 170 | - <type>MYSQL</type> | |
| 171 | - <access>Native</access> | |
| 172 | - <database>control</database> | |
| 173 | - <port>3306</port> | |
| 174 | - <username>root</username> | |
| 175 | - <password>Encrypted </password> | |
| 176 | - <servername/> | |
| 177 | - <data_tablespace/> | |
| 178 | - <index_tablespace/> | |
| 179 | - <attributes> | |
| 180 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | - </attributes> | |
| 193 | - </connection> | |
| 194 | - <connection> | |
| 195 | - <name>xlab_mysql_youle</name> | |
| 196 | - <server>101.231.124.8</server> | |
| 197 | - <type>MYSQL</type> | |
| 198 | - <access>Native</access> | |
| 199 | - <database>xlab_youle</database> | |
| 200 | - <port>45687</port> | |
| 201 | - <username>xlab-youle</username> | |
| 202 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | - <servername/> | |
| 204 | - <data_tablespace/> | |
| 205 | - <index_tablespace/> | |
| 206 | - <attributes> | |
| 207 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | - </attributes> | |
| 220 | - </connection> | |
| 221 | - <connection> | |
| 222 | - <name>xlab_mysql_youle(本机)</name> | |
| 223 | - <server>localhost</server> | |
| 224 | - <type>MYSQL</type> | |
| 225 | - <access>Native</access> | |
| 226 | - <database>xlab_youle</database> | |
| 227 | - <port>3306</port> | |
| 228 | - <username>root</username> | |
| 229 | - <password>Encrypted </password> | |
| 230 | - <servername/> | |
| 231 | - <data_tablespace/> | |
| 232 | - <index_tablespace/> | |
| 233 | - <attributes> | |
| 234 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | - </attributes> | |
| 247 | - </connection> | |
| 248 | - <connection> | |
| 249 | - <name>xlab_youle</name> | |
| 250 | - <server/> | |
| 251 | - <type>MYSQL</type> | |
| 252 | - <access>JNDI</access> | |
| 253 | - <database>xlab_youle</database> | |
| 254 | - <port>1521</port> | |
| 255 | - <username/> | |
| 256 | - <password>Encrypted </password> | |
| 257 | - <servername/> | |
| 258 | - <data_tablespace/> | |
| 259 | - <index_tablespace/> | |
| 260 | - <attributes> | |
| 261 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | - </attributes> | |
| 272 | - </connection> | |
| 273 | - <order> | |
| 274 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>拆分路牌范围</from><to>路牌id查询</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>排序记录</from><to>分组合并路牌id</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>分组合并路牌id</from><to>拆分人员范围</to><enabled>Y</enabled> </hop> | |
| 279 | - <hop> <from>拆分人员范围</from><to>拆分分班搭班编码字段</to><enabled>Y</enabled> </hop> | |
| 280 | - <hop> <from>拆分分班搭班编码字段</from><to>人员配置id查询</to><enabled>Y</enabled> </hop> | |
| 281 | - <hop> <from>人员配置id查询</from><to>人员配置id查询 2</to><enabled>Y</enabled> </hop> | |
| 282 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 283 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 284 | - <hop> <from>过滤线路id为空记录</from><to>车辆配置id查询</to><enabled>Y</enabled> </hop> | |
| 285 | - <hop> <from>车辆配置id查询</from><to>过滤车辆配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 286 | - <hop> <from>过滤车辆配置id为空记录</from><to>拆分路牌范围</to><enabled>Y</enabled> </hop> | |
| 287 | - <hop> <from>路牌id查询</from><to>过滤路牌id为空记录</to><enabled>Y</enabled> </hop> | |
| 288 | - <hop> <from>过滤路牌id为空记录</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 289 | - <hop> <from>人员配置id查询 2</from><to>过滤人员配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 290 | - <hop> <from>过滤人员配置id为空记录</from><to>合并分班人员配置id</to><enabled>Y</enabled> </hop> | |
| 291 | - <hop> <from>合并分班人员配置id</from><to>排序记录 2</to><enabled>Y</enabled> </hop> | |
| 292 | - <hop> <from>排序记录 2</from><to>分组合并人员配置id</to><enabled>Y</enabled> </hop> | |
| 293 | - <hop> <from>分组合并人员配置id</from><to>启用日期转换</to><enabled>Y</enabled> </hop> | |
| 294 | - <hop> <from>删除</from><to>阻塞数据直到步骤都完成</to><enabled>Y</enabled> </hop> | |
| 295 | - <hop> <from>阻塞数据直到步骤都完成</from><to>规则表输出</to><enabled>Y</enabled> </hop> | |
| 296 | - <hop> <from>规则表输出</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | |
| 297 | - <hop> <from>启用日期转换</from><to>默认翻班类型</to><enabled>Y</enabled> </hop> | |
| 298 | - <hop> <from>默认翻班类型</from><to>删除</to><enabled>Y</enabled> </hop> | |
| 299 | - </order> | |
| 300 | - <step> | |
| 301 | - <name>人员配置id查询</name> | |
| 302 | - <type>DBLookup</type> | |
| 303 | - <description/> | |
| 304 | - <distribute>Y</distribute> | |
| 305 | - <custom_distribution/> | |
| 306 | - <copies>1</copies> | |
| 307 | - <partitioning> | |
| 308 | - <method>none</method> | |
| 309 | - <schema_name/> | |
| 310 | - </partitioning> | |
| 311 | - <connection>bus_control_variable</connection> | |
| 312 | - <cache>N</cache> | |
| 313 | - <cache_load_all>Y</cache_load_all> | |
| 314 | - <cache_size>0</cache_size> | |
| 315 | - <lookup> | |
| 316 | - <schema/> | |
| 317 | - <table>bsth_c_s_ecinfo</table> | |
| 318 | - <orderby/> | |
| 319 | - <fail_on_multiple>N</fail_on_multiple> | |
| 320 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 321 | - <key> | |
| 322 | - <name>xlid</name> | |
| 323 | - <field>xl</field> | |
| 324 | - <condition>=</condition> | |
| 325 | - <name2/> | |
| 326 | - </key> | |
| 327 | - <key> | |
| 328 | - <name>dbbm1</name> | |
| 329 | - <field>dbbm</field> | |
| 330 | - <condition>=</condition> | |
| 331 | - <name2/> | |
| 332 | - </key> | |
| 333 | - <key> | |
| 334 | - <name>isCancel</name> | |
| 335 | - <field>is_cancel</field> | |
| 336 | - <condition>=</condition> | |
| 337 | - <name2/> | |
| 338 | - </key> | |
| 339 | - <value> | |
| 340 | - <name>id</name> | |
| 341 | - <rename>rycid1</rename> | |
| 342 | - <default/> | |
| 343 | - <type>Integer</type> | |
| 344 | - </value> | |
| 345 | - </lookup> | |
| 346 | - <cluster_schema/> | |
| 347 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 348 | - <xloc>904</xloc> | |
| 349 | - <yloc>101</yloc> | |
| 350 | - <draw>Y</draw> | |
| 351 | - </GUI> | |
| 352 | - </step> | |
| 353 | - | |
| 354 | - <step> | |
| 355 | - <name>人员配置id查询 2</name> | |
| 356 | - <type>DBLookup</type> | |
| 357 | - <description/> | |
| 358 | - <distribute>Y</distribute> | |
| 359 | - <custom_distribution/> | |
| 360 | - <copies>1</copies> | |
| 361 | - <partitioning> | |
| 362 | - <method>none</method> | |
| 363 | - <schema_name/> | |
| 364 | - </partitioning> | |
| 365 | - <connection>bus_control_variable</connection> | |
| 366 | - <cache>N</cache> | |
| 367 | - <cache_load_all>Y</cache_load_all> | |
| 368 | - <cache_size>0</cache_size> | |
| 369 | - <lookup> | |
| 370 | - <schema/> | |
| 371 | - <table>bsth_c_s_ecinfo</table> | |
| 372 | - <orderby/> | |
| 373 | - <fail_on_multiple>N</fail_on_multiple> | |
| 374 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 375 | - <key> | |
| 376 | - <name>xlid</name> | |
| 377 | - <field>xl</field> | |
| 378 | - <condition>=</condition> | |
| 379 | - <name2/> | |
| 380 | - </key> | |
| 381 | - <key> | |
| 382 | - <name>dbbm2</name> | |
| 383 | - <field>dbbm</field> | |
| 384 | - <condition>=</condition> | |
| 385 | - <name2/> | |
| 386 | - </key> | |
| 387 | - <key> | |
| 388 | - <name>isCancel</name> | |
| 389 | - <field>is_cancel</field> | |
| 390 | - <condition>=</condition> | |
| 391 | - <name2/> | |
| 392 | - </key> | |
| 393 | - <value> | |
| 394 | - <name>id</name> | |
| 395 | - <rename>rycid2</rename> | |
| 396 | - <default/> | |
| 397 | - <type>Integer</type> | |
| 398 | - </value> | |
| 399 | - </lookup> | |
| 400 | - <cluster_schema/> | |
| 401 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 402 | - <xloc>778</xloc> | |
| 403 | - <yloc>103</yloc> | |
| 404 | - <draw>Y</draw> | |
| 405 | - </GUI> | |
| 406 | - </step> | |
| 407 | - | |
| 408 | - <step> | |
| 409 | - <name>分组合并人员配置id</name> | |
| 410 | - <type>GroupBy</type> | |
| 411 | - <description/> | |
| 412 | - <distribute>Y</distribute> | |
| 413 | - <custom_distribution/> | |
| 414 | - <copies>1</copies> | |
| 415 | - <partitioning> | |
| 416 | - <method>none</method> | |
| 417 | - <schema_name/> | |
| 418 | - </partitioning> | |
| 419 | - <all_rows>N</all_rows> | |
| 420 | - <ignore_aggregate>N</ignore_aggregate> | |
| 421 | - <field_ignore/> | |
| 422 | - <directory>%%java.io.tmpdir%%</directory> | |
| 423 | - <prefix>grp</prefix> | |
| 424 | - <add_linenr>N</add_linenr> | |
| 425 | - <linenr_fieldname/> | |
| 426 | - <give_back_row>N</give_back_row> | |
| 427 | - <group> | |
| 428 | - <field> | |
| 429 | - <name>xlid</name> | |
| 430 | - </field> | |
| 431 | - <field> | |
| 432 | - <name>cid</name> | |
| 433 | - </field> | |
| 434 | - <field> | |
| 435 | - <name>lpnames</name> | |
| 436 | - </field> | |
| 437 | - <field> | |
| 438 | - <name>lpids</name> | |
| 439 | - </field> | |
| 440 | - <field> | |
| 441 | - <name>起始路牌</name> | |
| 442 | - </field> | |
| 443 | - <field> | |
| 444 | - <name>起始人员</name> | |
| 445 | - </field> | |
| 446 | - <field> | |
| 447 | - <name>人员范围</name> | |
| 448 | - </field> | |
| 449 | - <field> | |
| 450 | - <name>启用日期</name> | |
| 451 | - </field> | |
| 452 | - <field> | |
| 453 | - <name>翻班格式</name> | |
| 454 | - </field> | |
| 455 | - <field> | |
| 456 | - <name>isCancel</name> | |
| 457 | - </field> | |
| 458 | - </group> | |
| 459 | - <fields> | |
| 460 | - <field> | |
| 461 | - <aggregate>rycids</aggregate> | |
| 462 | - <subject>rycid</subject> | |
| 463 | - <type>CONCAT_STRING</type> | |
| 464 | - <valuefield>,</valuefield> | |
| 465 | - </field> | |
| 466 | - <field> | |
| 467 | - <aggregate>rybms</aggregate> | |
| 468 | - <subject>rybm</subject> | |
| 469 | - <type>CONCAT_STRING</type> | |
| 470 | - <valuefield>,</valuefield> | |
| 471 | - </field> | |
| 472 | - </fields> | |
| 473 | - <cluster_schema/> | |
| 474 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 475 | - <xloc>780</xloc> | |
| 476 | - <yloc>291</yloc> | |
| 477 | - <draw>Y</draw> | |
| 478 | - </GUI> | |
| 479 | - </step> | |
| 480 | - | |
| 481 | - <step> | |
| 482 | - <name>分组合并路牌id</name> | |
| 483 | - <type>GroupBy</type> | |
| 484 | - <description/> | |
| 485 | - <distribute>Y</distribute> | |
| 486 | - <custom_distribution/> | |
| 487 | - <copies>1</copies> | |
| 488 | - <partitioning> | |
| 489 | - <method>none</method> | |
| 490 | - <schema_name/> | |
| 491 | - </partitioning> | |
| 492 | - <all_rows>N</all_rows> | |
| 493 | - <ignore_aggregate>N</ignore_aggregate> | |
| 494 | - <field_ignore/> | |
| 495 | - <directory>%%java.io.tmpdir%%</directory> | |
| 496 | - <prefix>grp</prefix> | |
| 497 | - <add_linenr>N</add_linenr> | |
| 498 | - <linenr_fieldname/> | |
| 499 | - <give_back_row>N</give_back_row> | |
| 500 | - <group> | |
| 501 | - <field> | |
| 502 | - <name>xlid</name> | |
| 503 | - </field> | |
| 504 | - <field> | |
| 505 | - <name>cid</name> | |
| 506 | - </field> | |
| 507 | - <field> | |
| 508 | - <name>起始路牌</name> | |
| 509 | - </field> | |
| 510 | - <field> | |
| 511 | - <name>起始人员</name> | |
| 512 | - </field> | |
| 513 | - <field> | |
| 514 | - <name>人员范围</name> | |
| 515 | - </field> | |
| 516 | - <field> | |
| 517 | - <name>启用日期</name> | |
| 518 | - </field> | |
| 519 | - <field> | |
| 520 | - <name>翻班格式</name> | |
| 521 | - </field> | |
| 522 | - <field> | |
| 523 | - <name>isCancel</name> | |
| 524 | - </field> | |
| 525 | - </group> | |
| 526 | - <fields> | |
| 527 | - <field> | |
| 528 | - <aggregate>lpids</aggregate> | |
| 529 | - <subject>lpid</subject> | |
| 530 | - <type>CONCAT_STRING</type> | |
| 531 | - <valuefield>,</valuefield> | |
| 532 | - </field> | |
| 533 | - <field> | |
| 534 | - <aggregate>lpnames</aggregate> | |
| 535 | - <subject>lpname</subject> | |
| 536 | - <type>CONCAT_STRING</type> | |
| 537 | - <valuefield>,</valuefield> | |
| 538 | - </field> | |
| 539 | - </fields> | |
| 540 | - <cluster_schema/> | |
| 541 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 542 | - <xloc>653</xloc> | |
| 543 | - <yloc>119</yloc> | |
| 544 | - <draw>Y</draw> | |
| 545 | - </GUI> | |
| 546 | - </step> | |
| 547 | - | |
| 548 | - <step> | |
| 549 | - <name>删除</name> | |
| 550 | - <type>Delete</type> | |
| 551 | - <description/> | |
| 552 | - <distribute>Y</distribute> | |
| 553 | - <custom_distribution/> | |
| 554 | - <copies>1</copies> | |
| 555 | - <partitioning> | |
| 556 | - <method>none</method> | |
| 557 | - <schema_name/> | |
| 558 | - </partitioning> | |
| 559 | - <connection>bus_control_variable</connection> | |
| 560 | - <commit>100</commit> | |
| 561 | - <lookup> | |
| 562 | - <schema/> | |
| 563 | - <table>bsth_c_s_sr1_flat</table> | |
| 564 | - <key> | |
| 565 | - <name>xlid</name> | |
| 566 | - <field>xl</field> | |
| 567 | - <condition>=</condition> | |
| 568 | - <name2/> | |
| 569 | - </key> | |
| 570 | - </lookup> | |
| 571 | - <cluster_schema/> | |
| 572 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 573 | - <xloc>508</xloc> | |
| 574 | - <yloc>381</yloc> | |
| 575 | - <draw>Y</draw> | |
| 576 | - </GUI> | |
| 577 | - </step> | |
| 578 | - | |
| 579 | - <step> | |
| 580 | - <name>原始系统导出的Excel输入</name> | |
| 581 | - <type>ExcelInput</type> | |
| 582 | - <description/> | |
| 583 | - <distribute>Y</distribute> | |
| 584 | - <custom_distribution/> | |
| 585 | - <copies>1</copies> | |
| 586 | - <partitioning> | |
| 587 | - <method>none</method> | |
| 588 | - <schema_name/> | |
| 589 | - </partitioning> | |
| 590 | - <header>Y</header> | |
| 591 | - <noempty>Y</noempty> | |
| 592 | - <stoponempty>N</stoponempty> | |
| 593 | - <filefield/> | |
| 594 | - <sheetfield/> | |
| 595 | - <sheetrownumfield/> | |
| 596 | - <rownumfield/> | |
| 597 | - <sheetfield/> | |
| 598 | - <filefield/> | |
| 599 | - <limit>0</limit> | |
| 600 | - <encoding/> | |
| 601 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 602 | - <accept_filenames>Y</accept_filenames> | |
| 603 | - <accept_field>filepath_</accept_field> | |
| 604 | - <accept_stepname>获取变量</accept_stepname> | |
| 605 | - <file> | |
| 606 | - <name/> | |
| 607 | - <filemask/> | |
| 608 | - <exclude_filemask/> | |
| 609 | - <file_required>N</file_required> | |
| 610 | - <include_subfolders>N</include_subfolders> | |
| 611 | - </file> | |
| 612 | - <fields> | |
| 613 | - <field> | |
| 614 | - <name>线路</name> | |
| 615 | - <type>String</type> | |
| 616 | - <length>-1</length> | |
| 617 | - <precision>-1</precision> | |
| 618 | - <trim_type>none</trim_type> | |
| 619 | - <repeat>N</repeat> | |
| 620 | - <format/> | |
| 621 | - <currency/> | |
| 622 | - <decimal/> | |
| 623 | - <group/> | |
| 624 | - </field> | |
| 625 | - <field> | |
| 626 | - <name>内部编码</name> | |
| 627 | - <type>String</type> | |
| 628 | - <length>-1</length> | |
| 629 | - <precision>-1</precision> | |
| 630 | - <trim_type>none</trim_type> | |
| 631 | - <repeat>N</repeat> | |
| 632 | - <format/> | |
| 633 | - <currency/> | |
| 634 | - <decimal/> | |
| 635 | - <group/> | |
| 636 | - </field> | |
| 637 | - <field> | |
| 638 | - <name>启用日期</name> | |
| 639 | - <type>String</type> | |
| 640 | - <length>-1</length> | |
| 641 | - <precision>-1</precision> | |
| 642 | - <trim_type>none</trim_type> | |
| 643 | - <repeat>N</repeat> | |
| 644 | - <format/> | |
| 645 | - <currency/> | |
| 646 | - <decimal/> | |
| 647 | - <group/> | |
| 648 | - </field> | |
| 649 | - <field> | |
| 650 | - <name>起始路牌</name> | |
| 651 | - <type>String</type> | |
| 652 | - <length>-1</length> | |
| 653 | - <precision>-1</precision> | |
| 654 | - <trim_type>none</trim_type> | |
| 655 | - <repeat>N</repeat> | |
| 656 | - <format>#</format> | |
| 657 | - <currency/> | |
| 658 | - <decimal/> | |
| 659 | - <group/> | |
| 660 | - </field> | |
| 661 | - <field> | |
| 662 | - <name>路牌范围</name> | |
| 663 | - <type>String</type> | |
| 664 | - <length>-1</length> | |
| 665 | - <precision>-1</precision> | |
| 666 | - <trim_type>none</trim_type> | |
| 667 | - <repeat>N</repeat> | |
| 668 | - <format>#</format> | |
| 669 | - <currency/> | |
| 670 | - <decimal/> | |
| 671 | - <group/> | |
| 672 | - </field> | |
| 673 | - <field> | |
| 674 | - <name>起始人员</name> | |
| 675 | - <type>String</type> | |
| 676 | - <length>-1</length> | |
| 677 | - <precision>-1</precision> | |
| 678 | - <trim_type>none</trim_type> | |
| 679 | - <repeat>N</repeat> | |
| 680 | - <format>#</format> | |
| 681 | - <currency/> | |
| 682 | - <decimal/> | |
| 683 | - <group/> | |
| 684 | - </field> | |
| 685 | - <field> | |
| 686 | - <name>人员范围</name> | |
| 687 | - <type>String</type> | |
| 688 | - <length>-1</length> | |
| 689 | - <precision>-1</precision> | |
| 690 | - <trim_type>none</trim_type> | |
| 691 | - <repeat>N</repeat> | |
| 692 | - <format>#</format> | |
| 693 | - <currency/> | |
| 694 | - <decimal/> | |
| 695 | - <group/> | |
| 696 | - </field> | |
| 697 | - <field> | |
| 698 | - <name>翻班格式</name> | |
| 699 | - <type>String</type> | |
| 700 | - <length>-1</length> | |
| 701 | - <precision>-1</precision> | |
| 702 | - <trim_type>none</trim_type> | |
| 703 | - <repeat>N</repeat> | |
| 704 | - <format>#</format> | |
| 705 | - <currency/> | |
| 706 | - <decimal/> | |
| 707 | - <group/> | |
| 708 | - </field> | |
| 709 | - </fields> | |
| 710 | - <sheets> | |
| 711 | - <sheet> | |
| 712 | - <name>工作表1</name> | |
| 713 | - <startrow>0</startrow> | |
| 714 | - <startcol>0</startcol> | |
| 715 | - </sheet> | |
| 716 | - </sheets> | |
| 717 | - <strict_types>N</strict_types> | |
| 718 | - <error_ignored>N</error_ignored> | |
| 719 | - <error_line_skipped>N</error_line_skipped> | |
| 720 | - <bad_line_files_destination_directory/> | |
| 721 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 722 | - <error_line_files_destination_directory/> | |
| 723 | - <error_line_files_extension>error</error_line_files_extension> | |
| 724 | - <line_number_files_destination_directory/> | |
| 725 | - <line_number_files_extension>line</line_number_files_extension> | |
| 726 | - <shortFileFieldName/> | |
| 727 | - <pathFieldName/> | |
| 728 | - <hiddenFieldName/> | |
| 729 | - <lastModificationTimeFieldName/> | |
| 730 | - <uriNameFieldName/> | |
| 731 | - <rootUriNameFieldName/> | |
| 732 | - <extensionFieldName/> | |
| 733 | - <sizeFieldName/> | |
| 734 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 735 | - <cluster_schema/> | |
| 736 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 737 | - <xloc>208</xloc> | |
| 738 | - <yloc>21</yloc> | |
| 739 | - <draw>Y</draw> | |
| 740 | - </GUI> | |
| 741 | - </step> | |
| 742 | - | |
| 743 | - <step> | |
| 744 | - <name>合并分班人员配置id</name> | |
| 745 | - <type>ScriptValueMod</type> | |
| 746 | - <description/> | |
| 747 | - <distribute>Y</distribute> | |
| 748 | - <custom_distribution/> | |
| 749 | - <copies>1</copies> | |
| 750 | - <partitioning> | |
| 751 | - <method>none</method> | |
| 752 | - <schema_name/> | |
| 753 | - </partitioning> | |
| 754 | - <compatible>N</compatible> | |
| 755 | - <optimizationLevel>9</optimizationLevel> | |
| 756 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 757 | - <jsScript_name>Script 1</jsScript_name> | |
| 758 | - <jsScript_script>//Script here

var rycid;
var rybm;

if (rycid2 == null) {
 rycid = rycid1;
 rybm = dbbm1;
} else {
 rycid = rycid1 + "-" + rycid2;
 rybm = dbbm1 + "-" + dbbm2;
}</jsScript_script> | |
| 759 | - </jsScript> </jsScripts> <fields> <field> <name>rycid</name> | |
| 760 | - <rename>rycid</rename> | |
| 761 | - <type>String</type> | |
| 762 | - <length>-1</length> | |
| 763 | - <precision>-1</precision> | |
| 764 | - <replace>N</replace> | |
| 765 | - </field> <field> <name>rybm</name> | |
| 766 | - <rename>rybm</rename> | |
| 767 | - <type>String</type> | |
| 768 | - <length>-1</length> | |
| 769 | - <precision>-1</precision> | |
| 770 | - <replace>N</replace> | |
| 771 | - </field> </fields> <cluster_schema/> | |
| 772 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 773 | - <xloc>917</xloc> | |
| 774 | - <yloc>201</yloc> | |
| 775 | - <draw>Y</draw> | |
| 776 | - </GUI> | |
| 777 | - </step> | |
| 778 | - | |
| 779 | - <step> | |
| 780 | - <name>启用日期转换</name> | |
| 781 | - <type>SelectValues</type> | |
| 782 | - <description/> | |
| 783 | - <distribute>Y</distribute> | |
| 784 | - <custom_distribution/> | |
| 785 | - <copies>1</copies> | |
| 786 | - <partitioning> | |
| 787 | - <method>none</method> | |
| 788 | - <schema_name/> | |
| 789 | - </partitioning> | |
| 790 | - <fields> <select_unspecified>N</select_unspecified> | |
| 791 | - <meta> <name>启用日期</name> | |
| 792 | - <rename>启用日期</rename> | |
| 793 | - <type>Timestamp</type> | |
| 794 | - <length>-2</length> | |
| 795 | - <precision>-2</precision> | |
| 796 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 797 | - <date_format_lenient>false</date_format_lenient> | |
| 798 | - <date_format_locale/> | |
| 799 | - <date_format_timezone/> | |
| 800 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 801 | - <encoding/> | |
| 802 | - <decimal_symbol/> | |
| 803 | - <grouping_symbol/> | |
| 804 | - <currency_symbol/> | |
| 805 | - <storage_type/> | |
| 806 | - </meta> </fields> <cluster_schema/> | |
| 807 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 808 | - <xloc>777</xloc> | |
| 809 | - <yloc>368</yloc> | |
| 810 | - <draw>Y</draw> | |
| 811 | - </GUI> | |
| 812 | - </step> | |
| 813 | - | |
| 814 | - <step> | |
| 815 | - <name>启用被数据flag</name> | |
| 816 | - <type>Constant</type> | |
| 817 | - <description/> | |
| 818 | - <distribute>Y</distribute> | |
| 819 | - <custom_distribution/> | |
| 820 | - <copies>1</copies> | |
| 821 | - <partitioning> | |
| 822 | - <method>none</method> | |
| 823 | - <schema_name/> | |
| 824 | - </partitioning> | |
| 825 | - <fields> | |
| 826 | - <field> | |
| 827 | - <name>isCancel</name> | |
| 828 | - <type>Integer</type> | |
| 829 | - <format/> | |
| 830 | - <currency/> | |
| 831 | - <decimal/> | |
| 832 | - <group/> | |
| 833 | - <nullif>0</nullif> | |
| 834 | - <length>-1</length> | |
| 835 | - <precision>-1</precision> | |
| 836 | - <set_empty_string>N</set_empty_string> | |
| 837 | - </field> | |
| 838 | - </fields> | |
| 839 | - <cluster_schema/> | |
| 840 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 841 | - <xloc>361</xloc> | |
| 842 | - <yloc>22</yloc> | |
| 843 | - <draw>Y</draw> | |
| 844 | - </GUI> | |
| 845 | - </step> | |
| 846 | - | |
| 847 | - <step> | |
| 848 | - <name>拆分人员范围</name> | |
| 849 | - <type>SplitFieldToRows3</type> | |
| 850 | - <description/> | |
| 851 | - <distribute>Y</distribute> | |
| 852 | - <custom_distribution/> | |
| 853 | - <copies>1</copies> | |
| 854 | - <partitioning> | |
| 855 | - <method>none</method> | |
| 856 | - <schema_name/> | |
| 857 | - </partitioning> | |
| 858 | - <splitfield>人员范围</splitfield> | |
| 859 | - <delimiter>,</delimiter> | |
| 860 | - <newfield>dbbm</newfield> | |
| 861 | - <rownum>N</rownum> | |
| 862 | - <rownum_field/> | |
| 863 | - <resetrownumber>Y</resetrownumber> | |
| 864 | - <delimiter_is_regex>N</delimiter_is_regex> | |
| 865 | - <cluster_schema/> | |
| 866 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 867 | - <xloc>777</xloc> | |
| 868 | - <yloc>22</yloc> | |
| 869 | - <draw>Y</draw> | |
| 870 | - </GUI> | |
| 871 | - </step> | |
| 872 | - | |
| 873 | - <step> | |
| 874 | - <name>拆分分班搭班编码字段</name> | |
| 875 | - <type>FieldSplitter</type> | |
| 876 | - <description/> | |
| 877 | - <distribute>Y</distribute> | |
| 878 | - <custom_distribution/> | |
| 879 | - <copies>1</copies> | |
| 880 | - <partitioning> | |
| 881 | - <method>none</method> | |
| 882 | - <schema_name/> | |
| 883 | - </partitioning> | |
| 884 | - <splitfield>dbbm</splitfield> | |
| 885 | - <delimiter>-</delimiter> | |
| 886 | - <enclosure/> | |
| 887 | - <fields> <field> <name>dbbm1</name> | |
| 888 | - <id/> | |
| 889 | - <idrem>N</idrem> | |
| 890 | - <type>String</type> | |
| 891 | - <format/> | |
| 892 | - <group/> | |
| 893 | - <decimal/> | |
| 894 | - <currency/> | |
| 895 | - <length>-1</length> | |
| 896 | - <precision>-1</precision> | |
| 897 | - <nullif/> | |
| 898 | - <ifnull/> | |
| 899 | - <trimtype>none</trimtype> | |
| 900 | - </field> <field> <name>dbbm2</name> | |
| 901 | - <id/> | |
| 902 | - <idrem>N</idrem> | |
| 903 | - <type>String</type> | |
| 904 | - <format/> | |
| 905 | - <group/> | |
| 906 | - <decimal/> | |
| 907 | - <currency/> | |
| 908 | - <length>-1</length> | |
| 909 | - <precision>-1</precision> | |
| 910 | - <nullif/> | |
| 911 | - <ifnull/> | |
| 912 | - <trimtype>none</trimtype> | |
| 913 | - </field> </fields> <cluster_schema/> | |
| 914 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 915 | - <xloc>901</xloc> | |
| 916 | - <yloc>22</yloc> | |
| 917 | - <draw>Y</draw> | |
| 918 | - </GUI> | |
| 919 | - </step> | |
| 920 | - | |
| 921 | - <step> | |
| 922 | - <name>拆分路牌范围</name> | |
| 923 | - <type>SplitFieldToRows3</type> | |
| 924 | - <description/> | |
| 925 | - <distribute>Y</distribute> | |
| 926 | - <custom_distribution/> | |
| 927 | - <copies>1</copies> | |
| 928 | - <partitioning> | |
| 929 | - <method>none</method> | |
| 930 | - <schema_name/> | |
| 931 | - </partitioning> | |
| 932 | - <splitfield>路牌范围</splitfield> | |
| 933 | - <delimiter>,</delimiter> | |
| 934 | - <newfield>lpname</newfield> | |
| 935 | - <rownum>N</rownum> | |
| 936 | - <rownum_field/> | |
| 937 | - <resetrownumber>Y</resetrownumber> | |
| 938 | - <delimiter_is_regex>N</delimiter_is_regex> | |
| 939 | - <cluster_schema/> | |
| 940 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 941 | - <xloc>364</xloc> | |
| 942 | - <yloc>259</yloc> | |
| 943 | - <draw>Y</draw> | |
| 944 | - </GUI> | |
| 945 | - </step> | |
| 946 | - | |
| 947 | - <step> | |
| 948 | - <name>排序记录</name> | |
| 949 | - <type>SortRows</type> | |
| 950 | - <description/> | |
| 951 | - <distribute>Y</distribute> | |
| 952 | - <custom_distribution/> | |
| 953 | - <copies>1</copies> | |
| 954 | - <partitioning> | |
| 955 | - <method>none</method> | |
| 956 | - <schema_name/> | |
| 957 | - </partitioning> | |
| 958 | - <directory>%%java.io.tmpdir%%</directory> | |
| 959 | - <prefix>out</prefix> | |
| 960 | - <sort_size>1000000</sort_size> | |
| 961 | - <free_memory/> | |
| 962 | - <compress>N</compress> | |
| 963 | - <compress_variable/> | |
| 964 | - <unique_rows>N</unique_rows> | |
| 965 | - <fields> | |
| 966 | - <field> | |
| 967 | - <name>xlid</name> | |
| 968 | - <ascending>Y</ascending> | |
| 969 | - <case_sensitive>N</case_sensitive> | |
| 970 | - <presorted>N</presorted> | |
| 971 | - </field> | |
| 972 | - <field> | |
| 973 | - <name>cid</name> | |
| 974 | - <ascending>Y</ascending> | |
| 975 | - <case_sensitive>N</case_sensitive> | |
| 976 | - <presorted>N</presorted> | |
| 977 | - </field> | |
| 978 | - <field> | |
| 979 | - <name>起始路牌</name> | |
| 980 | - <ascending>Y</ascending> | |
| 981 | - <case_sensitive>N</case_sensitive> | |
| 982 | - <presorted>N</presorted> | |
| 983 | - </field> | |
| 984 | - <field> | |
| 985 | - <name>起始人员</name> | |
| 986 | - <ascending>Y</ascending> | |
| 987 | - <case_sensitive>N</case_sensitive> | |
| 988 | - <presorted>N</presorted> | |
| 989 | - </field> | |
| 990 | - <field> | |
| 991 | - <name>人员范围</name> | |
| 992 | - <ascending>Y</ascending> | |
| 993 | - <case_sensitive>N</case_sensitive> | |
| 994 | - <presorted>N</presorted> | |
| 995 | - </field> | |
| 996 | - <field> | |
| 997 | - <name>启用日期</name> | |
| 998 | - <ascending>Y</ascending> | |
| 999 | - <case_sensitive>N</case_sensitive> | |
| 1000 | - <presorted>N</presorted> | |
| 1001 | - </field> | |
| 1002 | - <field> | |
| 1003 | - <name>翻班格式</name> | |
| 1004 | - <ascending>Y</ascending> | |
| 1005 | - <case_sensitive>N</case_sensitive> | |
| 1006 | - <presorted>N</presorted> | |
| 1007 | - </field> | |
| 1008 | - <field> | |
| 1009 | - <name>isCancel</name> | |
| 1010 | - <ascending>Y</ascending> | |
| 1011 | - <case_sensitive>N</case_sensitive> | |
| 1012 | - <presorted>N</presorted> | |
| 1013 | - </field> | |
| 1014 | - </fields> | |
| 1015 | - <cluster_schema/> | |
| 1016 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1017 | - <xloc>516</xloc> | |
| 1018 | - <yloc>119</yloc> | |
| 1019 | - <draw>Y</draw> | |
| 1020 | - </GUI> | |
| 1021 | - </step> | |
| 1022 | - | |
| 1023 | - <step> | |
| 1024 | - <name>排序记录 2</name> | |
| 1025 | - <type>SortRows</type> | |
| 1026 | - <description/> | |
| 1027 | - <distribute>Y</distribute> | |
| 1028 | - <custom_distribution/> | |
| 1029 | - <copies>1</copies> | |
| 1030 | - <partitioning> | |
| 1031 | - <method>none</method> | |
| 1032 | - <schema_name/> | |
| 1033 | - </partitioning> | |
| 1034 | - <directory>%%java.io.tmpdir%%</directory> | |
| 1035 | - <prefix>out</prefix> | |
| 1036 | - <sort_size>1000000</sort_size> | |
| 1037 | - <free_memory/> | |
| 1038 | - <compress>N</compress> | |
| 1039 | - <compress_variable/> | |
| 1040 | - <unique_rows>N</unique_rows> | |
| 1041 | - <fields> | |
| 1042 | - <field> | |
| 1043 | - <name>xlid</name> | |
| 1044 | - <ascending>Y</ascending> | |
| 1045 | - <case_sensitive>N</case_sensitive> | |
| 1046 | - <presorted>N</presorted> | |
| 1047 | - </field> | |
| 1048 | - <field> | |
| 1049 | - <name>cid</name> | |
| 1050 | - <ascending>Y</ascending> | |
| 1051 | - <case_sensitive>N</case_sensitive> | |
| 1052 | - <presorted>N</presorted> | |
| 1053 | - </field> | |
| 1054 | - <field> | |
| 1055 | - <name>lpnames</name> | |
| 1056 | - <ascending>Y</ascending> | |
| 1057 | - <case_sensitive>N</case_sensitive> | |
| 1058 | - <presorted>N</presorted> | |
| 1059 | - </field> | |
| 1060 | - <field> | |
| 1061 | - <name>lpids</name> | |
| 1062 | - <ascending>Y</ascending> | |
| 1063 | - <case_sensitive>N</case_sensitive> | |
| 1064 | - <presorted>N</presorted> | |
| 1065 | - </field> | |
| 1066 | - <field> | |
| 1067 | - <name>起始路牌</name> | |
| 1068 | - <ascending>Y</ascending> | |
| 1069 | - <case_sensitive>N</case_sensitive> | |
| 1070 | - <presorted>N</presorted> | |
| 1071 | - </field> | |
| 1072 | - <field> | |
| 1073 | - <name>起始人员</name> | |
| 1074 | - <ascending>Y</ascending> | |
| 1075 | - <case_sensitive>N</case_sensitive> | |
| 1076 | - <presorted>N</presorted> | |
| 1077 | - </field> | |
| 1078 | - <field> | |
| 1079 | - <name>人员范围</name> | |
| 1080 | - <ascending>Y</ascending> | |
| 1081 | - <case_sensitive>N</case_sensitive> | |
| 1082 | - <presorted>N</presorted> | |
| 1083 | - </field> | |
| 1084 | - <field> | |
| 1085 | - <name>启用日期</name> | |
| 1086 | - <ascending>Y</ascending> | |
| 1087 | - <case_sensitive>N</case_sensitive> | |
| 1088 | - <presorted>N</presorted> | |
| 1089 | - </field> | |
| 1090 | - <field> | |
| 1091 | - <name>翻班格式</name> | |
| 1092 | - <ascending>Y</ascending> | |
| 1093 | - <case_sensitive>N</case_sensitive> | |
| 1094 | - <presorted>N</presorted> | |
| 1095 | - </field> | |
| 1096 | - <field> | |
| 1097 | - <name>isCancel</name> | |
| 1098 | - <ascending>Y</ascending> | |
| 1099 | - <case_sensitive>N</case_sensitive> | |
| 1100 | - <presorted>N</presorted> | |
| 1101 | - </field> | |
| 1102 | - </fields> | |
| 1103 | - <cluster_schema/> | |
| 1104 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1105 | - <xloc>919</xloc> | |
| 1106 | - <yloc>289</yloc> | |
| 1107 | - <draw>Y</draw> | |
| 1108 | - </GUI> | |
| 1109 | - </step> | |
| 1110 | - | |
| 1111 | - <step> | |
| 1112 | - <name>线路id查询</name> | |
| 1113 | - <type>DBLookup</type> | |
| 1114 | - <description/> | |
| 1115 | - <distribute>Y</distribute> | |
| 1116 | - <custom_distribution/> | |
| 1117 | - <copies>1</copies> | |
| 1118 | - <partitioning> | |
| 1119 | - <method>none</method> | |
| 1120 | - <schema_name/> | |
| 1121 | - </partitioning> | |
| 1122 | - <connection>bus_control_variable</connection> | |
| 1123 | - <cache>N</cache> | |
| 1124 | - <cache_load_all>Y</cache_load_all> | |
| 1125 | - <cache_size>0</cache_size> | |
| 1126 | - <lookup> | |
| 1127 | - <schema/> | |
| 1128 | - <table>bsth_c_line</table> | |
| 1129 | - <orderby/> | |
| 1130 | - <fail_on_multiple>N</fail_on_multiple> | |
| 1131 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 1132 | - <key> | |
| 1133 | - <name>线路</name> | |
| 1134 | - <field>name</field> | |
| 1135 | - <condition>=</condition> | |
| 1136 | - <name2/> | |
| 1137 | - </key> | |
| 1138 | - <key> | |
| 1139 | - <name>isCancel</name> | |
| 1140 | - <field>destroy</field> | |
| 1141 | - <condition>=</condition> | |
| 1142 | - <name2/> | |
| 1143 | - </key> | |
| 1144 | - <value> | |
| 1145 | - <name>id</name> | |
| 1146 | - <rename>xlid</rename> | |
| 1147 | - <default/> | |
| 1148 | - <type>Integer</type> | |
| 1149 | - </value> | |
| 1150 | - </lookup> | |
| 1151 | - <cluster_schema/> | |
| 1152 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1153 | - <xloc>359</xloc> | |
| 1154 | - <yloc>110</yloc> | |
| 1155 | - <draw>Y</draw> | |
| 1156 | - </GUI> | |
| 1157 | - </step> | |
| 1158 | - | |
| 1159 | - <step> | |
| 1160 | - <name>获取变量</name> | |
| 1161 | - <type>GetVariable</type> | |
| 1162 | - <description/> | |
| 1163 | - <distribute>Y</distribute> | |
| 1164 | - <custom_distribution/> | |
| 1165 | - <copies>1</copies> | |
| 1166 | - <partitioning> | |
| 1167 | - <method>none</method> | |
| 1168 | - <schema_name/> | |
| 1169 | - </partitioning> | |
| 1170 | - <fields> | |
| 1171 | - <field> | |
| 1172 | - <name>filepath_</name> | |
| 1173 | - <variable>${filepath}</variable> | |
| 1174 | - <type>String</type> | |
| 1175 | - <format/> | |
| 1176 | - <currency/> | |
| 1177 | - <decimal/> | |
| 1178 | - <group/> | |
| 1179 | - <length>-1</length> | |
| 1180 | - <precision>-1</precision> | |
| 1181 | - <trim_type>none</trim_type> | |
| 1182 | - </field> | |
| 1183 | - <field> | |
| 1184 | - <name>erroroutputdir_</name> | |
| 1185 | - <variable>${erroroutputdir}</variable> | |
| 1186 | - <type>String</type> | |
| 1187 | - <format/> | |
| 1188 | - <currency/> | |
| 1189 | - <decimal/> | |
| 1190 | - <group/> | |
| 1191 | - <length>-1</length> | |
| 1192 | - <precision>-1</precision> | |
| 1193 | - <trim_type>none</trim_type> | |
| 1194 | - </field> | |
| 1195 | - </fields> | |
| 1196 | - <cluster_schema/> | |
| 1197 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1198 | - <xloc>53</xloc> | |
| 1199 | - <yloc>23</yloc> | |
| 1200 | - <draw>Y</draw> | |
| 1201 | - </GUI> | |
| 1202 | - </step> | |
| 1203 | - | |
| 1204 | - <step> | |
| 1205 | - <name>规则表输出</name> | |
| 1206 | - <type>TableOutput</type> | |
| 1207 | - <description/> | |
| 1208 | - <distribute>Y</distribute> | |
| 1209 | - <custom_distribution/> | |
| 1210 | - <copies>1</copies> | |
| 1211 | - <partitioning> | |
| 1212 | - <method>none</method> | |
| 1213 | - <schema_name/> | |
| 1214 | - </partitioning> | |
| 1215 | - <connection>bus_control_variable</connection> | |
| 1216 | - <schema/> | |
| 1217 | - <table>bsth_c_s_sr1_flat</table> | |
| 1218 | - <commit>1000</commit> | |
| 1219 | - <truncate>N</truncate> | |
| 1220 | - <ignore_errors>N</ignore_errors> | |
| 1221 | - <use_batch>Y</use_batch> | |
| 1222 | - <specify_fields>Y</specify_fields> | |
| 1223 | - <partitioning_enabled>N</partitioning_enabled> | |
| 1224 | - <partitioning_field/> | |
| 1225 | - <partitioning_daily>N</partitioning_daily> | |
| 1226 | - <partitioning_monthly>Y</partitioning_monthly> | |
| 1227 | - <tablename_in_field>N</tablename_in_field> | |
| 1228 | - <tablename_field/> | |
| 1229 | - <tablename_in_table>Y</tablename_in_table> | |
| 1230 | - <return_keys>N</return_keys> | |
| 1231 | - <return_field/> | |
| 1232 | - <fields> | |
| 1233 | - <field> | |
| 1234 | - <column_name>xl</column_name> | |
| 1235 | - <stream_name>xlid</stream_name> | |
| 1236 | - </field> | |
| 1237 | - <field> | |
| 1238 | - <column_name>car_config_info</column_name> | |
| 1239 | - <stream_name>cid</stream_name> | |
| 1240 | - </field> | |
| 1241 | - <field> | |
| 1242 | - <column_name>lp_names</column_name> | |
| 1243 | - <stream_name>lpnames</stream_name> | |
| 1244 | - </field> | |
| 1245 | - <field> | |
| 1246 | - <column_name>lp_ids</column_name> | |
| 1247 | - <stream_name>lpids</stream_name> | |
| 1248 | - </field> | |
| 1249 | - <field> | |
| 1250 | - <column_name>lp_start</column_name> | |
| 1251 | - <stream_name>起始路牌</stream_name> | |
| 1252 | - </field> | |
| 1253 | - <field> | |
| 1254 | - <column_name>ry_start</column_name> | |
| 1255 | - <stream_name>起始人员</stream_name> | |
| 1256 | - </field> | |
| 1257 | - <field> | |
| 1258 | - <column_name>qyrq</column_name> | |
| 1259 | - <stream_name>启用日期</stream_name> | |
| 1260 | - </field> | |
| 1261 | - <field> | |
| 1262 | - <column_name>fbgs</column_name> | |
| 1263 | - <stream_name>翻班格式</stream_name> | |
| 1264 | - </field> | |
| 1265 | - <field> | |
| 1266 | - <column_name>ry_dbbms</column_name> | |
| 1267 | - <stream_name>rybms</stream_name> | |
| 1268 | - </field> | |
| 1269 | - <field> | |
| 1270 | - <column_name>ry_config_ids</column_name> | |
| 1271 | - <stream_name>rycids</stream_name> | |
| 1272 | - </field> | |
| 1273 | - <field> | |
| 1274 | - <column_name>fbtype</column_name> | |
| 1275 | - <stream_name>fbtype</stream_name> | |
| 1276 | - </field> | |
| 1277 | - </fields> | |
| 1278 | - <cluster_schema/> | |
| 1279 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1280 | - <xloc>148</xloc> | |
| 1281 | - <yloc>380</yloc> | |
| 1282 | - <draw>Y</draw> | |
| 1283 | - </GUI> | |
| 1284 | - </step> | |
| 1285 | - | |
| 1286 | - <step> | |
| 1287 | - <name>路牌id查询</name> | |
| 1288 | - <type>DBLookup</type> | |
| 1289 | - <description/> | |
| 1290 | - <distribute>Y</distribute> | |
| 1291 | - <custom_distribution/> | |
| 1292 | - <copies>1</copies> | |
| 1293 | - <partitioning> | |
| 1294 | - <method>none</method> | |
| 1295 | - <schema_name/> | |
| 1296 | - </partitioning> | |
| 1297 | - <connection>bus_control_variable</connection> | |
| 1298 | - <cache>N</cache> | |
| 1299 | - <cache_load_all>Y</cache_load_all> | |
| 1300 | - <cache_size>0</cache_size> | |
| 1301 | - <lookup> | |
| 1302 | - <schema/> | |
| 1303 | - <table>bsth_c_s_gbi</table> | |
| 1304 | - <orderby/> | |
| 1305 | - <fail_on_multiple>N</fail_on_multiple> | |
| 1306 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 1307 | - <key> | |
| 1308 | - <name>xlid</name> | |
| 1309 | - <field>xl</field> | |
| 1310 | - <condition>=</condition> | |
| 1311 | - <name2/> | |
| 1312 | - </key> | |
| 1313 | - <key> | |
| 1314 | - <name>lpname</name> | |
| 1315 | - <field>lp_name</field> | |
| 1316 | - <condition>=</condition> | |
| 1317 | - <name2/> | |
| 1318 | - </key> | |
| 1319 | - <key> | |
| 1320 | - <name>isCancel</name> | |
| 1321 | - <field>is_cancel</field> | |
| 1322 | - <condition>=</condition> | |
| 1323 | - <name2/> | |
| 1324 | - </key> | |
| 1325 | - <value> | |
| 1326 | - <name>id</name> | |
| 1327 | - <rename>lpid</rename> | |
| 1328 | - <default/> | |
| 1329 | - <type>Integer</type> | |
| 1330 | - </value> | |
| 1331 | - </lookup> | |
| 1332 | - <cluster_schema/> | |
| 1333 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1334 | - <xloc>516</xloc> | |
| 1335 | - <yloc>21</yloc> | |
| 1336 | - <draw>Y</draw> | |
| 1337 | - </GUI> | |
| 1338 | - </step> | |
| 1339 | - | |
| 1340 | - <step> | |
| 1341 | - <name>车辆配置id查询</name> | |
| 1342 | - <type>DBJoin</type> | |
| 1343 | - <description/> | |
| 1344 | - <distribute>Y</distribute> | |
| 1345 | - <custom_distribution/> | |
| 1346 | - <copies>1</copies> | |
| 1347 | - <partitioning> | |
| 1348 | - <method>none</method> | |
| 1349 | - <schema_name/> | |
| 1350 | - </partitioning> | |
| 1351 | - <connection>bus_control_variable</connection> | |
| 1352 | - <rowlimit>1</rowlimit> | |
| 1353 | - <sql>select t1.id as cid from bsth_c_s_ccinfo t1 left join bsth_c_cars t2 on t1.cl = t2.id
where t1.xl = ? and t2.inside_code = ? and t1.is_cancel = ?</sql> | |
| 1354 | - <outer_join>Y</outer_join> | |
| 1355 | - <replace_vars>N</replace_vars> | |
| 1356 | - <parameter> | |
| 1357 | - <field> | |
| 1358 | - <name>xlid</name> | |
| 1359 | - <type>Integer</type> | |
| 1360 | - </field> | |
| 1361 | - <field> | |
| 1362 | - <name>内部编码</name> | |
| 1363 | - <type>String</type> | |
| 1364 | - </field> | |
| 1365 | - <field> | |
| 1366 | - <name>isCancel</name> | |
| 1367 | - <type>Integer</type> | |
| 1368 | - </field> | |
| 1369 | - </parameter> | |
| 1370 | - <cluster_schema/> | |
| 1371 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1372 | - <xloc>360</xloc> | |
| 1373 | - <yloc>184</yloc> | |
| 1374 | - <draw>Y</draw> | |
| 1375 | - </GUI> | |
| 1376 | - </step> | |
| 1377 | - | |
| 1378 | - <step> | |
| 1379 | - <name>过滤人员配置id为空记录</name> | |
| 1380 | - <type>FilterRows</type> | |
| 1381 | - <description/> | |
| 1382 | - <distribute>Y</distribute> | |
| 1383 | - <custom_distribution/> | |
| 1384 | - <copies>1</copies> | |
| 1385 | - <partitioning> | |
| 1386 | - <method>none</method> | |
| 1387 | - <schema_name/> | |
| 1388 | - </partitioning> | |
| 1389 | -<send_true_to/> | |
| 1390 | -<send_false_to/> | |
| 1391 | - <compare> | |
| 1392 | -<condition> | |
| 1393 | - <negated>N</negated> | |
| 1394 | - <conditions> | |
| 1395 | - <condition> | |
| 1396 | - <negated>N</negated> | |
| 1397 | - <leftvalue>rycid1</leftvalue> | |
| 1398 | - <function>IS NOT NULL</function> | |
| 1399 | - <rightvalue/> | |
| 1400 | - </condition> | |
| 1401 | - <condition> | |
| 1402 | - <negated>N</negated> | |
| 1403 | - <operator>OR</operator> | |
| 1404 | - <leftvalue>rycid2</leftvalue> | |
| 1405 | - <function>IS NOT NULL</function> | |
| 1406 | - <rightvalue/> | |
| 1407 | - </condition> | |
| 1408 | - </conditions> | |
| 1409 | - </condition> | |
| 1410 | - </compare> | |
| 1411 | - <cluster_schema/> | |
| 1412 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1413 | - <xloc>776</xloc> | |
| 1414 | - <yloc>204</yloc> | |
| 1415 | - <draw>Y</draw> | |
| 1416 | - </GUI> | |
| 1417 | - </step> | |
| 1418 | - | |
| 1419 | - <step> | |
| 1420 | - <name>过滤线路id为空记录</name> | |
| 1421 | - <type>FilterRows</type> | |
| 1422 | - <description/> | |
| 1423 | - <distribute>Y</distribute> | |
| 1424 | - <custom_distribution/> | |
| 1425 | - <copies>1</copies> | |
| 1426 | - <partitioning> | |
| 1427 | - <method>none</method> | |
| 1428 | - <schema_name/> | |
| 1429 | - </partitioning> | |
| 1430 | -<send_true_to>车辆配置id查询</send_true_to> | |
| 1431 | -<send_false_to/> | |
| 1432 | - <compare> | |
| 1433 | -<condition> | |
| 1434 | - <negated>N</negated> | |
| 1435 | - <leftvalue>xlid</leftvalue> | |
| 1436 | - <function>IS NOT NULL</function> | |
| 1437 | - <rightvalue/> | |
| 1438 | - </condition> | |
| 1439 | - </compare> | |
| 1440 | - <cluster_schema/> | |
| 1441 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1442 | - <xloc>203</xloc> | |
| 1443 | - <yloc>110</yloc> | |
| 1444 | - <draw>Y</draw> | |
| 1445 | - </GUI> | |
| 1446 | - </step> | |
| 1447 | - | |
| 1448 | - <step> | |
| 1449 | - <name>过滤路牌id为空记录</name> | |
| 1450 | - <type>FilterRows</type> | |
| 1451 | - <description/> | |
| 1452 | - <distribute>Y</distribute> | |
| 1453 | - <custom_distribution/> | |
| 1454 | - <copies>1</copies> | |
| 1455 | - <partitioning> | |
| 1456 | - <method>none</method> | |
| 1457 | - <schema_name/> | |
| 1458 | - </partitioning> | |
| 1459 | -<send_true_to>排序记录</send_true_to> | |
| 1460 | -<send_false_to/> | |
| 1461 | - <compare> | |
| 1462 | -<condition> | |
| 1463 | - <negated>N</negated> | |
| 1464 | - <leftvalue>lpid</leftvalue> | |
| 1465 | - <function>IS NOT NULL</function> | |
| 1466 | - <rightvalue/> | |
| 1467 | - </condition> | |
| 1468 | - </compare> | |
| 1469 | - <cluster_schema/> | |
| 1470 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1471 | - <xloc>653</xloc> | |
| 1472 | - <yloc>23</yloc> | |
| 1473 | - <draw>Y</draw> | |
| 1474 | - </GUI> | |
| 1475 | - </step> | |
| 1476 | - | |
| 1477 | - <step> | |
| 1478 | - <name>过滤车辆配置id为空记录</name> | |
| 1479 | - <type>FilterRows</type> | |
| 1480 | - <description/> | |
| 1481 | - <distribute>Y</distribute> | |
| 1482 | - <custom_distribution/> | |
| 1483 | - <copies>1</copies> | |
| 1484 | - <partitioning> | |
| 1485 | - <method>none</method> | |
| 1486 | - <schema_name/> | |
| 1487 | - </partitioning> | |
| 1488 | -<send_true_to>拆分路牌范围</send_true_to> | |
| 1489 | -<send_false_to/> | |
| 1490 | - <compare> | |
| 1491 | -<condition> | |
| 1492 | - <negated>N</negated> | |
| 1493 | - <leftvalue>cid</leftvalue> | |
| 1494 | - <function>IS NOT NULL</function> | |
| 1495 | - <rightvalue/> | |
| 1496 | - </condition> | |
| 1497 | - </compare> | |
| 1498 | - <cluster_schema/> | |
| 1499 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1500 | - <xloc>208</xloc> | |
| 1501 | - <yloc>182</yloc> | |
| 1502 | - <draw>Y</draw> | |
| 1503 | - </GUI> | |
| 1504 | - </step> | |
| 1505 | - | |
| 1506 | - <step> | |
| 1507 | - <name>错误输出 2</name> | |
| 1508 | - <type>ExcelOutput</type> | |
| 1509 | - <description/> | |
| 1510 | - <distribute>Y</distribute> | |
| 1511 | - <custom_distribution/> | |
| 1512 | - <copies>1</copies> | |
| 1513 | - <partitioning> | |
| 1514 | - <method>none</method> | |
| 1515 | - <schema_name/> | |
| 1516 | - </partitioning> | |
| 1517 | - <header>Y</header> | |
| 1518 | - <footer>N</footer> | |
| 1519 | - <encoding>UTF-8</encoding> | |
| 1520 | - <append>N</append> | |
| 1521 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 1522 | - <file> | |
| 1523 | - <name>${erroroutputdir}/排版规则信息导入_错误</name> | |
| 1524 | - <extention>xls</extention> | |
| 1525 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 1526 | - <create_parent_folder>N</create_parent_folder> | |
| 1527 | - <split>N</split> | |
| 1528 | - <add_date>N</add_date> | |
| 1529 | - <add_time>N</add_time> | |
| 1530 | - <SpecifyFormat>N</SpecifyFormat> | |
| 1531 | - <date_time_format/> | |
| 1532 | - <sheetname>Sheet1</sheetname> | |
| 1533 | - <autosizecolums>N</autosizecolums> | |
| 1534 | - <nullisblank>N</nullisblank> | |
| 1535 | - <protect_sheet>N</protect_sheet> | |
| 1536 | - <password>Encrypted </password> | |
| 1537 | - <splitevery>0</splitevery> | |
| 1538 | - <usetempfiles>N</usetempfiles> | |
| 1539 | - <tempdirectory/> | |
| 1540 | - </file> | |
| 1541 | - <template> | |
| 1542 | - <enabled>N</enabled> | |
| 1543 | - <append>N</append> | |
| 1544 | - <filename>template.xls</filename> | |
| 1545 | - </template> | |
| 1546 | - <fields> | |
| 1547 | - <field> | |
| 1548 | - <name>xlid</name> | |
| 1549 | - <type>Integer</type> | |
| 1550 | - <format/> | |
| 1551 | - </field> | |
| 1552 | - <field> | |
| 1553 | - <name>cid</name> | |
| 1554 | - <type>Integer</type> | |
| 1555 | - <format/> | |
| 1556 | - </field> | |
| 1557 | - <field> | |
| 1558 | - <name>lpnames</name> | |
| 1559 | - <type>String</type> | |
| 1560 | - <format/> | |
| 1561 | - </field> | |
| 1562 | - <field> | |
| 1563 | - <name>lpids</name> | |
| 1564 | - <type>String</type> | |
| 1565 | - <format/> | |
| 1566 | - </field> | |
| 1567 | - <field> | |
| 1568 | - <name>起始路牌</name> | |
| 1569 | - <type>String</type> | |
| 1570 | - <format/> | |
| 1571 | - </field> | |
| 1572 | - <field> | |
| 1573 | - <name>起始人员</name> | |
| 1574 | - <type>String</type> | |
| 1575 | - <format/> | |
| 1576 | - </field> | |
| 1577 | - <field> | |
| 1578 | - <name>人员范围</name> | |
| 1579 | - <type>String</type> | |
| 1580 | - <format/> | |
| 1581 | - </field> | |
| 1582 | - <field> | |
| 1583 | - <name>启用日期</name> | |
| 1584 | - <type>Timestamp</type> | |
| 1585 | - <format/> | |
| 1586 | - </field> | |
| 1587 | - <field> | |
| 1588 | - <name>翻班格式</name> | |
| 1589 | - <type>String</type> | |
| 1590 | - <format/> | |
| 1591 | - </field> | |
| 1592 | - <field> | |
| 1593 | - <name>isCancel</name> | |
| 1594 | - <type>Integer</type> | |
| 1595 | - <format/> | |
| 1596 | - </field> | |
| 1597 | - <field> | |
| 1598 | - <name>rycids</name> | |
| 1599 | - <type>String</type> | |
| 1600 | - <format/> | |
| 1601 | - </field> | |
| 1602 | - <field> | |
| 1603 | - <name>rybms</name> | |
| 1604 | - <type>String</type> | |
| 1605 | - <format/> | |
| 1606 | - </field> | |
| 1607 | - <field> | |
| 1608 | - <name>error_count</name> | |
| 1609 | - <type>Integer</type> | |
| 1610 | - <format/> | |
| 1611 | - </field> | |
| 1612 | - <field> | |
| 1613 | - <name>error_desc</name> | |
| 1614 | - <type>String</type> | |
| 1615 | - <format/> | |
| 1616 | - </field> | |
| 1617 | - <field> | |
| 1618 | - <name>error_column1</name> | |
| 1619 | - <type>String</type> | |
| 1620 | - <format/> | |
| 1621 | - </field> | |
| 1622 | - <field> | |
| 1623 | - <name>error_column2</name> | |
| 1624 | - <type>String</type> | |
| 1625 | - <format/> | |
| 1626 | - </field> | |
| 1627 | - </fields> | |
| 1628 | - <custom> | |
| 1629 | - <header_font_name>arial</header_font_name> | |
| 1630 | - <header_font_size>10</header_font_size> | |
| 1631 | - <header_font_bold>N</header_font_bold> | |
| 1632 | - <header_font_italic>N</header_font_italic> | |
| 1633 | - <header_font_underline>no</header_font_underline> | |
| 1634 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 1635 | - <header_font_color>black</header_font_color> | |
| 1636 | - <header_background_color>none</header_background_color> | |
| 1637 | - <header_row_height>255</header_row_height> | |
| 1638 | - <header_alignment>left</header_alignment> | |
| 1639 | - <header_image/> | |
| 1640 | - <row_font_name>arial</row_font_name> | |
| 1641 | - <row_font_size>10</row_font_size> | |
| 1642 | - <row_font_color>black</row_font_color> | |
| 1643 | - <row_background_color>none</row_background_color> | |
| 1644 | - </custom> | |
| 1645 | - <cluster_schema/> | |
| 1646 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1647 | - <xloc>142</xloc> | |
| 1648 | - <yloc>512</yloc> | |
| 1649 | - <draw>Y</draw> | |
| 1650 | - </GUI> | |
| 1651 | - </step> | |
| 1652 | - | |
| 1653 | - <step> | |
| 1654 | - <name>阻塞数据直到步骤都完成</name> | |
| 1655 | - <type>BlockUntilStepsFinish</type> | |
| 1656 | - <description/> | |
| 1657 | - <distribute>Y</distribute> | |
| 1658 | - <custom_distribution/> | |
| 1659 | - <copies>1</copies> | |
| 1660 | - <partitioning> | |
| 1661 | - <method>none</method> | |
| 1662 | - <schema_name/> | |
| 1663 | - </partitioning> | |
| 1664 | - <steps> | |
| 1665 | - <step> | |
| 1666 | - <name>删除</name> | |
| 1667 | - <CopyNr>0</CopyNr> | |
| 1668 | - </step> | |
| 1669 | - </steps> | |
| 1670 | - <cluster_schema/> | |
| 1671 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1672 | - <xloc>339</xloc> | |
| 1673 | - <yloc>381</yloc> | |
| 1674 | - <draw>Y</draw> | |
| 1675 | - </GUI> | |
| 1676 | - </step> | |
| 1677 | - | |
| 1678 | - <step> | |
| 1679 | - <name>默认翻班类型</name> | |
| 1680 | - <type>Constant</type> | |
| 1681 | - <description/> | |
| 1682 | - <distribute>Y</distribute> | |
| 1683 | - <custom_distribution/> | |
| 1684 | - <copies>1</copies> | |
| 1685 | - <partitioning> | |
| 1686 | - <method>none</method> | |
| 1687 | - <schema_name/> | |
| 1688 | - </partitioning> | |
| 1689 | - <fields> | |
| 1690 | - <field> | |
| 1691 | - <name>fbtype</name> | |
| 1692 | - <type>String</type> | |
| 1693 | - <format/> | |
| 1694 | - <currency/> | |
| 1695 | - <decimal/> | |
| 1696 | - <group/> | |
| 1697 | - <nullif>0</nullif> | |
| 1698 | - <length>-1</length> | |
| 1699 | - <precision>-1</precision> | |
| 1700 | - <set_empty_string>N</set_empty_string> | |
| 1701 | - </field> | |
| 1702 | - </fields> | |
| 1703 | - <cluster_schema/> | |
| 1704 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1705 | - <xloc>643</xloc> | |
| 1706 | - <yloc>368</yloc> | |
| 1707 | - <draw>Y</draw> | |
| 1708 | - </GUI> | |
| 1709 | - </step> | |
| 1710 | - | |
| 1711 | - <step_error_handling> | |
| 1712 | - <error> | |
| 1713 | - <source_step>规则表输出</source_step> | |
| 1714 | - <target_step>错误输出 2</target_step> | |
| 1715 | - <is_enabled>Y</is_enabled> | |
| 1716 | - <nr_valuename>error_count</nr_valuename> | |
| 1717 | - <descriptions_valuename>error_desc</descriptions_valuename> | |
| 1718 | - <fields_valuename>error_column1</fields_valuename> | |
| 1719 | - <codes_valuename>error_column2</codes_valuename> | |
| 1720 | - <max_errors/> | |
| 1721 | - <max_pct_errors/> | |
| 1722 | - <min_pct_rows/> | |
| 1723 | - </error> | |
| 1724 | - </step_error_handling> | |
| 1725 | - <slave-step-copy-partition-distribution> | |
| 1726 | -</slave-step-copy-partition-distribution> | |
| 1727 | - <slave_transformation>N</slave_transformation> | |
| 1728 | - | |
| 1729 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>排班规则信息导入</name> | |
| 5 | + <description/> | |
| 6 | + <extended_description/> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>erroroutputdir</name> | |
| 14 | + <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1</default_value> | |
| 15 | + <description>ktr step配置的错误输出目录</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value>/Users/xu/resource/project_code/bsth_project/bsth_control_etl/导入导出1/排版规则信息.xls</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>2017/01/09 10:10:36.915</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2017/01/09 10:10:36.915</modified_date> | |
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 84 | + <is_key_private>N</is_key_private> | |
| 85 | + </info> | |
| 86 | + <notepads> | |
| 87 | + </notepads> | |
| 88 | + <connection> | |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 113 | + <name>bus_control_variable</name> | |
| 114 | + <server>${v_db_ip}</server> | |
| 115 | + <type>MYSQL</type> | |
| 116 | + <access>Native</access> | |
| 117 | + <database>${v_db_dname}</database> | |
| 118 | + <port>3306</port> | |
| 119 | + <username>${v_db_uname}</username> | |
| 120 | + <password>${v_db_pwd}</password> | |
| 121 | + <servername/> | |
| 122 | + <data_tablespace/> | |
| 123 | + <index_tablespace/> | |
| 124 | + <attributes> | |
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 138 | + </attributes> | |
| 139 | + </connection> | |
| 140 | + <connection> | |
| 141 | + <name>bus_control_公司_201</name> | |
| 142 | + <server>localhost</server> | |
| 143 | + <type>MYSQL</type> | |
| 144 | + <access>Native</access> | |
| 145 | + <database>control</database> | |
| 146 | + <port>3306</port> | |
| 147 | + <username>root</username> | |
| 148 | + <password>Encrypted </password> | |
| 149 | + <servername/> | |
| 150 | + <data_tablespace/> | |
| 151 | + <index_tablespace/> | |
| 152 | + <attributes> | |
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 165 | + </attributes> | |
| 166 | + </connection> | |
| 167 | + <connection> | |
| 168 | + <name>bus_control_本机</name> | |
| 169 | + <server>localhost</server> | |
| 170 | + <type>MYSQL</type> | |
| 171 | + <access>Native</access> | |
| 172 | + <database>control</database> | |
| 173 | + <port>3306</port> | |
| 174 | + <username>root</username> | |
| 175 | + <password>Encrypted </password> | |
| 176 | + <servername/> | |
| 177 | + <data_tablespace/> | |
| 178 | + <index_tablespace/> | |
| 179 | + <attributes> | |
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 192 | + </attributes> | |
| 193 | + </connection> | |
| 194 | + <connection> | |
| 195 | + <name>xlab_mysql_youle</name> | |
| 196 | + <server>101.231.124.8</server> | |
| 197 | + <type>MYSQL</type> | |
| 198 | + <access>Native</access> | |
| 199 | + <database>xlab_youle</database> | |
| 200 | + <port>45687</port> | |
| 201 | + <username>xlab-youle</username> | |
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 203 | + <servername/> | |
| 204 | + <data_tablespace/> | |
| 205 | + <index_tablespace/> | |
| 206 | + <attributes> | |
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 219 | + </attributes> | |
| 220 | + </connection> | |
| 221 | + <connection> | |
| 222 | + <name>xlab_mysql_youle(本机)</name> | |
| 223 | + <server>localhost</server> | |
| 224 | + <type>MYSQL</type> | |
| 225 | + <access>Native</access> | |
| 226 | + <database>xlab_youle</database> | |
| 227 | + <port>3306</port> | |
| 228 | + <username>root</username> | |
| 229 | + <password>Encrypted </password> | |
| 230 | + <servername/> | |
| 231 | + <data_tablespace/> | |
| 232 | + <index_tablespace/> | |
| 233 | + <attributes> | |
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 246 | + </attributes> | |
| 247 | + </connection> | |
| 248 | + <connection> | |
| 249 | + <name>xlab_youle</name> | |
| 250 | + <server/> | |
| 251 | + <type>MYSQL</type> | |
| 252 | + <access>JNDI</access> | |
| 253 | + <database>xlab_youle</database> | |
| 254 | + <port>1521</port> | |
| 255 | + <username/> | |
| 256 | + <password>Encrypted </password> | |
| 257 | + <servername/> | |
| 258 | + <data_tablespace/> | |
| 259 | + <index_tablespace/> | |
| 260 | + <attributes> | |
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 271 | + </attributes> | |
| 272 | + </connection> | |
| 273 | + <order> | |
| 274 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>拆分路牌范围</from><to>路牌id查询</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>排序记录</from><to>分组合并路牌id</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>分组合并路牌id</from><to>拆分人员范围</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>拆分人员范围</from><to>拆分分班搭班编码字段</to><enabled>Y</enabled> </hop> | |
| 280 | + <hop> <from>拆分分班搭班编码字段</from><to>人员配置id查询</to><enabled>Y</enabled> </hop> | |
| 281 | + <hop> <from>人员配置id查询</from><to>人员配置id查询 2</to><enabled>Y</enabled> </hop> | |
| 282 | + <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 283 | + <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 284 | + <hop> <from>过滤线路id为空记录</from><to>车辆配置id查询</to><enabled>Y</enabled> </hop> | |
| 285 | + <hop> <from>车辆配置id查询</from><to>过滤车辆配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 286 | + <hop> <from>过滤车辆配置id为空记录</from><to>拆分路牌范围</to><enabled>Y</enabled> </hop> | |
| 287 | + <hop> <from>路牌id查询</from><to>过滤路牌id为空记录</to><enabled>Y</enabled> </hop> | |
| 288 | + <hop> <from>过滤路牌id为空记录</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 289 | + <hop> <from>人员配置id查询 2</from><to>过滤人员配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 290 | + <hop> <from>过滤人员配置id为空记录</from><to>合并分班人员配置id</to><enabled>Y</enabled> </hop> | |
| 291 | + <hop> <from>合并分班人员配置id</from><to>排序记录 2</to><enabled>Y</enabled> </hop> | |
| 292 | + <hop> <from>排序记录 2</from><to>分组合并人员配置id</to><enabled>Y</enabled> </hop> | |
| 293 | + <hop> <from>分组合并人员配置id</from><to>启用日期转换</to><enabled>Y</enabled> </hop> | |
| 294 | + <hop> <from>删除</from><to>阻塞数据直到步骤都完成</to><enabled>Y</enabled> </hop> | |
| 295 | + <hop> <from>阻塞数据直到步骤都完成</from><to>规则表输出</to><enabled>Y</enabled> </hop> | |
| 296 | + <hop> <from>规则表输出</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | |
| 297 | + <hop> <from>启用日期转换</from><to>默认翻班类型</to><enabled>Y</enabled> </hop> | |
| 298 | + <hop> <from>默认翻班类型</from><to>删除</to><enabled>Y</enabled> </hop> | |
| 299 | + </order> | |
| 300 | + <step> | |
| 301 | + <name>人员配置id查询</name> | |
| 302 | + <type>DBLookup</type> | |
| 303 | + <description/> | |
| 304 | + <distribute>Y</distribute> | |
| 305 | + <custom_distribution/> | |
| 306 | + <copies>1</copies> | |
| 307 | + <partitioning> | |
| 308 | + <method>none</method> | |
| 309 | + <schema_name/> | |
| 310 | + </partitioning> | |
| 311 | + <connection>bus_control_variable</connection> | |
| 312 | + <cache>N</cache> | |
| 313 | + <cache_load_all>Y</cache_load_all> | |
| 314 | + <cache_size>0</cache_size> | |
| 315 | + <lookup> | |
| 316 | + <schema/> | |
| 317 | + <table>bsth_c_s_ecinfo</table> | |
| 318 | + <orderby/> | |
| 319 | + <fail_on_multiple>N</fail_on_multiple> | |
| 320 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 321 | + <key> | |
| 322 | + <name>xlid</name> | |
| 323 | + <field>xl</field> | |
| 324 | + <condition>=</condition> | |
| 325 | + <name2/> | |
| 326 | + </key> | |
| 327 | + <key> | |
| 328 | + <name>dbbm1</name> | |
| 329 | + <field>dbbm</field> | |
| 330 | + <condition>=</condition> | |
| 331 | + <name2/> | |
| 332 | + </key> | |
| 333 | + <key> | |
| 334 | + <name>isCancel</name> | |
| 335 | + <field>is_cancel</field> | |
| 336 | + <condition>=</condition> | |
| 337 | + <name2/> | |
| 338 | + </key> | |
| 339 | + <value> | |
| 340 | + <name>id</name> | |
| 341 | + <rename>rycid1</rename> | |
| 342 | + <default/> | |
| 343 | + <type>Integer</type> | |
| 344 | + </value> | |
| 345 | + </lookup> | |
| 346 | + <cluster_schema/> | |
| 347 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 348 | + <xloc>904</xloc> | |
| 349 | + <yloc>101</yloc> | |
| 350 | + <draw>Y</draw> | |
| 351 | + </GUI> | |
| 352 | + </step> | |
| 353 | + | |
| 354 | + <step> | |
| 355 | + <name>人员配置id查询 2</name> | |
| 356 | + <type>DBLookup</type> | |
| 357 | + <description/> | |
| 358 | + <distribute>Y</distribute> | |
| 359 | + <custom_distribution/> | |
| 360 | + <copies>1</copies> | |
| 361 | + <partitioning> | |
| 362 | + <method>none</method> | |
| 363 | + <schema_name/> | |
| 364 | + </partitioning> | |
| 365 | + <connection>bus_control_variable</connection> | |
| 366 | + <cache>N</cache> | |
| 367 | + <cache_load_all>Y</cache_load_all> | |
| 368 | + <cache_size>0</cache_size> | |
| 369 | + <lookup> | |
| 370 | + <schema/> | |
| 371 | + <table>bsth_c_s_ecinfo</table> | |
| 372 | + <orderby/> | |
| 373 | + <fail_on_multiple>N</fail_on_multiple> | |
| 374 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 375 | + <key> | |
| 376 | + <name>xlid</name> | |
| 377 | + <field>xl</field> | |
| 378 | + <condition>=</condition> | |
| 379 | + <name2/> | |
| 380 | + </key> | |
| 381 | + <key> | |
| 382 | + <name>dbbm2</name> | |
| 383 | + <field>dbbm</field> | |
| 384 | + <condition>=</condition> | |
| 385 | + <name2/> | |
| 386 | + </key> | |
| 387 | + <key> | |
| 388 | + <name>isCancel</name> | |
| 389 | + <field>is_cancel</field> | |
| 390 | + <condition>=</condition> | |
| 391 | + <name2/> | |
| 392 | + </key> | |
| 393 | + <value> | |
| 394 | + <name>id</name> | |
| 395 | + <rename>rycid2</rename> | |
| 396 | + <default/> | |
| 397 | + <type>Integer</type> | |
| 398 | + </value> | |
| 399 | + </lookup> | |
| 400 | + <cluster_schema/> | |
| 401 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 402 | + <xloc>778</xloc> | |
| 403 | + <yloc>103</yloc> | |
| 404 | + <draw>Y</draw> | |
| 405 | + </GUI> | |
| 406 | + </step> | |
| 407 | + | |
| 408 | + <step> | |
| 409 | + <name>分组合并人员配置id</name> | |
| 410 | + <type>GroupBy</type> | |
| 411 | + <description/> | |
| 412 | + <distribute>Y</distribute> | |
| 413 | + <custom_distribution/> | |
| 414 | + <copies>1</copies> | |
| 415 | + <partitioning> | |
| 416 | + <method>none</method> | |
| 417 | + <schema_name/> | |
| 418 | + </partitioning> | |
| 419 | + <all_rows>N</all_rows> | |
| 420 | + <ignore_aggregate>N</ignore_aggregate> | |
| 421 | + <field_ignore/> | |
| 422 | + <directory>%%java.io.tmpdir%%</directory> | |
| 423 | + <prefix>grp</prefix> | |
| 424 | + <add_linenr>N</add_linenr> | |
| 425 | + <linenr_fieldname/> | |
| 426 | + <give_back_row>N</give_back_row> | |
| 427 | + <group> | |
| 428 | + <field> | |
| 429 | + <name>xlid</name> | |
| 430 | + </field> | |
| 431 | + <field> | |
| 432 | + <name>cid</name> | |
| 433 | + </field> | |
| 434 | + <field> | |
| 435 | + <name>lpnames</name> | |
| 436 | + </field> | |
| 437 | + <field> | |
| 438 | + <name>lpids</name> | |
| 439 | + </field> | |
| 440 | + <field> | |
| 441 | + <name>起始路牌</name> | |
| 442 | + </field> | |
| 443 | + <field> | |
| 444 | + <name>起始人员</name> | |
| 445 | + </field> | |
| 446 | + <field> | |
| 447 | + <name>人员范围</name> | |
| 448 | + </field> | |
| 449 | + <field> | |
| 450 | + <name>启用日期</name> | |
| 451 | + </field> | |
| 452 | + <field> | |
| 453 | + <name>翻班格式</name> | |
| 454 | + </field> | |
| 455 | + <field> | |
| 456 | + <name>isCancel</name> | |
| 457 | + </field> | |
| 458 | + </group> | |
| 459 | + <fields> | |
| 460 | + <field> | |
| 461 | + <aggregate>rycids</aggregate> | |
| 462 | + <subject>rycid</subject> | |
| 463 | + <type>CONCAT_STRING</type> | |
| 464 | + <valuefield>,</valuefield> | |
| 465 | + </field> | |
| 466 | + <field> | |
| 467 | + <aggregate>rybms</aggregate> | |
| 468 | + <subject>rybm</subject> | |
| 469 | + <type>CONCAT_STRING</type> | |
| 470 | + <valuefield>,</valuefield> | |
| 471 | + </field> | |
| 472 | + </fields> | |
| 473 | + <cluster_schema/> | |
| 474 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 475 | + <xloc>780</xloc> | |
| 476 | + <yloc>291</yloc> | |
| 477 | + <draw>Y</draw> | |
| 478 | + </GUI> | |
| 479 | + </step> | |
| 480 | + | |
| 481 | + <step> | |
| 482 | + <name>分组合并路牌id</name> | |
| 483 | + <type>GroupBy</type> | |
| 484 | + <description/> | |
| 485 | + <distribute>Y</distribute> | |
| 486 | + <custom_distribution/> | |
| 487 | + <copies>1</copies> | |
| 488 | + <partitioning> | |
| 489 | + <method>none</method> | |
| 490 | + <schema_name/> | |
| 491 | + </partitioning> | |
| 492 | + <all_rows>N</all_rows> | |
| 493 | + <ignore_aggregate>N</ignore_aggregate> | |
| 494 | + <field_ignore/> | |
| 495 | + <directory>%%java.io.tmpdir%%</directory> | |
| 496 | + <prefix>grp</prefix> | |
| 497 | + <add_linenr>N</add_linenr> | |
| 498 | + <linenr_fieldname/> | |
| 499 | + <give_back_row>N</give_back_row> | |
| 500 | + <group> | |
| 501 | + <field> | |
| 502 | + <name>xlid</name> | |
| 503 | + </field> | |
| 504 | + <field> | |
| 505 | + <name>cid</name> | |
| 506 | + </field> | |
| 507 | + <field> | |
| 508 | + <name>起始路牌</name> | |
| 509 | + </field> | |
| 510 | + <field> | |
| 511 | + <name>起始人员</name> | |
| 512 | + </field> | |
| 513 | + <field> | |
| 514 | + <name>人员范围</name> | |
| 515 | + </field> | |
| 516 | + <field> | |
| 517 | + <name>启用日期</name> | |
| 518 | + </field> | |
| 519 | + <field> | |
| 520 | + <name>翻班格式</name> | |
| 521 | + </field> | |
| 522 | + <field> | |
| 523 | + <name>isCancel</name> | |
| 524 | + </field> | |
| 525 | + </group> | |
| 526 | + <fields> | |
| 527 | + <field> | |
| 528 | + <aggregate>lpids</aggregate> | |
| 529 | + <subject>lpid</subject> | |
| 530 | + <type>CONCAT_STRING</type> | |
| 531 | + <valuefield>,</valuefield> | |
| 532 | + </field> | |
| 533 | + <field> | |
| 534 | + <aggregate>lpnames</aggregate> | |
| 535 | + <subject>lpname</subject> | |
| 536 | + <type>CONCAT_STRING</type> | |
| 537 | + <valuefield>,</valuefield> | |
| 538 | + </field> | |
| 539 | + </fields> | |
| 540 | + <cluster_schema/> | |
| 541 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 542 | + <xloc>653</xloc> | |
| 543 | + <yloc>119</yloc> | |
| 544 | + <draw>Y</draw> | |
| 545 | + </GUI> | |
| 546 | + </step> | |
| 547 | + | |
| 548 | + <step> | |
| 549 | + <name>删除</name> | |
| 550 | + <type>Delete</type> | |
| 551 | + <description/> | |
| 552 | + <distribute>Y</distribute> | |
| 553 | + <custom_distribution/> | |
| 554 | + <copies>1</copies> | |
| 555 | + <partitioning> | |
| 556 | + <method>none</method> | |
| 557 | + <schema_name/> | |
| 558 | + </partitioning> | |
| 559 | + <connection>bus_control_variable</connection> | |
| 560 | + <commit>100</commit> | |
| 561 | + <lookup> | |
| 562 | + <schema/> | |
| 563 | + <table>bsth_c_s_sr1_flat</table> | |
| 564 | + <key> | |
| 565 | + <name>xlid</name> | |
| 566 | + <field>xl</field> | |
| 567 | + <condition>=</condition> | |
| 568 | + <name2/> | |
| 569 | + </key> | |
| 570 | + </lookup> | |
| 571 | + <cluster_schema/> | |
| 572 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 573 | + <xloc>508</xloc> | |
| 574 | + <yloc>381</yloc> | |
| 575 | + <draw>Y</draw> | |
| 576 | + </GUI> | |
| 577 | + </step> | |
| 578 | + | |
| 579 | + <step> | |
| 580 | + <name>原始系统导出的Excel输入</name> | |
| 581 | + <type>ExcelInput</type> | |
| 582 | + <description/> | |
| 583 | + <distribute>Y</distribute> | |
| 584 | + <custom_distribution/> | |
| 585 | + <copies>1</copies> | |
| 586 | + <partitioning> | |
| 587 | + <method>none</method> | |
| 588 | + <schema_name/> | |
| 589 | + </partitioning> | |
| 590 | + <header>Y</header> | |
| 591 | + <noempty>Y</noempty> | |
| 592 | + <stoponempty>N</stoponempty> | |
| 593 | + <filefield/> | |
| 594 | + <sheetfield/> | |
| 595 | + <sheetrownumfield/> | |
| 596 | + <rownumfield/> | |
| 597 | + <sheetfield/> | |
| 598 | + <filefield/> | |
| 599 | + <limit>0</limit> | |
| 600 | + <encoding/> | |
| 601 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 602 | + <accept_filenames>Y</accept_filenames> | |
| 603 | + <accept_field>filepath_</accept_field> | |
| 604 | + <accept_stepname>获取变量</accept_stepname> | |
| 605 | + <file> | |
| 606 | + <name/> | |
| 607 | + <filemask/> | |
| 608 | + <exclude_filemask/> | |
| 609 | + <file_required>N</file_required> | |
| 610 | + <include_subfolders>N</include_subfolders> | |
| 611 | + </file> | |
| 612 | + <fields> | |
| 613 | + <field> | |
| 614 | + <name>线路</name> | |
| 615 | + <type>String</type> | |
| 616 | + <length>-1</length> | |
| 617 | + <precision>-1</precision> | |
| 618 | + <trim_type>none</trim_type> | |
| 619 | + <repeat>N</repeat> | |
| 620 | + <format/> | |
| 621 | + <currency/> | |
| 622 | + <decimal/> | |
| 623 | + <group/> | |
| 624 | + </field> | |
| 625 | + <field> | |
| 626 | + <name>内部编码</name> | |
| 627 | + <type>String</type> | |
| 628 | + <length>-1</length> | |
| 629 | + <precision>-1</precision> | |
| 630 | + <trim_type>none</trim_type> | |
| 631 | + <repeat>N</repeat> | |
| 632 | + <format/> | |
| 633 | + <currency/> | |
| 634 | + <decimal/> | |
| 635 | + <group/> | |
| 636 | + </field> | |
| 637 | + <field> | |
| 638 | + <name>启用日期</name> | |
| 639 | + <type>String</type> | |
| 640 | + <length>-1</length> | |
| 641 | + <precision>-1</precision> | |
| 642 | + <trim_type>none</trim_type> | |
| 643 | + <repeat>N</repeat> | |
| 644 | + <format/> | |
| 645 | + <currency/> | |
| 646 | + <decimal/> | |
| 647 | + <group/> | |
| 648 | + </field> | |
| 649 | + <field> | |
| 650 | + <name>起始路牌</name> | |
| 651 | + <type>String</type> | |
| 652 | + <length>-1</length> | |
| 653 | + <precision>-1</precision> | |
| 654 | + <trim_type>none</trim_type> | |
| 655 | + <repeat>N</repeat> | |
| 656 | + <format>#</format> | |
| 657 | + <currency/> | |
| 658 | + <decimal/> | |
| 659 | + <group/> | |
| 660 | + </field> | |
| 661 | + <field> | |
| 662 | + <name>路牌范围</name> | |
| 663 | + <type>String</type> | |
| 664 | + <length>-1</length> | |
| 665 | + <precision>-1</precision> | |
| 666 | + <trim_type>none</trim_type> | |
| 667 | + <repeat>N</repeat> | |
| 668 | + <format>#</format> | |
| 669 | + <currency/> | |
| 670 | + <decimal/> | |
| 671 | + <group/> | |
| 672 | + </field> | |
| 673 | + <field> | |
| 674 | + <name>起始人员</name> | |
| 675 | + <type>String</type> | |
| 676 | + <length>-1</length> | |
| 677 | + <precision>-1</precision> | |
| 678 | + <trim_type>none</trim_type> | |
| 679 | + <repeat>N</repeat> | |
| 680 | + <format>#</format> | |
| 681 | + <currency/> | |
| 682 | + <decimal/> | |
| 683 | + <group/> | |
| 684 | + </field> | |
| 685 | + <field> | |
| 686 | + <name>人员范围</name> | |
| 687 | + <type>String</type> | |
| 688 | + <length>-1</length> | |
| 689 | + <precision>-1</precision> | |
| 690 | + <trim_type>none</trim_type> | |
| 691 | + <repeat>N</repeat> | |
| 692 | + <format>#</format> | |
| 693 | + <currency/> | |
| 694 | + <decimal/> | |
| 695 | + <group/> | |
| 696 | + </field> | |
| 697 | + <field> | |
| 698 | + <name>翻班格式</name> | |
| 699 | + <type>String</type> | |
| 700 | + <length>-1</length> | |
| 701 | + <precision>-1</precision> | |
| 702 | + <trim_type>none</trim_type> | |
| 703 | + <repeat>N</repeat> | |
| 704 | + <format>#</format> | |
| 705 | + <currency/> | |
| 706 | + <decimal/> | |
| 707 | + <group/> | |
| 708 | + </field> | |
| 709 | + </fields> | |
| 710 | + <sheets> | |
| 711 | + <sheet> | |
| 712 | + <name>工作表1</name> | |
| 713 | + <startrow>0</startrow> | |
| 714 | + <startcol>0</startcol> | |
| 715 | + </sheet> | |
| 716 | + </sheets> | |
| 717 | + <strict_types>N</strict_types> | |
| 718 | + <error_ignored>N</error_ignored> | |
| 719 | + <error_line_skipped>N</error_line_skipped> | |
| 720 | + <bad_line_files_destination_directory/> | |
| 721 | + <bad_line_files_extension>warning</bad_line_files_extension> | |
| 722 | + <error_line_files_destination_directory/> | |
| 723 | + <error_line_files_extension>error</error_line_files_extension> | |
| 724 | + <line_number_files_destination_directory/> | |
| 725 | + <line_number_files_extension>line</line_number_files_extension> | |
| 726 | + <shortFileFieldName/> | |
| 727 | + <pathFieldName/> | |
| 728 | + <hiddenFieldName/> | |
| 729 | + <lastModificationTimeFieldName/> | |
| 730 | + <uriNameFieldName/> | |
| 731 | + <rootUriNameFieldName/> | |
| 732 | + <extensionFieldName/> | |
| 733 | + <sizeFieldName/> | |
| 734 | + <spreadsheet_type>JXL</spreadsheet_type> | |
| 735 | + <cluster_schema/> | |
| 736 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 737 | + <xloc>208</xloc> | |
| 738 | + <yloc>21</yloc> | |
| 739 | + <draw>Y</draw> | |
| 740 | + </GUI> | |
| 741 | + </step> | |
| 742 | + | |
| 743 | + <step> | |
| 744 | + <name>合并分班人员配置id</name> | |
| 745 | + <type>ScriptValueMod</type> | |
| 746 | + <description/> | |
| 747 | + <distribute>Y</distribute> | |
| 748 | + <custom_distribution/> | |
| 749 | + <copies>1</copies> | |
| 750 | + <partitioning> | |
| 751 | + <method>none</method> | |
| 752 | + <schema_name/> | |
| 753 | + </partitioning> | |
| 754 | + <compatible>N</compatible> | |
| 755 | + <optimizationLevel>9</optimizationLevel> | |
| 756 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 757 | + <jsScript_name>Script 1</jsScript_name> | |
| 758 | + <jsScript_script>//Script here

var rycid;
var rybm;

if (rycid2 == null) {
 rycid = rycid1;
 rybm = dbbm1;
} else {
 rycid = rycid1 + "-" + rycid2;
 rybm = dbbm1 + "-" + dbbm2;
}</jsScript_script> | |
| 759 | + </jsScript> </jsScripts> <fields> <field> <name>rycid</name> | |
| 760 | + <rename>rycid</rename> | |
| 761 | + <type>String</type> | |
| 762 | + <length>-1</length> | |
| 763 | + <precision>-1</precision> | |
| 764 | + <replace>N</replace> | |
| 765 | + </field> <field> <name>rybm</name> | |
| 766 | + <rename>rybm</rename> | |
| 767 | + <type>String</type> | |
| 768 | + <length>-1</length> | |
| 769 | + <precision>-1</precision> | |
| 770 | + <replace>N</replace> | |
| 771 | + </field> </fields> <cluster_schema/> | |
| 772 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 773 | + <xloc>917</xloc> | |
| 774 | + <yloc>201</yloc> | |
| 775 | + <draw>Y</draw> | |
| 776 | + </GUI> | |
| 777 | + </step> | |
| 778 | + | |
| 779 | + <step> | |
| 780 | + <name>启用日期转换</name> | |
| 781 | + <type>SelectValues</type> | |
| 782 | + <description/> | |
| 783 | + <distribute>Y</distribute> | |
| 784 | + <custom_distribution/> | |
| 785 | + <copies>1</copies> | |
| 786 | + <partitioning> | |
| 787 | + <method>none</method> | |
| 788 | + <schema_name/> | |
| 789 | + </partitioning> | |
| 790 | + <fields> <select_unspecified>N</select_unspecified> | |
| 791 | + <meta> <name>启用日期</name> | |
| 792 | + <rename>启用日期</rename> | |
| 793 | + <type>Timestamp</type> | |
| 794 | + <length>-2</length> | |
| 795 | + <precision>-2</precision> | |
| 796 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 797 | + <date_format_lenient>false</date_format_lenient> | |
| 798 | + <date_format_locale/> | |
| 799 | + <date_format_timezone/> | |
| 800 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 801 | + <encoding/> | |
| 802 | + <decimal_symbol/> | |
| 803 | + <grouping_symbol/> | |
| 804 | + <currency_symbol/> | |
| 805 | + <storage_type/> | |
| 806 | + </meta> </fields> <cluster_schema/> | |
| 807 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 808 | + <xloc>777</xloc> | |
| 809 | + <yloc>368</yloc> | |
| 810 | + <draw>Y</draw> | |
| 811 | + </GUI> | |
| 812 | + </step> | |
| 813 | + | |
| 814 | + <step> | |
| 815 | + <name>启用被数据flag</name> | |
| 816 | + <type>Constant</type> | |
| 817 | + <description/> | |
| 818 | + <distribute>Y</distribute> | |
| 819 | + <custom_distribution/> | |
| 820 | + <copies>1</copies> | |
| 821 | + <partitioning> | |
| 822 | + <method>none</method> | |
| 823 | + <schema_name/> | |
| 824 | + </partitioning> | |
| 825 | + <fields> | |
| 826 | + <field> | |
| 827 | + <name>isCancel</name> | |
| 828 | + <type>Integer</type> | |
| 829 | + <format/> | |
| 830 | + <currency/> | |
| 831 | + <decimal/> | |
| 832 | + <group/> | |
| 833 | + <nullif>0</nullif> | |
| 834 | + <length>-1</length> | |
| 835 | + <precision>-1</precision> | |
| 836 | + <set_empty_string>N</set_empty_string> | |
| 837 | + </field> | |
| 838 | + </fields> | |
| 839 | + <cluster_schema/> | |
| 840 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 841 | + <xloc>361</xloc> | |
| 842 | + <yloc>22</yloc> | |
| 843 | + <draw>Y</draw> | |
| 844 | + </GUI> | |
| 845 | + </step> | |
| 846 | + | |
| 847 | + <step> | |
| 848 | + <name>拆分人员范围</name> | |
| 849 | + <type>SplitFieldToRows3</type> | |
| 850 | + <description/> | |
| 851 | + <distribute>Y</distribute> | |
| 852 | + <custom_distribution/> | |
| 853 | + <copies>1</copies> | |
| 854 | + <partitioning> | |
| 855 | + <method>none</method> | |
| 856 | + <schema_name/> | |
| 857 | + </partitioning> | |
| 858 | + <splitfield>人员范围</splitfield> | |
| 859 | + <delimiter>,</delimiter> | |
| 860 | + <newfield>dbbm</newfield> | |
| 861 | + <rownum>N</rownum> | |
| 862 | + <rownum_field/> | |
| 863 | + <resetrownumber>Y</resetrownumber> | |
| 864 | + <delimiter_is_regex>N</delimiter_is_regex> | |
| 865 | + <cluster_schema/> | |
| 866 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 867 | + <xloc>777</xloc> | |
| 868 | + <yloc>22</yloc> | |
| 869 | + <draw>Y</draw> | |
| 870 | + </GUI> | |
| 871 | + </step> | |
| 872 | + | |
| 873 | + <step> | |
| 874 | + <name>拆分分班搭班编码字段</name> | |
| 875 | + <type>FieldSplitter</type> | |
| 876 | + <description/> | |
| 877 | + <distribute>Y</distribute> | |
| 878 | + <custom_distribution/> | |
| 879 | + <copies>1</copies> | |
| 880 | + <partitioning> | |
| 881 | + <method>none</method> | |
| 882 | + <schema_name/> | |
| 883 | + </partitioning> | |
| 884 | + <splitfield>dbbm</splitfield> | |
| 885 | + <delimiter>-</delimiter> | |
| 886 | + <enclosure/> | |
| 887 | + <fields> <field> <name>dbbm1</name> | |
| 888 | + <id/> | |
| 889 | + <idrem>N</idrem> | |
| 890 | + <type>String</type> | |
| 891 | + <format/> | |
| 892 | + <group/> | |
| 893 | + <decimal/> | |
| 894 | + <currency/> | |
| 895 | + <length>-1</length> | |
| 896 | + <precision>-1</precision> | |
| 897 | + <nullif/> | |
| 898 | + <ifnull/> | |
| 899 | + <trimtype>none</trimtype> | |
| 900 | + </field> <field> <name>dbbm2</name> | |
| 901 | + <id/> | |
| 902 | + <idrem>N</idrem> | |
| 903 | + <type>String</type> | |
| 904 | + <format/> | |
| 905 | + <group/> | |
| 906 | + <decimal/> | |
| 907 | + <currency/> | |
| 908 | + <length>-1</length> | |
| 909 | + <precision>-1</precision> | |
| 910 | + <nullif/> | |
| 911 | + <ifnull/> | |
| 912 | + <trimtype>none</trimtype> | |
| 913 | + </field> </fields> <cluster_schema/> | |
| 914 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 915 | + <xloc>901</xloc> | |
| 916 | + <yloc>22</yloc> | |
| 917 | + <draw>Y</draw> | |
| 918 | + </GUI> | |
| 919 | + </step> | |
| 920 | + | |
| 921 | + <step> | |
| 922 | + <name>拆分路牌范围</name> | |
| 923 | + <type>SplitFieldToRows3</type> | |
| 924 | + <description/> | |
| 925 | + <distribute>Y</distribute> | |
| 926 | + <custom_distribution/> | |
| 927 | + <copies>1</copies> | |
| 928 | + <partitioning> | |
| 929 | + <method>none</method> | |
| 930 | + <schema_name/> | |
| 931 | + </partitioning> | |
| 932 | + <splitfield>路牌范围</splitfield> | |
| 933 | + <delimiter>,</delimiter> | |
| 934 | + <newfield>lpname</newfield> | |
| 935 | + <rownum>N</rownum> | |
| 936 | + <rownum_field/> | |
| 937 | + <resetrownumber>Y</resetrownumber> | |
| 938 | + <delimiter_is_regex>N</delimiter_is_regex> | |
| 939 | + <cluster_schema/> | |
| 940 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 941 | + <xloc>364</xloc> | |
| 942 | + <yloc>259</yloc> | |
| 943 | + <draw>Y</draw> | |
| 944 | + </GUI> | |
| 945 | + </step> | |
| 946 | + | |
| 947 | + <step> | |
| 948 | + <name>排序记录</name> | |
| 949 | + <type>SortRows</type> | |
| 950 | + <description/> | |
| 951 | + <distribute>Y</distribute> | |
| 952 | + <custom_distribution/> | |
| 953 | + <copies>1</copies> | |
| 954 | + <partitioning> | |
| 955 | + <method>none</method> | |
| 956 | + <schema_name/> | |
| 957 | + </partitioning> | |
| 958 | + <directory>%%java.io.tmpdir%%</directory> | |
| 959 | + <prefix>out</prefix> | |
| 960 | + <sort_size>1000000</sort_size> | |
| 961 | + <free_memory/> | |
| 962 | + <compress>N</compress> | |
| 963 | + <compress_variable/> | |
| 964 | + <unique_rows>N</unique_rows> | |
| 965 | + <fields> | |
| 966 | + <field> | |
| 967 | + <name>xlid</name> | |
| 968 | + <ascending>Y</ascending> | |
| 969 | + <case_sensitive>N</case_sensitive> | |
| 970 | + <presorted>N</presorted> | |
| 971 | + </field> | |
| 972 | + <field> | |
| 973 | + <name>cid</name> | |
| 974 | + <ascending>Y</ascending> | |
| 975 | + <case_sensitive>N</case_sensitive> | |
| 976 | + <presorted>N</presorted> | |
| 977 | + </field> | |
| 978 | + <field> | |
| 979 | + <name>起始路牌</name> | |
| 980 | + <ascending>Y</ascending> | |
| 981 | + <case_sensitive>N</case_sensitive> | |
| 982 | + <presorted>N</presorted> | |
| 983 | + </field> | |
| 984 | + <field> | |
| 985 | + <name>起始人员</name> | |
| 986 | + <ascending>Y</ascending> | |
| 987 | + <case_sensitive>N</case_sensitive> | |
| 988 | + <presorted>N</presorted> | |
| 989 | + </field> | |
| 990 | + <field> | |
| 991 | + <name>人员范围</name> | |
| 992 | + <ascending>Y</ascending> | |
| 993 | + <case_sensitive>N</case_sensitive> | |
| 994 | + <presorted>N</presorted> | |
| 995 | + </field> | |
| 996 | + <field> | |
| 997 | + <name>启用日期</name> | |
| 998 | + <ascending>Y</ascending> | |
| 999 | + <case_sensitive>N</case_sensitive> | |
| 1000 | + <presorted>N</presorted> | |
| 1001 | + </field> | |
| 1002 | + <field> | |
| 1003 | + <name>翻班格式</name> | |
| 1004 | + <ascending>Y</ascending> | |
| 1005 | + <case_sensitive>N</case_sensitive> | |
| 1006 | + <presorted>N</presorted> | |
| 1007 | + </field> | |
| 1008 | + <field> | |
| 1009 | + <name>isCancel</name> | |
| 1010 | + <ascending>Y</ascending> | |
| 1011 | + <case_sensitive>N</case_sensitive> | |
| 1012 | + <presorted>N</presorted> | |
| 1013 | + </field> | |
| 1014 | + </fields> | |
| 1015 | + <cluster_schema/> | |
| 1016 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1017 | + <xloc>516</xloc> | |
| 1018 | + <yloc>119</yloc> | |
| 1019 | + <draw>Y</draw> | |
| 1020 | + </GUI> | |
| 1021 | + </step> | |
| 1022 | + | |
| 1023 | + <step> | |
| 1024 | + <name>排序记录 2</name> | |
| 1025 | + <type>SortRows</type> | |
| 1026 | + <description/> | |
| 1027 | + <distribute>Y</distribute> | |
| 1028 | + <custom_distribution/> | |
| 1029 | + <copies>1</copies> | |
| 1030 | + <partitioning> | |
| 1031 | + <method>none</method> | |
| 1032 | + <schema_name/> | |
| 1033 | + </partitioning> | |
| 1034 | + <directory>%%java.io.tmpdir%%</directory> | |
| 1035 | + <prefix>out</prefix> | |
| 1036 | + <sort_size>1000000</sort_size> | |
| 1037 | + <free_memory/> | |
| 1038 | + <compress>N</compress> | |
| 1039 | + <compress_variable/> | |
| 1040 | + <unique_rows>N</unique_rows> | |
| 1041 | + <fields> | |
| 1042 | + <field> | |
| 1043 | + <name>xlid</name> | |
| 1044 | + <ascending>Y</ascending> | |
| 1045 | + <case_sensitive>N</case_sensitive> | |
| 1046 | + <presorted>N</presorted> | |
| 1047 | + </field> | |
| 1048 | + <field> | |
| 1049 | + <name>cid</name> | |
| 1050 | + <ascending>Y</ascending> | |
| 1051 | + <case_sensitive>N</case_sensitive> | |
| 1052 | + <presorted>N</presorted> | |
| 1053 | + </field> | |
| 1054 | + <field> | |
| 1055 | + <name>lpnames</name> | |
| 1056 | + <ascending>Y</ascending> | |
| 1057 | + <case_sensitive>N</case_sensitive> | |
| 1058 | + <presorted>N</presorted> | |
| 1059 | + </field> | |
| 1060 | + <field> | |
| 1061 | + <name>lpids</name> | |
| 1062 | + <ascending>Y</ascending> | |
| 1063 | + <case_sensitive>N</case_sensitive> | |
| 1064 | + <presorted>N</presorted> | |
| 1065 | + </field> | |
| 1066 | + <field> | |
| 1067 | + <name>起始路牌</name> | |
| 1068 | + <ascending>Y</ascending> | |
| 1069 | + <case_sensitive>N</case_sensitive> | |
| 1070 | + <presorted>N</presorted> | |
| 1071 | + </field> | |
| 1072 | + <field> | |
| 1073 | + <name>起始人员</name> | |
| 1074 | + <ascending>Y</ascending> | |
| 1075 | + <case_sensitive>N</case_sensitive> | |
| 1076 | + <presorted>N</presorted> | |
| 1077 | + </field> | |
| 1078 | + <field> | |
| 1079 | + <name>人员范围</name> | |
| 1080 | + <ascending>Y</ascending> | |
| 1081 | + <case_sensitive>N</case_sensitive> | |
| 1082 | + <presorted>N</presorted> | |
| 1083 | + </field> | |
| 1084 | + <field> | |
| 1085 | + <name>启用日期</name> | |
| 1086 | + <ascending>Y</ascending> | |
| 1087 | + <case_sensitive>N</case_sensitive> | |
| 1088 | + <presorted>N</presorted> | |
| 1089 | + </field> | |
| 1090 | + <field> | |
| 1091 | + <name>翻班格式</name> | |
| 1092 | + <ascending>Y</ascending> | |
| 1093 | + <case_sensitive>N</case_sensitive> | |
| 1094 | + <presorted>N</presorted> | |
| 1095 | + </field> | |
| 1096 | + <field> | |
| 1097 | + <name>isCancel</name> | |
| 1098 | + <ascending>Y</ascending> | |
| 1099 | + <case_sensitive>N</case_sensitive> | |
| 1100 | + <presorted>N</presorted> | |
| 1101 | + </field> | |
| 1102 | + </fields> | |
| 1103 | + <cluster_schema/> | |
| 1104 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1105 | + <xloc>919</xloc> | |
| 1106 | + <yloc>289</yloc> | |
| 1107 | + <draw>Y</draw> | |
| 1108 | + </GUI> | |
| 1109 | + </step> | |
| 1110 | + | |
| 1111 | + <step> | |
| 1112 | + <name>线路id查询</name> | |
| 1113 | + <type>DBLookup</type> | |
| 1114 | + <description/> | |
| 1115 | + <distribute>Y</distribute> | |
| 1116 | + <custom_distribution/> | |
| 1117 | + <copies>1</copies> | |
| 1118 | + <partitioning> | |
| 1119 | + <method>none</method> | |
| 1120 | + <schema_name/> | |
| 1121 | + </partitioning> | |
| 1122 | + <connection>bus_control_variable</connection> | |
| 1123 | + <cache>N</cache> | |
| 1124 | + <cache_load_all>Y</cache_load_all> | |
| 1125 | + <cache_size>0</cache_size> | |
| 1126 | + <lookup> | |
| 1127 | + <schema/> | |
| 1128 | + <table>bsth_c_line</table> | |
| 1129 | + <orderby/> | |
| 1130 | + <fail_on_multiple>N</fail_on_multiple> | |
| 1131 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 1132 | + <key> | |
| 1133 | + <name>线路</name> | |
| 1134 | + <field>name</field> | |
| 1135 | + <condition>=</condition> | |
| 1136 | + <name2/> | |
| 1137 | + </key> | |
| 1138 | + <key> | |
| 1139 | + <name>isCancel</name> | |
| 1140 | + <field>destroy</field> | |
| 1141 | + <condition>=</condition> | |
| 1142 | + <name2/> | |
| 1143 | + </key> | |
| 1144 | + <value> | |
| 1145 | + <name>id</name> | |
| 1146 | + <rename>xlid</rename> | |
| 1147 | + <default/> | |
| 1148 | + <type>Integer</type> | |
| 1149 | + </value> | |
| 1150 | + </lookup> | |
| 1151 | + <cluster_schema/> | |
| 1152 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1153 | + <xloc>359</xloc> | |
| 1154 | + <yloc>110</yloc> | |
| 1155 | + <draw>Y</draw> | |
| 1156 | + </GUI> | |
| 1157 | + </step> | |
| 1158 | + | |
| 1159 | + <step> | |
| 1160 | + <name>获取变量</name> | |
| 1161 | + <type>GetVariable</type> | |
| 1162 | + <description/> | |
| 1163 | + <distribute>Y</distribute> | |
| 1164 | + <custom_distribution/> | |
| 1165 | + <copies>1</copies> | |
| 1166 | + <partitioning> | |
| 1167 | + <method>none</method> | |
| 1168 | + <schema_name/> | |
| 1169 | + </partitioning> | |
| 1170 | + <fields> | |
| 1171 | + <field> | |
| 1172 | + <name>filepath_</name> | |
| 1173 | + <variable>${filepath}</variable> | |
| 1174 | + <type>String</type> | |
| 1175 | + <format/> | |
| 1176 | + <currency/> | |
| 1177 | + <decimal/> | |
| 1178 | + <group/> | |
| 1179 | + <length>-1</length> | |
| 1180 | + <precision>-1</precision> | |
| 1181 | + <trim_type>none</trim_type> | |
| 1182 | + </field> | |
| 1183 | + <field> | |
| 1184 | + <name>erroroutputdir_</name> | |
| 1185 | + <variable>${erroroutputdir}</variable> | |
| 1186 | + <type>String</type> | |
| 1187 | + <format/> | |
| 1188 | + <currency/> | |
| 1189 | + <decimal/> | |
| 1190 | + <group/> | |
| 1191 | + <length>-1</length> | |
| 1192 | + <precision>-1</precision> | |
| 1193 | + <trim_type>none</trim_type> | |
| 1194 | + </field> | |
| 1195 | + </fields> | |
| 1196 | + <cluster_schema/> | |
| 1197 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1198 | + <xloc>53</xloc> | |
| 1199 | + <yloc>23</yloc> | |
| 1200 | + <draw>Y</draw> | |
| 1201 | + </GUI> | |
| 1202 | + </step> | |
| 1203 | + | |
| 1204 | + <step> | |
| 1205 | + <name>规则表输出</name> | |
| 1206 | + <type>TableOutput</type> | |
| 1207 | + <description/> | |
| 1208 | + <distribute>Y</distribute> | |
| 1209 | + <custom_distribution/> | |
| 1210 | + <copies>1</copies> | |
| 1211 | + <partitioning> | |
| 1212 | + <method>none</method> | |
| 1213 | + <schema_name/> | |
| 1214 | + </partitioning> | |
| 1215 | + <connection>bus_control_variable</connection> | |
| 1216 | + <schema/> | |
| 1217 | + <table>bsth_c_s_sr1_flat</table> | |
| 1218 | + <commit>1000</commit> | |
| 1219 | + <truncate>N</truncate> | |
| 1220 | + <ignore_errors>N</ignore_errors> | |
| 1221 | + <use_batch>Y</use_batch> | |
| 1222 | + <specify_fields>Y</specify_fields> | |
| 1223 | + <partitioning_enabled>N</partitioning_enabled> | |
| 1224 | + <partitioning_field/> | |
| 1225 | + <partitioning_daily>N</partitioning_daily> | |
| 1226 | + <partitioning_monthly>Y</partitioning_monthly> | |
| 1227 | + <tablename_in_field>N</tablename_in_field> | |
| 1228 | + <tablename_field/> | |
| 1229 | + <tablename_in_table>Y</tablename_in_table> | |
| 1230 | + <return_keys>N</return_keys> | |
| 1231 | + <return_field/> | |
| 1232 | + <fields> | |
| 1233 | + <field> | |
| 1234 | + <column_name>xl</column_name> | |
| 1235 | + <stream_name>xlid</stream_name> | |
| 1236 | + </field> | |
| 1237 | + <field> | |
| 1238 | + <column_name>car_config_info</column_name> | |
| 1239 | + <stream_name>cid</stream_name> | |
| 1240 | + </field> | |
| 1241 | + <field> | |
| 1242 | + <column_name>lp_names</column_name> | |
| 1243 | + <stream_name>lpnames</stream_name> | |
| 1244 | + </field> | |
| 1245 | + <field> | |
| 1246 | + <column_name>lp_ids</column_name> | |
| 1247 | + <stream_name>lpids</stream_name> | |
| 1248 | + </field> | |
| 1249 | + <field> | |
| 1250 | + <column_name>lp_start</column_name> | |
| 1251 | + <stream_name>起始路牌</stream_name> | |
| 1252 | + </field> | |
| 1253 | + <field> | |
| 1254 | + <column_name>ry_start</column_name> | |
| 1255 | + <stream_name>起始人员</stream_name> | |
| 1256 | + </field> | |
| 1257 | + <field> | |
| 1258 | + <column_name>qyrq</column_name> | |
| 1259 | + <stream_name>启用日期</stream_name> | |
| 1260 | + </field> | |
| 1261 | + <field> | |
| 1262 | + <column_name>fbgs</column_name> | |
| 1263 | + <stream_name>翻班格式</stream_name> | |
| 1264 | + </field> | |
| 1265 | + <field> | |
| 1266 | + <column_name>ry_dbbms</column_name> | |
| 1267 | + <stream_name>rybms</stream_name> | |
| 1268 | + </field> | |
| 1269 | + <field> | |
| 1270 | + <column_name>ry_config_ids</column_name> | |
| 1271 | + <stream_name>rycids</stream_name> | |
| 1272 | + </field> | |
| 1273 | + <field> | |
| 1274 | + <column_name>fbtype</column_name> | |
| 1275 | + <stream_name>fbtype</stream_name> | |
| 1276 | + </field> | |
| 1277 | + </fields> | |
| 1278 | + <cluster_schema/> | |
| 1279 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1280 | + <xloc>148</xloc> | |
| 1281 | + <yloc>380</yloc> | |
| 1282 | + <draw>Y</draw> | |
| 1283 | + </GUI> | |
| 1284 | + </step> | |
| 1285 | + | |
| 1286 | + <step> | |
| 1287 | + <name>路牌id查询</name> | |
| 1288 | + <type>DBLookup</type> | |
| 1289 | + <description/> | |
| 1290 | + <distribute>Y</distribute> | |
| 1291 | + <custom_distribution/> | |
| 1292 | + <copies>1</copies> | |
| 1293 | + <partitioning> | |
| 1294 | + <method>none</method> | |
| 1295 | + <schema_name/> | |
| 1296 | + </partitioning> | |
| 1297 | + <connection>bus_control_variable</connection> | |
| 1298 | + <cache>N</cache> | |
| 1299 | + <cache_load_all>Y</cache_load_all> | |
| 1300 | + <cache_size>0</cache_size> | |
| 1301 | + <lookup> | |
| 1302 | + <schema/> | |
| 1303 | + <table>bsth_c_s_gbi</table> | |
| 1304 | + <orderby/> | |
| 1305 | + <fail_on_multiple>N</fail_on_multiple> | |
| 1306 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 1307 | + <key> | |
| 1308 | + <name>xlid</name> | |
| 1309 | + <field>xl</field> | |
| 1310 | + <condition>=</condition> | |
| 1311 | + <name2/> | |
| 1312 | + </key> | |
| 1313 | + <key> | |
| 1314 | + <name>lpname</name> | |
| 1315 | + <field>lp_name</field> | |
| 1316 | + <condition>=</condition> | |
| 1317 | + <name2/> | |
| 1318 | + </key> | |
| 1319 | + <key> | |
| 1320 | + <name>isCancel</name> | |
| 1321 | + <field>is_cancel</field> | |
| 1322 | + <condition>=</condition> | |
| 1323 | + <name2/> | |
| 1324 | + </key> | |
| 1325 | + <value> | |
| 1326 | + <name>id</name> | |
| 1327 | + <rename>lpid</rename> | |
| 1328 | + <default/> | |
| 1329 | + <type>Integer</type> | |
| 1330 | + </value> | |
| 1331 | + </lookup> | |
| 1332 | + <cluster_schema/> | |
| 1333 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1334 | + <xloc>516</xloc> | |
| 1335 | + <yloc>21</yloc> | |
| 1336 | + <draw>Y</draw> | |
| 1337 | + </GUI> | |
| 1338 | + </step> | |
| 1339 | + | |
| 1340 | + <step> | |
| 1341 | + <name>车辆配置id查询</name> | |
| 1342 | + <type>DBJoin</type> | |
| 1343 | + <description/> | |
| 1344 | + <distribute>Y</distribute> | |
| 1345 | + <custom_distribution/> | |
| 1346 | + <copies>1</copies> | |
| 1347 | + <partitioning> | |
| 1348 | + <method>none</method> | |
| 1349 | + <schema_name/> | |
| 1350 | + </partitioning> | |
| 1351 | + <connection>bus_control_variable</connection> | |
| 1352 | + <rowlimit>1</rowlimit> | |
| 1353 | + <sql>select t1.id as cid from bsth_c_s_ccinfo t1 left join bsth_c_cars t2 on t1.cl = t2.id
where t1.xl = ? and t2.inside_code = ? and t1.is_cancel = ?</sql> | |
| 1354 | + <outer_join>Y</outer_join> | |
| 1355 | + <replace_vars>N</replace_vars> | |
| 1356 | + <parameter> | |
| 1357 | + <field> | |
| 1358 | + <name>xlid</name> | |
| 1359 | + <type>Integer</type> | |
| 1360 | + </field> | |
| 1361 | + <field> | |
| 1362 | + <name>内部编码</name> | |
| 1363 | + <type>String</type> | |
| 1364 | + </field> | |
| 1365 | + <field> | |
| 1366 | + <name>isCancel</name> | |
| 1367 | + <type>Integer</type> | |
| 1368 | + </field> | |
| 1369 | + </parameter> | |
| 1370 | + <cluster_schema/> | |
| 1371 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1372 | + <xloc>360</xloc> | |
| 1373 | + <yloc>184</yloc> | |
| 1374 | + <draw>Y</draw> | |
| 1375 | + </GUI> | |
| 1376 | + </step> | |
| 1377 | + | |
| 1378 | + <step> | |
| 1379 | + <name>过滤人员配置id为空记录</name> | |
| 1380 | + <type>FilterRows</type> | |
| 1381 | + <description/> | |
| 1382 | + <distribute>Y</distribute> | |
| 1383 | + <custom_distribution/> | |
| 1384 | + <copies>1</copies> | |
| 1385 | + <partitioning> | |
| 1386 | + <method>none</method> | |
| 1387 | + <schema_name/> | |
| 1388 | + </partitioning> | |
| 1389 | +<send_true_to/> | |
| 1390 | +<send_false_to/> | |
| 1391 | + <compare> | |
| 1392 | +<condition> | |
| 1393 | + <negated>N</negated> | |
| 1394 | + <conditions> | |
| 1395 | + <condition> | |
| 1396 | + <negated>N</negated> | |
| 1397 | + <leftvalue>rycid1</leftvalue> | |
| 1398 | + <function>IS NOT NULL</function> | |
| 1399 | + <rightvalue/> | |
| 1400 | + </condition> | |
| 1401 | + <condition> | |
| 1402 | + <negated>N</negated> | |
| 1403 | + <operator>OR</operator> | |
| 1404 | + <leftvalue>rycid2</leftvalue> | |
| 1405 | + <function>IS NOT NULL</function> | |
| 1406 | + <rightvalue/> | |
| 1407 | + </condition> | |
| 1408 | + </conditions> | |
| 1409 | + </condition> | |
| 1410 | + </compare> | |
| 1411 | + <cluster_schema/> | |
| 1412 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1413 | + <xloc>776</xloc> | |
| 1414 | + <yloc>204</yloc> | |
| 1415 | + <draw>Y</draw> | |
| 1416 | + </GUI> | |
| 1417 | + </step> | |
| 1418 | + | |
| 1419 | + <step> | |
| 1420 | + <name>过滤线路id为空记录</name> | |
| 1421 | + <type>FilterRows</type> | |
| 1422 | + <description/> | |
| 1423 | + <distribute>Y</distribute> | |
| 1424 | + <custom_distribution/> | |
| 1425 | + <copies>1</copies> | |
| 1426 | + <partitioning> | |
| 1427 | + <method>none</method> | |
| 1428 | + <schema_name/> | |
| 1429 | + </partitioning> | |
| 1430 | +<send_true_to>车辆配置id查询</send_true_to> | |
| 1431 | +<send_false_to/> | |
| 1432 | + <compare> | |
| 1433 | +<condition> | |
| 1434 | + <negated>N</negated> | |
| 1435 | + <leftvalue>xlid</leftvalue> | |
| 1436 | + <function>IS NOT NULL</function> | |
| 1437 | + <rightvalue/> | |
| 1438 | + </condition> | |
| 1439 | + </compare> | |
| 1440 | + <cluster_schema/> | |
| 1441 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1442 | + <xloc>203</xloc> | |
| 1443 | + <yloc>110</yloc> | |
| 1444 | + <draw>Y</draw> | |
| 1445 | + </GUI> | |
| 1446 | + </step> | |
| 1447 | + | |
| 1448 | + <step> | |
| 1449 | + <name>过滤路牌id为空记录</name> | |
| 1450 | + <type>FilterRows</type> | |
| 1451 | + <description/> | |
| 1452 | + <distribute>Y</distribute> | |
| 1453 | + <custom_distribution/> | |
| 1454 | + <copies>1</copies> | |
| 1455 | + <partitioning> | |
| 1456 | + <method>none</method> | |
| 1457 | + <schema_name/> | |
| 1458 | + </partitioning> | |
| 1459 | +<send_true_to>排序记录</send_true_to> | |
| 1460 | +<send_false_to/> | |
| 1461 | + <compare> | |
| 1462 | +<condition> | |
| 1463 | + <negated>N</negated> | |
| 1464 | + <leftvalue>lpid</leftvalue> | |
| 1465 | + <function>IS NOT NULL</function> | |
| 1466 | + <rightvalue/> | |
| 1467 | + </condition> | |
| 1468 | + </compare> | |
| 1469 | + <cluster_schema/> | |
| 1470 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1471 | + <xloc>653</xloc> | |
| 1472 | + <yloc>23</yloc> | |
| 1473 | + <draw>Y</draw> | |
| 1474 | + </GUI> | |
| 1475 | + </step> | |
| 1476 | + | |
| 1477 | + <step> | |
| 1478 | + <name>过滤车辆配置id为空记录</name> | |
| 1479 | + <type>FilterRows</type> | |
| 1480 | + <description/> | |
| 1481 | + <distribute>Y</distribute> | |
| 1482 | + <custom_distribution/> | |
| 1483 | + <copies>1</copies> | |
| 1484 | + <partitioning> | |
| 1485 | + <method>none</method> | |
| 1486 | + <schema_name/> | |
| 1487 | + </partitioning> | |
| 1488 | +<send_true_to>拆分路牌范围</send_true_to> | |
| 1489 | +<send_false_to/> | |
| 1490 | + <compare> | |
| 1491 | +<condition> | |
| 1492 | + <negated>N</negated> | |
| 1493 | + <leftvalue>cid</leftvalue> | |
| 1494 | + <function>IS NOT NULL</function> | |
| 1495 | + <rightvalue/> | |
| 1496 | + </condition> | |
| 1497 | + </compare> | |
| 1498 | + <cluster_schema/> | |
| 1499 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1500 | + <xloc>208</xloc> | |
| 1501 | + <yloc>182</yloc> | |
| 1502 | + <draw>Y</draw> | |
| 1503 | + </GUI> | |
| 1504 | + </step> | |
| 1505 | + | |
| 1506 | + <step> | |
| 1507 | + <name>错误输出 2</name> | |
| 1508 | + <type>ExcelOutput</type> | |
| 1509 | + <description/> | |
| 1510 | + <distribute>Y</distribute> | |
| 1511 | + <custom_distribution/> | |
| 1512 | + <copies>1</copies> | |
| 1513 | + <partitioning> | |
| 1514 | + <method>none</method> | |
| 1515 | + <schema_name/> | |
| 1516 | + </partitioning> | |
| 1517 | + <header>Y</header> | |
| 1518 | + <footer>N</footer> | |
| 1519 | + <encoding>UTF-8</encoding> | |
| 1520 | + <append>N</append> | |
| 1521 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 1522 | + <file> | |
| 1523 | + <name>${erroroutputdir}/排版规则信息导入_错误</name> | |
| 1524 | + <extention>xls</extention> | |
| 1525 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 1526 | + <create_parent_folder>N</create_parent_folder> | |
| 1527 | + <split>N</split> | |
| 1528 | + <add_date>N</add_date> | |
| 1529 | + <add_time>N</add_time> | |
| 1530 | + <SpecifyFormat>N</SpecifyFormat> | |
| 1531 | + <date_time_format/> | |
| 1532 | + <sheetname>Sheet1</sheetname> | |
| 1533 | + <autosizecolums>N</autosizecolums> | |
| 1534 | + <nullisblank>N</nullisblank> | |
| 1535 | + <protect_sheet>N</protect_sheet> | |
| 1536 | + <password>Encrypted </password> | |
| 1537 | + <splitevery>0</splitevery> | |
| 1538 | + <usetempfiles>N</usetempfiles> | |
| 1539 | + <tempdirectory/> | |
| 1540 | + </file> | |
| 1541 | + <template> | |
| 1542 | + <enabled>N</enabled> | |
| 1543 | + <append>N</append> | |
| 1544 | + <filename>template.xls</filename> | |
| 1545 | + </template> | |
| 1546 | + <fields> | |
| 1547 | + <field> | |
| 1548 | + <name>xlid</name> | |
| 1549 | + <type>Integer</type> | |
| 1550 | + <format/> | |
| 1551 | + </field> | |
| 1552 | + <field> | |
| 1553 | + <name>cid</name> | |
| 1554 | + <type>Integer</type> | |
| 1555 | + <format/> | |
| 1556 | + </field> | |
| 1557 | + <field> | |
| 1558 | + <name>lpnames</name> | |
| 1559 | + <type>String</type> | |
| 1560 | + <format/> | |
| 1561 | + </field> | |
| 1562 | + <field> | |
| 1563 | + <name>lpids</name> | |
| 1564 | + <type>String</type> | |
| 1565 | + <format/> | |
| 1566 | + </field> | |
| 1567 | + <field> | |
| 1568 | + <name>起始路牌</name> | |
| 1569 | + <type>String</type> | |
| 1570 | + <format/> | |
| 1571 | + </field> | |
| 1572 | + <field> | |
| 1573 | + <name>起始人员</name> | |
| 1574 | + <type>String</type> | |
| 1575 | + <format/> | |
| 1576 | + </field> | |
| 1577 | + <field> | |
| 1578 | + <name>人员范围</name> | |
| 1579 | + <type>String</type> | |
| 1580 | + <format/> | |
| 1581 | + </field> | |
| 1582 | + <field> | |
| 1583 | + <name>启用日期</name> | |
| 1584 | + <type>Timestamp</type> | |
| 1585 | + <format/> | |
| 1586 | + </field> | |
| 1587 | + <field> | |
| 1588 | + <name>翻班格式</name> | |
| 1589 | + <type>String</type> | |
| 1590 | + <format/> | |
| 1591 | + </field> | |
| 1592 | + <field> | |
| 1593 | + <name>isCancel</name> | |
| 1594 | + <type>Integer</type> | |
| 1595 | + <format/> | |
| 1596 | + </field> | |
| 1597 | + <field> | |
| 1598 | + <name>rycids</name> | |
| 1599 | + <type>String</type> | |
| 1600 | + <format/> | |
| 1601 | + </field> | |
| 1602 | + <field> | |
| 1603 | + <name>rybms</name> | |
| 1604 | + <type>String</type> | |
| 1605 | + <format/> | |
| 1606 | + </field> | |
| 1607 | + <field> | |
| 1608 | + <name>error_count</name> | |
| 1609 | + <type>Integer</type> | |
| 1610 | + <format/> | |
| 1611 | + </field> | |
| 1612 | + <field> | |
| 1613 | + <name>error_desc</name> | |
| 1614 | + <type>String</type> | |
| 1615 | + <format/> | |
| 1616 | + </field> | |
| 1617 | + <field> | |
| 1618 | + <name>error_column1</name> | |
| 1619 | + <type>String</type> | |
| 1620 | + <format/> | |
| 1621 | + </field> | |
| 1622 | + <field> | |
| 1623 | + <name>error_column2</name> | |
| 1624 | + <type>String</type> | |
| 1625 | + <format/> | |
| 1626 | + </field> | |
| 1627 | + </fields> | |
| 1628 | + <custom> | |
| 1629 | + <header_font_name>arial</header_font_name> | |
| 1630 | + <header_font_size>10</header_font_size> | |
| 1631 | + <header_font_bold>N</header_font_bold> | |
| 1632 | + <header_font_italic>N</header_font_italic> | |
| 1633 | + <header_font_underline>no</header_font_underline> | |
| 1634 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 1635 | + <header_font_color>black</header_font_color> | |
| 1636 | + <header_background_color>none</header_background_color> | |
| 1637 | + <header_row_height>255</header_row_height> | |
| 1638 | + <header_alignment>left</header_alignment> | |
| 1639 | + <header_image/> | |
| 1640 | + <row_font_name>arial</row_font_name> | |
| 1641 | + <row_font_size>10</row_font_size> | |
| 1642 | + <row_font_color>black</row_font_color> | |
| 1643 | + <row_background_color>none</row_background_color> | |
| 1644 | + </custom> | |
| 1645 | + <cluster_schema/> | |
| 1646 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1647 | + <xloc>142</xloc> | |
| 1648 | + <yloc>512</yloc> | |
| 1649 | + <draw>Y</draw> | |
| 1650 | + </GUI> | |
| 1651 | + </step> | |
| 1652 | + | |
| 1653 | + <step> | |
| 1654 | + <name>阻塞数据直到步骤都完成</name> | |
| 1655 | + <type>BlockUntilStepsFinish</type> | |
| 1656 | + <description/> | |
| 1657 | + <distribute>Y</distribute> | |
| 1658 | + <custom_distribution/> | |
| 1659 | + <copies>1</copies> | |
| 1660 | + <partitioning> | |
| 1661 | + <method>none</method> | |
| 1662 | + <schema_name/> | |
| 1663 | + </partitioning> | |
| 1664 | + <steps> | |
| 1665 | + <step> | |
| 1666 | + <name>删除</name> | |
| 1667 | + <CopyNr>0</CopyNr> | |
| 1668 | + </step> | |
| 1669 | + </steps> | |
| 1670 | + <cluster_schema/> | |
| 1671 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1672 | + <xloc>339</xloc> | |
| 1673 | + <yloc>381</yloc> | |
| 1674 | + <draw>Y</draw> | |
| 1675 | + </GUI> | |
| 1676 | + </step> | |
| 1677 | + | |
| 1678 | + <step> | |
| 1679 | + <name>默认翻班类型</name> | |
| 1680 | + <type>Constant</type> | |
| 1681 | + <description/> | |
| 1682 | + <distribute>Y</distribute> | |
| 1683 | + <custom_distribution/> | |
| 1684 | + <copies>1</copies> | |
| 1685 | + <partitioning> | |
| 1686 | + <method>none</method> | |
| 1687 | + <schema_name/> | |
| 1688 | + </partitioning> | |
| 1689 | + <fields> | |
| 1690 | + <field> | |
| 1691 | + <name>fbtype</name> | |
| 1692 | + <type>String</type> | |
| 1693 | + <format/> | |
| 1694 | + <currency/> | |
| 1695 | + <decimal/> | |
| 1696 | + <group/> | |
| 1697 | + <nullif>0</nullif> | |
| 1698 | + <length>-1</length> | |
| 1699 | + <precision>-1</precision> | |
| 1700 | + <set_empty_string>N</set_empty_string> | |
| 1701 | + </field> | |
| 1702 | + </fields> | |
| 1703 | + <cluster_schema/> | |
| 1704 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1705 | + <xloc>643</xloc> | |
| 1706 | + <yloc>368</yloc> | |
| 1707 | + <draw>Y</draw> | |
| 1708 | + </GUI> | |
| 1709 | + </step> | |
| 1710 | + | |
| 1711 | + <step_error_handling> | |
| 1712 | + <error> | |
| 1713 | + <source_step>规则表输出</source_step> | |
| 1714 | + <target_step>错误输出 2</target_step> | |
| 1715 | + <is_enabled>Y</is_enabled> | |
| 1716 | + <nr_valuename>error_count</nr_valuename> | |
| 1717 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 1718 | + <fields_valuename>error_column1</fields_valuename> | |
| 1719 | + <codes_valuename>error_column2</codes_valuename> | |
| 1720 | + <max_errors/> | |
| 1721 | + <max_pct_errors/> | |
| 1722 | + <min_pct_rows/> | |
| 1723 | + </error> | |
| 1724 | + </step_error_handling> | |
| 1725 | + <slave-step-copy-partition-distribution> | |
| 1726 | +</slave-step-copy-partition-distribution> | |
| 1727 | + <slave_transformation>N</slave_transformation> | |
| 1728 | + | |
| 1729 | +</transformation> | ... | ... |
src/main/resources/rules/legacy/shiftloop_fb_2.drl
0 → 100644
| 1 | +package com.bsth.service.schedule.shiftloop; | |
| 2 | + | |
| 3 | +import org.joda.time.*; | |
| 4 | +import java.util.*; | |
| 5 | + | |
| 6 | +import com.bsth.service.schedule.rules.ttinfo.LpInfoResult_output; | |
| 7 | + | |
| 8 | +import com.bsth.service.schedule.utils.Md5Util; | |
| 9 | + | |
| 10 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleCalcuParam_input; | |
| 11 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleRule_input; | |
| 12 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleRule_Type; | |
| 13 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleResult_output; | |
| 14 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleResults_output; | |
| 15 | + | |
| 16 | +import com.bsth.entity.schedule.temp.SchedulePlanRuleResult; | |
| 17 | + | |
| 18 | +import com.bsth.service.schedule.rules.ScheduleRuleService; | |
| 19 | + | |
| 20 | +import org.slf4j.Logger; | |
| 21 | + | |
| 22 | +global Logger log; | |
| 23 | +global ScheduleResults_output scheduleResult; | |
| 24 | +global ScheduleRuleService scheduleRuleService; | |
| 25 | + | |
| 26 | +/* | |
| 27 | + 存在(翻班格式) | |
| 28 | +*/ | |
| 29 | + | |
| 30 | +//------------------------- 第一阶段、计算规则准备数据(天数) ----------------------------// | |
| 31 | + | |
| 32 | +declare Calcu_days_result_pre | |
| 33 | + ruleId: String // 规则Id | |
| 34 | + ruleMd5: String // 规则md5 | |
| 35 | + ruleEcCount: Integer // 人员范围个数 | |
| 36 | + | |
| 37 | + calcu_index_lp : Integer // 计算之后路牌的起始索引 | |
| 38 | + calcu_index_ry : Integer // 计算之后人员的起始索引 | |
| 39 | + | |
| 40 | + // 1、第一部分循环需要用到的数据(当开始日期大于启用日期的时候才有) | |
| 41 | + calcu_start_date_1: DateTime // 第一部分开始计算日期 | |
| 42 | + calcu_end_date_1: DateTime // 第一部分结束计算日期 | |
| 43 | + | |
| 44 | + // 2、第二部分循环需要用到的数据 | |
| 45 | + sdays : Integer // 总共需要排班的天数 | |
| 46 | + calcu_start_date_2 : DateTime // 开始计算日期 | |
| 47 | + calcu_end_date_2 : DateTime // 结束计算日期 | |
| 48 | + | |
| 49 | +end | |
| 50 | + | |
| 51 | +/* | |
| 52 | + 计算启用日期,开始计算日期,结束计算日期,相差天数 | |
| 53 | + 1、规则启用日期小于开始计算日期 | |
| 54 | + 2、规则启用日期大于等于开始日期,小于等于结束日期 | |
| 55 | +*/ | |
| 56 | +// 1、启用日期 < 开始日期 | |
| 57 | +rule "calcu_days_1_" | |
| 58 | + salience 1000 | |
| 59 | + when | |
| 60 | + ScheduleCalcuParam_input( | |
| 61 | + fromDate.isBefore(toDate) || fromDate.isEqual(toDate), | |
| 62 | + $fromDate : fromDate, | |
| 63 | + $toDate : toDate, | |
| 64 | + $xlId: xlId | |
| 65 | + ) | |
| 66 | + $sri: ScheduleRule_input( | |
| 67 | + $ruleId : ruleId, $qyrq : qyrq, | |
| 68 | + $lpindex : startGbdIndex, $ryindex: startEIndex) | |
| 69 | + eval($qyrq.isBefore($fromDate)) | |
| 70 | + then | |
| 71 | + scheduleResult.setXlid($xlId); | |
| 72 | + | |
| 73 | + // 构造Calcu_days_result_pre,用于路牌 | |
| 74 | + Calcu_days_result_pre cdrp = new Calcu_days_result_pre(); | |
| 75 | + cdrp.setRuleId($ruleId); | |
| 76 | + cdrp.setCalcu_index_lp($lpindex); | |
| 77 | + cdrp.setCalcu_index_ry($ryindex); | |
| 78 | + cdrp.setCalcu_start_date_1($qyrq); | |
| 79 | + cdrp.setCalcu_end_date_1($fromDate); | |
| 80 | + Period p2 = new Period($fromDate, $toDate, PeriodType.days()); | |
| 81 | + cdrp.setSdays(p2.getDays() + 1); | |
| 82 | + cdrp.setCalcu_start_date_2($fromDate); | |
| 83 | + cdrp.setCalcu_end_date_2($toDate); | |
| 84 | + | |
| 85 | + /** | |
| 86 | + * 规则md5值(不使用id判定,使用md5判定) | |
| 87 | + * 使用,启用日期,路牌范围,结合生成md5编码 | |
| 88 | + */ | |
| 89 | + String ruleMd5 = Md5Util.getMd5( | |
| 90 | + String.valueOf($qyrq.getMillis()) + | |
| 91 | + "_" + | |
| 92 | + $sri.getSelf().getLpIds() + | |
| 93 | + "_" + | |
| 94 | + $sri.getSelf().getLpStart().toString() | |
| 95 | + ); | |
| 96 | + cdrp.setRuleMd5(ruleMd5); | |
| 97 | + // 人员范围个数 | |
| 98 | + cdrp.setRuleEcCount($sri.getEmployeeConfigIds().size()); | |
| 99 | + | |
| 100 | + insert(cdrp); | |
| 101 | + | |
| 102 | +// log.info("总共需要排班的天数 sdays={} ruleId={} from={} to={}", (p2.getDays() + 1), $ruleId, $fromDate, $toDate); | |
| 103 | + | |
| 104 | +end | |
| 105 | + | |
| 106 | +// 启用日期 属于 [开始日期,结束日期] | |
| 107 | +rule "calcu_days_2_" | |
| 108 | + salience 1000 | |
| 109 | + when | |
| 110 | + ScheduleCalcuParam_input( | |
| 111 | + fromDate.isBefore(toDate) || fromDate.isEqual(toDate), | |
| 112 | + $fromDate : fromDate, | |
| 113 | + $toDate : toDate, | |
| 114 | + $xlId: xlId | |
| 115 | + ) | |
| 116 | + $sri: ScheduleRule_input( | |
| 117 | + $ruleId : ruleId, $qyrq : qyrq, | |
| 118 | + $lpindex : startGbdIndex, $ryindex: startEIndex) | |
| 119 | + eval((!$qyrq.isBefore($fromDate)) && (!$qyrq.isAfter($toDate))) | |
| 120 | + then | |
| 121 | + scheduleResult.setXlid($xlId); | |
| 122 | + | |
| 123 | + // 构造Calcu_days_result_pre,用于路牌 | |
| 124 | + Calcu_days_result_pre cdrp = new Calcu_days_result_pre(); | |
| 125 | + cdrp.setRuleId($ruleId); | |
| 126 | + cdrp.setCalcu_index_lp($lpindex); | |
| 127 | + cdrp.setCalcu_index_ry($ryindex); | |
| 128 | + cdrp.setCalcu_start_date_1($qyrq); | |
| 129 | + cdrp.setCalcu_end_date_1($qyrq); | |
| 130 | + Period p2 = new Period($qyrq, $toDate, PeriodType.days()); | |
| 131 | + cdrp.setSdays(p2.getDays() + 1); | |
| 132 | + cdrp.setCalcu_start_date_2($qyrq); | |
| 133 | + cdrp.setCalcu_end_date_2($toDate); | |
| 134 | + | |
| 135 | + /** | |
| 136 | + * 规则md5值(不使用id判定,使用md5判定) | |
| 137 | + * 使用,启用日期,路牌范围,结合生成md5编码 | |
| 138 | + */ | |
| 139 | + String ruleMd5 = Md5Util.getMd5( | |
| 140 | + String.valueOf($qyrq.getMillis()) + | |
| 141 | + "_" + | |
| 142 | + $sri.getSelf().getLpIds() + | |
| 143 | + "_" + | |
| 144 | + $sri.getSelf().getLpStart().toString() | |
| 145 | + ); | |
| 146 | + cdrp.setRuleMd5(ruleMd5); | |
| 147 | + // 人员范围个数 | |
| 148 | + cdrp.setRuleEcCount($sri.getEmployeeConfigIds().size()); | |
| 149 | + | |
| 150 | + insert(cdrp); | |
| 151 | + | |
| 152 | +// log.info("总共需要排班的天数 sdays={} ruleId={} from={} to={}", (p2.getDays() + 1), $ruleId, $qyrq, $toDate); | |
| 153 | + | |
| 154 | +end | |
| 155 | + | |
| 156 | +// 使用已经排过班的数据修正Calcu_days_result_pre | |
| 157 | +// 1、避免每次从规则的启用日期开始算 | |
| 158 | +// 2、时刻表会不停的修正,如果每次都从规则启用日期开始算,会出错 | |
| 159 | + | |
| 160 | +declare SchedulePlanRuleResult_wrap | |
| 161 | + ruleId: String // 规则Id | |
| 162 | + ruleMd5: String // 规则md5编码 | |
| 163 | + scheduleDate: DateTime // 排班日期 | |
| 164 | + | |
| 165 | + isUsed: Boolean = false // 是否被使用过 | |
| 166 | + | |
| 167 | + self: SchedulePlanRuleResult; // 原始对象数据 | |
| 168 | +end | |
| 169 | + | |
| 170 | +rule "Calcu_SchedulePlanRuleResult_wrap" | |
| 171 | + salience 950 | |
| 172 | + when | |
| 173 | + ScheduleCalcuParam_input( | |
| 174 | + fromDate.isBefore(toDate) || fromDate.isEqual(toDate), | |
| 175 | + $fromDate : fromDate, | |
| 176 | + $toDate : toDate, | |
| 177 | + $xlId: xlId, | |
| 178 | + $self: schedulePlan | |
| 179 | + ) | |
| 180 | + eval($self.getIsHistoryPlanFirst() == true) // 是否使用历史排班标识 | |
| 181 | + $sprr: SchedulePlanRuleResult() from scheduleRuleService.findLastByXl($xlId, $fromDate.toDate()) | |
| 182 | + eval($sprr.getQyrq() != null) | |
| 183 | + | |
| 184 | + then | |
| 185 | + // 创建班序历史结果数据 | |
| 186 | + SchedulePlanRuleResult_wrap schedulePlanRuleResult_wrap = new SchedulePlanRuleResult_wrap(); | |
| 187 | + schedulePlanRuleResult_wrap.setRuleId($sprr.getRuleId()); | |
| 188 | + schedulePlanRuleResult_wrap.setScheduleDate(new DateTime($sprr.getScheduleDate())); | |
| 189 | + schedulePlanRuleResult_wrap.setSelf($sprr); | |
| 190 | + | |
| 191 | + // 规则Md5编码 | |
| 192 | + String md5 = Md5Util.getMd5( | |
| 193 | + String.valueOf($sprr.getQyrq().getTime()) + | |
| 194 | + "_" + | |
| 195 | + $sprr.getGids() + | |
| 196 | + "_" + | |
| 197 | + $sprr.getOrigingidindex() | |
| 198 | + ); | |
| 199 | + | |
| 200 | +// System.out.println("修改后的md5:" + md5 + "车辆:" + $sprr.getCcZbh()); | |
| 201 | + | |
| 202 | + schedulePlanRuleResult_wrap.setRuleMd5(md5); | |
| 203 | + | |
| 204 | + insert(schedulePlanRuleResult_wrap); | |
| 205 | +end | |
| 206 | + | |
| 207 | + | |
| 208 | +// 1、启用日期 < 开始日期 | |
| 209 | +// 2、如果最近的排班规则历史时间在 (启用日期,开始日期) 之间,需要重新修正预处理数据 | |
| 210 | +rule "calcu_days_1_with_result" | |
| 211 | + no-loop | |
| 212 | + salience 960 | |
| 213 | + when | |
| 214 | + $cdrp: Calcu_days_result_pre( | |
| 215 | + calcu_start_date_1.isBefore(calcu_start_date_2), | |
| 216 | + $ruleId: ruleId, | |
| 217 | + $ruleMd5: ruleMd5, | |
| 218 | + $ruleEcCount: ruleEcCount | |
| 219 | + ) | |
| 220 | + $srrr_wrap: SchedulePlanRuleResult_wrap( | |
| 221 | +// ruleId == $ruleId, | |
| 222 | + ruleMd5 == $ruleMd5, | |
| 223 | + scheduleDate.isAfter($cdrp.calcu_start_date_1), | |
| 224 | + scheduleDate.isBefore($cdrp.calcu_start_date_2), | |
| 225 | + isUsed == false, | |
| 226 | + $scheduleDate: scheduleDate, | |
| 227 | + $self: self | |
| 228 | + ) | |
| 229 | + then | |
| 230 | + // 修正排班数据 | |
| 231 | +// log.info("准备修正 ruleId={} historyDate={}", $ruleId, $scheduleDate); | |
| 232 | + | |
| 233 | + // 路牌范围起始index使用历史数据 | |
| 234 | + $cdrp.setCalcu_index_lp(Integer.valueOf($self.getGidindex())); | |
| 235 | + // 人员范围起始index,需要判定,如果长度都是一样的,使用历史的,否则不更新,使用最新的 | |
| 236 | + String history_ecids = $self.getEcids(); | |
| 237 | + if ($ruleEcCount == history_ecids.split(",").length) { | |
| 238 | + $cdrp.setCalcu_index_ry(Integer.valueOf($self.getEcindex())); | |
| 239 | + } | |
| 240 | + | |
| 241 | + $cdrp.setCalcu_start_date_1($scheduleDate); | |
| 242 | + update($cdrp); | |
| 243 | + | |
| 244 | + $srrr_wrap.setIsUsed(true); | |
| 245 | + update($srrr_wrap); | |
| 246 | + | |
| 247 | +end | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | +//------------------------- 第二阶段、计算规则准备数据2(第一组循环) ----------------------------// | |
| 252 | +rule "Calcu_loop1_1_" // 路牌在时刻表中存在,就翻 | |
| 253 | + salience 900 | |
| 254 | + when | |
| 255 | + $cdrp: Calcu_days_result_pre( | |
| 256 | + calcu_start_date_1.isBefore(calcu_end_date_1), | |
| 257 | + $csd1: calcu_start_date_1, | |
| 258 | + $ced1: calcu_end_date_1, | |
| 259 | + $ruleId: ruleId, | |
| 260 | + $lpindex: calcu_index_lp, | |
| 261 | + $ryindex: calcu_index_ry | |
| 262 | + ) | |
| 263 | + $sri: ScheduleRule_input( | |
| 264 | + ruleId == $ruleId, | |
| 265 | + $gids: guideboardIds, | |
| 266 | + $lprangesize : guideboardIds.size(), | |
| 267 | + $ryrangesize: employeeConfigIds.size() | |
| 268 | + ) | |
| 269 | + $liro: LpInfoResult_output( | |
| 270 | + dateTime.isEqual($csd1), | |
| 271 | + $gids.get($lpindex) == lpId, | |
| 272 | + $lpId: lpId | |
| 273 | + ) | |
| 274 | + then | |
| 275 | + $cdrp.setCalcu_index_lp(($lpindex + 1) % $lprangesize); | |
| 276 | + $cdrp.setCalcu_index_ry(($ryindex + 1) % $ryrangesize); | |
| 277 | + $cdrp.setCalcu_start_date_1($csd1.plusDays(1)); | |
| 278 | + | |
| 279 | +// log.info("Calcu_loop1_1_ ruleId={}, calcu_index_lp/ry={}/{}", | |
| 280 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry()); | |
| 281 | + | |
| 282 | + update($cdrp); | |
| 283 | +end | |
| 284 | + | |
| 285 | +rule "Calcu_loop1_2_" // 路牌在时刻表中不存在,就不翻 | |
| 286 | + salience 900 | |
| 287 | + when | |
| 288 | + $cdrp: Calcu_days_result_pre( | |
| 289 | + calcu_start_date_1.isBefore(calcu_end_date_1), | |
| 290 | + $csd1: calcu_start_date_1, | |
| 291 | + $ced1: calcu_end_date_1, | |
| 292 | + $ruleId: ruleId | |
| 293 | + ) | |
| 294 | + $sri: ScheduleRule_input( | |
| 295 | + ruleId == $ruleId, | |
| 296 | + $rangesize : guideboardIds.size() | |
| 297 | + ) | |
| 298 | + then | |
| 299 | + $cdrp.setCalcu_start_date_1($csd1.plusDays(1)); | |
| 300 | + | |
| 301 | +// log.info("Calcu_loop1_2_ ruleId={}, calcu_index_lp/ry={}/{}", | |
| 302 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry()); | |
| 303 | + | |
| 304 | + update($cdrp); | |
| 305 | +end | |
| 306 | + | |
| 307 | +//------------------------- 第三阶段、计算规则准备数据2(第二组循环) ----------------------------// | |
| 308 | +rule "Calcu_loop2_1_" // 路牌在时刻表中存在,就翻 | |
| 309 | + salience 800 | |
| 310 | + when | |
| 311 | + ScheduleCalcuParam_input($sp: schedulePlan, $xlid: xlId) | |
| 312 | + $cdrp: Calcu_days_result_pre( | |
| 313 | + calcu_start_date_1.isEqual(calcu_end_date_1), | |
| 314 | + calcu_start_date_2.isBefore(calcu_end_date_2) || calcu_start_date_2.isEqual(calcu_end_date_2), | |
| 315 | + $csd2: calcu_start_date_2, | |
| 316 | + $ced2: calcu_end_date_2, | |
| 317 | + $ruleId: ruleId, | |
| 318 | + $lpindex: calcu_index_lp, | |
| 319 | + $ryindex: calcu_index_ry | |
| 320 | + ) | |
| 321 | + $sri: ScheduleRule_input( | |
| 322 | + ruleId == $ruleId, | |
| 323 | + $cid: carConfigId, | |
| 324 | + $gids: guideboardIds, | |
| 325 | + $eids: employeeConfigIds, | |
| 326 | + $lprangesize : guideboardIds.size(), | |
| 327 | + $ryrangesize: employeeConfigIds.size(), | |
| 328 | + $srf: self | |
| 329 | + ) | |
| 330 | + $liro: LpInfoResult_output( | |
| 331 | + dateTime.isEqual($csd2), | |
| 332 | + $gids.get($lpindex) == lpId, | |
| 333 | + $lpId: lpId, | |
| 334 | + $ttinfoId: ttInfoId, | |
| 335 | + $ttinfoName: ttInfoName | |
| 336 | + ) | |
| 337 | + then | |
| 338 | + ScheduleResult_output ro = new ScheduleResult_output(); | |
| 339 | + ro.setRuleId($ruleId); | |
| 340 | + ro.setSd($csd2); | |
| 341 | + ro.setGuideboardId(String.valueOf($gids.get($lpindex))); | |
| 342 | + ro.setEmployeeConfigId(String.valueOf($eids.get($ryindex))); | |
| 343 | + ro.setCarConfigId($cid); | |
| 344 | + ro.setXlId($xlid); | |
| 345 | + | |
| 346 | + // 类型 | |
| 347 | + ro.setsType($sri.getsType()); | |
| 348 | + | |
| 349 | + scheduleResult.getResults().add(ro); | |
| 350 | + | |
| 351 | +// log.info("gogoogogogogo"); | |
| 352 | + | |
| 353 | + $cdrp.setCalcu_index_lp(($lpindex + 1) % $lprangesize); | |
| 354 | + $cdrp.setCalcu_index_ry(($ryindex + 1) % $ryrangesize); | |
| 355 | + $cdrp.setCalcu_start_date_2($csd2.plusDays(1)); | |
| 356 | + | |
| 357 | + if ($sri.getsType() == ScheduleRule_Type.NORMAL) { | |
| 358 | + // 保存排班规则循环结果 --> SchedulePlanRuleResult | |
| 359 | + SchedulePlanRuleResult schedulePlanRuleResult = new SchedulePlanRuleResult($sp); | |
| 360 | +// schedulePlanRuleResult.setXlId(String.valueOf($srf.getXl().getId())); | |
| 361 | + schedulePlanRuleResult.setXlId($srf.getXl().getId()); | |
| 362 | + schedulePlanRuleResult.setXlName($srf.getXl().getName()); | |
| 363 | + schedulePlanRuleResult.setRuleId($ruleId); | |
| 364 | + schedulePlanRuleResult.setCcId($cid); | |
| 365 | + schedulePlanRuleResult.setCcZbh($srf.getCarConfigInfo().getCl().getInsideCode()); | |
| 366 | + schedulePlanRuleResult.setGids($srf.getLpIds()); // 参与md5计算 | |
| 367 | + schedulePlanRuleResult.setGnames($srf.getLpNames()); | |
| 368 | + schedulePlanRuleResult.setGidindex(String.valueOf($lpindex)); | |
| 369 | + schedulePlanRuleResult.setEcids($srf.getRyConfigIds()); | |
| 370 | + schedulePlanRuleResult.setEcdbbms($srf.getRyDbbms()); | |
| 371 | + schedulePlanRuleResult.setEcindex(String.valueOf($ryindex)); | |
| 372 | + schedulePlanRuleResult.setScheduleDate($csd2.toDate()); | |
| 373 | + schedulePlanRuleResult.setTtinfoId($ttinfoId); | |
| 374 | + schedulePlanRuleResult.setTtinfoName($ttinfoName); | |
| 375 | + schedulePlanRuleResult.setQyrq($sri.getQyrq().toDate()); // 参与md5计算 | |
| 376 | + schedulePlanRuleResult.setOrigingidindex(String.valueOf($sri.getSelf().getLpStart())); // 参与md5计算 | |
| 377 | + | |
| 378 | + scheduleResult.getSchedulePlanRuleResults().add(schedulePlanRuleResult); | |
| 379 | + } | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | +// log.info("Calcu_loop2_1_ ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 384 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd2, $ced2); | |
| 385 | + | |
| 386 | + update($cdrp); | |
| 387 | +end | |
| 388 | + | |
| 389 | +rule "Calcu_loop2_2_" // 路牌在时刻表中不存在,就不翻 | |
| 390 | + salience 800 | |
| 391 | + when | |
| 392 | + ScheduleCalcuParam_input($sp: schedulePlan, $xlid: xlId) | |
| 393 | + $cdrp: Calcu_days_result_pre( | |
| 394 | + calcu_start_date_1.isEqual(calcu_end_date_1), | |
| 395 | + calcu_start_date_2.isBefore(calcu_end_date_2) || calcu_start_date_2.isEqual(calcu_end_date_2), | |
| 396 | + $csd2: calcu_start_date_2, | |
| 397 | + $ced2: calcu_end_date_2, | |
| 398 | + $ruleId: ruleId, | |
| 399 | + $lpindex: calcu_index_lp, | |
| 400 | + $ryindex: calcu_index_ry | |
| 401 | + ) | |
| 402 | + $sri: ScheduleRule_input( | |
| 403 | + ruleId == $ruleId, | |
| 404 | + $cid: carConfigId, | |
| 405 | + $gids: guideboardIds, | |
| 406 | + $eids: employeeConfigIds, | |
| 407 | + $srf: self | |
| 408 | + ) | |
| 409 | + then | |
| 410 | + ScheduleResult_output ro = new ScheduleResult_output(); | |
| 411 | + ro.setRuleId($ruleId); | |
| 412 | + ro.setSd($csd2); | |
| 413 | + ro.setGuideboardId(String.valueOf($gids.get($lpindex))); | |
| 414 | + ro.setEmployeeConfigId(String.valueOf($eids.get($ryindex))); | |
| 415 | + ro.setCarConfigId($cid); | |
| 416 | + ro.setXlId($xlid); | |
| 417 | + | |
| 418 | + // 类型 | |
| 419 | + ro.setsType($sri.getsType()); | |
| 420 | + | |
| 421 | + scheduleResult.getResults().add(ro); | |
| 422 | + | |
| 423 | + $cdrp.setCalcu_start_date_2($csd2.plusDays(1)); | |
| 424 | + | |
| 425 | +// // 保存排班规则循环结果 --> SchedulePlanRuleResult | |
| 426 | +// SchedulePlanRuleResult schedulePlanRuleResult = new SchedulePlanRuleResult($sp); | |
| 427 | +// schedulePlanRuleResult.setXlId(String.valueOf($srf.getXl().getId())); | |
| 428 | +// schedulePlanRuleResult.setXlName($srf.getXl().getName()); | |
| 429 | +// schedulePlanRuleResult.setRuleId($ruleId); | |
| 430 | +// schedulePlanRuleResult.setCcId($cid); | |
| 431 | +// schedulePlanRuleResult.setCcZbh($srf.getCarConfigInfo().getCl().getInsideCode()); | |
| 432 | +// schedulePlanRuleResult.setGids($srf.getLpIds()); | |
| 433 | +// schedulePlanRuleResult.setGnames($srf.getLpNames()); | |
| 434 | +// schedulePlanRuleResult.setGidindex(String.valueOf($lpindex)); | |
| 435 | +// schedulePlanRuleResult.setEcids($srf.getRyConfigIds()); | |
| 436 | +// schedulePlanRuleResult.setEcdbbms($srf.getRyDbbms()); | |
| 437 | +// schedulePlanRuleResult.setEcindex(String.valueOf($ryindex)); | |
| 438 | +// schedulePlanRuleResult.setScheduleDate($csd2.toDate()); | |
| 439 | +// | |
| 440 | +// scheduleResult.getSchedulePlanRuleResults().add(schedulePlanRuleResult); | |
| 441 | + | |
| 442 | +// log.info("Calcu_loop2_2_ ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 443 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd2, $ced2); | |
| 444 | + | |
| 445 | + update($cdrp); | |
| 446 | +end | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | ... | ... |
src/main/resources/rules/shiftloop_fb_2.drl
| ... | ... | @@ -254,6 +254,10 @@ rule "calcu_days_1_with_result" |
| 254 | 254 | $cdrp.setCalcu_index_ry(Integer.valueOf($self.getEcindex())); |
| 255 | 255 | } |
| 256 | 256 | |
| 257 | + // 翻班格式利用路牌的历史index更新 | |
| 258 | + int fb_temp = Integer.valueOf($self.getGidindex()) % $cdrp.getFbweeks().size(); | |
| 259 | + $cdrp.setFbgs_index(fb_temp); | |
| 260 | + | |
| 257 | 261 | $cdrp.setCalcu_start_date_1($scheduleDate); |
| 258 | 262 | update($cdrp); |
| 259 | 263 | |
| ... | ... | @@ -266,7 +270,7 @@ end |
| 266 | 270 | |
| 267 | 271 | //------------------------- 第二阶段、计算规则准备数据2(第一组循环) ----------------------------// |
| 268 | 272 | |
| 269 | -function void calcu_loop1_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sri) { | |
| 273 | +function void calcu_loop1_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sri, Logger log) { | |
| 270 | 274 | Integer $lpindex = $cdrp.getCalcu_index_lp(); |
| 271 | 275 | Integer $lprangesize = $sri.getGuideboardIds().size(); |
| 272 | 276 | Integer $ryindex = $cdrp.getCalcu_index_ry(); |
| ... | ... | @@ -274,6 +278,8 @@ function void calcu_loop1_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sr |
| 274 | 278 | Integer $fbindex = $cdrp.getFbgs_index(); |
| 275 | 279 | Integer $fbfangesize = $sri.getWeekdays().size(); |
| 276 | 280 | DateTime $csd1 = $cdrp.getCalcu_start_date_1(); |
| 281 | + DateTime $ced1 = $cdrp.getCalcu_end_date_1(); | |
| 282 | + | |
| 277 | 283 | String $ruleId = $cdrp.getRuleId(); |
| 278 | 284 | |
| 279 | 285 | $cdrp.setCalcu_index_lp(($lpindex + 1) % $lprangesize); |
| ... | ... | @@ -282,19 +288,21 @@ function void calcu_loop1_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sr |
| 282 | 288 | $cdrp.setFbgs_index(($fbindex + 1) % $fbfangesize); |
| 283 | 289 | $cdrp.setCalcu_start_date_1($csd1.plusDays(1)); |
| 284 | 290 | |
| 285 | -// log.info("calcu_loop1_fb ruleId={}, calcu_index_lp/ry={}/{}", | |
| 286 | -// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry()); | |
| 291 | +// log.info("calcu_loop1_fb ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 292 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd1, $ced1); | |
| 293 | + | |
| 287 | 294 | } |
| 288 | -function void calcu_loop1_not_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sri) { | |
| 295 | +function void calcu_loop1_not_fb(Calcu_days_result_pre $cdrp, ScheduleRule_input $sri, Logger log) { | |
| 289 | 296 | DateTime $csd1 = $cdrp.getCalcu_start_date_1(); |
| 297 | + DateTime $ced1 = $cdrp.getCalcu_end_date_1(); | |
| 290 | 298 | Integer $fbindex = $cdrp.getFbgs_index(); |
| 291 | 299 | Integer $fbfangesize = $sri.getWeekdays().size(); |
| 292 | 300 | |
| 293 | 301 | $cdrp.setFbgs_index(($fbindex + 1) % $fbfangesize); |
| 294 | 302 | $cdrp.setCalcu_start_date_1($csd1.plusDays(1)); |
| 295 | 303 | |
| 296 | -// log.info("calcu_loop1_not_fb ruleId={}, calcu_index_lp/ry={}/{}", | |
| 297 | -// $cdrp.getRuleId(), $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry()); | |
| 304 | +// log.info("calcu_loop1_not_fb ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 305 | +// $cdrp.getRuleId(), $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd1, $ced1); | |
| 298 | 306 | } |
| 299 | 307 | |
| 300 | 308 | |
| ... | ... | @@ -312,7 +320,7 @@ rule "Calcu_loop1_fbtype_with_0_" // 翻班模式为 type=1 使用翻班格式 |
| 312 | 320 | weekdays[$fbindex] == false |
| 313 | 321 | ) |
| 314 | 322 | then |
| 315 | - calcu_loop1_not_fb($cdrp, $sri); | |
| 323 | + calcu_loop1_not_fb($cdrp, $sri, log); | |
| 316 | 324 | update($cdrp); |
| 317 | 325 | end |
| 318 | 326 | |
| ... | ... | @@ -337,7 +345,7 @@ rule "Calcu_loop1_fbtype_with_1_lp_" // 翻班模式为 type=1 使用翻班格 |
| 337 | 345 | $gids[$lpindex] == lpId |
| 338 | 346 | ) |
| 339 | 347 | then |
| 340 | - calcu_loop1_fb($cdrp, $sri); | |
| 348 | + calcu_loop1_fb($cdrp, $sri, log); | |
| 341 | 349 | update($cdrp); |
| 342 | 350 | |
| 343 | 351 | end |
| ... | ... | @@ -357,7 +365,7 @@ rule "Calcu_loop1_fbtype_with_1_no_lp_" // 翻班模式为 type=1 使用翻班 |
| 357 | 365 | weekdays[$fbindex] == true |
| 358 | 366 | ) |
| 359 | 367 | then |
| 360 | - calcu_loop1_not_fb($cdrp, $sri); | |
| 368 | + calcu_loop1_not_fb($cdrp, $sri, log); | |
| 361 | 369 | update($cdrp); |
| 362 | 370 | end |
| 363 | 371 | |
| ... | ... | @@ -381,7 +389,7 @@ rule "Calcu_loop1_timetabletype_with_lp_" // 翻班模式为 type=0 使用时刻 |
| 381 | 389 | $gids[$lpindex] == lpId |
| 382 | 390 | ) |
| 383 | 391 | then |
| 384 | - calcu_loop1_fb($cdrp, $sri); | |
| 392 | + calcu_loop1_fb($cdrp, $sri, log); | |
| 385 | 393 | update($cdrp); |
| 386 | 394 | end |
| 387 | 395 | |
| ... | ... | @@ -398,7 +406,7 @@ rule "Calcu_loop1_timetabletype_with_no_lp_" // 翻班模式为 type=0 使用时 |
| 398 | 406 | ruleId == $ruleId |
| 399 | 407 | ) |
| 400 | 408 | then |
| 401 | - calcu_loop1_not_fb($cdrp, $sri); | |
| 409 | + calcu_loop1_not_fb($cdrp, $sri, log); | |
| 402 | 410 | update($cdrp); |
| 403 | 411 | end |
| 404 | 412 | |
| ... | ... | @@ -477,18 +485,20 @@ function void calcu_loop2_fb( |
| 477 | 485 | |
| 478 | 486 | |
| 479 | 487 | |
| 480 | - log.info("calcu_loop2_fb ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 481 | - $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd2, $ced2); | |
| 488 | +// log.info("calcu_loop2_fb ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 489 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd2, $ced2); | |
| 482 | 490 | |
| 483 | 491 | } |
| 484 | 492 | |
| 485 | 493 | function void calcu_loop2_not_fb( |
| 486 | 494 | Calcu_days_result_pre $cdrp, |
| 487 | 495 | ScheduleRule_input $sri, |
| 488 | - ScheduleResults_output rs) { | |
| 496 | + ScheduleResults_output rs, | |
| 497 | + Logger log) { | |
| 489 | 498 | |
| 490 | 499 | String $ruleId = $cdrp.getRuleId(); |
| 491 | 500 | DateTime $csd2 = $cdrp.getCalcu_start_date_2(); |
| 501 | + DateTime $ced2 = $cdrp.getCalcu_end_date_2(); | |
| 492 | 502 | Integer $lpindex = $cdrp.getCalcu_index_lp(); |
| 493 | 503 | List $gids = $sri.getGuideboardIds(); |
| 494 | 504 | Integer $ryindex = $cdrp.getCalcu_index_ry(); |
| ... | ... | @@ -514,6 +524,10 @@ function void calcu_loop2_not_fb( |
| 514 | 524 | |
| 515 | 525 | $cdrp.setFbgs_index(($fbindex + 1) % $fbfangesize); |
| 516 | 526 | $cdrp.setCalcu_start_date_2($csd2.plusDays(1)); |
| 527 | + | |
| 528 | +// log.info("calcu_loop2_not_fb ruleId={}, calcu_index_lp/ry={}/{}, from={}, to={}", | |
| 529 | +// $ruleId, $cdrp.getCalcu_index_lp(), $cdrp.getCalcu_index_ry(), $csd2, $ced2); | |
| 530 | + | |
| 517 | 531 | } |
| 518 | 532 | |
| 519 | 533 | rule "Calcu_loop2_fbtype_with_0_" // 翻班模式为 type=1 使用翻班格式翻,当天翻班格式是false,就跳过 |
| ... | ... | @@ -532,7 +546,7 @@ rule "Calcu_loop2_fbtype_with_0_" // 翻班模式为 type=1 使用翻班格式 |
| 532 | 546 | weekdays[$fbindex] == false |
| 533 | 547 | ) |
| 534 | 548 | then |
| 535 | - calcu_loop2_not_fb($cdrp, $sri, scheduleResult); | |
| 549 | + calcu_loop2_not_fb($cdrp, $sri, scheduleResult, log); | |
| 536 | 550 | update($cdrp); |
| 537 | 551 | |
| 538 | 552 | end |
| ... | ... | @@ -580,7 +594,7 @@ rule "Calcu_loop2_fbtype_with_1_no_lp_" // 翻班模式为 type=1 使用翻班 |
| 580 | 594 | weekdays[$fbindex] == true |
| 581 | 595 | ) |
| 582 | 596 | then |
| 583 | - calcu_loop2_not_fb($cdrp, $sri, scheduleResult); | |
| 597 | + calcu_loop2_not_fb($cdrp, $sri, scheduleResult, log); | |
| 584 | 598 | update($cdrp); |
| 585 | 599 | |
| 586 | 600 | end |
| ... | ... | @@ -626,7 +640,7 @@ rule "Calcu_loop2_timetabletype_with_no_lp_" // 翻班模式为 type=0 使用时 |
| 626 | 640 | ruleId == $ruleId |
| 627 | 641 | ) |
| 628 | 642 | then |
| 629 | - calcu_loop2_not_fb($cdrp, $sri, scheduleResult); | |
| 643 | + calcu_loop2_not_fb($cdrp, $sri, scheduleResult, log); | |
| 630 | 644 | update($cdrp); |
| 631 | 645 | end |
| 632 | 646 | ... | ... |
src/main/resources/static/pages/base/stationroute/deletesection.html
| ... | ... | @@ -136,7 +136,6 @@ $('#delete_section_mobal').on('deleteSectionMobal.show',function(e, ajaxd, line, |
| 136 | 136 | //ids.push($(this).val()); |
| 137 | 137 | }); |
| 138 | 138 | if (ids != "" && ids != null && ids != undefined) { |
| 139 | - console.log("ids:" + ids); | |
| 140 | 139 | ids = ids.substr(1, ids.length - 1); |
| 141 | 140 | var params = {}; |
| 142 | 141 | params.ids = ids; |
| ... | ... | @@ -224,6 +223,8 @@ $('#delete_section_mobal').on('deleteSectionMobal.show',function(e, ajaxd, line, |
| 224 | 223 | * |
| 225 | 224 | */ |
| 226 | 225 | function loadTableDate(param, isPon) { |
| 226 | + // 初始化全选按钮 | |
| 227 | + document.getElementById('scetionCheckItems').checked = null; | |
| 227 | 228 | // 搜索参数 |
| 228 | 229 | var params = {}; |
| 229 | 230 | if (param) | ... | ... |
src/main/resources/static/pages/base/stationroute/deletestation.html
| ... | ... | @@ -225,6 +225,8 @@ $('#delete_station_mobal').on('deleteStationMobal.show',function(e, ajaxd, line, |
| 225 | 225 | * |
| 226 | 226 | */ |
| 227 | 227 | function loadTableDate(param, isPon) { |
| 228 | + // 初始化全选按钮 | |
| 229 | + document.getElementById('stationCheckItems').checked = null; | |
| 228 | 230 | // 搜索参数 |
| 229 | 231 | var params = {}; |
| 230 | 232 | if (param) | ... | ... |
src/main/resources/static/pages/base/stationroute/js/stationroute-list-reload.js
| ... | ... | @@ -58,16 +58,12 @@ $(function(){ |
| 58 | 58 | /** 初始化下行树 @param:<Line.id:线路Id;1:下行> */ |
| 59 | 59 | PublicFunctions.TreeUpOrDown(Line.id,'1'); |
| 60 | 60 | |
| 61 | - var start =new Date(); | |
| 62 | - console.log(start); | |
| 63 | 61 | /** 查询路段信息 @param:<Line.id:线路Id;dir:方向> @return:data:路段数据 */ |
| 64 | 62 | GetAjaxData.getSectionRouteInfo(Line.id,dir,function(data) { |
| 65 | 63 | /** 在地图上画出线路走向 @param:<Line.id:线路Id;0:上行;data:路段数据> */ |
| 66 | 64 | PublicFunctions.linePanlThree(Line.id,data,dir); |
| 67 | 65 | |
| 68 | 66 | }); |
| 69 | - var finish =new Date(); | |
| 70 | - console.log(finish); | |
| 71 | 67 | },500); |
| 72 | 68 | |
| 73 | 69 | }else { | ... | ... |
src/main/resources/static/pages/base/timesmodel/tepms/fcjx_temp.html
| 1 | -<script type="text/html" id = "fcjx_temp"> | |
| 2 | - | |
| 3 | - <div class="form-group"> | |
| 4 | - <div class="col-md-6"> | |
| 5 | - <label class="control-label col-md-5"> | |
| 6 | - <span class="required"> * </span> 上行首班时间 : | |
| 7 | - </label> | |
| 8 | - <div class="col-md-5"> | |
| 9 | - <input type="text" class="form-control" name="startStationFirstTime" value="{{map.line.startStationFirstTime}}" id="startStationFirstTime_id" | |
| 10 | - placeholder="请输入起始站首班时间"> | |
| 11 | - </div> | |
| 12 | - </div> | |
| 13 | - <div class="col-md-6"> | |
| 14 | - <label class="control-label col-md-5"> | |
| 15 | - <span class="required"> * </span> 上行末班时间 : | |
| 16 | - </label> | |
| 17 | - <div class="col-md-5"> | |
| 18 | - <input type="text" class="form-control" name="startStationEndTime" value="{{map.line.startStationEndTime}}" id="startStationEndTime_id" | |
| 19 | - placeholder="请输入起始站末班时间"> | |
| 20 | - </div> | |
| 21 | - </div> | |
| 22 | - </div> | |
| 23 | - | |
| 24 | - <div class="form-group"> | |
| 25 | - <div class="col-md-6"> | |
| 26 | - <label class="control-label col-md-5"> | |
| 27 | - <span class="required"> * </span> 下行首班时间 : | |
| 28 | - </label> | |
| 29 | - <div class="col-md-5"> | |
| 30 | - <input type="text" class="form-control" name="endStationFirstTime" value="{{map.line.endStationFirstTime}}" id="endStationFirstTime_id" | |
| 31 | - placeholder="请输入终点站首班时间"> | |
| 32 | - </div> | |
| 33 | - </div> | |
| 34 | - <div class="col-md-6"> | |
| 35 | - <label class="control-label col-md-5"> | |
| 36 | - <span class="required"> * </span> 下行末班时间 : | |
| 37 | - </label> | |
| 38 | - <div class="col-md-5"> | |
| 39 | - <input type="text" class="form-control" name="endStationEndTime" value="{{map.line.endStationEndTime}}" id="endStationEndTime_id" | |
| 40 | - placeholder="请输入终点站末班时间"> | |
| 41 | - </div> | |
| 42 | - </div> | |
| 43 | - </div> | |
| 44 | - | |
| 45 | - <div class="form-group"> | |
| 46 | - <div class="col-md-6"> | |
| 47 | - <label class="control-label col-md-5"> | |
| 48 | - <span class="required"> * </span> 早高峰开始时间 : | |
| 49 | - </label> | |
| 50 | - <div class="col-md-5"> | |
| 51 | - <input type="text" class="form-control" name="earlyStartTime" value="{{map.earlyStartTime}}" id="earlyStartTime_id" | |
| 52 | - placeholder="请输入早高峰开始时间"> | |
| 53 | - </div> | |
| 54 | - </div> | |
| 55 | - <div class="col-md-6"> | |
| 56 | - <label class="control-label col-md-5"> | |
| 57 | - <span class="required"> * </span> 早高峰结束时间 : | |
| 58 | - </label> | |
| 59 | - <div class="col-md-5"> | |
| 60 | - <input type="text" class="form-control" name="earlyEndTime" value="{{map.earlyEndTime}}" id="earlyEndTime_id" | |
| 61 | - placeholder="请输入早高峰结束时间"> | |
| 62 | - </div> | |
| 63 | - </div> | |
| 64 | - </div> | |
| 65 | - | |
| 66 | - <div class="form-group"> | |
| 67 | - <div class="col-md-6"> | |
| 68 | - <label class="control-label col-md-5"> | |
| 69 | - <span class="required"> * </span> 晚高峰开始时间 : | |
| 70 | - </label> | |
| 71 | - <div class="col-md-5"> | |
| 72 | - <input type="text" class="form-control" name="lateStartTime" value="{{map.lateStartTime}}" id="lateStartTime_id" | |
| 73 | - placeholder="请输入晚高峰开始时间"> | |
| 74 | - </div> | |
| 75 | - </div> | |
| 76 | - <div class="col-md-6"> | |
| 77 | - <label class="control-label col-md-5"> | |
| 78 | - <span class="required"> * </span> 晚高峰结束时间 : | |
| 79 | - </label> | |
| 80 | - <div class="col-md-5"> | |
| 81 | - <input type="text" class="form-control" name="lateEndTime" value="{{map.lateEndTime}}" id="lateEndTime_id" | |
| 82 | - placeholder="请输入晚高峰结束时间"> | |
| 83 | - </div> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - | |
| 87 | - <div class="form-group"> | |
| 88 | - <div class="col-md-6"> | |
| 89 | - <label class="control-label col-md-5"> | |
| 90 | - <span class="required"> * </span> 线路规划类型 : | |
| 91 | - </label> | |
| 92 | - <div class="col-md-5"> | |
| 93 | - <select name="linePlayType" class="form-control" id="linePlayType_id"> | |
| 94 | - <option value="">-- 请选择线路类型 --</option> | |
| 95 | - <option value="0">双向</option> | |
| 96 | - <option value="1">环线</option> | |
| 97 | - </select> | |
| 98 | - </div> | |
| 99 | - </div> | |
| 100 | - <div class="col-md-6"> | |
| 101 | - <label class="control-label col-md-5">吃饭地点 :</label> | |
| 102 | - <div class="col-md-5"> | |
| 103 | - <select type="text" class="form-control" name="cfdd" id="cfdd_id"> | |
| 104 | - <option value="">请选择...</option> | |
| 105 | - <option value="0">{{map.line.startStationName}}</option> | |
| 106 | - <option value="1">{{map.line.endStationName}}</option> | |
| 107 | - <option value="allYes">起终点站都可以</option> | |
| 108 | - </select> | |
| 109 | - </div> | |
| 110 | - </div> | |
| 111 | - </div> | |
| 112 | - | |
| 113 | - <div class="form-group"> | |
| 114 | - <div class="col-md-6"> | |
| 115 | - <label class="control-label col-md-5">早晚例行保养 :</label> | |
| 116 | - <div class="col-md-5"> | |
| 117 | - <input type="text" class="form-control" name="lb" value="{{map.lb}}" id="lb_id" | |
| 118 | - placeholder="请输入早晚例行保养"> | |
| 119 | - </div> | |
| 120 | - </div> | |
| 121 | - <div class="col-md-6"> | |
| 122 | - <label class="control-label col-md-5">停车场 :</label> | |
| 123 | - <div class="col-md-5"> | |
| 124 | - <select name="carPark" class="form-control" id="carPark_id" style="width:100%"></select> | |
| 125 | - </div> | |
| 126 | - </div> | |
| 127 | - </div> | |
| 128 | - | |
| 129 | - <div class="form-group"> | |
| 130 | - <div class="col-md-6"> | |
| 131 | - <label class="control-label col-md-5">工作餐午餐时间 :</label> | |
| 132 | - <div class="col-md-5"> | |
| 133 | - <input type="text" class="form-control" name="workeLunch" value="{{map.workeLunch}}" id="workeLunch_id" | |
| 134 | - placeholder="请输入工作餐午餐时间"> | |
| 135 | - </div> | |
| 136 | - </div> | |
| 137 | - <div class="col-md-6"> | |
| 138 | - <label class="control-label col-md-5">工作餐晚餐时间 :</label> | |
| 139 | - <div class="col-md-5"> | |
| 140 | - <input type="text" class="form-control" name="workeDinner" value="{{map.workeDinner}}" id="workeDinner_id" | |
| 141 | - placeholder="请输入工作餐晚餐时间"> | |
| 142 | - </div> | |
| 143 | - </div> | |
| 144 | - </div> | |
| 145 | - | |
| 146 | - <div class="form-group"> | |
| 147 | - <div class="col-md-6 "> | |
| 148 | - <label class="control-label col-md-5"><span class="required"> * </span>发车间隔时段 :</label> | |
| 149 | - <div class="col-md-5 tagsDiv"> | |
| 150 | - <div class="row" style="margin-left: 15px;"> | |
| 151 | - <input type="text" value="" name="fcjx" id="fcjx_tagsinput" style="display: none;"> | |
| 152 | - </div> | |
| 153 | - | |
| 154 | - <div class="row" style="margin-top: 10px;"> | |
| 155 | - <label class="control-label col-md-4">开始时间:</label> | |
| 156 | - <div class="col-md-8"> | |
| 157 | - <input type="text" class="form-control" placeholder="时段开始时间" id="fcjx_tagsinput_starttime"> | |
| 158 | - </div> | |
| 159 | - </div> | |
| 160 | - | |
| 161 | - <div class="row" style="margin-top: 10px;"> | |
| 162 | - <label class="control-label col-md-4">结束时间:</label> | |
| 163 | - <div class="col-md-8"> | |
| 164 | - <input type="text" class="form-control" placeholder="时段结束时间" id="fcjx_tagsinput_endtime"> | |
| 165 | - </div> | |
| 166 | - </div> | |
| 167 | - | |
| 168 | - <div class="row" style="margin-top: 10px;"> | |
| 169 | - <label class="control-label col-md-4">间隔值:</label> | |
| 170 | - <div class="col-md-8"> | |
| 171 | - <input type="number" class="form-control" placeholder="间隔时间" id="fcjx_tagsinput_value" min="1"> | |
| 172 | - </div> | |
| 173 | - </div> | |
| 174 | - | |
| 175 | - <div class="row" style="margin-top: 10px;margin-left: 116px;"> | |
| 176 | - <a href="javascript:" class="btn red" id="fcjx_tagsinput_add">添加</a> | |
| 177 | - </div> | |
| 178 | - </div> | |
| 179 | - </div> | |
| 180 | - </div> | |
| 181 | - | |
| 182 | - <!-- 隐藏字段-时间 --> | |
| 183 | - <!-- 上下行行驶时间 --> | |
| 184 | - <input type="hidden" name="upTravelTime" value="{{map.upTravelTime}}" id="upTravelTime_id"/> | |
| 185 | - <input type="hidden" name="downTravelTime" value="{{map.downTravelTime}}" id="downTravelTime_id"/> | |
| 186 | - <!-- 早高峰/晚高峰上下行行驶时间 --> | |
| 187 | - <input type="hidden" name="earlyUpTime" value="{{map.earlyUpTime}}" id="earlyUpTime_id" /> | |
| 188 | - <input type="hidden" name="earlyDownTime" value="{{map.earlyDownTime}}" id="earlyDownTime_id" /> | |
| 189 | - <input type="hidden" name="lateUpTime" value="{{map.lateUpTime}}" id="lateUpTime_id"/> | |
| 190 | - <input type="hidden" name="lateDownTime" value="{{map.lateDownTime}}" id="lateDownTime_id"/> | |
| 191 | - <!-- 低谷上下行行驶时间 --> | |
| 192 | - <input type="hidden" name="troughUpTime" value="{{map.troughUpTime}}" id="troughUpTime_id"/> | |
| 193 | - <input type="hidden" name="troughDownTime" value="{{map.troughDownTime}}" id="troughDownTime_id"/> | |
| 194 | - <!-- 上下行进场出场时间 --> | |
| 195 | - <input type="hidden" name="upInTimer" value="{{map.upInTimer}}" id="upInTimer_id"/> | |
| 196 | - <input type="hidden" name="downInTimer" value="{{map.downInTimer}}" id="downInTimer_id"/> | |
| 197 | - <input type="hidden" name="upOutTimer" value="{{map.upOutTimer}}" id="upOutTimer_id"/> | |
| 198 | - <input type="hidden" name="downOutTimer" value="{{map.downOutTimer}}" id="downOutTimer_id"/> | |
| 199 | - | |
| 200 | - <!-- 隐藏字段-里程 --> | |
| 201 | - <!-- 上下行行驶里程 --> | |
| 202 | - <input type="hidden" name="upMileage" value="{{map.upMileage}}" id="upMileage_id"/> | |
| 203 | - <input type="hidden" name="downMileage" value="{{map.downMileage}}" id="downMileage_id"/> | |
| 204 | - <!-- 上下行进场出场里程 --> | |
| 205 | - <input type="hidden" name="upInMileage" value="{{map.upInMileage}}" id="upInMileage_id"/> | |
| 206 | - <input type="hidden" name="downInMileage" value="{{map.downInMileage}}" id="downInMileage_id"/> | |
| 207 | - <input type="hidden" name="upOutMileage" value="{{map.upOutMileage}}" id="upOutMileage_id"/> | |
| 208 | - <input type="hidden" name="downOutMileage" value="{{map.downOutMileage}}" id="downOutMileage_id"/> | |
| 209 | - | |
| 210 | -</script> | |
| 211 | - | |
| 212 | -<script type="text/html" id="fcjx_temp_config"> | |
| 213 | - <h4 class="form-section"> 时刻表与线路名称 </h4> | |
| 214 | - <div class="form-group"> | |
| 215 | - <div class="col-md-6"> | |
| 216 | - <label class="control-label col-md-5"> 时刻表名称 : </label> | |
| 217 | - <div class="col-md-7"> | |
| 218 | - <p class="form-control-static" data-display="skbName"> </p> | |
| 219 | - </div> | |
| 220 | - </div> | |
| 221 | - <div class="col-md-6"> | |
| 222 | - <label class="control-label col-md-5"> 线路名称 :</label> | |
| 223 | - <div class="col-md-4"> | |
| 224 | - <p class="form-control-static" data-display="lineName"> </p> | |
| 225 | - </div> | |
| 226 | - </div> | |
| 227 | - </div> | |
| 228 | - <h4 class="form-section"> 参数详情 </h4> | |
| 229 | - | |
| 230 | - <div class="form-group"> | |
| 231 | - <div class="col-md-6"> | |
| 232 | - <label class="control-label col-md-5"> | |
| 233 | - <span class="required"> * </span> 上行首班时间 : | |
| 234 | - </label> | |
| 235 | - <div class="col-md-4"> | |
| 236 | - <p class="form-control-static" data-display="startStationFirstTime"> </p> | |
| 237 | - </div> | |
| 238 | - </div> | |
| 239 | - <div class="col-md-6"> | |
| 240 | - <label class="control-label col-md-5"> | |
| 241 | - <span class="required"> * </span> 上行末班时间 : | |
| 242 | - </label> | |
| 243 | - <div class="col-md-4"> | |
| 244 | - <p class="form-control-static" data-display="startStationEndTime"> </p> | |
| 245 | - </div> | |
| 246 | - </div> | |
| 247 | - </div> | |
| 248 | - | |
| 249 | - <div class="form-group"> | |
| 250 | - <div class="col-md-6"> | |
| 251 | - <label class="control-label col-md-5"> | |
| 252 | - <span class="required"> * </span> 下行首班时间 : | |
| 253 | - </label> | |
| 254 | - <div class="col-md-4"> | |
| 255 | - <p class="form-control-static" data-display="endStationFirstTime"> </p> | |
| 256 | - </div> | |
| 257 | - </div> | |
| 258 | - <div class="col-md-6"> | |
| 259 | - <label class="control-label col-md-5"> | |
| 260 | - <span class="required"> * </span> 下行末班时间 : | |
| 261 | - </label> | |
| 262 | - <div class="col-md-4"> | |
| 263 | - <p class="form-control-static" data-display="endStationEndTime"> </p> | |
| 264 | - </div> | |
| 265 | - </div> | |
| 266 | - </div> | |
| 267 | - | |
| 268 | - <div class="form-group"> | |
| 269 | - <div class="col-md-6"> | |
| 270 | - <label class="control-label col-md-5"> | |
| 271 | - <span class="required"> * </span> 早高峰开始时间 : | |
| 272 | - </label> | |
| 273 | - <div class="col-md-4"> | |
| 274 | - <p class="form-control-static" data-display="earlyStartTime"> </p> | |
| 275 | - </div> | |
| 276 | - </div> | |
| 277 | - <div class="col-md-6"> | |
| 278 | - <label class="control-label col-md-5"> | |
| 279 | - <span class="required"> * </span> 早高峰结束时间 : | |
| 280 | - </label> | |
| 281 | - <div class="col-md-4"> | |
| 282 | - <p class="form-control-static" data-display="earlyEndTime"> </p> | |
| 283 | - </div> | |
| 284 | - </div> | |
| 285 | - </div> | |
| 286 | - | |
| 287 | - <div class="form-group"> | |
| 288 | - <div class="col-md-6"> | |
| 289 | - <label class="control-label col-md-5"> | |
| 290 | - <span class="required"> * </span> 晚高峰开始时间 : | |
| 291 | - </label> | |
| 292 | - <div class="col-md-4"> | |
| 293 | - <p class="form-control-static" data-display="lateStartTime"> </p> | |
| 294 | - </div> | |
| 295 | - </div> | |
| 296 | - <div class="col-md-6"> | |
| 297 | - <label class="control-label col-md-5"> | |
| 298 | - <span class="required"> * </span> 晚高峰结束时间 : | |
| 299 | - </label> | |
| 300 | - <div class="col-md-4"> | |
| 301 | - <p class="form-control-static" data-display="lateEndTime"> </p> | |
| 302 | - </div> | |
| 303 | - </div> | |
| 304 | - </div> | |
| 305 | - | |
| 306 | - <div class="form-group"> | |
| 307 | - <div class="col-md-6"> | |
| 308 | - <label class="control-label col-md-5"> | |
| 309 | - <span class="required"> * </span> 线路规划类型 : | |
| 310 | - </label> | |
| 311 | - <div class="col-md-4"> | |
| 312 | - <p class="form-control-static" data-display="linePlayType"> </p> | |
| 313 | - </div> | |
| 314 | - </div> | |
| 315 | - <div class="col-md-6"> | |
| 316 | - <label class="control-label col-md-5">吃饭地点 :</label> | |
| 317 | - <div class="col-md-7"> | |
| 318 | - <p class="form-control-static" data-display="cfdd"> </p> | |
| 319 | - </div> | |
| 320 | - </div> | |
| 321 | - </div> | |
| 322 | - | |
| 323 | - <div class="form-group"> | |
| 324 | - <div class="col-md-6"> | |
| 325 | - <label class="control-label col-md-5">早晚例行保养 :</label> | |
| 326 | - <div class="col-md-4"> | |
| 327 | - <p class="form-control-static" data-display="lb"> </p> | |
| 328 | - </div> | |
| 329 | - </div> | |
| 330 | - <div class="col-md-6"> | |
| 331 | - <label class="control-label col-md-5">停车场 :</label> | |
| 332 | - <div class="col-md-7"> | |
| 333 | - <p class="form-control-static" data-display="carPark"> </p> | |
| 334 | - </div> | |
| 335 | - </div> | |
| 336 | - </div> | |
| 337 | - | |
| 338 | - <div class="form-group"> | |
| 339 | - <div class="col-md-6"> | |
| 340 | - <label class="control-label col-md-5"> 工作餐午餐时间 : </label> | |
| 341 | - <div class="col-md-4"> | |
| 342 | - <p class="form-control-static" data-display="workeLunch"> </p> | |
| 343 | - </div> | |
| 344 | - </div> | |
| 345 | - <div class="col-md-6"> | |
| 346 | - <label class="control-label col-md-5"> 工作餐晚餐时间 : </label> | |
| 347 | - <div class="col-md-4"> | |
| 348 | - <p class="form-control-static" data-display="workeDinner"> </p> | |
| 349 | - </div> | |
| 350 | - </div> | |
| 351 | - </div> | |
| 352 | - | |
| 1 | +<script type="text/html" id = "fcjx_temp"> | |
| 2 | + | |
| 3 | + <div class="form-group"> | |
| 4 | + <div class="col-md-6"> | |
| 5 | + <label class="control-label col-md-5"> | |
| 6 | + <span class="required"> * </span> 上行首班时间 : | |
| 7 | + </label> | |
| 8 | + <div class="col-md-5"> | |
| 9 | + <input type="text" class="form-control" name="startStationFirstTime" value="{{map.line.startStationFirstTime}}" id="startStationFirstTime_id" | |
| 10 | + placeholder="请输入起始站首班时间"> | |
| 11 | + </div> | |
| 12 | + </div> | |
| 13 | + <div class="col-md-6"> | |
| 14 | + <label class="control-label col-md-5"> | |
| 15 | + <span class="required"> * </span> 上行末班时间 : | |
| 16 | + </label> | |
| 17 | + <div class="col-md-5"> | |
| 18 | + <input type="text" class="form-control" name="startStationEndTime" value="{{map.line.startStationEndTime}}" id="startStationEndTime_id" | |
| 19 | + placeholder="请输入起始站末班时间"> | |
| 20 | + </div> | |
| 21 | + </div> | |
| 22 | + </div> | |
| 23 | + | |
| 24 | + <div class="form-group"> | |
| 25 | + <div class="col-md-6"> | |
| 26 | + <label class="control-label col-md-5"> | |
| 27 | + <span class="required"> * </span> 下行首班时间 : | |
| 28 | + </label> | |
| 29 | + <div class="col-md-5"> | |
| 30 | + <input type="text" class="form-control" name="endStationFirstTime" value="{{map.line.endStationFirstTime}}" id="endStationFirstTime_id" | |
| 31 | + placeholder="请输入终点站首班时间"> | |
| 32 | + </div> | |
| 33 | + </div> | |
| 34 | + <div class="col-md-6"> | |
| 35 | + <label class="control-label col-md-5"> | |
| 36 | + <span class="required"> * </span> 下行末班时间 : | |
| 37 | + </label> | |
| 38 | + <div class="col-md-5"> | |
| 39 | + <input type="text" class="form-control" name="endStationEndTime" value="{{map.line.endStationEndTime}}" id="endStationEndTime_id" | |
| 40 | + placeholder="请输入终点站末班时间"> | |
| 41 | + </div> | |
| 42 | + </div> | |
| 43 | + </div> | |
| 44 | + | |
| 45 | + <div class="form-group"> | |
| 46 | + <div class="col-md-6"> | |
| 47 | + <label class="control-label col-md-5"> | |
| 48 | + <span class="required"> * </span> 早高峰开始时间 : | |
| 49 | + </label> | |
| 50 | + <div class="col-md-5"> | |
| 51 | + <input type="text" class="form-control" name="earlyStartTime" value="{{map.earlyStartTime}}" id="earlyStartTime_id" | |
| 52 | + placeholder="请输入早高峰开始时间"> | |
| 53 | + </div> | |
| 54 | + </div> | |
| 55 | + <div class="col-md-6"> | |
| 56 | + <label class="control-label col-md-5"> | |
| 57 | + <span class="required"> * </span> 早高峰结束时间 : | |
| 58 | + </label> | |
| 59 | + <div class="col-md-5"> | |
| 60 | + <input type="text" class="form-control" name="earlyEndTime" value="{{map.earlyEndTime}}" id="earlyEndTime_id" | |
| 61 | + placeholder="请输入早高峰结束时间"> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + </div> | |
| 65 | + | |
| 66 | + <div class="form-group"> | |
| 67 | + <div class="col-md-6"> | |
| 68 | + <label class="control-label col-md-5"> | |
| 69 | + <span class="required"> * </span> 晚高峰开始时间 : | |
| 70 | + </label> | |
| 71 | + <div class="col-md-5"> | |
| 72 | + <input type="text" class="form-control" name="lateStartTime" value="{{map.lateStartTime}}" id="lateStartTime_id" | |
| 73 | + placeholder="请输入晚高峰开始时间"> | |
| 74 | + </div> | |
| 75 | + </div> | |
| 76 | + <div class="col-md-6"> | |
| 77 | + <label class="control-label col-md-5"> | |
| 78 | + <span class="required"> * </span> 晚高峰结束时间 : | |
| 79 | + </label> | |
| 80 | + <div class="col-md-5"> | |
| 81 | + <input type="text" class="form-control" name="lateEndTime" value="{{map.lateEndTime}}" id="lateEndTime_id" | |
| 82 | + placeholder="请输入晚高峰结束时间"> | |
| 83 | + </div> | |
| 84 | + </div> | |
| 85 | + </div> | |
| 86 | + | |
| 87 | + <div class="form-group"> | |
| 88 | + <div class="col-md-6"> | |
| 89 | + <label class="control-label col-md-5"> | |
| 90 | + <span class="required"> * </span> 线路规划类型 : | |
| 91 | + </label> | |
| 92 | + <div class="col-md-5"> | |
| 93 | + <select name="linePlayType" class="form-control" id="linePlayType_id"> | |
| 94 | + <option value="">-- 请选择线路类型 --</option> | |
| 95 | + <option value="0">双向</option> | |
| 96 | + <option value="1">环线</option> | |
| 97 | + </select> | |
| 98 | + </div> | |
| 99 | + </div> | |
| 100 | + <div class="col-md-6"> | |
| 101 | + <label class="control-label col-md-5">吃饭地点 :</label> | |
| 102 | + <div class="col-md-5"> | |
| 103 | + <select type="text" class="form-control" name="cfdd" id="cfdd_id"> | |
| 104 | + <option value="">请选择...</option> | |
| 105 | + <option value="0">{{map.line.startStationName}}</option> | |
| 106 | + <option value="1">{{map.line.endStationName}}</option> | |
| 107 | + <option value="allYes">起终点站都可以</option> | |
| 108 | + </select> | |
| 109 | + </div> | |
| 110 | + </div> | |
| 111 | + </div> | |
| 112 | + | |
| 113 | + <div class="form-group"> | |
| 114 | + <div class="col-md-6"> | |
| 115 | + <label class="control-label col-md-5">早晚例行保养 :</label> | |
| 116 | + <div class="col-md-5"> | |
| 117 | + <input type="text" class="form-control" name="lb" value="{{map.lb}}" id="lb_id" | |
| 118 | + placeholder="请输入早晚例行保养"> | |
| 119 | + </div> | |
| 120 | + </div> | |
| 121 | + <div class="col-md-6"> | |
| 122 | + <label class="control-label col-md-5">停车场 :</label> | |
| 123 | + <div class="col-md-5"> | |
| 124 | + <select name="carPark" class="form-control" id="carPark_id" style="width:100%"></select> | |
| 125 | + </div> | |
| 126 | + </div> | |
| 127 | + </div> | |
| 128 | + | |
| 129 | + <div class="form-group"> | |
| 130 | + <div class="col-md-6"> | |
| 131 | + <label class="control-label col-md-5">工作餐午餐时间 :</label> | |
| 132 | + <div class="col-md-5"> | |
| 133 | + <input type="text" class="form-control" name="workeLunch" value="{{map.workeLunch}}" id="workeLunch_id" | |
| 134 | + placeholder="请输入工作餐午餐时间"> | |
| 135 | + </div> | |
| 136 | + </div> | |
| 137 | + <div class="col-md-6"> | |
| 138 | + <label class="control-label col-md-5">工作餐晚餐时间 :</label> | |
| 139 | + <div class="col-md-5"> | |
| 140 | + <input type="text" class="form-control" name="workeDinner" value="{{map.workeDinner}}" id="workeDinner_id" | |
| 141 | + placeholder="请输入工作餐晚餐时间"> | |
| 142 | + </div> | |
| 143 | + </div> | |
| 144 | + </div> | |
| 145 | + | |
| 146 | + <div class="form-group"> | |
| 147 | + <div class="col-md-6 "> | |
| 148 | + <label class="control-label col-md-5"><span class="required"> * </span>发车间隔时段 :</label> | |
| 149 | + <div class="col-md-5 tagsDiv"> | |
| 150 | + <div class="row" style="margin-left: 15px;"> | |
| 151 | + <input type="text" value="" name="fcjx" id="fcjx_tagsinput" style="display: none;"> | |
| 152 | + </div> | |
| 153 | + | |
| 154 | + <div class="row" style="margin-top: 10px;"> | |
| 155 | + <label class="control-label col-md-4">开始时间:</label> | |
| 156 | + <div class="col-md-8"> | |
| 157 | + <input type="text" class="form-control" placeholder="时段开始时间" id="fcjx_tagsinput_starttime"> | |
| 158 | + </div> | |
| 159 | + </div> | |
| 160 | + | |
| 161 | + <div class="row" style="margin-top: 10px;"> | |
| 162 | + <label class="control-label col-md-4">结束时间:</label> | |
| 163 | + <div class="col-md-8"> | |
| 164 | + <input type="text" class="form-control" placeholder="时段结束时间" id="fcjx_tagsinput_endtime"> | |
| 165 | + </div> | |
| 166 | + </div> | |
| 167 | + | |
| 168 | + <div class="row" style="margin-top: 10px;"> | |
| 169 | + <label class="control-label col-md-4">间隔值:</label> | |
| 170 | + <div class="col-md-8"> | |
| 171 | + <input type="number" class="form-control" placeholder="间隔时间" id="fcjx_tagsinput_value" min="1"> | |
| 172 | + </div> | |
| 173 | + </div> | |
| 174 | + | |
| 175 | + <div class="row" style="margin-top: 10px;margin-left: 116px;"> | |
| 176 | + <a href="javascript:" class="btn red" id="fcjx_tagsinput_add">添加</a> | |
| 177 | + </div> | |
| 178 | + </div> | |
| 179 | + </div> | |
| 180 | + </div> | |
| 181 | + | |
| 182 | + <!-- 隐藏字段-时间 --> | |
| 183 | + <!-- 上下行行驶时间 --> | |
| 184 | + <input type="hidden" name="upTravelTime" value="{{map.upTravelTime}}" id="upTravelTime_id"/> | |
| 185 | + <input type="hidden" name="downTravelTime" value="{{map.downTravelTime}}" id="downTravelTime_id"/> | |
| 186 | + <!-- 早高峰/晚高峰上下行行驶时间 --> | |
| 187 | + <input type="hidden" name="earlyUpTime" value="{{map.earlyUpTime}}" id="earlyUpTime_id" /> | |
| 188 | + <input type="hidden" name="earlyDownTime" value="{{map.earlyDownTime}}" id="earlyDownTime_id" /> | |
| 189 | + <input type="hidden" name="lateUpTime" value="{{map.lateUpTime}}" id="lateUpTime_id"/> | |
| 190 | + <input type="hidden" name="lateDownTime" value="{{map.lateDownTime}}" id="lateDownTime_id"/> | |
| 191 | + <!-- 低谷上下行行驶时间 --> | |
| 192 | + <input type="hidden" name="troughUpTime" value="{{map.troughUpTime}}" id="troughUpTime_id"/> | |
| 193 | + <input type="hidden" name="troughDownTime" value="{{map.troughDownTime}}" id="troughDownTime_id"/> | |
| 194 | + <!-- 上下行进场出场时间 --> | |
| 195 | + <input type="hidden" name="upInTimer" value="{{map.upInTimer}}" id="upInTimer_id"/> | |
| 196 | + <input type="hidden" name="downInTimer" value="{{map.downInTimer}}" id="downInTimer_id"/> | |
| 197 | + <input type="hidden" name="upOutTimer" value="{{map.upOutTimer}}" id="upOutTimer_id"/> | |
| 198 | + <input type="hidden" name="downOutTimer" value="{{map.downOutTimer}}" id="downOutTimer_id"/> | |
| 199 | + | |
| 200 | + <!-- 隐藏字段-里程 --> | |
| 201 | + <!-- 上下行行驶里程 --> | |
| 202 | + <input type="hidden" name="upMileage" value="{{map.upMileage}}" id="upMileage_id"/> | |
| 203 | + <input type="hidden" name="downMileage" value="{{map.downMileage}}" id="downMileage_id"/> | |
| 204 | + <!-- 上下行进场出场里程 --> | |
| 205 | + <input type="hidden" name="upInMileage" value="{{map.upInMileage}}" id="upInMileage_id"/> | |
| 206 | + <input type="hidden" name="downInMileage" value="{{map.downInMileage}}" id="downInMileage_id"/> | |
| 207 | + <input type="hidden" name="upOutMileage" value="{{map.upOutMileage}}" id="upOutMileage_id"/> | |
| 208 | + <input type="hidden" name="downOutMileage" value="{{map.downOutMileage}}" id="downOutMileage_id"/> | |
| 209 | + | |
| 210 | +</script> | |
| 211 | + | |
| 212 | +<script type="text/html" id="fcjx_temp_config"> | |
| 213 | + <h4 class="form-section"> 时刻表与线路名称 </h4> | |
| 214 | + <div class="form-group"> | |
| 215 | + <div class="col-md-6"> | |
| 216 | + <label class="control-label col-md-5"> 时刻表名称 : </label> | |
| 217 | + <div class="col-md-7"> | |
| 218 | + <p class="form-control-static" data-display="skbName"> </p> | |
| 219 | + </div> | |
| 220 | + </div> | |
| 221 | + <div class="col-md-6"> | |
| 222 | + <label class="control-label col-md-5"> 线路名称 :</label> | |
| 223 | + <div class="col-md-4"> | |
| 224 | + <p class="form-control-static" data-display="lineName"> </p> | |
| 225 | + </div> | |
| 226 | + </div> | |
| 227 | + </div> | |
| 228 | + <h4 class="form-section"> 参数详情 </h4> | |
| 229 | + | |
| 230 | + <div class="form-group"> | |
| 231 | + <div class="col-md-6"> | |
| 232 | + <label class="control-label col-md-5"> | |
| 233 | + <span class="required"> * </span> 上行首班时间 : | |
| 234 | + </label> | |
| 235 | + <div class="col-md-4"> | |
| 236 | + <p class="form-control-static" data-display="startStationFirstTime"> </p> | |
| 237 | + </div> | |
| 238 | + </div> | |
| 239 | + <div class="col-md-6"> | |
| 240 | + <label class="control-label col-md-5"> | |
| 241 | + <span class="required"> * </span> 上行末班时间 : | |
| 242 | + </label> | |
| 243 | + <div class="col-md-4"> | |
| 244 | + <p class="form-control-static" data-display="startStationEndTime"> </p> | |
| 245 | + </div> | |
| 246 | + </div> | |
| 247 | + </div> | |
| 248 | + | |
| 249 | + <div class="form-group"> | |
| 250 | + <div class="col-md-6"> | |
| 251 | + <label class="control-label col-md-5"> | |
| 252 | + <span class="required"> * </span> 下行首班时间 : | |
| 253 | + </label> | |
| 254 | + <div class="col-md-4"> | |
| 255 | + <p class="form-control-static" data-display="endStationFirstTime"> </p> | |
| 256 | + </div> | |
| 257 | + </div> | |
| 258 | + <div class="col-md-6"> | |
| 259 | + <label class="control-label col-md-5"> | |
| 260 | + <span class="required"> * </span> 下行末班时间 : | |
| 261 | + </label> | |
| 262 | + <div class="col-md-4"> | |
| 263 | + <p class="form-control-static" data-display="endStationEndTime"> </p> | |
| 264 | + </div> | |
| 265 | + </div> | |
| 266 | + </div> | |
| 267 | + | |
| 268 | + <div class="form-group"> | |
| 269 | + <div class="col-md-6"> | |
| 270 | + <label class="control-label col-md-5"> | |
| 271 | + <span class="required"> * </span> 早高峰开始时间 : | |
| 272 | + </label> | |
| 273 | + <div class="col-md-4"> | |
| 274 | + <p class="form-control-static" data-display="earlyStartTime"> </p> | |
| 275 | + </div> | |
| 276 | + </div> | |
| 277 | + <div class="col-md-6"> | |
| 278 | + <label class="control-label col-md-5"> | |
| 279 | + <span class="required"> * </span> 早高峰结束时间 : | |
| 280 | + </label> | |
| 281 | + <div class="col-md-4"> | |
| 282 | + <p class="form-control-static" data-display="earlyEndTime"> </p> | |
| 283 | + </div> | |
| 284 | + </div> | |
| 285 | + </div> | |
| 286 | + | |
| 287 | + <div class="form-group"> | |
| 288 | + <div class="col-md-6"> | |
| 289 | + <label class="control-label col-md-5"> | |
| 290 | + <span class="required"> * </span> 晚高峰开始时间 : | |
| 291 | + </label> | |
| 292 | + <div class="col-md-4"> | |
| 293 | + <p class="form-control-static" data-display="lateStartTime"> </p> | |
| 294 | + </div> | |
| 295 | + </div> | |
| 296 | + <div class="col-md-6"> | |
| 297 | + <label class="control-label col-md-5"> | |
| 298 | + <span class="required"> * </span> 晚高峰结束时间 : | |
| 299 | + </label> | |
| 300 | + <div class="col-md-4"> | |
| 301 | + <p class="form-control-static" data-display="lateEndTime"> </p> | |
| 302 | + </div> | |
| 303 | + </div> | |
| 304 | + </div> | |
| 305 | + | |
| 306 | + <div class="form-group"> | |
| 307 | + <div class="col-md-6"> | |
| 308 | + <label class="control-label col-md-5"> | |
| 309 | + <span class="required"> * </span> 线路规划类型 : | |
| 310 | + </label> | |
| 311 | + <div class="col-md-4"> | |
| 312 | + <p class="form-control-static" data-display="linePlayType"> </p> | |
| 313 | + </div> | |
| 314 | + </div> | |
| 315 | + <div class="col-md-6"> | |
| 316 | + <label class="control-label col-md-5">吃饭地点 :</label> | |
| 317 | + <div class="col-md-7"> | |
| 318 | + <p class="form-control-static" data-display="cfdd"> </p> | |
| 319 | + </div> | |
| 320 | + </div> | |
| 321 | + </div> | |
| 322 | + | |
| 323 | + <div class="form-group"> | |
| 324 | + <div class="col-md-6"> | |
| 325 | + <label class="control-label col-md-5">早晚例行保养 :</label> | |
| 326 | + <div class="col-md-4"> | |
| 327 | + <p class="form-control-static" data-display="lb"> </p> | |
| 328 | + </div> | |
| 329 | + </div> | |
| 330 | + <div class="col-md-6"> | |
| 331 | + <label class="control-label col-md-5">停车场 :</label> | |
| 332 | + <div class="col-md-7"> | |
| 333 | + <p class="form-control-static" data-display="carPark"> </p> | |
| 334 | + </div> | |
| 335 | + </div> | |
| 336 | + </div> | |
| 337 | + | |
| 338 | + <div class="form-group"> | |
| 339 | + <div class="col-md-6"> | |
| 340 | + <label class="control-label col-md-5"> 工作餐午餐时间 : </label> | |
| 341 | + <div class="col-md-4"> | |
| 342 | + <p class="form-control-static" data-display="workeLunch"> </p> | |
| 343 | + </div> | |
| 344 | + </div> | |
| 345 | + <div class="col-md-6"> | |
| 346 | + <label class="control-label col-md-5"> 工作餐晚餐时间 : </label> | |
| 347 | + <div class="col-md-4"> | |
| 348 | + <p class="form-control-static" data-display="workeDinner"> </p> | |
| 349 | + </div> | |
| 350 | + </div> | |
| 351 | + </div> | |
| 352 | + | |
| 353 | 353 | </script> |
| 354 | 354 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/common/dts2/fbgsGroup/saFbgsgroup.js
| 1 | -/** | |
| 2 | - * saFbgsgroup指令 | |
| 3 | - * 属性如下: | |
| 4 | - * name(必须):控件的名字 | |
| 5 | - * model(必须):指定一个外部object,独立作用域,如:model=ctrl.employeeInfoForSave | |
| 6 | - * fbgsvalue(必须):绑定的model翻班格式值,如:fbgsvalue={{ctrl.employeeInfoForSave.fbgs}} | |
| 7 | - * fbgsname(必须):绑定的model翻班格式字段名,如:fbgsname=fbgs | |
| 8 | - * | |
| 9 | - * required(可选):是否要用required验证 | |
| 10 | - * | |
| 11 | - */ | |
| 12 | -angular.module('ScheduleApp').directive( | |
| 13 | - 'saFbgsgroup', | |
| 14 | - [ | |
| 15 | - function() { | |
| 16 | - return { | |
| 17 | - restrict: 'E', | |
| 18 | - templateUrl: '/pages/scheduleApp/module/common/dts2/fbgsGroup/saFbgsgroupTemplate.html', | |
| 19 | - scope: { | |
| 20 | - model: "=" // 独立作用域,关联外部的模型object | |
| 21 | - }, | |
| 22 | - controllerAs: '$saFbgsgroupCtrl', | |
| 23 | - bindToController: true, | |
| 24 | - controller: function() { | |
| 25 | - var self = this; | |
| 26 | - | |
| 27 | - self.$$dataSelected = []; // 选中的路牌列表 | |
| 28 | - | |
| 29 | - // saFbgsgroup组件的ng-model,用于外部绑定等操作 | |
| 30 | - self.$$internalmodel = undefined; | |
| 31 | - }, | |
| 32 | - | |
| 33 | - /** | |
| 34 | - * 此阶段可以改dom结构,此时angular还没扫描指令, | |
| 35 | - * 这里就可以动态添加其他angularjs的指令字符串,如required指令字符串。 | |
| 36 | - * @param tElem | |
| 37 | - * @param tAttrs | |
| 38 | - * @returns {{pre: Function, post: Function}} | |
| 39 | - */ | |
| 40 | - compile: function(tElem, tAttrs) { | |
| 41 | - // 获取所有属性 | |
| 42 | - var $name_attr = tAttrs["name"]; // 控件的名字 | |
| 43 | - var $required_attr = tAttrs["required"]; // 是否需要required验证 | |
| 44 | - var $fbgsname_attr = tAttrs["fbgsname"]; // 绑定的model翻班格式字段名 | |
| 45 | - | |
| 46 | - // controlAs名字 | |
| 47 | - var ctrlAs = '$saFbgsgroupCtrl'; | |
| 48 | - | |
| 49 | - // 如果有required属性,添加angularjs required验证 | |
| 50 | - if ($required_attr != undefined) { | |
| 51 | - //console.log(tElem.html()); | |
| 52 | - tElem.find("div").attr("required", ""); | |
| 53 | - } | |
| 54 | - | |
| 55 | - return { | |
| 56 | - pre: function(scope, element, attr) { | |
| 57 | - | |
| 58 | - }, | |
| 59 | - | |
| 60 | - /** | |
| 61 | - * 相当于link函数。 | |
| 62 | - * @param scope | |
| 63 | - * @param element | |
| 64 | - * @param attr | |
| 65 | - */ | |
| 66 | - post: function(scope, element, attr) { | |
| 67 | - // name属性 | |
| 68 | - if ($name_attr) { | |
| 69 | - scope[ctrlAs]["$name_attr"] = $name_attr; | |
| 70 | - } | |
| 71 | - | |
| 72 | - /** | |
| 73 | - * 路牌列表点击(路牌列表中选中路牌) | |
| 74 | - * @param fbcode | |
| 75 | - */ | |
| 76 | - scope[ctrlAs].$$internal_fb_click = function(fbcode) { | |
| 77 | - scope[ctrlAs].$$dataSelected.push(fbcode); | |
| 78 | - }; | |
| 79 | - | |
| 80 | - /** | |
| 81 | - * 选中的路牌双击(删除选中的路牌) | |
| 82 | - * @param $index | |
| 83 | - */ | |
| 84 | - scope[ctrlAs].$$internal_sellplist_dbclick = function($index) { | |
| 85 | - scope[ctrlAs].$$dataSelected.splice($index, 1); | |
| 86 | - }; | |
| 87 | - | |
| 88 | - /** | |
| 89 | - * 验证内部数据,更新外部model | |
| 90 | - */ | |
| 91 | - scope[ctrlAs].$$internal_validate_model = function() { | |
| 92 | - var data_temp = scope[ctrlAs].$$dataSelected; | |
| 93 | - | |
| 94 | - if (data_temp && | |
| 95 | - data_temp.length > 0) { | |
| 96 | - | |
| 97 | - // 更新内部model,用于外部验证 | |
| 98 | - // 内部model的值暂时随意,以后再改 | |
| 99 | - scope[ctrlAs].$$internalmodel = {desc: "ok"}; | |
| 100 | - | |
| 101 | - // 更新外部model字段 | |
| 102 | - if ($fbgsname_attr) { | |
| 103 | - console.log("$fbgsname=" + data_temp.join(',')); | |
| 104 | - eval("scope[ctrlAs].model" + "." + $fbgsname_attr + " = data_temp.join(',');"); | |
| 105 | - } | |
| 106 | - | |
| 107 | - } else { | |
| 108 | - scope[ctrlAs].$$internalmodel = undefined; | |
| 109 | - } | |
| 110 | - }; | |
| 111 | - | |
| 112 | - // 监控内部数据,$$data_selected 变化 | |
| 113 | - scope.$watch( | |
| 114 | - function() { | |
| 115 | - return scope[ctrlAs].$$dataSelected; | |
| 116 | - }, | |
| 117 | - function(newValue, oldValue) { | |
| 118 | - scope[ctrlAs].$$internal_validate_model(); | |
| 119 | - }, | |
| 120 | - true | |
| 121 | - ); | |
| 122 | - | |
| 123 | - // 监控路牌名称范围值的变化,处理初始化赋值 | |
| 124 | - attr.$observe("fbgsvalue", function(value) { | |
| 125 | - var data_temp = scope[ctrlAs].$$dataSelected; | |
| 126 | - | |
| 127 | - if (value && value != "" && data_temp && data_temp.length == 0) { // 初始创建 | |
| 128 | - var data_temp = scope[ctrlAs].$$dataSelected; | |
| 129 | - var fbgses = []; | |
| 130 | - var i = 0; | |
| 131 | - | |
| 132 | - // 分隔翻班格式 | |
| 133 | - if (value.indexOf(",") >= 0) { // 以逗号分隔,如 1,1,0,1 | |
| 134 | - fbgses = value.split(","); | |
| 135 | - } else { | |
| 136 | - for (i = 0; i < value.length; i++) { // 字符串形式,如 1101 | |
| 137 | - fbgses.push(value.substr(i, 1)); | |
| 138 | - } | |
| 139 | - } | |
| 140 | - | |
| 141 | - for (i = 0; i < fbgses.length; i++) { | |
| 142 | - if (fbgses[i] == "1" || fbgses[i] == "0") { | |
| 143 | - data_temp.push(fbgses[i]); | |
| 144 | - } | |
| 145 | - } | |
| 146 | - } | |
| 147 | - }); | |
| 148 | - } | |
| 149 | - }; | |
| 150 | - } | |
| 151 | - } | |
| 152 | - } | |
| 1 | +/** | |
| 2 | + * saFbgsgroup指令 | |
| 3 | + * 属性如下: | |
| 4 | + * name(必须):控件的名字 | |
| 5 | + * model(必须):指定一个外部object,独立作用域,如:model=ctrl.employeeInfoForSave | |
| 6 | + * fbgsvalue(必须):绑定的model翻班格式值,如:fbgsvalue={{ctrl.employeeInfoForSave.fbgs}} | |
| 7 | + * fbgsname(必须):绑定的model翻班格式字段名,如:fbgsname=fbgs | |
| 8 | + * | |
| 9 | + * required(可选):是否要用required验证 | |
| 10 | + * | |
| 11 | + */ | |
| 12 | +angular.module('ScheduleApp').directive( | |
| 13 | + 'saFbgsgroup', | |
| 14 | + [ | |
| 15 | + function() { | |
| 16 | + return { | |
| 17 | + restrict: 'E', | |
| 18 | + templateUrl: '/pages/scheduleApp/module/common/dts2/fbgsGroup/saFbgsgroupTemplate.html', | |
| 19 | + scope: { | |
| 20 | + model: "=" // 独立作用域,关联外部的模型object | |
| 21 | + }, | |
| 22 | + controllerAs: '$saFbgsgroupCtrl', | |
| 23 | + bindToController: true, | |
| 24 | + controller: function() { | |
| 25 | + var self = this; | |
| 26 | + | |
| 27 | + self.$$dataSelected = []; // 选中的路牌列表 | |
| 28 | + | |
| 29 | + // saFbgsgroup组件的ng-model,用于外部绑定等操作 | |
| 30 | + self.$$internalmodel = undefined; | |
| 31 | + }, | |
| 32 | + | |
| 33 | + /** | |
| 34 | + * 此阶段可以改dom结构,此时angular还没扫描指令, | |
| 35 | + * 这里就可以动态添加其他angularjs的指令字符串,如required指令字符串。 | |
| 36 | + * @param tElem | |
| 37 | + * @param tAttrs | |
| 38 | + * @returns {{pre: Function, post: Function}} | |
| 39 | + */ | |
| 40 | + compile: function(tElem, tAttrs) { | |
| 41 | + // 获取所有属性 | |
| 42 | + var $name_attr = tAttrs["name"]; // 控件的名字 | |
| 43 | + var $required_attr = tAttrs["required"]; // 是否需要required验证 | |
| 44 | + var $fbgsname_attr = tAttrs["fbgsname"]; // 绑定的model翻班格式字段名 | |
| 45 | + | |
| 46 | + // controlAs名字 | |
| 47 | + var ctrlAs = '$saFbgsgroupCtrl'; | |
| 48 | + | |
| 49 | + // 如果有required属性,添加angularjs required验证 | |
| 50 | + if ($required_attr != undefined) { | |
| 51 | + //console.log(tElem.html()); | |
| 52 | + tElem.find("div").attr("required", ""); | |
| 53 | + } | |
| 54 | + | |
| 55 | + return { | |
| 56 | + pre: function(scope, element, attr) { | |
| 57 | + | |
| 58 | + }, | |
| 59 | + | |
| 60 | + /** | |
| 61 | + * 相当于link函数。 | |
| 62 | + * @param scope | |
| 63 | + * @param element | |
| 64 | + * @param attr | |
| 65 | + */ | |
| 66 | + post: function(scope, element, attr) { | |
| 67 | + // name属性 | |
| 68 | + if ($name_attr) { | |
| 69 | + scope[ctrlAs]["$name_attr"] = $name_attr; | |
| 70 | + } | |
| 71 | + | |
| 72 | + /** | |
| 73 | + * 路牌列表点击(路牌列表中选中路牌) | |
| 74 | + * @param fbcode | |
| 75 | + */ | |
| 76 | + scope[ctrlAs].$$internal_fb_click = function(fbcode) { | |
| 77 | + scope[ctrlAs].$$dataSelected.push(fbcode); | |
| 78 | + }; | |
| 79 | + | |
| 80 | + /** | |
| 81 | + * 选中的路牌双击(删除选中的路牌) | |
| 82 | + * @param $index | |
| 83 | + */ | |
| 84 | + scope[ctrlAs].$$internal_sellplist_dbclick = function($index) { | |
| 85 | + scope[ctrlAs].$$dataSelected.splice($index, 1); | |
| 86 | + }; | |
| 87 | + | |
| 88 | + /** | |
| 89 | + * 验证内部数据,更新外部model | |
| 90 | + */ | |
| 91 | + scope[ctrlAs].$$internal_validate_model = function() { | |
| 92 | + var data_temp = scope[ctrlAs].$$dataSelected; | |
| 93 | + | |
| 94 | + if (data_temp && | |
| 95 | + data_temp.length > 0) { | |
| 96 | + | |
| 97 | + // 更新内部model,用于外部验证 | |
| 98 | + // 内部model的值暂时随意,以后再改 | |
| 99 | + scope[ctrlAs].$$internalmodel = {desc: "ok"}; | |
| 100 | + | |
| 101 | + // 更新外部model字段 | |
| 102 | + if ($fbgsname_attr) { | |
| 103 | + console.log("$fbgsname=" + data_temp.join(',')); | |
| 104 | + eval("scope[ctrlAs].model" + "." + $fbgsname_attr + " = data_temp.join(',');"); | |
| 105 | + } | |
| 106 | + | |
| 107 | + } else { | |
| 108 | + scope[ctrlAs].$$internalmodel = undefined; | |
| 109 | + } | |
| 110 | + }; | |
| 111 | + | |
| 112 | + // 监控内部数据,$$data_selected 变化 | |
| 113 | + scope.$watch( | |
| 114 | + function() { | |
| 115 | + return scope[ctrlAs].$$dataSelected; | |
| 116 | + }, | |
| 117 | + function(newValue, oldValue) { | |
| 118 | + scope[ctrlAs].$$internal_validate_model(); | |
| 119 | + }, | |
| 120 | + true | |
| 121 | + ); | |
| 122 | + | |
| 123 | + // 监控路牌名称范围值的变化,处理初始化赋值 | |
| 124 | + attr.$observe("fbgsvalue", function(value) { | |
| 125 | + var data_temp = scope[ctrlAs].$$dataSelected; | |
| 126 | + | |
| 127 | + if (value && value != "" && data_temp && data_temp.length == 0) { // 初始创建 | |
| 128 | + var data_temp = scope[ctrlAs].$$dataSelected; | |
| 129 | + var fbgses = []; | |
| 130 | + var i = 0; | |
| 131 | + | |
| 132 | + // 分隔翻班格式 | |
| 133 | + if (value.indexOf(",") >= 0) { // 以逗号分隔,如 1,1,0,1 | |
| 134 | + fbgses = value.split(","); | |
| 135 | + } else { | |
| 136 | + for (i = 0; i < value.length; i++) { // 字符串形式,如 1101 | |
| 137 | + fbgses.push(value.substr(i, 1)); | |
| 138 | + } | |
| 139 | + } | |
| 140 | + | |
| 141 | + for (i = 0; i < fbgses.length; i++) { | |
| 142 | + if (fbgses[i] == "1" || fbgses[i] == "0") { | |
| 143 | + data_temp.push(fbgses[i]); | |
| 144 | + } | |
| 145 | + } | |
| 146 | + } | |
| 147 | + }); | |
| 148 | + } | |
| 149 | + }; | |
| 150 | + } | |
| 151 | + } | |
| 152 | + } | |
| 153 | 153 | ]); |
| 154 | 154 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/common/dts2/fbgsGroup/saFbgsgroupTemplate.html
| 1 | -<div name="{{$saFbgsgroupCtrl.$name_attr}}" | |
| 2 | - ng-model="$saFbgsgroupCtrl.$$internalmodel"> | |
| 3 | - | |
| 4 | - <style> | |
| 5 | - .fbgs-select { | |
| 6 | - min-height: 180px; | |
| 7 | - border: 1px solid #ddd; | |
| 8 | - } | |
| 9 | - .fbgs-select .fbgs-input { | |
| 10 | - margin: 5px 5px 0px 5px; | |
| 11 | - padding-left: 0; | |
| 12 | - } | |
| 13 | - .fbgs-select .fbgs-select-cont { | |
| 14 | - text-align: left; | |
| 15 | - min-height: 60px; | |
| 16 | - padding-right: 0px; | |
| 17 | - } | |
| 18 | - .fbgs-select .fbgs-select-body { | |
| 19 | - margin-top: 5px; | |
| 20 | - margin-bottom: 5px; | |
| 21 | - overflow: auto; | |
| 22 | - width: auto; | |
| 23 | - min-height: 5px; | |
| 24 | - } | |
| 25 | - .fbgs-select .fbgs { | |
| 26 | - display: inline-block; | |
| 27 | - padding: 8px; | |
| 28 | - min-width: 50px; | |
| 29 | - text-align: center; | |
| 30 | - border: 1px solid #C1C1C1; | |
| 31 | - color: #666; | |
| 32 | - border-radius: 5px !important; | |
| 33 | - margin: 5px; | |
| 34 | - } | |
| 35 | - .fbgs-select .fbgs.active { | |
| 36 | - color: white; | |
| 37 | - background: #4095E8; | |
| 38 | - border: 1px solid #4095E8; | |
| 39 | - } | |
| 40 | - | |
| 41 | - </style> | |
| 42 | - | |
| 43 | - <div class="col-md-12 fbgs-select"> | |
| 44 | - <div class="col-md-12 fbgs-input"> | |
| 45 | - <div class="col-md-7" style="padding-right: 0px;"> | |
| 46 | - <small> | |
| 47 | - 翻班格式描述,1代表翻路牌。0代表休息跳过 | |
| 48 | - </small> | |
| 49 | - </div> | |
| 50 | - </div> | |
| 51 | - <div class="col-md-12 fbgs-select-cont"> | |
| 52 | - <div class="fbgs-select-body"> | |
| 53 | - <div class="fbgs active" | |
| 54 | - ng-click="$saFbgsgroupCtrl.$$internal_fb_click(1)"> | |
| 55 | - 1 | |
| 56 | - </div> | |
| 57 | - <div class="fbgs active" | |
| 58 | - ng-click="$saFbgsgroupCtrl.$$internal_fb_click(0)"> | |
| 59 | - 0 | |
| 60 | - </div> | |
| 61 | - </div> | |
| 62 | - </div> | |
| 63 | - <div class="col-md-12 fbgs-input"> | |
| 64 | - <div class="col-md-12"> | |
| 65 | - <small> | |
| 66 | - 已经选中的翻班,共{{$saFbgsgroupCtrl.$$dataSelected.length}}个, | |
| 67 | - </small> | |
| 68 | - </div> | |
| 69 | - </div> | |
| 70 | - <div class="col-md-12 fbgs-select-cont"> | |
| 71 | - <div class="fbgs-select-body"> | |
| 72 | - <div class="fbgs active" | |
| 73 | - ng-repeat="$d in $saFbgsgroupCtrl.$$dataSelected track by $index" | |
| 74 | - ng-dblclick="$saFbgsgroupCtrl.$$internal_sellplist_dbclick($index)"> | |
| 75 | - {{$d}} | |
| 76 | - </div> | |
| 77 | - </div> | |
| 78 | - </div> | |
| 79 | - </div> | |
| 80 | - | |
| 1 | +<div name="{{$saFbgsgroupCtrl.$name_attr}}" | |
| 2 | + ng-model="$saFbgsgroupCtrl.$$internalmodel"> | |
| 3 | + | |
| 4 | + <style> | |
| 5 | + .fbgs-select { | |
| 6 | + min-height: 180px; | |
| 7 | + border: 1px solid #ddd; | |
| 8 | + } | |
| 9 | + .fbgs-select .fbgs-input { | |
| 10 | + margin: 5px 5px 0px 5px; | |
| 11 | + padding-left: 0; | |
| 12 | + } | |
| 13 | + .fbgs-select .fbgs-select-cont { | |
| 14 | + text-align: left; | |
| 15 | + min-height: 60px; | |
| 16 | + padding-right: 0px; | |
| 17 | + } | |
| 18 | + .fbgs-select .fbgs-select-body { | |
| 19 | + margin-top: 5px; | |
| 20 | + margin-bottom: 5px; | |
| 21 | + overflow: auto; | |
| 22 | + width: auto; | |
| 23 | + min-height: 5px; | |
| 24 | + } | |
| 25 | + .fbgs-select .fbgs { | |
| 26 | + display: inline-block; | |
| 27 | + padding: 8px; | |
| 28 | + min-width: 50px; | |
| 29 | + text-align: center; | |
| 30 | + border: 1px solid #C1C1C1; | |
| 31 | + color: #666; | |
| 32 | + border-radius: 5px !important; | |
| 33 | + margin: 5px; | |
| 34 | + } | |
| 35 | + .fbgs-select .fbgs.active { | |
| 36 | + color: white; | |
| 37 | + background: #4095E8; | |
| 38 | + border: 1px solid #4095E8; | |
| 39 | + } | |
| 40 | + | |
| 41 | + </style> | |
| 42 | + | |
| 43 | + <div class="col-md-12 fbgs-select"> | |
| 44 | + <div class="col-md-12 fbgs-input"> | |
| 45 | + <div class="col-md-7" style="padding-right: 0px;"> | |
| 46 | + <small> | |
| 47 | + 翻班格式描述,1代表翻路牌。0代表休息跳过 | |
| 48 | + </small> | |
| 49 | + </div> | |
| 50 | + </div> | |
| 51 | + <div class="col-md-12 fbgs-select-cont"> | |
| 52 | + <div class="fbgs-select-body"> | |
| 53 | + <div class="fbgs active" | |
| 54 | + ng-click="$saFbgsgroupCtrl.$$internal_fb_click(1)"> | |
| 55 | + 1 | |
| 56 | + </div> | |
| 57 | + <div class="fbgs active" | |
| 58 | + ng-click="$saFbgsgroupCtrl.$$internal_fb_click(0)"> | |
| 59 | + 0 | |
| 60 | + </div> | |
| 61 | + </div> | |
| 62 | + </div> | |
| 63 | + <div class="col-md-12 fbgs-input"> | |
| 64 | + <div class="col-md-12"> | |
| 65 | + <small> | |
| 66 | + 已经选中的翻班,共{{$saFbgsgroupCtrl.$$dataSelected.length}}个, | |
| 67 | + </small> | |
| 68 | + </div> | |
| 69 | + </div> | |
| 70 | + <div class="col-md-12 fbgs-select-cont"> | |
| 71 | + <div class="fbgs-select-body"> | |
| 72 | + <div class="fbgs active" | |
| 73 | + ng-repeat="$d in $saFbgsgroupCtrl.$$dataSelected track by $index" | |
| 74 | + ng-dblclick="$saFbgsgroupCtrl.$$internal_sellplist_dbclick($index)"> | |
| 75 | + {{$d}} | |
| 76 | + </div> | |
| 77 | + </div> | |
| 78 | + </div> | |
| 79 | + </div> | |
| 80 | + | |
| 81 | 81 | </div> |
| 82 | 82 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/scheduleApp/module/common/prj-common-globalservice.js
| 1 | -//所有模块service配置 | |
| 1 | +//所有模块service配置 | |
| 2 | 2 | // 车辆信息service |
| 3 | 3 | angular.module('ScheduleApp').factory( |
| 4 | 4 | 'BusInfoManageService_g', |
| ... | ... | @@ -79,7 +79,7 @@ angular.module('ScheduleApp').factory( |
| 79 | 79 | |
| 80 | 80 | } |
| 81 | 81 | ] |
| 82 | -); | |
| 82 | +); | |
| 83 | 83 | // 车辆设备信息service |
| 84 | 84 | angular.module('ScheduleApp').factory('DeviceInfoManageService_g', ['$resource', function($resource) { |
| 85 | 85 | return $resource( |
| ... | ... | @@ -119,7 +119,7 @@ angular.module('ScheduleApp').factory('DeviceInfoManageService_g', ['$resource', |
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 | ); |
| 122 | -}]); | |
| 122 | +}]); | |
| 123 | 123 | // 人员信息service |
| 124 | 124 | angular.module('ScheduleApp').factory( |
| 125 | 125 | 'EmployeeInfoManageService_g', |
| ... | ... | @@ -183,7 +183,7 @@ angular.module('ScheduleApp').factory( |
| 183 | 183 | } |
| 184 | 184 | ] |
| 185 | 185 | ); |
| 186 | - | |
| 186 | + | |
| 187 | 187 | // 车辆配置service |
| 188 | 188 | angular.module('ScheduleApp').factory('BusConfigService_g', ['$resource', 'UserPrincipal', function($resource, UserPrincipal) { |
| 189 | 189 | return { |
| ... | ... | @@ -238,7 +238,7 @@ angular.module('ScheduleApp').factory('BusConfigService_g', ['$resource', 'UserP |
| 238 | 238 | } |
| 239 | 239 | ) |
| 240 | 240 | }; |
| 241 | -}]); | |
| 241 | +}]); | |
| 242 | 242 | // 线路运营统计service |
| 243 | 243 | angular.module('ScheduleApp').factory('BusLineInfoStatService_g', ['$resource', function($resource) { |
| 244 | 244 | return $resource( |
| ... | ... | @@ -254,7 +254,7 @@ angular.module('ScheduleApp').factory('BusLineInfoStatService_g', ['$resource', |
| 254 | 254 | } |
| 255 | 255 | ); |
| 256 | 256 | }]); |
| 257 | - | |
| 257 | + | |
| 258 | 258 | // 人员配置service |
| 259 | 259 | angular.module('ScheduleApp').factory('EmployeeConfigService_g', ['$resource', function($resource) { |
| 260 | 260 | return { |
| ... | ... | @@ -338,7 +338,7 @@ angular.module('ScheduleApp').factory('EmployeeConfigService_g', ['$resource', f |
| 338 | 338 | } |
| 339 | 339 | ) |
| 340 | 340 | }; |
| 341 | -}]); | |
| 341 | +}]); | |
| 342 | 342 | // 路牌管理service |
| 343 | 343 | angular.module('ScheduleApp').factory('GuideboardManageService_g', ['$resource', function($resource) { |
| 344 | 344 | return { |
| ... | ... | @@ -411,7 +411,7 @@ angular.module('ScheduleApp').factory('GuideboardManageService_g', ['$resource', |
| 411 | 411 | } |
| 412 | 412 | ) |
| 413 | 413 | }; |
| 414 | -}]); | |
| 414 | +}]); | |
| 415 | 415 | // 套跑管理service |
| 416 | 416 | angular.module('ScheduleApp').factory('rerunManageService_g', ['$resource', function($resource) { |
| 417 | 417 | return { |
| ... | ... | @@ -453,7 +453,7 @@ angular.module('ScheduleApp').factory('rerunManageService_g', ['$resource', func |
| 453 | 453 | } |
| 454 | 454 | ) |
| 455 | 455 | }; |
| 456 | -}]); | |
| 456 | +}]); | |
| 457 | 457 | // 排班计划管理service |
| 458 | 458 | angular.module('ScheduleApp').factory('SchedulePlanManageService_g', ['$resource', function($resource) { |
| 459 | 459 | return { |
| ... | ... | @@ -612,13 +612,13 @@ angular.module('ScheduleApp').factory('SchedulePlanInfoManageService_g', ['$reso |
| 612 | 612 | |
| 613 | 613 | |
| 614 | 614 | }; |
| 615 | -}]); | |
| 615 | +}]); | |
| 616 | 616 | // 排班管理service |
| 617 | 617 | angular.module('ScheduleApp').factory('ScheduleRuleManageService_g', ['$resource', function($resource) { |
| 618 | 618 | return { |
| 619 | 619 | rest: $resource( |
| 620 | 620 | '/sr1fc/:id', |
| 621 | - {order: 'xl.id,updateDate,carConfigInfo.cl.insideCode', direction: 'ASC,DESC,ASC', id: '@id'}, | |
| 621 | + {order: 'xl.id,fbtype,updateDate,carConfigInfo.cl.insideCode', direction: 'ASC,DESC,DESC,ASC', id: '@id'}, | |
| 622 | 622 | { |
| 623 | 623 | list: { |
| 624 | 624 | method: 'GET', |
| ... | ... | @@ -671,7 +671,7 @@ angular.module('ScheduleApp').factory('ScheduleRuleManageService_g', ['$resource |
| 671 | 671 | ) |
| 672 | 672 | }; |
| 673 | 673 | }]); |
| 674 | - | |
| 674 | + | |
| 675 | 675 | // 时刻表管理service |
| 676 | 676 | angular.module('ScheduleApp').factory( |
| 677 | 677 | 'TTInfoManageService_g', |
| ... | ... | @@ -838,7 +838,7 @@ angular.module('ScheduleApp').factory( |
| 838 | 838 | } |
| 839 | 839 | |
| 840 | 840 | ] |
| 841 | -); | |
| 841 | +); | |
| 842 | 842 | // 项目通用的全局service服务,供不同的controller使用,自定义指令不使用 |
| 843 | 843 | |
| 844 | 844 | // 文件下载服务 | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/scheduleRuleManage/list.html
| ... | ... | @@ -56,7 +56,8 @@ |
| 56 | 56 | </tr> |
| 57 | 57 | </thead> |
| 58 | 58 | <tbody> |
| 59 | - <tr ng-repeat="info in ctrl.page()['content']" class="odd gradeX"> | |
| 59 | + <tr ng-repeat="info in ctrl.page()['content']" | |
| 60 | + ng-class="{odd: true, gradeX: true, info: ctrl.isFBGSMODE(info.fbtype), 'row-active': ctrl.isFBGSMODE(info.fbtype)}"> | |
| 60 | 61 | <td> |
| 61 | 62 | <div> |
| 62 | 63 | <a href="#"> |
| ... | ... | @@ -107,7 +108,7 @@ |
| 107 | 108 | <td> |
| 108 | 109 | <a href="#" |
| 109 | 110 | tooltip-animation="false" |
| 110 | - tooltip-placement="top" | |
| 111 | + tooltip-placement="left-top" | |
| 111 | 112 | uib-tooltip="{{info.ryDbbms}}" |
| 112 | 113 | tooltip-class="headClass"> |
| 113 | 114 | {{info.ryDbbms}} |
| ... | ... | @@ -116,7 +117,7 @@ |
| 116 | 117 | <td> |
| 117 | 118 | <a href="#" |
| 118 | 119 | tooltip-animation="false" |
| 119 | - tooltip-placement="top" | |
| 120 | + tooltip-placement="left-top" | |
| 120 | 121 | uib-tooltip="{{info.fbgs}}" |
| 121 | 122 | tooltip-class="headClass"> |
| 122 | 123 | {{info.fbgs}} | ... | ... |
src/main/resources/static/pages/scheduleApp/module/core/scheduleRuleManage/module.js
src/main/resources/static/pages/trafficManage/js/lineStationUploadRecord.js