Commit 8a30b095c4ca89ab5400591828843cd795b671ac
Merge branch 'minhang' of http://222.66.0.204:8090//panzhaov5/bsth_control into minhang
Showing
33 changed files
with
5796 additions
and
5397 deletions
src/main/java/com/bsth/controller/DeviceGpsController.java
| 1 | 1 | package com.bsth.controller; |
| 2 | 2 | |
| 3 | -import java.io.BufferedOutputStream; | |
| 4 | -import java.io.BufferedReader; | |
| 5 | -import java.io.File; | |
| 6 | -import java.io.FileInputStream; | |
| 7 | -import java.io.IOException; | |
| 8 | -import java.io.InputStreamReader; | |
| 9 | -import java.io.OutputStream; | |
| 10 | -import java.text.SimpleDateFormat; | |
| 11 | -import java.util.ArrayList; | |
| 12 | -import java.util.Date; | |
| 13 | -import java.util.HashMap; | |
| 14 | -import java.util.List; | |
| 15 | -import java.util.Map; | |
| 16 | - | |
| 17 | -import javax.servlet.http.HttpServletRequest; | |
| 18 | -import javax.servlet.http.HttpServletResponse; | |
| 19 | - | |
| 20 | -import org.apache.commons.lang.StringEscapeUtils; | |
| 21 | -import org.apache.poi.hssf.usermodel.HSSFCell; | |
| 22 | -import org.apache.poi.hssf.usermodel.HSSFRichTextString; | |
| 23 | -import org.apache.poi.hssf.usermodel.HSSFRow; | |
| 24 | -import org.apache.poi.hssf.usermodel.HSSFSheet; | |
| 25 | -import org.apache.poi.hssf.usermodel.HSSFWorkbook; | |
| 26 | -import org.springframework.beans.BeanUtils; | |
| 27 | -import org.springframework.beans.factory.annotation.Autowired; | |
| 28 | -import org.springframework.util.StringUtils; | |
| 29 | -import org.springframework.web.bind.annotation.PathVariable; | |
| 30 | -import org.springframework.web.bind.annotation.RequestMapping; | |
| 31 | -import org.springframework.web.bind.annotation.RequestMethod; | |
| 32 | -import org.springframework.web.bind.annotation.RequestParam; | |
| 33 | -import org.springframework.web.bind.annotation.RestController; | |
| 34 | -import org.springframework.web.multipart.MultipartFile; | |
| 35 | - | |
| 36 | 3 | import com.bsth.data.gpsdata.GpsEntity; |
| 37 | 4 | import com.bsth.data.gpsdata.GpsRealData; |
| 38 | 5 | import com.fasterxml.jackson.core.JsonParseException; |
| 39 | 6 | import com.fasterxml.jackson.databind.JsonMappingException; |
| 40 | 7 | import com.fasterxml.jackson.databind.ObjectMapper; |
| 41 | -import com.fasterxml.jackson.databind.util.BeanUtil; | |
| 8 | +import org.apache.commons.lang.StringEscapeUtils; | |
| 9 | +import org.apache.poi.hssf.usermodel.*; | |
| 10 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 11 | +import org.springframework.util.StringUtils; | |
| 12 | +import org.springframework.web.bind.annotation.*; | |
| 13 | +import org.springframework.web.multipart.MultipartFile; | |
| 14 | + | |
| 15 | +import javax.servlet.http.HttpServletRequest; | |
| 16 | +import javax.servlet.http.HttpServletResponse; | |
| 17 | +import java.io.*; | |
| 18 | +import java.text.SimpleDateFormat; | |
| 19 | +import java.util.*; | |
| 42 | 20 | |
| 43 | 21 | @RestController |
| 44 | 22 | @RequestMapping("devicegps") |
| ... | ... | @@ -121,7 +99,7 @@ public class DeviceGpsController { |
| 121 | 99 | try { |
| 122 | 100 | data = new ObjectMapper().readValue(json, List.class); |
| 123 | 101 | for (Map<String, Object> info : data) { |
| 124 | - info.put("detail", gpsRealData.findByDeviceId((String)info.get("deviceId"))); | |
| 102 | + info.put("detail", gpsRealData.get((String)info.get("deviceId"))); | |
| 125 | 103 | } |
| 126 | 104 | |
| 127 | 105 | res.put("errCode", 0); | ... | ... |
src/main/java/com/bsth/controller/DownloadController.java
| 1 | 1 | package com.bsth.controller; |
| 2 | 2 | |
| 3 | -import java.io.File; | |
| 4 | -import java.io.IOException; | |
| 3 | +import java.io.BufferedInputStream; | |
| 4 | +import java.io.BufferedOutputStream; | |
| 5 | +import java.io.File; | |
| 6 | +import java.io.FileInputStream; | |
| 7 | +import java.io.IOException; | |
| 8 | +import java.io.InputStream; | |
| 9 | +import java.io.OutputStream; | |
| 5 | 10 | import java.net.URLDecoder; |
| 6 | 11 | |
| 12 | +import javax.servlet.http.HttpServletResponse; | |
| 13 | + | |
| 7 | 14 | import org.apache.commons.io.FileUtils; |
| 8 | 15 | import org.springframework.context.annotation.Scope; |
| 9 | 16 | import org.springframework.http.HttpHeaders; |
| ... | ... | @@ -11,7 +18,9 @@ import org.springframework.http.HttpStatus; |
| 11 | 18 | import org.springframework.http.MediaType; |
| 12 | 19 | import org.springframework.http.ResponseEntity; |
| 13 | 20 | import org.springframework.stereotype.Component; |
| 14 | -import org.springframework.web.bind.annotation.RequestMapping; | |
| 21 | +import org.springframework.web.bind.annotation.RequestMapping; | |
| 22 | + | |
| 23 | +import com.mysql.fabric.Response; | |
| 15 | 24 | |
| 16 | 25 | /** |
| 17 | 26 | * <一句话功能简述> |
| ... | ... | @@ -28,19 +37,43 @@ import org.springframework.web.bind.annotation.RequestMapping; |
| 28 | 37 | public class DownloadController |
| 29 | 38 | { |
| 30 | 39 | |
| 31 | - @RequestMapping("download") | |
| 32 | - public ResponseEntity<byte[]> download(String fileName) throws IOException { | |
| 33 | - fileName = fileName+".xls"; | |
| 34 | - String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileName; | |
| 40 | + @RequestMapping("download2") | |
| 41 | + public ResponseEntity<byte[]> download2(String fileName) throws IOException { | |
| 42 | +// fileName = fileName+".xls"; | |
| 43 | + String fileNames=URLDecoder.decode(fileName,"UTF-8"); | |
| 44 | + fileNames =fileNames + ".xls"; | |
| 45 | + String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileNames; | |
| 35 | 46 | System.out.println(moudelPath); |
| 36 | 47 | // String path="D:\\export\\target\\"+jName+".xls"; |
| 37 | 48 | File file=new File(moudelPath); |
| 38 | 49 | HttpHeaders headers = new HttpHeaders(); |
| 39 | 50 | String realFileName=new String(fileName.getBytes("UTF-8"),"iso-8859-1");//为了解决中文名称乱码问题 |
| 40 | - headers.setContentDispositionFormData("attachment", fileName); | |
| 51 | + headers.setContentDispositionFormData("attachment", fileNames); | |
| 41 | 52 | System.out.println( URLDecoder.decode(realFileName,"utf-8")); |
| 42 | 53 | headers.setContentType(MediaType.APPLICATION_OCTET_STREAM); |
| 43 | 54 | return new ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file), |
| 44 | 55 | headers, HttpStatus.CREATED); |
| 45 | - } | |
| 56 | + } | |
| 57 | + | |
| 58 | + @RequestMapping("download") | |
| 59 | + public void download(HttpServletResponse response,String fileName) | |
| 60 | + throws IOException { | |
| 61 | +// String fileNames=URLDecoder.decode(fileName,"UTF-8"); | |
| 62 | + fileName =fileName + ".xls"; | |
| 63 | + String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileName; | |
| 64 | + File file = new File(moudelPath);// path是根据日志路径和文件名拼接出来的 | |
| 65 | +// String filename = file.getName();// 获取日志文件名称 | |
| 66 | + InputStream fis = new BufferedInputStream(new FileInputStream(moudelPath)); | |
| 67 | + byte[] buffer = new byte[fis.available()]; | |
| 68 | + fis.read(buffer); | |
| 69 | + fis.close(); | |
| 70 | + response.reset(); | |
| 71 | + response.addHeader("Content-Disposition", "attachment;filename=" + new String(fileName.replaceAll(" ", "").getBytes("utf-8"),"iso8859-1")); | |
| 72 | + response.addHeader("Content-Length", "" + file.length()); | |
| 73 | + OutputStream os = new BufferedOutputStream(response.getOutputStream()); | |
| 74 | + response.setContentType("application/octet-stream"); | |
| 75 | + os.write(buffer);// 输出文件 | |
| 76 | + os.flush(); | |
| 77 | + os.close(); | |
| 78 | + } | |
| 46 | 79 | } | ... | ... |
src/main/java/com/bsth/data/gpsdata/GpsRealData.java
| 1 | 1 | package com.bsth.data.gpsdata; |
| 2 | 2 | |
| 3 | -import com.alibaba.fastjson.JSON; | |
| 4 | -import com.alibaba.fastjson.JSONObject; | |
| 5 | 3 | import com.bsth.data.BasicData; |
| 6 | 4 | import com.bsth.data.forecast.ForecastRealServer; |
| 7 | -import com.bsth.data.gpsdata.arrival.GpsRealAnalyse; | |
| 8 | -import com.bsth.data.gpsdata.recovery.GpsDataRecovery; | |
| 5 | +import com.bsth.data.gpsdata.thread.GpsDataLoaderThread; | |
| 9 | 6 | import com.bsth.data.schedule.DayOfSchedule; |
| 10 | 7 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 11 | -import com.bsth.util.ConfigUtil; | |
| 12 | 8 | import com.google.common.collect.TreeMultimap; |
| 13 | 9 | import org.apache.commons.lang3.StringUtils; |
| 14 | -import org.apache.http.HttpEntity; | |
| 15 | -import org.apache.http.client.methods.CloseableHttpResponse; | |
| 16 | -import org.apache.http.client.methods.HttpGet; | |
| 17 | -import org.apache.http.impl.client.CloseableHttpClient; | |
| 18 | -import org.apache.http.impl.client.HttpClients; | |
| 19 | 10 | import org.slf4j.Logger; |
| 20 | 11 | import org.slf4j.LoggerFactory; |
| 21 | 12 | import org.springframework.beans.factory.annotation.Autowired; |
| 22 | 13 | import org.springframework.boot.CommandLineRunner; |
| 23 | 14 | import org.springframework.stereotype.Component; |
| 24 | 15 | |
| 25 | -import java.io.BufferedReader; | |
| 26 | -import java.io.InputStreamReader; | |
| 27 | 16 | import java.util.*; |
| 28 | 17 | |
| 29 | 18 | /** |
| ... | ... | @@ -42,11 +31,8 @@ public class GpsRealData implements CommandLineRunner { |
| 42 | 31 | //按线路分组设备号 |
| 43 | 32 | private static TreeMultimap<String, String> lineCode2Devices; |
| 44 | 33 | |
| 45 | - // 网关数据接口地址 | |
| 46 | - private static String url; | |
| 47 | - | |
| 48 | 34 | @Autowired |
| 49 | - GpsDataLoader gpsDataLoader; | |
| 35 | + GpsDataLoaderThread gpsDataLoader; | |
| 50 | 36 | |
| 51 | 37 | @Autowired |
| 52 | 38 | DayOfSchedule dayOfSchedule; |
| ... | ... | @@ -60,13 +46,15 @@ public class GpsRealData implements CommandLineRunner { |
| 60 | 46 | public GpsRealData() { |
| 61 | 47 | gpsMap = new HashMap<>(); |
| 62 | 48 | lineCode2Devices = TreeMultimap.create(); |
| 63 | - url = ConfigUtil.get("http.gps.real.url"); | |
| 64 | 49 | } |
| 65 | 50 | |
| 66 | 51 | @Override |
| 67 | 52 | public void run(String... arg0) throws Exception { |
| 68 | 53 | logger.info("gpsDataLoader,20,5"); |
| 54 | + //定时从网关获取GPS数据 | |
| 69 | 55 | //Application.mainServices.scheduleWithFixedDelay(gpsDataLoader, 20, 5, TimeUnit.SECONDS); |
| 56 | + //定时扫描掉离线 | |
| 57 | + | |
| 70 | 58 | } |
| 71 | 59 | |
| 72 | 60 | public void put(GpsEntity gps) { |
| ... | ... | @@ -146,10 +134,6 @@ public class GpsRealData implements CommandLineRunner { |
| 146 | 134 | return gpsMap.keySet(); |
| 147 | 135 | } |
| 148 | 136 | |
| 149 | - public GpsEntity findByDeviceId(String deviceId) { | |
| 150 | - return gpsMap.get(deviceId); | |
| 151 | - } | |
| 152 | - | |
| 153 | 137 | public Collection<GpsEntity> all() { |
| 154 | 138 | return gpsMap.values(); |
| 155 | 139 | } |
| ... | ... | @@ -157,87 +141,4 @@ public class GpsRealData implements CommandLineRunner { |
| 157 | 141 | public void remove(String device) { |
| 158 | 142 | gpsMap.remove(device); |
| 159 | 143 | } |
| 160 | - | |
| 161 | - @Component | |
| 162 | - public static class GpsDataLoader extends Thread { | |
| 163 | - | |
| 164 | - Logger logger = LoggerFactory.getLogger(GpsDataLoader.class); | |
| 165 | - | |
| 166 | - @Autowired | |
| 167 | - GpsRealData gpsRealData; | |
| 168 | - | |
| 169 | - @Autowired | |
| 170 | - GpsRealAnalyse gpsRealAnalyse; | |
| 171 | - | |
| 172 | - @Override | |
| 173 | - public void run() { | |
| 174 | - try { | |
| 175 | - //如果正在恢复数据 | |
| 176 | - if (GpsDataRecovery.run) | |
| 177 | - return; | |
| 178 | - | |
| 179 | - load(); | |
| 180 | - } catch (Exception e) { | |
| 181 | - logger.error("", e); | |
| 182 | - } | |
| 183 | - } | |
| 184 | - | |
| 185 | - public void load() throws Exception { | |
| 186 | - List<GpsEntity> list = null; | |
| 187 | - List<GpsEntity> updateList = new ArrayList<>(); | |
| 188 | - CloseableHttpClient httpClient = null; | |
| 189 | - CloseableHttpResponse response = null; | |
| 190 | - try { | |
| 191 | - httpClient = HttpClients.createDefault(); | |
| 192 | - HttpGet get = new HttpGet(url); | |
| 193 | - | |
| 194 | - response = httpClient.execute(get); | |
| 195 | - | |
| 196 | - HttpEntity entity = response.getEntity(); | |
| 197 | - if (null != entity) { | |
| 198 | - BufferedReader br = new BufferedReader(new InputStreamReader(entity.getContent())); | |
| 199 | - StringBuffer stringBuffer = new StringBuffer(); | |
| 200 | - String str = ""; | |
| 201 | - while ((str = br.readLine()) != null) | |
| 202 | - stringBuffer.append(str); | |
| 203 | - | |
| 204 | - JSONObject jsonObj = JSON.parseObject(stringBuffer.toString()); | |
| 205 | - | |
| 206 | - if (jsonObj != null) | |
| 207 | - list = JSON.parseArray(jsonObj.getString("data"), GpsEntity.class); | |
| 208 | - | |
| 209 | - String nbbm; | |
| 210 | - GpsEntity old; | |
| 211 | - for (GpsEntity gps : list) { | |
| 212 | - //没有设备号 | |
| 213 | - if (StringUtils.isBlank(gps.getDeviceId())) | |
| 214 | - continue; | |
| 215 | - | |
| 216 | - old = gpsMap.get(gps.getDeviceId()); | |
| 217 | - if (old != null && | |
| 218 | - old.getTimestamp() == gps.getTimestamp()) | |
| 219 | - continue; | |
| 220 | - | |
| 221 | - nbbm = BasicData.deviceId2NbbmMap.get(gps.getDeviceId()); | |
| 222 | - if (StringUtils.isBlank(nbbm)) | |
| 223 | - gps.setIncomplete(true);//标记为异常数据 | |
| 224 | - else | |
| 225 | - gps.setNbbm(nbbm); | |
| 226 | - //有更新的点位 | |
| 227 | - updateList.add(gps); | |
| 228 | - } | |
| 229 | - //分析数据 | |
| 230 | - gpsRealAnalyse.analyse(updateList); | |
| 231 | - } else | |
| 232 | - logger.error("real gps result is null"); | |
| 233 | - } catch (Exception e) { | |
| 234 | - logger.error("", e); | |
| 235 | - } finally { | |
| 236 | - if (null != httpClient) | |
| 237 | - httpClient.close(); | |
| 238 | - if (null != response) | |
| 239 | - response.close(); | |
| 240 | - } | |
| 241 | - } | |
| 242 | - } | |
| 243 | 144 | } |
| 244 | 145 | \ No newline at end of file | ... | ... |
src/main/java/com/bsth/data/gpsdata/arrival/handlers/AbnormalStateHandle.java
| 1 | -package com.bsth.data.gpsdata.arrival.handlers; | |
| 2 | - | |
| 3 | -import com.bsth.data.gpsdata.GpsEntity; | |
| 4 | -import com.bsth.data.gpsdata.arrival.GeoCacheData; | |
| 5 | -import com.bsth.data.gpsdata.arrival.SignalHandle; | |
| 6 | -import com.bsth.data.gpsdata.arrival.utils.CircleQueue; | |
| 7 | -import com.bsth.data.gpsdata.arrival.utils.GeoUtils; | |
| 8 | -import com.vividsolutions.jts.geom.Coordinate; | |
| 9 | -import com.vividsolutions.jts.geom.GeometryFactory; | |
| 10 | -import com.vividsolutions.jts.geom.LineString; | |
| 11 | -import com.vividsolutions.jts.geom.Point; | |
| 12 | -import org.springframework.stereotype.Component; | |
| 13 | - | |
| 14 | -import java.util.List; | |
| 15 | - | |
| 16 | -/** | |
| 17 | - * GPS异常状态判定 (越界/超速) | |
| 18 | - * Created by panzhao on 2017/1/10. | |
| 19 | - */ | |
| 20 | -@Component | |
| 21 | -public class AbnormalStateHandle extends SignalHandle{ | |
| 22 | - | |
| 23 | - //默认限速 | |
| 24 | - private static final double DEFAULT_SPEED_LIMIT = 60; | |
| 25 | - //越界阈值 | |
| 26 | - private static final double OUT_BOUNDS_THRESHOLD = 100; | |
| 27 | - | |
| 28 | - GeometryFactory geometryFactory = new GeometryFactory(); | |
| 29 | - | |
| 30 | - @Override | |
| 31 | - public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) { | |
| 32 | - | |
| 33 | - if(overspeed(gps)) | |
| 34 | - return true; | |
| 35 | - | |
| 36 | - if(outOfBounds((gps))) | |
| 37 | - return true; | |
| 38 | - | |
| 39 | - return false; | |
| 40 | - } | |
| 41 | - | |
| 42 | - /** | |
| 43 | - * 是否超速 | |
| 44 | - * @param gps | |
| 45 | - * @return | |
| 46 | - */ | |
| 47 | - public boolean overspeed(GpsEntity gps){ | |
| 48 | - double maxSpeed = DEFAULT_SPEED_LIMIT; | |
| 49 | - if(GeoCacheData.speedLimit(gps.getLineId()) != null) | |
| 50 | - maxSpeed = GeoCacheData.speedLimit(gps.getLineId()); | |
| 51 | - | |
| 52 | - if(gps.getSpeed() > maxSpeed){ | |
| 53 | - gps.setAbnormalStatus("overspeed"); | |
| 54 | - return true; | |
| 55 | - } | |
| 56 | - return false; | |
| 57 | - } | |
| 58 | - | |
| 59 | - /** | |
| 60 | - * 是否越界 | |
| 61 | - * @param gps | |
| 62 | - * @return | |
| 63 | - */ | |
| 64 | - public boolean outOfBounds(GpsEntity gps){ | |
| 65 | - //场内的车不处理 | |
| 66 | - if(gps.getInstation() == 2){ | |
| 67 | - return false; | |
| 68 | - } | |
| 69 | - | |
| 70 | - List<LineString> list = GeoCacheData.getLineStringList(gps); | |
| 71 | - Point point = geometryFactory.createPoint(new Coordinate(gps.getLat(), gps.getLon())); | |
| 72 | - | |
| 73 | - double min = -1, distance; | |
| 74 | - | |
| 75 | - for(LineString lineString : list){ | |
| 76 | - distance = GeoUtils.getDistanceFromLine(lineString, point); | |
| 77 | - | |
| 78 | - if(min == -1 || min > distance) | |
| 79 | - min = distance; | |
| 80 | - } | |
| 81 | - | |
| 82 | - gps.setOutOfBoundDistance(min); | |
| 83 | - if(min > OUT_BOUNDS_THRESHOLD){ | |
| 84 | - gps.setAbnormalStatus("outBounds"); | |
| 85 | - return true; | |
| 86 | - } | |
| 87 | - return false; | |
| 88 | - } | |
| 89 | -} | |
| 1 | +package com.bsth.data.gpsdata.arrival.handlers; | |
| 2 | + | |
| 3 | +import com.bsth.data.gpsdata.GpsEntity; | |
| 4 | +import com.bsth.data.gpsdata.arrival.GeoCacheData; | |
| 5 | +import com.bsth.data.gpsdata.arrival.SignalHandle; | |
| 6 | +import com.bsth.data.gpsdata.arrival.utils.CircleQueue; | |
| 7 | +import com.bsth.data.gpsdata.arrival.utils.GeoUtils; | |
| 8 | +import com.vividsolutions.jts.geom.Coordinate; | |
| 9 | +import com.vividsolutions.jts.geom.GeometryFactory; | |
| 10 | +import com.vividsolutions.jts.geom.LineString; | |
| 11 | +import com.vividsolutions.jts.geom.Point; | |
| 12 | +import org.springframework.stereotype.Component; | |
| 13 | + | |
| 14 | +import java.util.List; | |
| 15 | + | |
| 16 | +/** | |
| 17 | + * GPS异常状态判定 (越界/超速) | |
| 18 | + * Created by panzhao on 2017/1/10. | |
| 19 | + */ | |
| 20 | +@Component | |
| 21 | +public class AbnormalStateHandle extends SignalHandle{ | |
| 22 | + | |
| 23 | + //默认限速 | |
| 24 | + private static final double DEFAULT_SPEED_LIMIT = 60; | |
| 25 | + //越界阈值 | |
| 26 | + private static final double OUT_BOUNDS_THRESHOLD = 100; | |
| 27 | + | |
| 28 | + GeometryFactory geometryFactory = new GeometryFactory(); | |
| 29 | + | |
| 30 | + @Override | |
| 31 | + public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) { | |
| 32 | + | |
| 33 | + if(overspeed(gps)) | |
| 34 | + return true; | |
| 35 | + | |
| 36 | + if(outOfBounds((gps))) | |
| 37 | + return true; | |
| 38 | + | |
| 39 | + return false; | |
| 40 | + } | |
| 41 | + | |
| 42 | + /** | |
| 43 | + * 是否超速 | |
| 44 | + * @param gps | |
| 45 | + * @return | |
| 46 | + */ | |
| 47 | + public boolean overspeed(GpsEntity gps){ | |
| 48 | + double maxSpeed = DEFAULT_SPEED_LIMIT; | |
| 49 | + if(GeoCacheData.speedLimit(gps.getLineId()) != null) | |
| 50 | + maxSpeed = GeoCacheData.speedLimit(gps.getLineId()); | |
| 51 | + | |
| 52 | + if(gps.getSpeed() > maxSpeed){ | |
| 53 | + gps.setAbnormalStatus("overspeed"); | |
| 54 | + return true; | |
| 55 | + } | |
| 56 | + return false; | |
| 57 | + } | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * 是否越界 | |
| 61 | + * @param gps | |
| 62 | + * @return | |
| 63 | + */ | |
| 64 | + public boolean outOfBounds(GpsEntity gps){ | |
| 65 | + //场内的车不处理 | |
| 66 | + if(gps.getInstation() == 2){ | |
| 67 | + return false; | |
| 68 | + } | |
| 69 | + | |
| 70 | + List<LineString> list = GeoCacheData.getLineStringList(gps); | |
| 71 | + Point point = geometryFactory.createPoint(new Coordinate(gps.getLat(), gps.getLon())); | |
| 72 | + | |
| 73 | + double min = -1, distance; | |
| 74 | + | |
| 75 | + for(LineString lineString : list){ | |
| 76 | + distance = GeoUtils.getDistanceFromLine(lineString, point); | |
| 77 | + | |
| 78 | + if(min == -1 || min > distance) | |
| 79 | + min = distance; | |
| 80 | + } | |
| 81 | + | |
| 82 | + gps.setOutOfBoundDistance(min); | |
| 83 | + if(min > OUT_BOUNDS_THRESHOLD){ | |
| 84 | + gps.setAbnormalStatus("outBounds"); | |
| 85 | + return true; | |
| 86 | + } | |
| 87 | + return false; | |
| 88 | + } | |
| 89 | +} | ... | ... |
src/main/java/com/bsth/data/gpsdata/thread/GpsDataLoaderThread.java
0 → 100644
| 1 | +package com.bsth.data.gpsdata.thread; | |
| 2 | + | |
| 3 | +import com.alibaba.fastjson.JSON; | |
| 4 | +import com.alibaba.fastjson.JSONObject; | |
| 5 | +import com.bsth.data.BasicData; | |
| 6 | +import com.bsth.data.gpsdata.GpsEntity; | |
| 7 | +import com.bsth.data.gpsdata.GpsRealData; | |
| 8 | +import com.bsth.data.gpsdata.arrival.GpsRealAnalyse; | |
| 9 | +import com.bsth.data.gpsdata.recovery.GpsDataRecovery; | |
| 10 | +import com.bsth.util.ConfigUtil; | |
| 11 | +import org.apache.commons.lang3.StringUtils; | |
| 12 | +import org.apache.http.HttpEntity; | |
| 13 | +import org.apache.http.client.methods.CloseableHttpResponse; | |
| 14 | +import org.apache.http.client.methods.HttpGet; | |
| 15 | +import org.apache.http.impl.client.CloseableHttpClient; | |
| 16 | +import org.apache.http.impl.client.HttpClients; | |
| 17 | +import org.slf4j.Logger; | |
| 18 | +import org.slf4j.LoggerFactory; | |
| 19 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 20 | +import org.springframework.stereotype.Component; | |
| 21 | + | |
| 22 | +import java.io.BufferedReader; | |
| 23 | +import java.io.InputStreamReader; | |
| 24 | +import java.util.ArrayList; | |
| 25 | +import java.util.List; | |
| 26 | + | |
| 27 | +/** | |
| 28 | + * Created by panzhao on 2017/1/11. | |
| 29 | + */ | |
| 30 | +@Component | |
| 31 | +public class GpsDataLoaderThread extends Thread { | |
| 32 | + | |
| 33 | + Logger logger = LoggerFactory.getLogger(GpsDataLoaderThread.class); | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * 构造函数 | |
| 37 | + */ | |
| 38 | + public GpsDataLoaderThread() { | |
| 39 | + url = ConfigUtil.get("http.gps.real.url"); | |
| 40 | + } | |
| 41 | + | |
| 42 | + // 网关数据接口地址 | |
| 43 | + private static String url; | |
| 44 | + | |
| 45 | + @Autowired | |
| 46 | + GpsRealData gpsRealData; | |
| 47 | + | |
| 48 | + @Autowired | |
| 49 | + GpsRealAnalyse gpsRealAnalyse; | |
| 50 | + | |
| 51 | + @Override | |
| 52 | + public void run() { | |
| 53 | + try { | |
| 54 | + //如果正在恢复数据 | |
| 55 | + if (GpsDataRecovery.run) | |
| 56 | + return; | |
| 57 | + | |
| 58 | + load(); | |
| 59 | + } catch (Exception e) { | |
| 60 | + logger.error("", e); | |
| 61 | + } | |
| 62 | + } | |
| 63 | + | |
| 64 | + public void load() throws Exception { | |
| 65 | + List<GpsEntity> list = null; | |
| 66 | + List<GpsEntity> updateList = new ArrayList<>(); | |
| 67 | + CloseableHttpClient httpClient = null; | |
| 68 | + CloseableHttpResponse response = null; | |
| 69 | + try { | |
| 70 | + httpClient = HttpClients.createDefault(); | |
| 71 | + HttpGet get = new HttpGet(url); | |
| 72 | + | |
| 73 | + response = httpClient.execute(get); | |
| 74 | + | |
| 75 | + HttpEntity entity = response.getEntity(); | |
| 76 | + if (null != entity) { | |
| 77 | + BufferedReader br = new BufferedReader(new InputStreamReader(entity.getContent())); | |
| 78 | + StringBuffer stringBuffer = new StringBuffer(); | |
| 79 | + String str = ""; | |
| 80 | + while ((str = br.readLine()) != null) | |
| 81 | + stringBuffer.append(str); | |
| 82 | + | |
| 83 | + JSONObject jsonObj = JSON.parseObject(stringBuffer.toString()); | |
| 84 | + | |
| 85 | + if (jsonObj != null) | |
| 86 | + list = JSON.parseArray(jsonObj.getString("data"), GpsEntity.class); | |
| 87 | + | |
| 88 | + String nbbm; | |
| 89 | + GpsEntity old; | |
| 90 | + for (GpsEntity gps : list) { | |
| 91 | + //没有设备号 | |
| 92 | + if (StringUtils.isBlank(gps.getDeviceId())) | |
| 93 | + continue; | |
| 94 | + | |
| 95 | + old = gpsRealData.get(gps.getDeviceId()); | |
| 96 | + if (old != null && | |
| 97 | + old.getTimestamp() == gps.getTimestamp()) | |
| 98 | + continue; | |
| 99 | + | |
| 100 | + nbbm = BasicData.deviceId2NbbmMap.get(gps.getDeviceId()); | |
| 101 | + if (StringUtils.isBlank(nbbm)) | |
| 102 | + gps.setIncomplete(true);//标记为异常数据 | |
| 103 | + else | |
| 104 | + gps.setNbbm(nbbm); | |
| 105 | + //有更新的点位 | |
| 106 | + updateList.add(gps); | |
| 107 | + } | |
| 108 | + //分析数据 | |
| 109 | + gpsRealAnalyse.analyse(updateList); | |
| 110 | + } else | |
| 111 | + logger.error("real gps result is null"); | |
| 112 | + } catch (Exception e) { | |
| 113 | + logger.error("", e); | |
| 114 | + } finally { | |
| 115 | + if (null != httpClient) | |
| 116 | + httpClient.close(); | |
| 117 | + if (null != response) | |
| 118 | + response.close(); | |
| 119 | + } | |
| 120 | + } | |
| 121 | +} | |
| 0 | 122 | \ No newline at end of file | ... | ... |
src/main/java/com/bsth/data/gpsdata/thread/OfflineMonitorThread.java
0 → 100644
| 1 | +package com.bsth.data.gpsdata.thread; | |
| 2 | + | |
| 3 | +import com.bsth.data.gpsdata.GpsEntity; | |
| 4 | +import com.bsth.data.gpsdata.GpsRealData; | |
| 5 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 6 | + | |
| 7 | +import java.util.Collection; | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * GPS掉离线监控 | |
| 11 | + * Created by panzhao on 2017/1/11. | |
| 12 | + */ | |
| 13 | +public class OfflineMonitorThread extends Thread{ | |
| 14 | + | |
| 15 | + @Autowired | |
| 16 | + GpsRealData gpsRealData; | |
| 17 | + | |
| 18 | + //有任务时 掉线阈值 | |
| 19 | + private final static int LOSE_TIME = 1000 * 60 * 2; | |
| 20 | + | |
| 21 | + //无任务时 离线阈值 | |
| 22 | + private final static int OFFLINE_TIME = 1000 * 60 * 10; | |
| 23 | + | |
| 24 | + @Override | |
| 25 | + public void run() { | |
| 26 | + long t = System.currentTimeMillis(); | |
| 27 | + Collection<GpsEntity> list = gpsRealData.all(); | |
| 28 | + | |
| 29 | + String state; | |
| 30 | + for(GpsEntity gps : list){ | |
| 31 | + state = gps.getAbnormalStatus(); | |
| 32 | + | |
| 33 | + if(state.equals("offline")) | |
| 34 | + continue; | |
| 35 | + | |
| 36 | + | |
| 37 | + //if(state.equals("lose")) | |
| 38 | + //if(!state.equals("lose")) | |
| 39 | + //if(state.equals("")) | |
| 40 | + //if(gps.getTimestamp()) | |
| 41 | + //if(gps.getAbnormalStatus().equals("lose")) | |
| 42 | + } | |
| 43 | + } | |
| 44 | +} | ... | ... |
src/main/java/com/bsth/repository/realcontrol/ScheduleRealInfoRepository.java
| ... | ... | @@ -110,9 +110,12 @@ public interface ScheduleRealInfoRepository extends BaseRepository<ScheduleRealI |
| 110 | 110 | void deleteByLineCodeAndDate(String xlBm, String schDate); |
| 111 | 111 | |
| 112 | 112 | //去掉了 xlBm is not null |
| 113 | - @Query(value="select s from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') = ?2") | |
| 113 | + @Query(value="select s from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') = ?2 order by s.xlBm") | |
| 114 | 114 | List<ScheduleRealInfo> scheduleByDateAndLine(String line,String date); |
| 115 | 115 | |
| 116 | + @Query(value="select s from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') = ?2 and s.bcType not in ('in','out') order by s.xlBm") | |
| 117 | + List<ScheduleRealInfo> scheduleByDateAndLine2(String line,String date); | |
| 118 | + | |
| 116 | 119 | @Query(value="select new map(s.scheduleDate as scheduleDate,s.xlBm as xlBm,s.clZbh as clZbh,s.jGh as jGh) from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') = ?2 GROUP BY xlBm,clZbh,jGh,scheduleDate,jGh ORDER BY realExecDate,fcsj,xlBm,clZbh") |
| 117 | 120 | List<Map<String,Object>> yesterdayDataList(String line,String date); |
| 118 | 121 | ... | ... |
src/main/java/com/bsth/service/directive/DirectiveServiceImpl.java
| 1 | 1 | package com.bsth.service.directive; |
| 2 | 2 | |
| 3 | -import java.util.ArrayList; | |
| 4 | -import java.util.Collection; | |
| 5 | -import java.util.Collections; | |
| 6 | -import java.util.Comparator; | |
| 7 | -import java.util.Date; | |
| 8 | -import java.util.HashMap; | |
| 9 | -import java.util.List; | |
| 10 | -import java.util.Map; | |
| 11 | - | |
| 12 | -import org.apache.commons.lang3.StringUtils; | |
| 13 | -import org.joda.time.format.DateTimeFormat; | |
| 14 | -import org.joda.time.format.DateTimeFormatter; | |
| 15 | -import org.slf4j.Logger; | |
| 16 | -import org.slf4j.LoggerFactory; | |
| 17 | -import org.springframework.beans.factory.annotation.Autowired; | |
| 18 | -import org.springframework.stereotype.Service; | |
| 19 | - | |
| 20 | 3 | import com.alibaba.fastjson.JSON; |
| 21 | 4 | import com.alibaba.fastjson.JSONObject; |
| 22 | 5 | import com.bsth.common.ResponseCode; |
| ... | ... | @@ -24,15 +7,11 @@ import com.bsth.data.BasicData; |
| 24 | 7 | import com.bsth.data.directive.DayOfDirectives; |
| 25 | 8 | import com.bsth.data.directive.DirectiveCreator; |
| 26 | 9 | import com.bsth.data.directive.GatewayHttpUtils; |
| 27 | -import com.bsth.data.gpsdata.GpsRealData; | |
| 28 | 10 | import com.bsth.data.gpsdata.GpsEntity; |
| 11 | +import com.bsth.data.gpsdata.GpsRealData; | |
| 29 | 12 | import com.bsth.data.pilot80.PilotReport; |
| 30 | 13 | import com.bsth.data.schedule.DayOfSchedule; |
| 31 | -import com.bsth.entity.directive.D60; | |
| 32 | -import com.bsth.entity.directive.D64; | |
| 33 | -import com.bsth.entity.directive.D80; | |
| 34 | -import com.bsth.entity.directive.DC0_A3; | |
| 35 | -import com.bsth.entity.directive.Directive; | |
| 14 | +import com.bsth.entity.directive.*; | |
| 36 | 15 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 37 | 16 | import com.bsth.entity.sys.SysUser; |
| 38 | 17 | import com.bsth.repository.directive.D60Repository; |
| ... | ... | @@ -44,6 +23,15 @@ import com.bsth.websocket.handler.RealControlSocketHandler; |
| 44 | 23 | import com.fasterxml.jackson.core.JsonProcessingException; |
| 45 | 24 | import com.fasterxml.jackson.databind.ObjectMapper; |
| 46 | 25 | import com.google.common.base.Splitter; |
| 26 | +import org.apache.commons.lang3.StringUtils; | |
| 27 | +import org.joda.time.format.DateTimeFormat; | |
| 28 | +import org.joda.time.format.DateTimeFormatter; | |
| 29 | +import org.slf4j.Logger; | |
| 30 | +import org.slf4j.LoggerFactory; | |
| 31 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 32 | +import org.springframework.stereotype.Service; | |
| 33 | + | |
| 34 | +import java.util.*; | |
| 47 | 35 | |
| 48 | 36 | @Service |
| 49 | 37 | public class DirectiveServiceImpl extends BaseServiceImpl<D60, Integer> implements DirectiveService { |
| ... | ... | @@ -265,7 +253,7 @@ public class DirectiveServiceImpl extends BaseServiceImpl<D60, Integer> implemen |
| 265 | 253 | // 根据当前GPS确定 上下行和营运状态 |
| 266 | 254 | Integer upDown = null, state = null; |
| 267 | 255 | if (null == sch) { |
| 268 | - GpsEntity gpsData = gpsRealDataBuffer.findByDeviceId(deviceId); | |
| 256 | + GpsEntity gpsData = gpsRealDataBuffer.get(deviceId); | |
| 269 | 257 | if (null == gpsData) { |
| 270 | 258 | /* |
| 271 | 259 | * 短语指令不会变更设备状态,所以在没有gps状态对照的情况下可以下发 | ... | ... |
src/main/java/com/bsth/service/impl/BusIntervalServiceImpl.java
| ... | ... | @@ -57,7 +57,15 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 57 | 57 | } |
| 58 | 58 | if(times.length() != 0){ |
| 59 | 59 | String[] split = times.split("-"); |
| 60 | - sql += " and fcsj >= '"+split[0]+"' and fcsj <= '"+split[1]+"'"; | |
| 60 | + String[] split0 = split[0].split(":"); | |
| 61 | + String[] split1 = split[1].split(":"); | |
| 62 | + int time0 = Integer.valueOf(split0[0])*60 + Integer.valueOf(split0[1]); | |
| 63 | + int time1 = Integer.valueOf(split1[0])*60 + Integer.valueOf(split1[1]); | |
| 64 | + if(time1 > time0){ | |
| 65 | + sql += " and fcsj >= '"+split[0]+"' and fcsj <= '"+split[1]+"'"; | |
| 66 | + } else { | |
| 67 | + sql += " and (fcsj >= '"+split[0]+"' or fcsj <= '"+split[1]+"')"; | |
| 68 | + } | |
| 61 | 69 | } |
| 62 | 70 | if(company.length() != 0){ |
| 63 | 71 | sql += " and gs_bm = '"+company+"' and fgs_bm = '"+subCompany+"'"; |
| ... | ... | @@ -65,6 +73,7 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 65 | 73 | if(normal){ |
| 66 | 74 | sql += " and bc_type != 'in' and bc_type != 'out'"; |
| 67 | 75 | } |
| 76 | + System.out.println(sql); | |
| 68 | 77 | |
| 69 | 78 | list = jdbcTemplate.query(sql, |
| 70 | 79 | new RowMapper<ScheduleRealInfo>(){ |
| ... | ... | @@ -1393,8 +1402,14 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 1393 | 1402 | |
| 1394 | 1403 | String[] date1 = startDate.split("-"); |
| 1395 | 1404 | String[] date2 = endDate.split("-"); |
| 1396 | - startDate = date1[0] + "年" + date1[1] + "月" + date1[2] + "日"; | |
| 1397 | - endDate = date2[0] + "年" + date2[1] + "月" + date2[2] + "日"; | |
| 1405 | +// startDate = date1[0] + "年" + date1[1] + "月" + date1[2] + "日"; | |
| 1406 | +// endDate = date2[0] + "年" + date2[1] + "月" + date2[2] + "日"; | |
| 1407 | + String Date = ""; | |
| 1408 | + if(startDate.equals(endDate)) | |
| 1409 | + Date = date1[0] + "年" + date1[1] + "月" + date1[2] + "日"; | |
| 1410 | + else | |
| 1411 | + Date = date1[0] + "年" + date1[1] + "月" + date1[2] + "日" | |
| 1412 | + + date2[0] + "年" + date2[1] + "月" + date2[2] + "日"; | |
| 1398 | 1413 | |
| 1399 | 1414 | String[] split = times.split("-"); |
| 1400 | 1415 | int startTime = Integer.valueOf(split[0].split(":")[0])*60 + Integer.valueOf(split[0].split(":")[1]); |
| ... | ... | @@ -1472,10 +1487,7 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 1472 | 1487 | } |
| 1473 | 1488 | } |
| 1474 | 1489 | } |
| 1475 | - if(startDate.equals(endDate)) | |
| 1476 | - tempMap.put("date", startDate); | |
| 1477 | - else | |
| 1478 | - tempMap.put("date", startDate + "--" + endDate); | |
| 1490 | + tempMap.put("date", Date); | |
| 1479 | 1491 | tempMap.put("company", companyName); |
| 1480 | 1492 | tempMap.put("subCompany", subCompanyName); |
| 1481 | 1493 | tempMap.put("times", times); |
| ... | ... | @@ -1523,6 +1535,24 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 1523 | 1535 | resList.add(tempMap); |
| 1524 | 1536 | } |
| 1525 | 1537 | |
| 1538 | + if(type != null && type.length() != 0 && type.equals("export")){ | |
| 1539 | + SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | |
| 1540 | + sdfSimple = new SimpleDateFormat("yyyyMMdd"); | |
| 1541 | + List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | |
| 1542 | + Map<String, Object> m = new HashMap<String, Object>(); | |
| 1543 | + ReportUtils ee = new ReportUtils(); | |
| 1544 | + try { | |
| 1545 | + listI.add(resList.iterator()); | |
| 1546 | + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/"; | |
| 1547 | + ee.excelReplace(listI, new Object[] { m }, path+"mould/lbStatuAnaly.xls", | |
| 1548 | + path+"export/烂班情况分析表" + sdfSimple.format(sdfMonth.parse(startDate)) | |
| 1549 | + + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls"); | |
| 1550 | + } catch (Exception e) { | |
| 1551 | + // TODO: handle exception | |
| 1552 | + e.printStackTrace(); | |
| 1553 | + } | |
| 1554 | + } | |
| 1555 | + | |
| 1526 | 1556 | return resList; |
| 1527 | 1557 | } |
| 1528 | 1558 | |
| ... | ... | @@ -1556,7 +1586,15 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 1556 | 1586 | } |
| 1557 | 1587 | if(times.length() != 0){ |
| 1558 | 1588 | String[] split = times.split("-"); |
| 1559 | - sql += " and fcsj >= '"+split[0]+"' and fcsj <= '"+split[1]+"'"; | |
| 1589 | + String[] split0 = split[0].split(":"); | |
| 1590 | + String[] split1 = split[1].split(":"); | |
| 1591 | + int time0 = Integer.valueOf(split0[0])*60 + Integer.valueOf(split0[1]); | |
| 1592 | + int time1 = Integer.valueOf(split1[0])*60 + Integer.valueOf(split1[1]); | |
| 1593 | + if(time1 > time0){ | |
| 1594 | + sql += " and fcsj >= '"+split[0]+"' and fcsj <= '"+split[1]+"'"; | |
| 1595 | + } else { | |
| 1596 | + sql += " and (fcsj >= '"+split[0]+"' or fcsj <= '"+split[1]+"')"; | |
| 1597 | + } | |
| 1560 | 1598 | } |
| 1561 | 1599 | if(company.length() != 0){ |
| 1562 | 1600 | sql += " and gs_bm = '"+company+"' and fgs_bm = '"+subCompany+"'"; | ... | ... |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| ... | ... | @@ -1379,7 +1379,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 1379 | 1379 | @Override |
| 1380 | 1380 | public List<Map<String, Object>> statisticsDaily(String line, String date, |
| 1381 | 1381 | String xlName, String type) { |
| 1382 | - List<ScheduleRealInfo> list = scheduleRealInfoRepository.scheduleByDateAndLine(line, date); | |
| 1382 | + List<ScheduleRealInfo> list = scheduleRealInfoRepository.scheduleByDateAndLine2(line, date); | |
| 1383 | + | |
| 1383 | 1384 | List<Map<String, Object>> lMap = new ArrayList<Map<String, Object>>(); |
| 1384 | 1385 | DecimalFormat format = new DecimalFormat("0.00"); |
| 1385 | 1386 | double jhlc = 0, tempJhlc = 0, childMileage = 0; |
| ... | ... | @@ -1392,159 +1393,350 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 1392 | 1393 | int fzbc = 0, fzbc_m = 0, fzbc_a = 0; |
| 1393 | 1394 | int dtbc = 0, dtbc_m = 0, dtbc_a = 0; |
| 1394 | 1395 | int djg = 0, djg_m = 0, djg_a = 0, djg_time = 0; |
| 1395 | - Map<String, Object> map = new HashMap<String, Object>(); | |
| 1396 | - for (ScheduleRealInfo scheduleRealInfo : list) { | |
| 1396 | + | |
| 1397 | + double jhlcZ = 0, tempJhlcZ = 0, childMileageZ = 0; | |
| 1398 | + float sjglZ = 0f, ssglZ = 0f, ssgl_lzZ = 0f, ssgl_dmZ = 0f, | |
| 1399 | + ssgl_gzZ = 0f, ssgl_jfZ = 0f, ssgl_zsZ = 0f, ssgl_qrZ = 0f, ssgl_qcZ = 0f, | |
| 1400 | + ssgl_kxZ = 0f, ssgl_qhZ = 0f, ssgl_ywZ = 0f, ssgl_otherZ = 0f, ljglZ = 0f; | |
| 1401 | + //班次 | |
| 1402 | + int jhbcZ = 0, jhbc_mZ = 0, jhbc_aZ = 0; | |
| 1403 | + int sjbcZ = 0, sjbc_mZ = 0, sjbc_aZ = 0; | |
| 1404 | + int ljbcZ = 0, ljbc_mZ = 0, ljbc_aZ = 0; | |
| 1405 | + int fzbcZ = 0, fzbc_mZ = 0, fzbc_aZ = 0; | |
| 1406 | + int dtbcZ = 0, dtbc_mZ = 0, dtbc_aZ = 0; | |
| 1407 | + int djgZ = 0, djg_mZ = 0, djg_aZ = 0, djg_timeZ = 0; | |
| 1408 | + Map<String, Object> map =null; | |
| 1409 | + for (int i=0; i<list.size();i++) { | |
| 1410 | + ScheduleRealInfo scheduleRealInfo=list.get(i); | |
| 1397 | 1411 | if (scheduleRealInfo != null) { |
| 1398 | - | |
| 1399 | - if (!(scheduleRealInfo.getBcType().equals("in") | |
| 1400 | - || scheduleRealInfo.getBcType().equals("out"))) { | |
| 1401 | - Set<ChildTaskPlan> childTaskPlans = scheduleRealInfo.getcTasks(); | |
| 1402 | - //计算实际里程,少驶里程,计划里程=实际里程+少驶里程 | |
| 1403 | - if (childTaskPlans.isEmpty()) { | |
| 1404 | - tempJhlc = scheduleRealInfo.getJhlc() == null ? 0 : scheduleRealInfo.getJhlc(); | |
| 1405 | - //临加公里 | |
| 1406 | - if (scheduleRealInfo.isSflj()) { | |
| 1407 | - ljgl += tempJhlc; | |
| 1412 | + Set<ChildTaskPlan> childTaskPlans = scheduleRealInfo.getcTasks(); | |
| 1413 | + //计算实际里程,少驶里程,计划里程=实际里程+少驶里程 | |
| 1414 | + if (childTaskPlans.isEmpty()) { | |
| 1415 | + tempJhlc = scheduleRealInfo.getJhlc() == null ? 0 : scheduleRealInfo.getJhlc(); | |
| 1416 | + //临加公里 | |
| 1417 | + if (scheduleRealInfo.isSflj()) { | |
| 1418 | + ljgl += tempJhlc; | |
| 1419 | + ljglZ += tempJhlc; | |
| 1420 | + } else { | |
| 1421 | + jhlc += tempJhlc; | |
| 1422 | + jhlcZ += tempJhlc; | |
| 1423 | + } | |
| 1424 | + if (scheduleRealInfo.getStatus() == -1) { | |
| 1425 | + ssgl += tempJhlc; | |
| 1426 | + ssglZ += tempJhlc; | |
| 1427 | + if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("路阻") != -1) { | |
| 1428 | + ssgl_lz += tempJhlc; | |
| 1429 | + ssgl_lzZ += tempJhlc; | |
| 1430 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("吊慢") != -1) { | |
| 1431 | + ssgl_dm += tempJhlc; | |
| 1432 | + ssgl_dmZ += tempJhlc; | |
| 1433 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("故障") != -1) { | |
| 1434 | + ssgl_gz += tempJhlc; | |
| 1435 | + ssgl_gzZ += tempJhlc; | |
| 1436 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("纠纷") != -1) { | |
| 1437 | + ssgl_jf += tempJhlc; | |
| 1438 | + ssgl_jfZ += tempJhlc; | |
| 1439 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("肇事") != -1) { | |
| 1440 | + ssgl_zs += tempJhlc; | |
| 1441 | + ssgl_zsZ += tempJhlc; | |
| 1442 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺人") != -1) { | |
| 1443 | + ssgl_qr += tempJhlc; | |
| 1444 | + ssgl_qrZ += tempJhlc; | |
| 1445 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺车") != -1) { | |
| 1446 | + ssgl_qc += tempJhlc; | |
| 1447 | + ssgl_qcZ += tempJhlc; | |
| 1448 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("客稀") != -1) { | |
| 1449 | + ssgl_kx += tempJhlc; | |
| 1450 | + ssgl_kxZ += tempJhlc; | |
| 1451 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("气候") != -1) { | |
| 1452 | + ssgl_qh += tempJhlc; | |
| 1453 | + ssgl_qhZ += tempJhlc; | |
| 1454 | + } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("援外") != -1) { | |
| 1455 | + ssgl_yw += tempJhlc; | |
| 1456 | + ssgl_ywZ += tempJhlc; | |
| 1408 | 1457 | } else { |
| 1409 | - jhlc += tempJhlc; | |
| 1410 | - } | |
| 1411 | - if (scheduleRealInfo.getStatus() == 2) { | |
| 1412 | - sjgl += tempJhlc; | |
| 1413 | - } else if (scheduleRealInfo.getStatus() == -1) { | |
| 1414 | - ssgl += tempJhlc; | |
| 1415 | - if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("路阻") != -1) { | |
| 1416 | - ssgl_lz += tempJhlc; | |
| 1417 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("吊慢") != -1) { | |
| 1418 | - ssgl_dm += tempJhlc; | |
| 1419 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("故障") != -1) { | |
| 1420 | - ssgl_gz += tempJhlc; | |
| 1421 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("纠纷") != -1) { | |
| 1422 | - ssgl_jf += tempJhlc; | |
| 1423 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("肇事") != -1) { | |
| 1424 | - ssgl_zs += tempJhlc; | |
| 1425 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺人") != -1) { | |
| 1426 | - ssgl_qr += tempJhlc; | |
| 1427 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺车") != -1) { | |
| 1428 | - ssgl_qc += tempJhlc; | |
| 1429 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("客稀") != -1) { | |
| 1430 | - ssgl_kx += tempJhlc; | |
| 1431 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("气候") != -1) { | |
| 1432 | - ssgl_qh += tempJhlc; | |
| 1433 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("援外") != -1) { | |
| 1434 | - ssgl_yw += tempJhlc; | |
| 1435 | - } else { | |
| 1436 | - ssgl_other += tempJhlc; | |
| 1437 | - } | |
| 1458 | + ssgl_other += tempJhlc; | |
| 1459 | + ssgl_otherZ += tempJhlc; | |
| 1438 | 1460 | } |
| 1439 | - } else { | |
| 1440 | - Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | |
| 1441 | - while (it.hasNext()) { | |
| 1442 | - ChildTaskPlan childTaskPlan = it.next(); | |
| 1443 | - childMileage = childTaskPlan.getMileage() == null ? 0 : childTaskPlan.getMileage(); | |
| 1444 | - jhlc += childMileage; | |
| 1445 | - if (childTaskPlan.isDestroy()) { | |
| 1446 | - ssgl += childMileage; | |
| 1447 | - if (childTaskPlan.getDestroyReason().equals("路阻")) { | |
| 1448 | - ssgl_lz += childTaskPlan.getMileage(); | |
| 1449 | - } else if (childTaskPlan.getDestroyReason().equals("吊慢")) { | |
| 1450 | - ssgl_dm += childTaskPlan.getMileage(); | |
| 1451 | - } else if (childTaskPlan.getDestroyReason().equals("故障")) { | |
| 1452 | - ssgl_gz += childTaskPlan.getMileage(); | |
| 1453 | - } else if (childTaskPlan.getDestroyReason().equals("纠纷")) { | |
| 1454 | - ssgl_jf += childTaskPlan.getMileage(); | |
| 1455 | - } else if (childTaskPlan.getDestroyReason().equals("肇事")) { | |
| 1456 | - ssgl_zs += childTaskPlan.getMileage(); | |
| 1457 | - } else if (childTaskPlan.getDestroyReason().equals("缺人")) { | |
| 1458 | - ssgl_qr += childTaskPlan.getMileage(); | |
| 1459 | - } else if (childTaskPlan.getDestroyReason().equals("缺车")) { | |
| 1460 | - ssgl_qc += childTaskPlan.getMileage(); | |
| 1461 | - } else if (childTaskPlan.getDestroyReason().equals("客稀")) { | |
| 1462 | - ssgl_kx += childTaskPlan.getMileage(); | |
| 1463 | - } else if (childTaskPlan.getDestroyReason().equals("气候")) { | |
| 1464 | - ssgl_qh += childTaskPlan.getMileage(); | |
| 1465 | - } else if (childTaskPlan.getDestroyReason().equals("援外")) { | |
| 1466 | - ssgl_yw += childTaskPlan.getMileage(); | |
| 1467 | - } else { | |
| 1468 | - ssgl_other += childTaskPlan.getMileage(); | |
| 1469 | - } | |
| 1461 | + }else { | |
| 1462 | + sjgl += tempJhlc; | |
| 1463 | + sjglZ += tempJhlc; | |
| 1464 | + } | |
| 1465 | + } else { | |
| 1466 | + Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | |
| 1467 | + while (it.hasNext()) { | |
| 1468 | + ChildTaskPlan childTaskPlan = it.next(); | |
| 1469 | + childMileage = childTaskPlan.getMileage() == null ? 0 : childTaskPlan.getMileage(); | |
| 1470 | + jhlc += childMileage; | |
| 1471 | + jhlcZ += childMileage; | |
| 1472 | + if (childTaskPlan.isDestroy()) { | |
| 1473 | + ssgl += childMileage; | |
| 1474 | + ssglZ += childMileage; | |
| 1475 | + if (childTaskPlan.getDestroyReason().equals("路阻")) { | |
| 1476 | + ssgl_lz += childTaskPlan.getMileage(); | |
| 1477 | + ssgl_lzZ += childTaskPlan.getMileage(); | |
| 1478 | + } else if (childTaskPlan.getDestroyReason().equals("吊慢")) { | |
| 1479 | + ssgl_dm += childTaskPlan.getMileage(); | |
| 1480 | + ssgl_dmZ += childTaskPlan.getMileage(); | |
| 1481 | + } else if (childTaskPlan.getDestroyReason().equals("故障")) { | |
| 1482 | + ssgl_gz += childTaskPlan.getMileage(); | |
| 1483 | + ssgl_gzZ += childTaskPlan.getMileage(); | |
| 1484 | + } else if (childTaskPlan.getDestroyReason().equals("纠纷")) { | |
| 1485 | + ssgl_jf += childTaskPlan.getMileage(); | |
| 1486 | + ssgl_jfZ += childTaskPlan.getMileage(); | |
| 1487 | + } else if (childTaskPlan.getDestroyReason().equals("肇事")) { | |
| 1488 | + ssgl_zs += childTaskPlan.getMileage(); | |
| 1489 | + ssgl_zsZ += childTaskPlan.getMileage(); | |
| 1490 | + } else if (childTaskPlan.getDestroyReason().equals("缺人")) { | |
| 1491 | + ssgl_qr += childTaskPlan.getMileage(); | |
| 1492 | + ssgl_qrZ += childTaskPlan.getMileage(); | |
| 1493 | + } else if (childTaskPlan.getDestroyReason().equals("缺车")) { | |
| 1494 | + ssgl_qc += childTaskPlan.getMileage(); | |
| 1495 | + ssgl_qcZ += childTaskPlan.getMileage(); | |
| 1496 | + } else if (childTaskPlan.getDestroyReason().equals("客稀")) { | |
| 1497 | + ssgl_kx += childTaskPlan.getMileage(); | |
| 1498 | + ssgl_kxZ += childTaskPlan.getMileage(); | |
| 1499 | + } else if (childTaskPlan.getDestroyReason().equals("气候")) { | |
| 1500 | + ssgl_qh += childTaskPlan.getMileage(); | |
| 1501 | + ssgl_qhZ += childTaskPlan.getMileage(); | |
| 1502 | + } else if (childTaskPlan.getDestroyReason().equals("援外")) { | |
| 1503 | + ssgl_yw += childTaskPlan.getMileage(); | |
| 1504 | + ssgl_ywZ += childTaskPlan.getMileage(); | |
| 1470 | 1505 | } else { |
| 1471 | - sjgl += childMileage; | |
| 1506 | + ssgl_other += childTaskPlan.getMileage(); | |
| 1507 | + ssgl_otherZ += childTaskPlan.getMileage(); | |
| 1472 | 1508 | } |
| 1509 | + } else { | |
| 1510 | + sjgl += childMileage; | |
| 1511 | + sjglZ += childMileage; | |
| 1473 | 1512 | } |
| 1474 | 1513 | } |
| 1514 | + } | |
| 1475 | 1515 | |
| 1476 | - //班次 | |
| 1477 | - jhbc++; | |
| 1478 | - String[] fcsj = scheduleRealInfo.getFcsj().split(":"); | |
| 1479 | - String[] fcsjActual = (scheduleRealInfo.getFcsjActual() == null ? "0:00" : scheduleRealInfo.getFcsjActual()).split(":"); | |
| 1480 | - if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_0 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_1) { | |
| 1481 | - jhbc_m++; | |
| 1482 | - } else if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_2 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_3) { | |
| 1483 | - jhbc_a++; | |
| 1484 | - } | |
| 1485 | - if (scheduleRealInfo.getStatus() == 2) { | |
| 1486 | - sjbc++; | |
| 1487 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1488 | - sjbc_m++; | |
| 1489 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1490 | - sjbc_a++; | |
| 1491 | - } | |
| 1516 | + //班次 | |
| 1517 | + jhbc++; | |
| 1518 | + String[] fcsj = scheduleRealInfo.getFcsj().split(":"); | |
| 1519 | + String[] fcsjActual = (scheduleRealInfo.getFcsjActual() == null ? "0:00" : scheduleRealInfo.getFcsjActual()).split(":"); | |
| 1520 | + if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_0 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_1) { | |
| 1521 | + jhbc_m++; | |
| 1522 | + jhbc_mZ++; | |
| 1523 | + } else if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_2 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_3) { | |
| 1524 | + jhbc_a++; | |
| 1525 | + jhbc_aZ++; | |
| 1526 | + } | |
| 1527 | + if (scheduleRealInfo.getStatus() == 2) { | |
| 1528 | + sjbc++; | |
| 1529 | + sjbcZ++; | |
| 1530 | + if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1531 | + sjbc_m++; | |
| 1532 | + sjbc_mZ++; | |
| 1533 | + } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1534 | + sjbc_a++; | |
| 1535 | + sjbc_aZ++; | |
| 1492 | 1536 | } |
| 1493 | - if (scheduleRealInfo.isSflj()) { | |
| 1494 | - ljbc++; | |
| 1495 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1496 | - ljbc_m++; | |
| 1497 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1498 | - ljbc_a++; | |
| 1499 | - } | |
| 1537 | + } | |
| 1538 | + if (scheduleRealInfo.isSflj()) { | |
| 1539 | + ljbc++; | |
| 1540 | + ljbcZ++; | |
| 1541 | + if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1542 | + ljbc_m++; | |
| 1543 | + ljbc_mZ++; | |
| 1544 | + } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1545 | + ljbc_a++; | |
| 1546 | + ljbc_aZ++; | |
| 1500 | 1547 | } |
| 1501 | - if (scheduleRealInfo.getBcType().equals("venting")) { | |
| 1502 | - fzbc++; | |
| 1503 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1504 | - fzbc_m++; | |
| 1505 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1506 | - fzbc_a++; | |
| 1507 | - } | |
| 1548 | + } | |
| 1549 | + if (scheduleRealInfo.getBcType().equals("venting")) { | |
| 1550 | + fzbc++; | |
| 1551 | + fzbcZ++; | |
| 1552 | + if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | |
| 1553 | + fzbc_m++; | |
| 1554 | + fzbc_mZ++; | |
| 1555 | + } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | |
| 1556 | + fzbc_a++; | |
| 1557 | + fzbc_aZ++; | |
| 1508 | 1558 | } |
| 1509 | 1559 | } |
| 1560 | + | |
| 1561 | + if(i<list.size()-1){ | |
| 1562 | + if(!scheduleRealInfo.getXlBm().equals(list.get(i+1).getXlBm())) | |
| 1563 | + { | |
| 1564 | + map= new HashMap<String, Object>(); | |
| 1565 | + map.put("xlName", scheduleRealInfo.getXlName()); | |
| 1566 | + map.put("jhlc", format.format(jhlc)); | |
| 1567 | + map.put("sjgl", format.format(sjgl)); | |
| 1568 | + map.put("ssgl", format.format(ssgl)); | |
| 1569 | + map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | |
| 1570 | + map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | |
| 1571 | + map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | |
| 1572 | + map.put("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | |
| 1573 | + map.put("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | |
| 1574 | + map.put("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | |
| 1575 | + map.put("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | |
| 1576 | + map.put("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | |
| 1577 | + map.put("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | |
| 1578 | + map.put("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | |
| 1579 | + map.put("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | |
| 1580 | + map.put("ljgl", ljgl == 0 ? 0 : format.format(ljgl)); | |
| 1581 | + map.put("jhbc", jhbc); | |
| 1582 | + map.put("jhbc_m", jhbc_m); | |
| 1583 | + map.put("jhbc_a", jhbc_a); | |
| 1584 | + map.put("sjbc", sjbc); | |
| 1585 | + map.put("sjbc_m", sjbc_m); | |
| 1586 | + map.put("sjbc_a", sjbc_a); | |
| 1587 | + map.put("ljbc", ljbc); | |
| 1588 | + map.put("ljbc_m", ljbc_m); | |
| 1589 | + map.put("ljbc_a", ljbc_a); | |
| 1590 | + map.put("fzbc", fzbc); | |
| 1591 | + map.put("fzbc_m", fzbc_m); | |
| 1592 | + map.put("fzbc_a", fzbc_a); | |
| 1593 | + map.put("dtbc", dtbc); | |
| 1594 | + map.put("dtbc_m", dtbc_m); | |
| 1595 | + map.put("dtbc_a", dtbc_a); | |
| 1596 | + map.put("djg", djg); | |
| 1597 | + map.put("djg_m", djg_m); | |
| 1598 | + map.put("djg_a", djg_a); | |
| 1599 | + map.put("djg_time", djg_time); | |
| 1600 | + lMap.add(map); | |
| 1601 | + jhlc = 0; tempJhlc = 0; childMileage = 0; | |
| 1602 | + sjgl = 0f; ssgl = 0f; ssgl_lz = 0f; ssgl_dm = 0f; ssgl_gz = 0f; ssgl_jf = 0f; ssgl_zs = 0f; | |
| 1603 | + ssgl_qr = 0f; ssgl_qc = 0f; ssgl_kx = 0f; ssgl_qh = 0f; ssgl_yw = 0f;ssgl_other = 0f; | |
| 1604 | + ljgl = 0f; | |
| 1605 | + //班次 | |
| 1606 | + jhbc = 0; jhbc_m = 0; jhbc_a = 0; | |
| 1607 | + sjbc = 0; sjbc_m = 0; sjbc_a = 0; | |
| 1608 | + ljbc = 0; ljbc_m = 0; ljbc_a = 0; | |
| 1609 | + fzbc = 0; fzbc_m = 0; fzbc_a = 0; | |
| 1610 | + dtbc = 0; dtbc_m = 0; dtbc_a = 0; | |
| 1611 | + djg = 0; djg_m = 0; djg_a = 0; djg_time = 0; | |
| 1612 | + } | |
| 1613 | + }else{ | |
| 1614 | + map= new HashMap<String, Object>(); | |
| 1615 | + map.put("xlName", scheduleRealInfo.getXlName()); | |
| 1616 | + map.put("jhlc", format.format(jhlc)); | |
| 1617 | + map.put("sjgl", format.format(sjgl)); | |
| 1618 | + map.put("ssgl", format.format(ssgl)); | |
| 1619 | + map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | |
| 1620 | + map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | |
| 1621 | + map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | |
| 1622 | + map.put("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | |
| 1623 | + map.put("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | |
| 1624 | + map.put("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | |
| 1625 | + map.put("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | |
| 1626 | + map.put("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | |
| 1627 | + map.put("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | |
| 1628 | + map.put("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | |
| 1629 | + map.put("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | |
| 1630 | + map.put("ljgl", ljgl == 0 ? 0 : format.format(ljgl)); | |
| 1631 | + map.put("jhbc", jhbc); | |
| 1632 | + map.put("jhbc_m", jhbc_m); | |
| 1633 | + map.put("jhbc_a", jhbc_a); | |
| 1634 | + map.put("sjbc", sjbc); | |
| 1635 | + map.put("sjbc_m", sjbc_m); | |
| 1636 | + map.put("sjbc_a", sjbc_a); | |
| 1637 | + map.put("ljbc", ljbc); | |
| 1638 | + map.put("ljbc_m", ljbc_m); | |
| 1639 | + map.put("ljbc_a", ljbc_a); | |
| 1640 | + map.put("fzbc", fzbc); | |
| 1641 | + map.put("fzbc_m", fzbc_m); | |
| 1642 | + map.put("fzbc_a", fzbc_a); | |
| 1643 | + map.put("dtbc", dtbc); | |
| 1644 | + map.put("dtbc_m", dtbc_m); | |
| 1645 | + map.put("dtbc_a", dtbc_a); | |
| 1646 | + map.put("djg", djg); | |
| 1647 | + map.put("djg_m", djg_m); | |
| 1648 | + map.put("djg_a", djg_a); | |
| 1649 | + map.put("djg_time", djg_time); | |
| 1650 | + lMap.add(map); | |
| 1651 | + jhlc = 0; tempJhlc = 0; childMileage = 0; | |
| 1652 | + sjgl = 0f; ssgl = 0f; ssgl_lz = 0f; ssgl_dm = 0f; ssgl_gz = 0f; ssgl_jf = 0f; ssgl_zs = 0f; | |
| 1653 | + ssgl_qr = 0f; ssgl_qc = 0f; ssgl_kx = 0f; ssgl_qh = 0f; ssgl_yw = 0f;ssgl_other = 0f; | |
| 1654 | + ljgl = 0f; | |
| 1655 | + //班次 | |
| 1656 | + jhbc = 0; jhbc_m = 0; jhbc_a = 0; | |
| 1657 | + sjbc = 0; sjbc_m = 0; sjbc_a = 0; | |
| 1658 | + ljbc = 0; ljbc_m = 0; ljbc_a = 0; | |
| 1659 | + fzbc = 0; fzbc_m = 0; fzbc_a = 0; | |
| 1660 | + dtbc = 0; dtbc_m = 0; dtbc_a = 0; | |
| 1661 | + djg = 0; djg_m = 0; djg_a = 0; djg_time = 0; | |
| 1662 | + } | |
| 1510 | 1663 | } |
| 1511 | 1664 | } |
| 1512 | - map.put("xlName", xlName); | |
| 1513 | - map.put("jhlc", format.format(jhlc)); | |
| 1514 | - map.put("sjgl", format.format(sjgl)); | |
| 1515 | - map.put("ssgl", format.format(ssgl)); | |
| 1516 | - map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | |
| 1517 | - map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | |
| 1518 | - map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | |
| 1519 | - map.put("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | |
| 1520 | - map.put("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | |
| 1521 | - map.put("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | |
| 1522 | - map.put("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | |
| 1523 | - map.put("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | |
| 1524 | - map.put("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | |
| 1525 | - map.put("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | |
| 1526 | - map.put("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | |
| 1527 | - map.put("ljgl", ljgl == 0 ? 0 : format.format(ljgl)); | |
| 1528 | - map.put("jhbc", jhbc); | |
| 1529 | - map.put("jhbc_m", jhbc_m); | |
| 1530 | - map.put("jhbc_a", jhbc_a); | |
| 1531 | - map.put("sjbc", sjbc); | |
| 1532 | - map.put("sjbc_m", sjbc_m); | |
| 1533 | - map.put("sjbc_a", sjbc_a); | |
| 1534 | - map.put("ljbc", ljbc); | |
| 1535 | - map.put("ljbc_m", ljbc_m); | |
| 1536 | - map.put("ljbc_a", ljbc_a); | |
| 1537 | - map.put("fzbc", fzbc); | |
| 1538 | - map.put("fzbc_m", fzbc_m); | |
| 1539 | - map.put("fzbc_a", fzbc_a); | |
| 1540 | - map.put("dtbc", dtbc); | |
| 1541 | - map.put("dtbc_m", dtbc_m); | |
| 1542 | - map.put("dtbc_a", dtbc_a); | |
| 1543 | - map.put("djg", djg); | |
| 1544 | - map.put("djg_m", djg_m); | |
| 1545 | - map.put("djg_a", djg_a); | |
| 1546 | - map.put("djg_time", djg_time); | |
| 1665 | + map= new HashMap<String, Object>(); | |
| 1666 | + map.put("xlName", "合计"); | |
| 1667 | + map.put("jhlc", format.format(jhlcZ)); | |
| 1668 | + map.put("sjgl", format.format(sjglZ)); | |
| 1669 | + map.put("ssgl", format.format(ssglZ)); | |
| 1670 | + map.put("ssgl_lz", ssgl_lzZ == 0 ? 0 : format.format(ssgl_lzZ)); | |
| 1671 | + map.put("ssgl_dm", ssgl_dmZ == 0 ? 0 : format.format(ssgl_dmZ)); | |
| 1672 | + map.put("ssgl_gz", ssgl_gzZ == 0 ? 0 : format.format(ssgl_gzZ)); | |
| 1673 | + map.put("ssgl_jf", ssgl_jfZ == 0 ? 0 : format.format(ssgl_jfZ)); | |
| 1674 | + map.put("ssgl_zs", ssgl_zsZ == 0 ? 0 : format.format(ssgl_zsZ)); | |
| 1675 | + map.put("ssgl_qr", ssgl_qrZ == 0 ? 0 : format.format(ssgl_qrZ)); | |
| 1676 | + map.put("ssgl_qc", ssgl_qcZ == 0 ? 0 : format.format(ssgl_qcZ)); | |
| 1677 | + map.put("ssgl_kx", ssgl_kxZ == 0 ? 0 : format.format(ssgl_kxZ)); | |
| 1678 | + map.put("ssgl_qh", ssgl_qhZ == 0 ? 0 : format.format(ssgl_qhZ)); | |
| 1679 | + map.put("ssgl_yw", ssgl_ywZ == 0 ? 0 : format.format(ssgl_ywZ)); | |
| 1680 | + map.put("ssgl_other", ssgl_otherZ == 0 ? 0 : format.format(ssgl_otherZ)); | |
| 1681 | + map.put("ljgl", ljglZ == 0 ? 0 : format.format(ljglZ)); | |
| 1682 | + map.put("jhbc", jhbcZ); | |
| 1683 | + map.put("jhbc_m", jhbc_mZ); | |
| 1684 | + map.put("jhbc_a", jhbc_aZ); | |
| 1685 | + map.put("sjbc", sjbcZ); | |
| 1686 | + map.put("sjbc_m", sjbc_mZ); | |
| 1687 | + map.put("sjbc_a", sjbc_aZ); | |
| 1688 | + map.put("ljbc", ljbcZ); | |
| 1689 | + map.put("ljbc_m", ljbc_mZ); | |
| 1690 | + map.put("ljbc_a", ljbc_aZ); | |
| 1691 | + map.put("fzbc", fzbcZ); | |
| 1692 | + map.put("fzbc_m", fzbc_mZ); | |
| 1693 | + map.put("fzbc_a", fzbc_aZ); | |
| 1694 | + map.put("dtbc", dtbcZ); | |
| 1695 | + map.put("dtbc_m", dtbc_mZ); | |
| 1696 | + map.put("dtbc_a", dtbc_aZ); | |
| 1697 | + map.put("djg", djgZ); | |
| 1698 | + map.put("djg_m", djg_mZ); | |
| 1699 | + map.put("djg_a", djg_aZ); | |
| 1700 | + map.put("djg_time", djg_timeZ); | |
| 1547 | 1701 | lMap.add(map); |
| 1702 | + /* for (int i = 0; i < lMap.size(); i++) { | |
| 1703 | + Map<String, Object> m=lMap.get(i); | |
| 1704 | +// m.get("")) | |
| 1705 | + jhlc += Double.parseDouble(m.get("jhlc").toString()); | |
| 1706 | + sjgl += Double.parseDouble(m.get("sjgl").toString()); | |
| 1707 | + ssgl += Double.parseDouble( m.get("ssgl").toString()); | |
| 1708 | + ssgl_lz += Double.parseDouble( m.get("ssgl_lz").toString()); | |
| 1709 | + ssgl_dm += Double.parseDouble(m.get("ssgl_dm").toString()); | |
| 1710 | + ssgl_gz += Double.parseDouble( m.get("ssgl_gz").toString()); | |
| 1711 | + ssgl_jf += m.get("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | |
| 1712 | + m.get("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | |
| 1713 | + m.get("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | |
| 1714 | + m.get("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | |
| 1715 | + m.get("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | |
| 1716 | + m.get("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | |
| 1717 | + m.get("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | |
| 1718 | + m.get("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | |
| 1719 | + m.get("ljgl", ljgl == 0 ? 0 : format.format(ljgl)); | |
| 1720 | + m.get("jhbc", jhbc); | |
| 1721 | + m.get("jhbc_m", jhbc_m); | |
| 1722 | + m.get("jhbc_a", jhbc_a); | |
| 1723 | + m.get("sjbc", sjbc); | |
| 1724 | + m.get("sjbc_m", sjbc_m); | |
| 1725 | + m.get("sjbc_a", sjbc_a); | |
| 1726 | + m.get("ljbc", ljbc); | |
| 1727 | + m.get("ljbc_m", ljbc_m); | |
| 1728 | + m.get("ljbc_a", ljbc_a); | |
| 1729 | + m.get("fzbc", fzbc); | |
| 1730 | + m.get("fzbc_m", fzbc_m); | |
| 1731 | + m.get("fzbc_a", fzbc_a); | |
| 1732 | + m.get("dtbc", dtbc); | |
| 1733 | + m.get("dtbc_m", dtbc_m); | |
| 1734 | + m.get("dtbc_a", dtbc_a); | |
| 1735 | + m.get("djg", djg); | |
| 1736 | + m.get("djg_m", djg_m); | |
| 1737 | + m.get("djg_a", djg_a); | |
| 1738 | + m.get("djg_time", djg_time); | |
| 1739 | + }*/ | |
| 1548 | 1740 | |
| 1549 | 1741 | if(type != null && type.length() != 0 && type.equals("export")){ |
| 1550 | 1742 | SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), |
| ... | ... | @@ -2129,7 +2321,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 2129 | 2321 | int jhbc = 0,cjbc = 0,ljbc = 0; |
| 2130 | 2322 | double jhlc = 0, yygl = 0, ksgl = 0,tempJhlc = 0,jcclc=0; |
| 2131 | 2323 | float addMileage = 0l,remMileage = 0l; |
| 2132 | - | |
| 2324 | + int xyz=1; | |
| 2133 | 2325 | Map<String,Object> map; |
| 2134 | 2326 | for(ScheduleRealInfo scheduleRealInfo : scheduleRealInfos){ |
| 2135 | 2327 | if(scheduleRealInfo != null){ |
| ... | ... | @@ -2142,8 +2334,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 2142 | 2334 | if(scheduleRealInfo.isSflj()){ |
| 2143 | 2335 | ljbc++; |
| 2144 | 2336 | }else{ |
| 2145 | - jhlc += tempJhlc; | |
| 2146 | - jhbc++; | |
| 2337 | + if( !(scheduleRealInfo.getBcType().equals("in") | |
| 2338 | + ||scheduleRealInfo.getBcType().equals("out")) ){ | |
| 2339 | + jhbc++; | |
| 2340 | + jhlc += tempJhlc; | |
| 2341 | + } | |
| 2147 | 2342 | if(scheduleRealInfo.getStatus() == -1){ |
| 2148 | 2343 | remMileage += tempJhlc; |
| 2149 | 2344 | cjbc++; |
| ... | ... | @@ -2153,25 +2348,44 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 2153 | 2348 | //计算营运里程,空驶里程 |
| 2154 | 2349 | if(childTaskPlans.isEmpty()){ |
| 2155 | 2350 | if(scheduleRealInfo.getBcType().equals("in") || scheduleRealInfo.getBcType().equals("out") |
| 2156 | - || scheduleRealInfo.getBcType().equals("venting")){ | |
| 2157 | - ksgl += tempJhlc; | |
| 2158 | - }else{ | |
| 2159 | - yygl += tempJhlc; | |
| 2351 | + ){ | |
| 2352 | + jcclc +=tempJhlc; | |
| 2353 | + } | |
| 2354 | + //主任务 放空班次属于营运 | |
| 2355 | +// else if(scheduleRealInfo.getBcType().equals("venting")){ | |
| 2356 | +// ksgl += tempJhlc; | |
| 2357 | +// } | |
| 2358 | + else{ | |
| 2359 | + if(scheduleRealInfo.getStatus() != -1){ | |
| 2360 | + if(scheduleRealInfo.isSflj()){ | |
| 2361 | + addMileage += tempJhlc; | |
| 2362 | + } | |
| 2363 | + yygl += tempJhlc; | |
| 2364 | + } | |
| 2160 | 2365 | } |
| 2161 | 2366 | }else{ |
| 2162 | 2367 | Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); |
| 2163 | 2368 | while(it.hasNext()){ |
| 2164 | 2369 | ChildTaskPlan childTaskPlan = it.next(); |
| 2165 | 2370 | if(childTaskPlan.getMileageType().equals("empty")){ |
| 2166 | - if(scheduleRealInfo.isSflj()){ | |
| 2167 | - addMileage += tempJhlc; | |
| 2371 | + if(childTaskPlan.isDestroy()){ | |
| 2372 | + remMileage += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2373 | + }else{ | |
| 2374 | + if(scheduleRealInfo.isSflj()){ | |
| 2375 | + addMileage += tempJhlc; | |
| 2376 | + } | |
| 2377 | + ksgl += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2168 | 2378 | } |
| 2169 | - ksgl += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2170 | 2379 | }else{ |
| 2171 | - if(scheduleRealInfo.isSflj()){ | |
| 2172 | - addMileage += tempJhlc; | |
| 2380 | + if(childTaskPlan.isDestroy()){ | |
| 2381 | + remMileage += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2382 | +// cjbc++; | |
| 2383 | + }else{ | |
| 2384 | + if(scheduleRealInfo.isSflj()){ | |
| 2385 | + addMileage += tempJhlc; | |
| 2386 | + } | |
| 2387 | + yygl += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2173 | 2388 | } |
| 2174 | - yygl += childTaskPlan.getMileage()==null?0:childTaskPlan.getMileage(); | |
| 2175 | 2389 | } |
| 2176 | 2390 | } |
| 2177 | 2391 | } |
| ... | ... | @@ -2179,6 +2393,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 2179 | 2393 | if(!(scheduleRealInfo.getBcType().equals("in")||scheduleRealInfo.getBcType().equals("out"))){ |
| 2180 | 2394 | map = new HashMap<String, Object>(); |
| 2181 | 2395 | try { |
| 2396 | + scheduleRealInfo.setBcs(xyz); | |
| 2397 | + xyz++; | |
| 2182 | 2398 | map = rru.getMapValue(scheduleRealInfo); |
| 2183 | 2399 | String zdsj = scheduleRealInfo.getZdsj(); |
| 2184 | 2400 | String zdsjActual = scheduleRealInfo.getZdsjActual(); |
| ... | ... | @@ -2226,7 +2442,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 2226 | 2442 | Long fcsj1=sdf.parse(date+" 03:00").getTime(); |
| 2227 | 2443 | Long fcsj2=sdf.parse(date+" 11:00").getTime(); |
| 2228 | 2444 | Long fcsj3=sdf.parse(date+" 22:00").getTime(); |
| 2229 | - for(int i=0;i<list.size();i++){ | |
| 2445 | + for(int i=0;i<listDtuy.size();i++){ | |
| 2230 | 2446 | DutyEmployee t=listDtuy.get(i); |
| 2231 | 2447 | Long ts=t.getTs(); |
| 2232 | 2448 | if(ts>fcsj1&&ts<fcsj2){ | ... | ... |
src/main/resources/datatools/ktrs/carsConfigDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>carsConfigDataInput</name> | |
| 5 | - <description>车辆配置信息导入</description> | |
| 6 | - <extended_description>配车信息</extended_description> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>erroroutputdir</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>ktr step配置的错误输出目录</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value/> | |
| 20 | - <description>待处理导入的excel文件</description> | |
| 21 | - </parameter> | |
| 22 | - </parameters> | |
| 23 | - <log> | |
| 24 | -<trans-log-table><connection/> | |
| 25 | -<schema/> | |
| 26 | -<table/> | |
| 27 | -<size_limit_lines/> | |
| 28 | -<interval/> | |
| 29 | -<timeout_days/> | |
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | -<perf-log-table><connection/> | |
| 32 | -<schema/> | |
| 33 | -<table/> | |
| 34 | -<interval/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | -<channel-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | -<step-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | -<metrics-log-table><connection/> | |
| 48 | -<schema/> | |
| 49 | -<table/> | |
| 50 | -<timeout_days/> | |
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | - </log> | |
| 53 | - <maxdate> | |
| 54 | - <connection/> | |
| 55 | - <table/> | |
| 56 | - <field/> | |
| 57 | - <offset>0.0</offset> | |
| 58 | - <maxdiff>0.0</maxdiff> | |
| 59 | - </maxdate> | |
| 60 | - <size_rowset>10000</size_rowset> | |
| 61 | - <sleep_time_empty>50</sleep_time_empty> | |
| 62 | - <sleep_time_full>50</sleep_time_full> | |
| 63 | - <unique_connections>N</unique_connections> | |
| 64 | - <feedback_shown>Y</feedback_shown> | |
| 65 | - <feedback_size>50000</feedback_size> | |
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | - <shared_objects_file/> | |
| 68 | - <capture_step_performance>N</capture_step_performance> | |
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | - <dependencies> | |
| 72 | - </dependencies> | |
| 73 | - <partitionschemas> | |
| 74 | - </partitionschemas> | |
| 75 | - <slaveservers> | |
| 76 | - </slaveservers> | |
| 77 | - <clusterschemas> | |
| 78 | - </clusterschemas> | |
| 79 | - <created_user>-</created_user> | |
| 80 | - <created_date>2016/06/29 13:15:32.118</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2016/06/29 13:15:32.118</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 | - <notepad> | |
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题
</note> | |
| 89 | - <xloc>40</xloc> | |
| 90 | - <yloc>238</yloc> | |
| 91 | - <width>333</width> | |
| 92 | - <heigth>106</heigth> | |
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | - <fontsize>12</fontsize> | |
| 95 | - <fontbold>N</fontbold> | |
| 96 | - <fontitalic>N</fontitalic> | |
| 97 | - <fontcolorred>0</fontcolorred> | |
| 98 | - <fontcolorgreen>0</fontcolorgreen> | |
| 99 | - <fontcolorblue>0</fontcolorblue> | |
| 100 | - <backgroundcolorred>255</backgroundcolorred> | |
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | - <bordercolorred>100</bordercolorred> | |
| 104 | - <bordercolorgreen>100</bordercolorgreen> | |
| 105 | - <bordercolorblue>100</bordercolorblue> | |
| 106 | - <drawshadow>Y</drawshadow> | |
| 107 | - </notepad> | |
| 108 | - </notepads> | |
| 109 | - <connection> | |
| 110 | - <name>bus_control_variable</name> | |
| 111 | - <server>${v_db_ip}</server> | |
| 112 | - <type>MYSQL</type> | |
| 113 | - <access>Native</access> | |
| 114 | - <database>${v_db_dname}</database> | |
| 115 | - <port>3306</port> | |
| 116 | - <username>${v_db_uname}</username> | |
| 117 | - <password>${v_db_pwd}</password> | |
| 118 | - <servername/> | |
| 119 | - <data_tablespace/> | |
| 120 | - <index_tablespace/> | |
| 121 | - <attributes> | |
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 123 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 125 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 128 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 129 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 132 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 133 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 135 | - </attributes> | |
| 136 | - </connection> | |
| 137 | - <connection> | |
| 138 | - <name>bus_control_公司_201</name> | |
| 139 | - <server>localhost</server> | |
| 140 | - <type>MYSQL</type> | |
| 141 | - <access>Native</access> | |
| 142 | - <database>control</database> | |
| 143 | - <port>3306</port> | |
| 144 | - <username>root</username> | |
| 145 | - <password>Encrypted </password> | |
| 146 | - <servername/> | |
| 147 | - <data_tablespace/> | |
| 148 | - <index_tablespace/> | |
| 149 | - <attributes> | |
| 150 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 152 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 155 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 156 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 159 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 160 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 162 | - </attributes> | |
| 163 | - </connection> | |
| 164 | - <connection> | |
| 165 | - <name>bus_control_本机</name> | |
| 166 | - <server>localhost</server> | |
| 167 | - <type>MYSQL</type> | |
| 168 | - <access>Native</access> | |
| 169 | - <database>control</database> | |
| 170 | - <port>3306</port> | |
| 171 | - <username>root</username> | |
| 172 | - <password>Encrypted </password> | |
| 173 | - <servername/> | |
| 174 | - <data_tablespace/> | |
| 175 | - <index_tablespace/> | |
| 176 | - <attributes> | |
| 177 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 179 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 181 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 182 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 183 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 186 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 187 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 188 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 189 | - </attributes> | |
| 190 | - </connection> | |
| 191 | - <connection> | |
| 192 | - <name>xlab_mysql_youle</name> | |
| 193 | - <server>101.231.124.8</server> | |
| 194 | - <type>MYSQL</type> | |
| 195 | - <access>Native</access> | |
| 196 | - <database>xlab_youle</database> | |
| 197 | - <port>45687</port> | |
| 198 | - <username>xlab-youle</username> | |
| 199 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 200 | - <servername/> | |
| 201 | - <data_tablespace/> | |
| 202 | - <index_tablespace/> | |
| 203 | - <attributes> | |
| 204 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 206 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 208 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 210 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 213 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 216 | - </attributes> | |
| 217 | - </connection> | |
| 218 | - <connection> | |
| 219 | - <name>xlab_mysql_youle(本机)</name> | |
| 220 | - <server>localhost</server> | |
| 221 | - <type>MYSQL</type> | |
| 222 | - <access>Native</access> | |
| 223 | - <database>xlab_youle</database> | |
| 224 | - <port>3306</port> | |
| 225 | - <username>root</username> | |
| 226 | - <password>Encrypted </password> | |
| 227 | - <servername/> | |
| 228 | - <data_tablespace/> | |
| 229 | - <index_tablespace/> | |
| 230 | - <attributes> | |
| 231 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 232 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 235 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 237 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 240 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 243 | - </attributes> | |
| 244 | - </connection> | |
| 245 | - <connection> | |
| 246 | - <name>xlab_youle</name> | |
| 247 | - <server/> | |
| 248 | - <type>MYSQL</type> | |
| 249 | - <access>JNDI</access> | |
| 250 | - <database>xlab_youle</database> | |
| 251 | - <port>1521</port> | |
| 252 | - <username/> | |
| 253 | - <password>Encrypted </password> | |
| 254 | - <servername/> | |
| 255 | - <data_tablespace/> | |
| 256 | - <index_tablespace/> | |
| 257 | - <attributes> | |
| 258 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 260 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 261 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 262 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 265 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 266 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 267 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 268 | - </attributes> | |
| 269 | - </connection> | |
| 270 | - <order> | |
| 271 | - <hop> <from>插入/更新bsth_c_s_ccinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 272 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 273 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 274 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>过滤线路id为空记录</from><to>车辆id查询</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>车辆id查询</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>插入/更新bsth_c_s_ccinfo</to><enabled>Y</enabled> </hop> | |
| 281 | - </order> | |
| 282 | - <step> | |
| 283 | - <name>原始系统导出的Excel输入</name> | |
| 284 | - <type>ExcelInput</type> | |
| 285 | - <description/> | |
| 286 | - <distribute>Y</distribute> | |
| 287 | - <custom_distribution/> | |
| 288 | - <copies>1</copies> | |
| 289 | - <partitioning> | |
| 290 | - <method>none</method> | |
| 291 | - <schema_name/> | |
| 292 | - </partitioning> | |
| 293 | - <header>Y</header> | |
| 294 | - <noempty>Y</noempty> | |
| 295 | - <stoponempty>N</stoponempty> | |
| 296 | - <filefield/> | |
| 297 | - <sheetfield/> | |
| 298 | - <sheetrownumfield/> | |
| 299 | - <rownumfield/> | |
| 300 | - <sheetfield/> | |
| 301 | - <filefield/> | |
| 302 | - <limit>0</limit> | |
| 303 | - <encoding/> | |
| 304 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 305 | - <accept_filenames>Y</accept_filenames> | |
| 306 | - <accept_field>filepath_</accept_field> | |
| 307 | - <accept_stepname>获取变量</accept_stepname> | |
| 308 | - <file> | |
| 309 | - <name/> | |
| 310 | - <filemask/> | |
| 311 | - <exclude_filemask/> | |
| 312 | - <file_required>N</file_required> | |
| 313 | - <include_subfolders>N</include_subfolders> | |
| 314 | - </file> | |
| 315 | - <fields> | |
| 316 | - <field> | |
| 317 | - <name>线路</name> | |
| 318 | - <type>String</type> | |
| 319 | - <length>-1</length> | |
| 320 | - <precision>-1</precision> | |
| 321 | - <trim_type>none</trim_type> | |
| 322 | - <repeat>N</repeat> | |
| 323 | - <format/> | |
| 324 | - <currency/> | |
| 325 | - <decimal/> | |
| 326 | - <group/> | |
| 327 | - </field> | |
| 328 | - <field> | |
| 329 | - <name>内部编码</name> | |
| 330 | - <type>String</type> | |
| 331 | - <length>-1</length> | |
| 332 | - <precision>-1</precision> | |
| 333 | - <trim_type>none</trim_type> | |
| 334 | - <repeat>N</repeat> | |
| 335 | - <format>#</format> | |
| 336 | - <currency/> | |
| 337 | - <decimal/> | |
| 338 | - <group/> | |
| 339 | - </field> | |
| 340 | - <field> | |
| 341 | - <name>启用日期</name> | |
| 342 | - <type>String</type> | |
| 343 | - <length>-1</length> | |
| 344 | - <precision>-1</precision> | |
| 345 | - <trim_type>none</trim_type> | |
| 346 | - <repeat>N</repeat> | |
| 347 | - <format/> | |
| 348 | - <currency/> | |
| 349 | - <decimal/> | |
| 350 | - <group/> | |
| 351 | - </field> | |
| 352 | - <field> | |
| 353 | - <name>终结日期</name> | |
| 354 | - <type>String</type> | |
| 355 | - <length>-1</length> | |
| 356 | - <precision>-1</precision> | |
| 357 | - <trim_type>none</trim_type> | |
| 358 | - <repeat>N</repeat> | |
| 359 | - <format/> | |
| 360 | - <currency/> | |
| 361 | - <decimal/> | |
| 362 | - <group/> | |
| 363 | - </field> | |
| 364 | - <field> | |
| 365 | - <name>停车点</name> | |
| 366 | - <type>String</type> | |
| 367 | - <length>-1</length> | |
| 368 | - <precision>-1</precision> | |
| 369 | - <trim_type>none</trim_type> | |
| 370 | - <repeat>N</repeat> | |
| 371 | - <format/> | |
| 372 | - <currency/> | |
| 373 | - <decimal/> | |
| 374 | - <group/> | |
| 375 | - </field> | |
| 376 | - </fields> | |
| 377 | - <sheets> | |
| 378 | - <sheet> | |
| 379 | - <name>工作表1</name> | |
| 380 | - <startrow>0</startrow> | |
| 381 | - <startcol>0</startcol> | |
| 382 | - </sheet> | |
| 383 | - </sheets> | |
| 384 | - <strict_types>N</strict_types> | |
| 385 | - <error_ignored>N</error_ignored> | |
| 386 | - <error_line_skipped>N</error_line_skipped> | |
| 387 | - <bad_line_files_destination_directory/> | |
| 388 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 389 | - <error_line_files_destination_directory/> | |
| 390 | - <error_line_files_extension>error</error_line_files_extension> | |
| 391 | - <line_number_files_destination_directory/> | |
| 392 | - <line_number_files_extension>line</line_number_files_extension> | |
| 393 | - <shortFileFieldName/> | |
| 394 | - <pathFieldName/> | |
| 395 | - <hiddenFieldName/> | |
| 396 | - <lastModificationTimeFieldName/> | |
| 397 | - <uriNameFieldName/> | |
| 398 | - <rootUriNameFieldName/> | |
| 399 | - <extensionFieldName/> | |
| 400 | - <sizeFieldName/> | |
| 401 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 402 | - <cluster_schema/> | |
| 403 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 404 | - <xloc>155</xloc> | |
| 405 | - <yloc>56</yloc> | |
| 406 | - <draw>Y</draw> | |
| 407 | - </GUI> | |
| 408 | - </step> | |
| 409 | - | |
| 410 | - <step> | |
| 411 | - <name>启用被数据flag</name> | |
| 412 | - <type>Constant</type> | |
| 413 | - <description/> | |
| 414 | - <distribute>Y</distribute> | |
| 415 | - <custom_distribution/> | |
| 416 | - <copies>1</copies> | |
| 417 | - <partitioning> | |
| 418 | - <method>none</method> | |
| 419 | - <schema_name/> | |
| 420 | - </partitioning> | |
| 421 | - <fields> | |
| 422 | - <field> | |
| 423 | - <name>isCancel</name> | |
| 424 | - <type>Integer</type> | |
| 425 | - <format/> | |
| 426 | - <currency/> | |
| 427 | - <decimal/> | |
| 428 | - <group/> | |
| 429 | - <nullif>0</nullif> | |
| 430 | - <length>-1</length> | |
| 431 | - <precision>-1</precision> | |
| 432 | - <set_empty_string>N</set_empty_string> | |
| 433 | - </field> | |
| 434 | - </fields> | |
| 435 | - <cluster_schema/> | |
| 436 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 437 | - <xloc>315</xloc> | |
| 438 | - <yloc>57</yloc> | |
| 439 | - <draw>Y</draw> | |
| 440 | - </GUI> | |
| 441 | - </step> | |
| 442 | - | |
| 443 | - <step> | |
| 444 | - <name>插入/更新bsth_c_s_ccinfo</name> | |
| 445 | - <type>InsertUpdate</type> | |
| 446 | - <description/> | |
| 447 | - <distribute>Y</distribute> | |
| 448 | - <custom_distribution/> | |
| 449 | - <copies>1</copies> | |
| 450 | - <partitioning> | |
| 451 | - <method>none</method> | |
| 452 | - <schema_name/> | |
| 453 | - </partitioning> | |
| 454 | - <connection>bus_control_variable</connection> | |
| 455 | - <commit>100</commit> | |
| 456 | - <update_bypassed>N</update_bypassed> | |
| 457 | - <lookup> | |
| 458 | - <schema/> | |
| 459 | - <table>bsth_c_s_ccinfo</table> | |
| 460 | - <key> | |
| 461 | - <name>xlid</name> | |
| 462 | - <field>xl</field> | |
| 463 | - <condition>=</condition> | |
| 464 | - <name2/> | |
| 465 | - </key> | |
| 466 | - <key> | |
| 467 | - <name>clid</name> | |
| 468 | - <field>cl</field> | |
| 469 | - <condition>=</condition> | |
| 470 | - <name2/> | |
| 471 | - </key> | |
| 472 | - <value> | |
| 473 | - <name>xl</name> | |
| 474 | - <rename>xlId</rename> | |
| 475 | - <update>Y</update> | |
| 476 | - </value> | |
| 477 | - <value> | |
| 478 | - <name>cl</name> | |
| 479 | - <rename>clId</rename> | |
| 480 | - <update>Y</update> | |
| 481 | - </value> | |
| 482 | - <value> | |
| 483 | - <name>is_switch</name> | |
| 484 | - <rename>isswitch</rename> | |
| 485 | - <update>Y</update> | |
| 486 | - </value> | |
| 487 | - <value> | |
| 488 | - <name>tcd</name> | |
| 489 | - <rename>停车点</rename> | |
| 490 | - <update>Y</update> | |
| 491 | - </value> | |
| 492 | - <value> | |
| 493 | - <name>zzrq</name> | |
| 494 | - <rename>终结日期</rename> | |
| 495 | - <update>Y</update> | |
| 496 | - </value> | |
| 497 | - <value> | |
| 498 | - <name>qyrq</name> | |
| 499 | - <rename>启用日期</rename> | |
| 500 | - <update>Y</update> | |
| 501 | - </value> | |
| 502 | - <value> | |
| 503 | - <name>is_cancel</name> | |
| 504 | - <rename>isCancel</rename> | |
| 505 | - <update>Y</update> | |
| 506 | - </value> | |
| 507 | - </lookup> | |
| 508 | - <cluster_schema/> | |
| 509 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 510 | - <xloc>804</xloc> | |
| 511 | - <yloc>236</yloc> | |
| 512 | - <draw>Y</draw> | |
| 513 | - </GUI> | |
| 514 | - </step> | |
| 515 | - | |
| 516 | - <step> | |
| 517 | - <name>日期转换</name> | |
| 518 | - <type>SelectValues</type> | |
| 519 | - <description/> | |
| 520 | - <distribute>Y</distribute> | |
| 521 | - <custom_distribution/> | |
| 522 | - <copies>1</copies> | |
| 523 | - <partitioning> | |
| 524 | - <method>none</method> | |
| 525 | - <schema_name/> | |
| 526 | - </partitioning> | |
| 527 | - <fields> <select_unspecified>N</select_unspecified> | |
| 528 | - <meta> <name>启用日期</name> | |
| 529 | - <rename>启用日期</rename> | |
| 530 | - <type>Timestamp</type> | |
| 531 | - <length>-2</length> | |
| 532 | - <precision>-2</precision> | |
| 533 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 534 | - <date_format_lenient>false</date_format_lenient> | |
| 535 | - <date_format_locale/> | |
| 536 | - <date_format_timezone/> | |
| 537 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 538 | - <encoding/> | |
| 539 | - <decimal_symbol/> | |
| 540 | - <grouping_symbol/> | |
| 541 | - <currency_symbol/> | |
| 542 | - <storage_type/> | |
| 543 | - </meta> <meta> <name>终结日期</name> | |
| 544 | - <rename>终结日期</rename> | |
| 545 | - <type>Timestamp</type> | |
| 546 | - <length>-2</length> | |
| 547 | - <precision>-2</precision> | |
| 548 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 549 | - <date_format_lenient>false</date_format_lenient> | |
| 550 | - <date_format_locale/> | |
| 551 | - <date_format_timezone/> | |
| 552 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 553 | - <encoding/> | |
| 554 | - <decimal_symbol/> | |
| 555 | - <grouping_symbol/> | |
| 556 | - <currency_symbol/> | |
| 557 | - <storage_type/> | |
| 558 | - </meta> </fields> <cluster_schema/> | |
| 559 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 560 | - <xloc>703</xloc> | |
| 561 | - <yloc>136</yloc> | |
| 562 | - <draw>Y</draw> | |
| 563 | - </GUI> | |
| 564 | - </step> | |
| 565 | - | |
| 566 | - <step> | |
| 567 | - <name>是否切换</name> | |
| 568 | - <type>Constant</type> | |
| 569 | - <description/> | |
| 570 | - <distribute>Y</distribute> | |
| 571 | - <custom_distribution/> | |
| 572 | - <copies>1</copies> | |
| 573 | - <partitioning> | |
| 574 | - <method>none</method> | |
| 575 | - <schema_name/> | |
| 576 | - </partitioning> | |
| 577 | - <fields> | |
| 578 | - <field> | |
| 579 | - <name>isswitch</name> | |
| 580 | - <type>Integer</type> | |
| 581 | - <format/> | |
| 582 | - <currency/> | |
| 583 | - <decimal/> | |
| 584 | - <group/> | |
| 585 | - <nullif>0</nullif> | |
| 586 | - <length>-1</length> | |
| 587 | - <precision>-1</precision> | |
| 588 | - <set_empty_string>N</set_empty_string> | |
| 589 | - </field> | |
| 590 | - </fields> | |
| 591 | - <cluster_schema/> | |
| 592 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 593 | - <xloc>803</xloc> | |
| 594 | - <yloc>137</yloc> | |
| 595 | - <draw>Y</draw> | |
| 596 | - </GUI> | |
| 597 | - </step> | |
| 598 | - | |
| 599 | - <step> | |
| 600 | - <name>线路id查询</name> | |
| 601 | - <type>DBLookup</type> | |
| 602 | - <description/> | |
| 603 | - <distribute>Y</distribute> | |
| 604 | - <custom_distribution/> | |
| 605 | - <copies>1</copies> | |
| 606 | - <partitioning> | |
| 607 | - <method>none</method> | |
| 608 | - <schema_name/> | |
| 609 | - </partitioning> | |
| 610 | - <connection>bus_control_variable</connection> | |
| 611 | - <cache>Y</cache> | |
| 612 | - <cache_load_all>Y</cache_load_all> | |
| 613 | - <cache_size>0</cache_size> | |
| 614 | - <lookup> | |
| 615 | - <schema/> | |
| 616 | - <table>bsth_c_line</table> | |
| 617 | - <orderby/> | |
| 618 | - <fail_on_multiple>N</fail_on_multiple> | |
| 619 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 620 | - <key> | |
| 621 | - <name>线路</name> | |
| 622 | - <field>name</field> | |
| 623 | - <condition>=</condition> | |
| 624 | - <name2/> | |
| 625 | - </key> | |
| 626 | - <key> | |
| 627 | - <name>isCancel</name> | |
| 628 | - <field>destroy</field> | |
| 629 | - <condition>=</condition> | |
| 630 | - <name2/> | |
| 631 | - </key> | |
| 632 | - <value> | |
| 633 | - <name>id</name> | |
| 634 | - <rename>xlid</rename> | |
| 635 | - <default/> | |
| 636 | - <type>Integer</type> | |
| 637 | - </value> | |
| 638 | - </lookup> | |
| 639 | - <cluster_schema/> | |
| 640 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 641 | - <xloc>438</xloc> | |
| 642 | - <yloc>57</yloc> | |
| 643 | - <draw>Y</draw> | |
| 644 | - </GUI> | |
| 645 | - </step> | |
| 646 | - | |
| 647 | - <step> | |
| 648 | - <name>获取变量</name> | |
| 649 | - <type>GetVariable</type> | |
| 650 | - <description/> | |
| 651 | - <distribute>Y</distribute> | |
| 652 | - <custom_distribution/> | |
| 653 | - <copies>1</copies> | |
| 654 | - <partitioning> | |
| 655 | - <method>none</method> | |
| 656 | - <schema_name/> | |
| 657 | - </partitioning> | |
| 658 | - <fields> | |
| 659 | - <field> | |
| 660 | - <name>filepath_</name> | |
| 661 | - <variable>${filepath}</variable> | |
| 662 | - <type>String</type> | |
| 663 | - <format/> | |
| 664 | - <currency/> | |
| 665 | - <decimal/> | |
| 666 | - <group/> | |
| 667 | - <length>-1</length> | |
| 668 | - <precision>-1</precision> | |
| 669 | - <trim_type>none</trim_type> | |
| 670 | - </field> | |
| 671 | - <field> | |
| 672 | - <name>erroroutputdir_</name> | |
| 673 | - <variable>${erroroutputdir}</variable> | |
| 674 | - <type>String</type> | |
| 675 | - <format/> | |
| 676 | - <currency/> | |
| 677 | - <decimal/> | |
| 678 | - <group/> | |
| 679 | - <length>-1</length> | |
| 680 | - <precision>-1</precision> | |
| 681 | - <trim_type>none</trim_type> | |
| 682 | - </field> | |
| 683 | - </fields> | |
| 684 | - <cluster_schema/> | |
| 685 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 686 | - <xloc>156</xloc> | |
| 687 | - <yloc>150</yloc> | |
| 688 | - <draw>Y</draw> | |
| 689 | - </GUI> | |
| 690 | - </step> | |
| 691 | - | |
| 692 | - <step> | |
| 693 | - <name>车辆id查询</name> | |
| 694 | - <type>DBLookup</type> | |
| 695 | - <description/> | |
| 696 | - <distribute>Y</distribute> | |
| 697 | - <custom_distribution/> | |
| 698 | - <copies>1</copies> | |
| 699 | - <partitioning> | |
| 700 | - <method>none</method> | |
| 701 | - <schema_name/> | |
| 702 | - </partitioning> | |
| 703 | - <connection>bus_control_variable</connection> | |
| 704 | - <cache>Y</cache> | |
| 705 | - <cache_load_all>Y</cache_load_all> | |
| 706 | - <cache_size>0</cache_size> | |
| 707 | - <lookup> | |
| 708 | - <schema/> | |
| 709 | - <table>bsth_c_cars</table> | |
| 710 | - <orderby/> | |
| 711 | - <fail_on_multiple>N</fail_on_multiple> | |
| 712 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 713 | - <key> | |
| 714 | - <name>内部编码</name> | |
| 715 | - <field>inside_code</field> | |
| 716 | - <condition>=</condition> | |
| 717 | - <name2/> | |
| 718 | - </key> | |
| 719 | - <value> | |
| 720 | - <name>id</name> | |
| 721 | - <rename>clid</rename> | |
| 722 | - <default/> | |
| 723 | - <type>Integer</type> | |
| 724 | - </value> | |
| 725 | - </lookup> | |
| 726 | - <cluster_schema/> | |
| 727 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 728 | - <xloc>440</xloc> | |
| 729 | - <yloc>138</yloc> | |
| 730 | - <draw>Y</draw> | |
| 731 | - </GUI> | |
| 732 | - </step> | |
| 733 | - | |
| 734 | - <step> | |
| 735 | - <name>过滤线路id为空记录</name> | |
| 736 | - <type>FilterRows</type> | |
| 737 | - <description/> | |
| 738 | - <distribute>Y</distribute> | |
| 739 | - <custom_distribution/> | |
| 740 | - <copies>1</copies> | |
| 741 | - <partitioning> | |
| 742 | - <method>none</method> | |
| 743 | - <schema_name/> | |
| 744 | - </partitioning> | |
| 745 | -<send_true_to>车辆id查询</send_true_to> | |
| 746 | -<send_false_to/> | |
| 747 | - <compare> | |
| 748 | -<condition> | |
| 749 | - <negated>N</negated> | |
| 750 | - <leftvalue>xlid</leftvalue> | |
| 751 | - <function>IS NOT NULL</function> | |
| 752 | - <rightvalue/> | |
| 753 | - </condition> | |
| 754 | - </compare> | |
| 755 | - <cluster_schema/> | |
| 756 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 757 | - <xloc>563</xloc> | |
| 758 | - <yloc>57</yloc> | |
| 759 | - <draw>Y</draw> | |
| 760 | - </GUI> | |
| 761 | - </step> | |
| 762 | - | |
| 763 | - <step> | |
| 764 | - <name>过滤车辆id为空记录</name> | |
| 765 | - <type>FilterRows</type> | |
| 766 | - <description/> | |
| 767 | - <distribute>Y</distribute> | |
| 768 | - <custom_distribution/> | |
| 769 | - <copies>1</copies> | |
| 770 | - <partitioning> | |
| 771 | - <method>none</method> | |
| 772 | - <schema_name/> | |
| 773 | - </partitioning> | |
| 774 | -<send_true_to>日期转换</send_true_to> | |
| 775 | -<send_false_to/> | |
| 776 | - <compare> | |
| 777 | -<condition> | |
| 778 | - <negated>N</negated> | |
| 779 | - <leftvalue>clid</leftvalue> | |
| 780 | - <function>IS NOT NULL</function> | |
| 781 | - <rightvalue/> | |
| 782 | - </condition> | |
| 783 | - </compare> | |
| 784 | - <cluster_schema/> | |
| 785 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 786 | - <xloc>566</xloc> | |
| 787 | - <yloc>137</yloc> | |
| 788 | - <draw>Y</draw> | |
| 789 | - </GUI> | |
| 790 | - </step> | |
| 791 | - | |
| 792 | - <step> | |
| 793 | - <name>错误输出</name> | |
| 794 | - <type>ExcelOutput</type> | |
| 795 | - <description/> | |
| 796 | - <distribute>Y</distribute> | |
| 797 | - <custom_distribution/> | |
| 798 | - <copies>1</copies> | |
| 799 | - <partitioning> | |
| 800 | - <method>none</method> | |
| 801 | - <schema_name/> | |
| 802 | - </partitioning> | |
| 803 | - <header>Y</header> | |
| 804 | - <footer>N</footer> | |
| 805 | - <encoding>UTF-8</encoding> | |
| 806 | - <append>N</append> | |
| 807 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 808 | - <file> | |
| 809 | - <name>${erroroutputdir}/当前配车_错误</name> | |
| 810 | - <extention>xls</extention> | |
| 811 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 812 | - <create_parent_folder>N</create_parent_folder> | |
| 813 | - <split>N</split> | |
| 814 | - <add_date>N</add_date> | |
| 815 | - <add_time>N</add_time> | |
| 816 | - <SpecifyFormat>N</SpecifyFormat> | |
| 817 | - <date_time_format/> | |
| 818 | - <sheetname>Sheet1</sheetname> | |
| 819 | - <autosizecolums>N</autosizecolums> | |
| 820 | - <nullisblank>N</nullisblank> | |
| 821 | - <protect_sheet>N</protect_sheet> | |
| 822 | - <password>Encrypted </password> | |
| 823 | - <splitevery>0</splitevery> | |
| 824 | - <usetempfiles>N</usetempfiles> | |
| 825 | - <tempdirectory/> | |
| 826 | - </file> | |
| 827 | - <template> | |
| 828 | - <enabled>N</enabled> | |
| 829 | - <append>N</append> | |
| 830 | - <filename>template.xls</filename> | |
| 831 | - </template> | |
| 832 | - <fields> | |
| 833 | - <field> | |
| 834 | - <name>线路</name> | |
| 835 | - <type>String</type> | |
| 836 | - <format/> | |
| 837 | - </field> | |
| 838 | - <field> | |
| 839 | - <name>内部编码</name> | |
| 840 | - <type>String</type> | |
| 841 | - <format/> | |
| 842 | - </field> | |
| 843 | - <field> | |
| 844 | - <name>启用日期</name> | |
| 845 | - <type>Timestamp</type> | |
| 846 | - <format/> | |
| 847 | - </field> | |
| 848 | - <field> | |
| 849 | - <name>终结日期</name> | |
| 850 | - <type>Timestamp</type> | |
| 851 | - <format/> | |
| 852 | - </field> | |
| 853 | - <field> | |
| 854 | - <name>停车点</name> | |
| 855 | - <type>String</type> | |
| 856 | - <format/> | |
| 857 | - </field> | |
| 858 | - <field> | |
| 859 | - <name>isCancel</name> | |
| 860 | - <type>Integer</type> | |
| 861 | - <format/> | |
| 862 | - </field> | |
| 863 | - <field> | |
| 864 | - <name>xlid</name> | |
| 865 | - <type>Integer</type> | |
| 866 | - <format/> | |
| 867 | - </field> | |
| 868 | - <field> | |
| 869 | - <name>clid</name> | |
| 870 | - <type>Integer</type> | |
| 871 | - <format/> | |
| 872 | - </field> | |
| 873 | - <field> | |
| 874 | - <name>isswitch</name> | |
| 875 | - <type>Integer</type> | |
| 876 | - <format/> | |
| 877 | - </field> | |
| 878 | - <field> | |
| 879 | - <name>error_count</name> | |
| 880 | - <type>Integer</type> | |
| 881 | - <format/> | |
| 882 | - </field> | |
| 883 | - <field> | |
| 884 | - <name>error_desc</name> | |
| 885 | - <type>String</type> | |
| 886 | - <format/> | |
| 887 | - </field> | |
| 888 | - <field> | |
| 889 | - <name>error_column1</name> | |
| 890 | - <type>String</type> | |
| 891 | - <format/> | |
| 892 | - </field> | |
| 893 | - <field> | |
| 894 | - <name>error_column2</name> | |
| 895 | - <type>String</type> | |
| 896 | - <format/> | |
| 897 | - </field> | |
| 898 | - </fields> | |
| 899 | - <custom> | |
| 900 | - <header_font_name>arial</header_font_name> | |
| 901 | - <header_font_size>10</header_font_size> | |
| 902 | - <header_font_bold>N</header_font_bold> | |
| 903 | - <header_font_italic>N</header_font_italic> | |
| 904 | - <header_font_underline>no</header_font_underline> | |
| 905 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 906 | - <header_font_color>black</header_font_color> | |
| 907 | - <header_background_color>none</header_background_color> | |
| 908 | - <header_row_height>255</header_row_height> | |
| 909 | - <header_alignment>left</header_alignment> | |
| 910 | - <header_image/> | |
| 911 | - <row_font_name>arial</row_font_name> | |
| 912 | - <row_font_size>10</row_font_size> | |
| 913 | - <row_font_color>black</row_font_color> | |
| 914 | - <row_background_color>none</row_background_color> | |
| 915 | - </custom> | |
| 916 | - <cluster_schema/> | |
| 917 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 918 | - <xloc>807</xloc> | |
| 919 | - <yloc>353</yloc> | |
| 920 | - <draw>Y</draw> | |
| 921 | - </GUI> | |
| 922 | - </step> | |
| 923 | - | |
| 924 | - <step_error_handling> | |
| 925 | - <error> | |
| 926 | - <source_step>插入/更新bsth_c_s_ccinfo</source_step> | |
| 927 | - <target_step>错误输出</target_step> | |
| 928 | - <is_enabled>Y</is_enabled> | |
| 929 | - <nr_valuename>error_count</nr_valuename> | |
| 930 | - <descriptions_valuename>error_desc</descriptions_valuename> | |
| 931 | - <fields_valuename>error_column1</fields_valuename> | |
| 932 | - <codes_valuename>error_column2</codes_valuename> | |
| 933 | - <max_errors/> | |
| 934 | - <max_pct_errors/> | |
| 935 | - <min_pct_rows/> | |
| 936 | - </error> | |
| 937 | - </step_error_handling> | |
| 938 | - <slave-step-copy-partition-distribution> | |
| 939 | -</slave-step-copy-partition-distribution> | |
| 940 | - <slave_transformation>N</slave_transformation> | |
| 941 | - | |
| 942 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>carsConfigDataInput</name> | |
| 5 | + <description>车辆配置信息导入</description> | |
| 6 | + <extended_description>配车信息</extended_description> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>erroroutputdir</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>ktr step配置的错误输出目录</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>待处理导入的excel文件</description> | |
| 21 | + </parameter> | |
| 22 | + </parameters> | |
| 23 | + <log> | |
| 24 | +<trans-log-table><connection/> | |
| 25 | +<schema/> | |
| 26 | +<table/> | |
| 27 | +<size_limit_lines/> | |
| 28 | +<interval/> | |
| 29 | +<timeout_days/> | |
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | +<perf-log-table><connection/> | |
| 32 | +<schema/> | |
| 33 | +<table/> | |
| 34 | +<interval/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | +<channel-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | +<step-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | +<metrics-log-table><connection/> | |
| 48 | +<schema/> | |
| 49 | +<table/> | |
| 50 | +<timeout_days/> | |
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | + </log> | |
| 53 | + <maxdate> | |
| 54 | + <connection/> | |
| 55 | + <table/> | |
| 56 | + <field/> | |
| 57 | + <offset>0.0</offset> | |
| 58 | + <maxdiff>0.0</maxdiff> | |
| 59 | + </maxdate> | |
| 60 | + <size_rowset>10000</size_rowset> | |
| 61 | + <sleep_time_empty>50</sleep_time_empty> | |
| 62 | + <sleep_time_full>50</sleep_time_full> | |
| 63 | + <unique_connections>N</unique_connections> | |
| 64 | + <feedback_shown>Y</feedback_shown> | |
| 65 | + <feedback_size>50000</feedback_size> | |
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | + <shared_objects_file/> | |
| 68 | + <capture_step_performance>N</capture_step_performance> | |
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | + <dependencies> | |
| 72 | + </dependencies> | |
| 73 | + <partitionschemas> | |
| 74 | + </partitionschemas> | |
| 75 | + <slaveservers> | |
| 76 | + </slaveservers> | |
| 77 | + <clusterschemas> | |
| 78 | + </clusterschemas> | |
| 79 | + <created_user>-</created_user> | |
| 80 | + <created_date>2016/06/29 13:15:32.118</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/06/29 13:15:32.118</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 | + <notepad> | |
| 88 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题
</note> | |
| 89 | + <xloc>40</xloc> | |
| 90 | + <yloc>238</yloc> | |
| 91 | + <width>333</width> | |
| 92 | + <heigth>106</heigth> | |
| 93 | + <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | + <fontsize>12</fontsize> | |
| 95 | + <fontbold>N</fontbold> | |
| 96 | + <fontitalic>N</fontitalic> | |
| 97 | + <fontcolorred>0</fontcolorred> | |
| 98 | + <fontcolorgreen>0</fontcolorgreen> | |
| 99 | + <fontcolorblue>0</fontcolorblue> | |
| 100 | + <backgroundcolorred>255</backgroundcolorred> | |
| 101 | + <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | + <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | + <bordercolorred>100</bordercolorred> | |
| 104 | + <bordercolorgreen>100</bordercolorgreen> | |
| 105 | + <bordercolorblue>100</bordercolorblue> | |
| 106 | + <drawshadow>Y</drawshadow> | |
| 107 | + </notepad> | |
| 108 | + </notepads> | |
| 109 | + <connection> | |
| 110 | + <name>bus_control_variable</name> | |
| 111 | + <server>${v_db_ip}</server> | |
| 112 | + <type>MYSQL</type> | |
| 113 | + <access>Native</access> | |
| 114 | + <database>${v_db_dname}</database> | |
| 115 | + <port>3306</port> | |
| 116 | + <username>${v_db_uname}</username> | |
| 117 | + <password>${v_db_pwd}</password> | |
| 118 | + <servername/> | |
| 119 | + <data_tablespace/> | |
| 120 | + <index_tablespace/> | |
| 121 | + <attributes> | |
| 122 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 123 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 124 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 125 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 126 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 127 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 128 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 129 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 132 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 133 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 135 | + </attributes> | |
| 136 | + </connection> | |
| 137 | + <connection> | |
| 138 | + <name>bus_control_公司_201</name> | |
| 139 | + <server>localhost</server> | |
| 140 | + <type>MYSQL</type> | |
| 141 | + <access>Native</access> | |
| 142 | + <database>control</database> | |
| 143 | + <port>3306</port> | |
| 144 | + <username>root</username> | |
| 145 | + <password>Encrypted </password> | |
| 146 | + <servername/> | |
| 147 | + <data_tablespace/> | |
| 148 | + <index_tablespace/> | |
| 149 | + <attributes> | |
| 150 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 151 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 152 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 153 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 154 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 155 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 156 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 159 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 160 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 162 | + </attributes> | |
| 163 | + </connection> | |
| 164 | + <connection> | |
| 165 | + <name>bus_control_本机</name> | |
| 166 | + <server>localhost</server> | |
| 167 | + <type>MYSQL</type> | |
| 168 | + <access>Native</access> | |
| 169 | + <database>control</database> | |
| 170 | + <port>3306</port> | |
| 171 | + <username>root</username> | |
| 172 | + <password>Encrypted </password> | |
| 173 | + <servername/> | |
| 174 | + <data_tablespace/> | |
| 175 | + <index_tablespace/> | |
| 176 | + <attributes> | |
| 177 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 178 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 179 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 180 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 181 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 182 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 183 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 186 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 187 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 188 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 189 | + </attributes> | |
| 190 | + </connection> | |
| 191 | + <connection> | |
| 192 | + <name>xlab_mysql_youle</name> | |
| 193 | + <server>101.231.124.8</server> | |
| 194 | + <type>MYSQL</type> | |
| 195 | + <access>Native</access> | |
| 196 | + <database>xlab_youle</database> | |
| 197 | + <port>45687</port> | |
| 198 | + <username>xlab-youle</username> | |
| 199 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 200 | + <servername/> | |
| 201 | + <data_tablespace/> | |
| 202 | + <index_tablespace/> | |
| 203 | + <attributes> | |
| 204 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 205 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 206 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 207 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 208 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 209 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 210 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 213 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 216 | + </attributes> | |
| 217 | + </connection> | |
| 218 | + <connection> | |
| 219 | + <name>xlab_mysql_youle(本机)</name> | |
| 220 | + <server>localhost</server> | |
| 221 | + <type>MYSQL</type> | |
| 222 | + <access>Native</access> | |
| 223 | + <database>xlab_youle</database> | |
| 224 | + <port>3306</port> | |
| 225 | + <username>root</username> | |
| 226 | + <password>Encrypted </password> | |
| 227 | + <servername/> | |
| 228 | + <data_tablespace/> | |
| 229 | + <index_tablespace/> | |
| 230 | + <attributes> | |
| 231 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 232 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 233 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 234 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 235 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 236 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 237 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 240 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 243 | + </attributes> | |
| 244 | + </connection> | |
| 245 | + <connection> | |
| 246 | + <name>xlab_youle</name> | |
| 247 | + <server/> | |
| 248 | + <type>MYSQL</type> | |
| 249 | + <access>JNDI</access> | |
| 250 | + <database>xlab_youle</database> | |
| 251 | + <port>1521</port> | |
| 252 | + <username/> | |
| 253 | + <password>Encrypted </password> | |
| 254 | + <servername/> | |
| 255 | + <data_tablespace/> | |
| 256 | + <index_tablespace/> | |
| 257 | + <attributes> | |
| 258 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 259 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 260 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 261 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 262 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 265 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 266 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 267 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 268 | + </attributes> | |
| 269 | + </connection> | |
| 270 | + <order> | |
| 271 | + <hop> <from>插入/更新bsth_c_s_ccinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 272 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 273 | + <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 274 | + <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>过滤线路id为空记录</from><to>车辆id查询</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>车辆id查询</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>插入/更新bsth_c_s_ccinfo</to><enabled>Y</enabled> </hop> | |
| 281 | + </order> | |
| 282 | + <step> | |
| 283 | + <name>原始系统导出的Excel输入</name> | |
| 284 | + <type>ExcelInput</type> | |
| 285 | + <description/> | |
| 286 | + <distribute>Y</distribute> | |
| 287 | + <custom_distribution/> | |
| 288 | + <copies>1</copies> | |
| 289 | + <partitioning> | |
| 290 | + <method>none</method> | |
| 291 | + <schema_name/> | |
| 292 | + </partitioning> | |
| 293 | + <header>Y</header> | |
| 294 | + <noempty>Y</noempty> | |
| 295 | + <stoponempty>N</stoponempty> | |
| 296 | + <filefield/> | |
| 297 | + <sheetfield/> | |
| 298 | + <sheetrownumfield/> | |
| 299 | + <rownumfield/> | |
| 300 | + <sheetfield/> | |
| 301 | + <filefield/> | |
| 302 | + <limit>0</limit> | |
| 303 | + <encoding/> | |
| 304 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 305 | + <accept_filenames>Y</accept_filenames> | |
| 306 | + <accept_field>filepath_</accept_field> | |
| 307 | + <accept_stepname>获取变量</accept_stepname> | |
| 308 | + <file> | |
| 309 | + <name/> | |
| 310 | + <filemask/> | |
| 311 | + <exclude_filemask/> | |
| 312 | + <file_required>N</file_required> | |
| 313 | + <include_subfolders>N</include_subfolders> | |
| 314 | + </file> | |
| 315 | + <fields> | |
| 316 | + <field> | |
| 317 | + <name>线路</name> | |
| 318 | + <type>String</type> | |
| 319 | + <length>-1</length> | |
| 320 | + <precision>-1</precision> | |
| 321 | + <trim_type>none</trim_type> | |
| 322 | + <repeat>N</repeat> | |
| 323 | + <format/> | |
| 324 | + <currency/> | |
| 325 | + <decimal/> | |
| 326 | + <group/> | |
| 327 | + </field> | |
| 328 | + <field> | |
| 329 | + <name>内部编码</name> | |
| 330 | + <type>String</type> | |
| 331 | + <length>-1</length> | |
| 332 | + <precision>-1</precision> | |
| 333 | + <trim_type>none</trim_type> | |
| 334 | + <repeat>N</repeat> | |
| 335 | + <format>#</format> | |
| 336 | + <currency/> | |
| 337 | + <decimal/> | |
| 338 | + <group/> | |
| 339 | + </field> | |
| 340 | + <field> | |
| 341 | + <name>启用日期</name> | |
| 342 | + <type>String</type> | |
| 343 | + <length>-1</length> | |
| 344 | + <precision>-1</precision> | |
| 345 | + <trim_type>none</trim_type> | |
| 346 | + <repeat>N</repeat> | |
| 347 | + <format/> | |
| 348 | + <currency/> | |
| 349 | + <decimal/> | |
| 350 | + <group/> | |
| 351 | + </field> | |
| 352 | + <field> | |
| 353 | + <name>终结日期</name> | |
| 354 | + <type>String</type> | |
| 355 | + <length>-1</length> | |
| 356 | + <precision>-1</precision> | |
| 357 | + <trim_type>none</trim_type> | |
| 358 | + <repeat>N</repeat> | |
| 359 | + <format/> | |
| 360 | + <currency/> | |
| 361 | + <decimal/> | |
| 362 | + <group/> | |
| 363 | + </field> | |
| 364 | + <field> | |
| 365 | + <name>停车点</name> | |
| 366 | + <type>String</type> | |
| 367 | + <length>-1</length> | |
| 368 | + <precision>-1</precision> | |
| 369 | + <trim_type>none</trim_type> | |
| 370 | + <repeat>N</repeat> | |
| 371 | + <format/> | |
| 372 | + <currency/> | |
| 373 | + <decimal/> | |
| 374 | + <group/> | |
| 375 | + </field> | |
| 376 | + </fields> | |
| 377 | + <sheets> | |
| 378 | + <sheet> | |
| 379 | + <name>工作表1</name> | |
| 380 | + <startrow>0</startrow> | |
| 381 | + <startcol>0</startcol> | |
| 382 | + </sheet> | |
| 383 | + </sheets> | |
| 384 | + <strict_types>N</strict_types> | |
| 385 | + <error_ignored>N</error_ignored> | |
| 386 | + <error_line_skipped>N</error_line_skipped> | |
| 387 | + <bad_line_files_destination_directory/> | |
| 388 | + <bad_line_files_extension>warning</bad_line_files_extension> | |
| 389 | + <error_line_files_destination_directory/> | |
| 390 | + <error_line_files_extension>error</error_line_files_extension> | |
| 391 | + <line_number_files_destination_directory/> | |
| 392 | + <line_number_files_extension>line</line_number_files_extension> | |
| 393 | + <shortFileFieldName/> | |
| 394 | + <pathFieldName/> | |
| 395 | + <hiddenFieldName/> | |
| 396 | + <lastModificationTimeFieldName/> | |
| 397 | + <uriNameFieldName/> | |
| 398 | + <rootUriNameFieldName/> | |
| 399 | + <extensionFieldName/> | |
| 400 | + <sizeFieldName/> | |
| 401 | + <spreadsheet_type>JXL</spreadsheet_type> | |
| 402 | + <cluster_schema/> | |
| 403 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 404 | + <xloc>155</xloc> | |
| 405 | + <yloc>56</yloc> | |
| 406 | + <draw>Y</draw> | |
| 407 | + </GUI> | |
| 408 | + </step> | |
| 409 | + | |
| 410 | + <step> | |
| 411 | + <name>启用被数据flag</name> | |
| 412 | + <type>Constant</type> | |
| 413 | + <description/> | |
| 414 | + <distribute>Y</distribute> | |
| 415 | + <custom_distribution/> | |
| 416 | + <copies>1</copies> | |
| 417 | + <partitioning> | |
| 418 | + <method>none</method> | |
| 419 | + <schema_name/> | |
| 420 | + </partitioning> | |
| 421 | + <fields> | |
| 422 | + <field> | |
| 423 | + <name>isCancel</name> | |
| 424 | + <type>Integer</type> | |
| 425 | + <format/> | |
| 426 | + <currency/> | |
| 427 | + <decimal/> | |
| 428 | + <group/> | |
| 429 | + <nullif>0</nullif> | |
| 430 | + <length>-1</length> | |
| 431 | + <precision>-1</precision> | |
| 432 | + <set_empty_string>N</set_empty_string> | |
| 433 | + </field> | |
| 434 | + </fields> | |
| 435 | + <cluster_schema/> | |
| 436 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 437 | + <xloc>315</xloc> | |
| 438 | + <yloc>57</yloc> | |
| 439 | + <draw>Y</draw> | |
| 440 | + </GUI> | |
| 441 | + </step> | |
| 442 | + | |
| 443 | + <step> | |
| 444 | + <name>插入/更新bsth_c_s_ccinfo</name> | |
| 445 | + <type>InsertUpdate</type> | |
| 446 | + <description/> | |
| 447 | + <distribute>Y</distribute> | |
| 448 | + <custom_distribution/> | |
| 449 | + <copies>1</copies> | |
| 450 | + <partitioning> | |
| 451 | + <method>none</method> | |
| 452 | + <schema_name/> | |
| 453 | + </partitioning> | |
| 454 | + <connection>bus_control_variable</connection> | |
| 455 | + <commit>100</commit> | |
| 456 | + <update_bypassed>N</update_bypassed> | |
| 457 | + <lookup> | |
| 458 | + <schema/> | |
| 459 | + <table>bsth_c_s_ccinfo</table> | |
| 460 | + <key> | |
| 461 | + <name>xlid</name> | |
| 462 | + <field>xl</field> | |
| 463 | + <condition>=</condition> | |
| 464 | + <name2/> | |
| 465 | + </key> | |
| 466 | + <key> | |
| 467 | + <name>clid</name> | |
| 468 | + <field>cl</field> | |
| 469 | + <condition>=</condition> | |
| 470 | + <name2/> | |
| 471 | + </key> | |
| 472 | + <value> | |
| 473 | + <name>xl</name> | |
| 474 | + <rename>xlId</rename> | |
| 475 | + <update>Y</update> | |
| 476 | + </value> | |
| 477 | + <value> | |
| 478 | + <name>cl</name> | |
| 479 | + <rename>clId</rename> | |
| 480 | + <update>Y</update> | |
| 481 | + </value> | |
| 482 | + <value> | |
| 483 | + <name>is_switch</name> | |
| 484 | + <rename>isswitch</rename> | |
| 485 | + <update>Y</update> | |
| 486 | + </value> | |
| 487 | + <value> | |
| 488 | + <name>tcd</name> | |
| 489 | + <rename>停车点</rename> | |
| 490 | + <update>Y</update> | |
| 491 | + </value> | |
| 492 | + <value> | |
| 493 | + <name>zzrq</name> | |
| 494 | + <rename>终结日期</rename> | |
| 495 | + <update>Y</update> | |
| 496 | + </value> | |
| 497 | + <value> | |
| 498 | + <name>qyrq</name> | |
| 499 | + <rename>启用日期</rename> | |
| 500 | + <update>Y</update> | |
| 501 | + </value> | |
| 502 | + <value> | |
| 503 | + <name>is_cancel</name> | |
| 504 | + <rename>isCancel</rename> | |
| 505 | + <update>Y</update> | |
| 506 | + </value> | |
| 507 | + </lookup> | |
| 508 | + <cluster_schema/> | |
| 509 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 510 | + <xloc>804</xloc> | |
| 511 | + <yloc>236</yloc> | |
| 512 | + <draw>Y</draw> | |
| 513 | + </GUI> | |
| 514 | + </step> | |
| 515 | + | |
| 516 | + <step> | |
| 517 | + <name>日期转换</name> | |
| 518 | + <type>SelectValues</type> | |
| 519 | + <description/> | |
| 520 | + <distribute>Y</distribute> | |
| 521 | + <custom_distribution/> | |
| 522 | + <copies>1</copies> | |
| 523 | + <partitioning> | |
| 524 | + <method>none</method> | |
| 525 | + <schema_name/> | |
| 526 | + </partitioning> | |
| 527 | + <fields> <select_unspecified>N</select_unspecified> | |
| 528 | + <meta> <name>启用日期</name> | |
| 529 | + <rename>启用日期</rename> | |
| 530 | + <type>Timestamp</type> | |
| 531 | + <length>-2</length> | |
| 532 | + <precision>-2</precision> | |
| 533 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 534 | + <date_format_lenient>false</date_format_lenient> | |
| 535 | + <date_format_locale/> | |
| 536 | + <date_format_timezone/> | |
| 537 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 538 | + <encoding/> | |
| 539 | + <decimal_symbol/> | |
| 540 | + <grouping_symbol/> | |
| 541 | + <currency_symbol/> | |
| 542 | + <storage_type/> | |
| 543 | + </meta> <meta> <name>终结日期</name> | |
| 544 | + <rename>终结日期</rename> | |
| 545 | + <type>Timestamp</type> | |
| 546 | + <length>-2</length> | |
| 547 | + <precision>-2</precision> | |
| 548 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 549 | + <date_format_lenient>false</date_format_lenient> | |
| 550 | + <date_format_locale/> | |
| 551 | + <date_format_timezone/> | |
| 552 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 553 | + <encoding/> | |
| 554 | + <decimal_symbol/> | |
| 555 | + <grouping_symbol/> | |
| 556 | + <currency_symbol/> | |
| 557 | + <storage_type/> | |
| 558 | + </meta> </fields> <cluster_schema/> | |
| 559 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 560 | + <xloc>703</xloc> | |
| 561 | + <yloc>136</yloc> | |
| 562 | + <draw>Y</draw> | |
| 563 | + </GUI> | |
| 564 | + </step> | |
| 565 | + | |
| 566 | + <step> | |
| 567 | + <name>是否切换</name> | |
| 568 | + <type>Constant</type> | |
| 569 | + <description/> | |
| 570 | + <distribute>Y</distribute> | |
| 571 | + <custom_distribution/> | |
| 572 | + <copies>1</copies> | |
| 573 | + <partitioning> | |
| 574 | + <method>none</method> | |
| 575 | + <schema_name/> | |
| 576 | + </partitioning> | |
| 577 | + <fields> | |
| 578 | + <field> | |
| 579 | + <name>isswitch</name> | |
| 580 | + <type>Integer</type> | |
| 581 | + <format/> | |
| 582 | + <currency/> | |
| 583 | + <decimal/> | |
| 584 | + <group/> | |
| 585 | + <nullif>0</nullif> | |
| 586 | + <length>-1</length> | |
| 587 | + <precision>-1</precision> | |
| 588 | + <set_empty_string>N</set_empty_string> | |
| 589 | + </field> | |
| 590 | + </fields> | |
| 591 | + <cluster_schema/> | |
| 592 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 593 | + <xloc>803</xloc> | |
| 594 | + <yloc>137</yloc> | |
| 595 | + <draw>Y</draw> | |
| 596 | + </GUI> | |
| 597 | + </step> | |
| 598 | + | |
| 599 | + <step> | |
| 600 | + <name>线路id查询</name> | |
| 601 | + <type>DBLookup</type> | |
| 602 | + <description/> | |
| 603 | + <distribute>Y</distribute> | |
| 604 | + <custom_distribution/> | |
| 605 | + <copies>1</copies> | |
| 606 | + <partitioning> | |
| 607 | + <method>none</method> | |
| 608 | + <schema_name/> | |
| 609 | + </partitioning> | |
| 610 | + <connection>bus_control_variable</connection> | |
| 611 | + <cache>Y</cache> | |
| 612 | + <cache_load_all>Y</cache_load_all> | |
| 613 | + <cache_size>0</cache_size> | |
| 614 | + <lookup> | |
| 615 | + <schema/> | |
| 616 | + <table>bsth_c_line</table> | |
| 617 | + <orderby/> | |
| 618 | + <fail_on_multiple>N</fail_on_multiple> | |
| 619 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 620 | + <key> | |
| 621 | + <name>线路</name> | |
| 622 | + <field>name</field> | |
| 623 | + <condition>=</condition> | |
| 624 | + <name2/> | |
| 625 | + </key> | |
| 626 | + <key> | |
| 627 | + <name>isCancel</name> | |
| 628 | + <field>destroy</field> | |
| 629 | + <condition>=</condition> | |
| 630 | + <name2/> | |
| 631 | + </key> | |
| 632 | + <value> | |
| 633 | + <name>id</name> | |
| 634 | + <rename>xlid</rename> | |
| 635 | + <default/> | |
| 636 | + <type>Integer</type> | |
| 637 | + </value> | |
| 638 | + </lookup> | |
| 639 | + <cluster_schema/> | |
| 640 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 641 | + <xloc>438</xloc> | |
| 642 | + <yloc>57</yloc> | |
| 643 | + <draw>Y</draw> | |
| 644 | + </GUI> | |
| 645 | + </step> | |
| 646 | + | |
| 647 | + <step> | |
| 648 | + <name>获取变量</name> | |
| 649 | + <type>GetVariable</type> | |
| 650 | + <description/> | |
| 651 | + <distribute>Y</distribute> | |
| 652 | + <custom_distribution/> | |
| 653 | + <copies>1</copies> | |
| 654 | + <partitioning> | |
| 655 | + <method>none</method> | |
| 656 | + <schema_name/> | |
| 657 | + </partitioning> | |
| 658 | + <fields> | |
| 659 | + <field> | |
| 660 | + <name>filepath_</name> | |
| 661 | + <variable>${filepath}</variable> | |
| 662 | + <type>String</type> | |
| 663 | + <format/> | |
| 664 | + <currency/> | |
| 665 | + <decimal/> | |
| 666 | + <group/> | |
| 667 | + <length>-1</length> | |
| 668 | + <precision>-1</precision> | |
| 669 | + <trim_type>none</trim_type> | |
| 670 | + </field> | |
| 671 | + <field> | |
| 672 | + <name>erroroutputdir_</name> | |
| 673 | + <variable>${erroroutputdir}</variable> | |
| 674 | + <type>String</type> | |
| 675 | + <format/> | |
| 676 | + <currency/> | |
| 677 | + <decimal/> | |
| 678 | + <group/> | |
| 679 | + <length>-1</length> | |
| 680 | + <precision>-1</precision> | |
| 681 | + <trim_type>none</trim_type> | |
| 682 | + </field> | |
| 683 | + </fields> | |
| 684 | + <cluster_schema/> | |
| 685 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 686 | + <xloc>156</xloc> | |
| 687 | + <yloc>150</yloc> | |
| 688 | + <draw>Y</draw> | |
| 689 | + </GUI> | |
| 690 | + </step> | |
| 691 | + | |
| 692 | + <step> | |
| 693 | + <name>车辆id查询</name> | |
| 694 | + <type>DBLookup</type> | |
| 695 | + <description/> | |
| 696 | + <distribute>Y</distribute> | |
| 697 | + <custom_distribution/> | |
| 698 | + <copies>1</copies> | |
| 699 | + <partitioning> | |
| 700 | + <method>none</method> | |
| 701 | + <schema_name/> | |
| 702 | + </partitioning> | |
| 703 | + <connection>bus_control_variable</connection> | |
| 704 | + <cache>Y</cache> | |
| 705 | + <cache_load_all>Y</cache_load_all> | |
| 706 | + <cache_size>0</cache_size> | |
| 707 | + <lookup> | |
| 708 | + <schema/> | |
| 709 | + <table>bsth_c_cars</table> | |
| 710 | + <orderby/> | |
| 711 | + <fail_on_multiple>N</fail_on_multiple> | |
| 712 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 713 | + <key> | |
| 714 | + <name>内部编码</name> | |
| 715 | + <field>inside_code</field> | |
| 716 | + <condition>=</condition> | |
| 717 | + <name2/> | |
| 718 | + </key> | |
| 719 | + <value> | |
| 720 | + <name>id</name> | |
| 721 | + <rename>clid</rename> | |
| 722 | + <default/> | |
| 723 | + <type>Integer</type> | |
| 724 | + </value> | |
| 725 | + </lookup> | |
| 726 | + <cluster_schema/> | |
| 727 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 728 | + <xloc>440</xloc> | |
| 729 | + <yloc>138</yloc> | |
| 730 | + <draw>Y</draw> | |
| 731 | + </GUI> | |
| 732 | + </step> | |
| 733 | + | |
| 734 | + <step> | |
| 735 | + <name>过滤线路id为空记录</name> | |
| 736 | + <type>FilterRows</type> | |
| 737 | + <description/> | |
| 738 | + <distribute>Y</distribute> | |
| 739 | + <custom_distribution/> | |
| 740 | + <copies>1</copies> | |
| 741 | + <partitioning> | |
| 742 | + <method>none</method> | |
| 743 | + <schema_name/> | |
| 744 | + </partitioning> | |
| 745 | +<send_true_to>车辆id查询</send_true_to> | |
| 746 | +<send_false_to/> | |
| 747 | + <compare> | |
| 748 | +<condition> | |
| 749 | + <negated>N</negated> | |
| 750 | + <leftvalue>xlid</leftvalue> | |
| 751 | + <function>IS NOT NULL</function> | |
| 752 | + <rightvalue/> | |
| 753 | + </condition> | |
| 754 | + </compare> | |
| 755 | + <cluster_schema/> | |
| 756 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 757 | + <xloc>563</xloc> | |
| 758 | + <yloc>57</yloc> | |
| 759 | + <draw>Y</draw> | |
| 760 | + </GUI> | |
| 761 | + </step> | |
| 762 | + | |
| 763 | + <step> | |
| 764 | + <name>过滤车辆id为空记录</name> | |
| 765 | + <type>FilterRows</type> | |
| 766 | + <description/> | |
| 767 | + <distribute>Y</distribute> | |
| 768 | + <custom_distribution/> | |
| 769 | + <copies>1</copies> | |
| 770 | + <partitioning> | |
| 771 | + <method>none</method> | |
| 772 | + <schema_name/> | |
| 773 | + </partitioning> | |
| 774 | +<send_true_to>日期转换</send_true_to> | |
| 775 | +<send_false_to/> | |
| 776 | + <compare> | |
| 777 | +<condition> | |
| 778 | + <negated>N</negated> | |
| 779 | + <leftvalue>clid</leftvalue> | |
| 780 | + <function>IS NOT NULL</function> | |
| 781 | + <rightvalue/> | |
| 782 | + </condition> | |
| 783 | + </compare> | |
| 784 | + <cluster_schema/> | |
| 785 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 786 | + <xloc>566</xloc> | |
| 787 | + <yloc>137</yloc> | |
| 788 | + <draw>Y</draw> | |
| 789 | + </GUI> | |
| 790 | + </step> | |
| 791 | + | |
| 792 | + <step> | |
| 793 | + <name>错误输出</name> | |
| 794 | + <type>ExcelOutput</type> | |
| 795 | + <description/> | |
| 796 | + <distribute>Y</distribute> | |
| 797 | + <custom_distribution/> | |
| 798 | + <copies>1</copies> | |
| 799 | + <partitioning> | |
| 800 | + <method>none</method> | |
| 801 | + <schema_name/> | |
| 802 | + </partitioning> | |
| 803 | + <header>Y</header> | |
| 804 | + <footer>N</footer> | |
| 805 | + <encoding>UTF-8</encoding> | |
| 806 | + <append>N</append> | |
| 807 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 808 | + <file> | |
| 809 | + <name>${erroroutputdir}/当前配车_错误</name> | |
| 810 | + <extention>xls</extention> | |
| 811 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 812 | + <create_parent_folder>N</create_parent_folder> | |
| 813 | + <split>N</split> | |
| 814 | + <add_date>N</add_date> | |
| 815 | + <add_time>N</add_time> | |
| 816 | + <SpecifyFormat>N</SpecifyFormat> | |
| 817 | + <date_time_format/> | |
| 818 | + <sheetname>Sheet1</sheetname> | |
| 819 | + <autosizecolums>N</autosizecolums> | |
| 820 | + <nullisblank>N</nullisblank> | |
| 821 | + <protect_sheet>N</protect_sheet> | |
| 822 | + <password>Encrypted </password> | |
| 823 | + <splitevery>0</splitevery> | |
| 824 | + <usetempfiles>N</usetempfiles> | |
| 825 | + <tempdirectory/> | |
| 826 | + </file> | |
| 827 | + <template> | |
| 828 | + <enabled>N</enabled> | |
| 829 | + <append>N</append> | |
| 830 | + <filename>template.xls</filename> | |
| 831 | + </template> | |
| 832 | + <fields> | |
| 833 | + <field> | |
| 834 | + <name>线路</name> | |
| 835 | + <type>String</type> | |
| 836 | + <format/> | |
| 837 | + </field> | |
| 838 | + <field> | |
| 839 | + <name>内部编码</name> | |
| 840 | + <type>String</type> | |
| 841 | + <format/> | |
| 842 | + </field> | |
| 843 | + <field> | |
| 844 | + <name>启用日期</name> | |
| 845 | + <type>Timestamp</type> | |
| 846 | + <format/> | |
| 847 | + </field> | |
| 848 | + <field> | |
| 849 | + <name>终结日期</name> | |
| 850 | + <type>Timestamp</type> | |
| 851 | + <format/> | |
| 852 | + </field> | |
| 853 | + <field> | |
| 854 | + <name>停车点</name> | |
| 855 | + <type>String</type> | |
| 856 | + <format/> | |
| 857 | + </field> | |
| 858 | + <field> | |
| 859 | + <name>isCancel</name> | |
| 860 | + <type>Integer</type> | |
| 861 | + <format/> | |
| 862 | + </field> | |
| 863 | + <field> | |
| 864 | + <name>xlid</name> | |
| 865 | + <type>Integer</type> | |
| 866 | + <format/> | |
| 867 | + </field> | |
| 868 | + <field> | |
| 869 | + <name>clid</name> | |
| 870 | + <type>Integer</type> | |
| 871 | + <format/> | |
| 872 | + </field> | |
| 873 | + <field> | |
| 874 | + <name>isswitch</name> | |
| 875 | + <type>Integer</type> | |
| 876 | + <format/> | |
| 877 | + </field> | |
| 878 | + <field> | |
| 879 | + <name>error_count</name> | |
| 880 | + <type>Integer</type> | |
| 881 | + <format/> | |
| 882 | + </field> | |
| 883 | + <field> | |
| 884 | + <name>error_desc</name> | |
| 885 | + <type>String</type> | |
| 886 | + <format/> | |
| 887 | + </field> | |
| 888 | + <field> | |
| 889 | + <name>error_column1</name> | |
| 890 | + <type>String</type> | |
| 891 | + <format/> | |
| 892 | + </field> | |
| 893 | + <field> | |
| 894 | + <name>error_column2</name> | |
| 895 | + <type>String</type> | |
| 896 | + <format/> | |
| 897 | + </field> | |
| 898 | + </fields> | |
| 899 | + <custom> | |
| 900 | + <header_font_name>arial</header_font_name> | |
| 901 | + <header_font_size>10</header_font_size> | |
| 902 | + <header_font_bold>N</header_font_bold> | |
| 903 | + <header_font_italic>N</header_font_italic> | |
| 904 | + <header_font_underline>no</header_font_underline> | |
| 905 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 906 | + <header_font_color>black</header_font_color> | |
| 907 | + <header_background_color>none</header_background_color> | |
| 908 | + <header_row_height>255</header_row_height> | |
| 909 | + <header_alignment>left</header_alignment> | |
| 910 | + <header_image/> | |
| 911 | + <row_font_name>arial</row_font_name> | |
| 912 | + <row_font_size>10</row_font_size> | |
| 913 | + <row_font_color>black</row_font_color> | |
| 914 | + <row_background_color>none</row_background_color> | |
| 915 | + </custom> | |
| 916 | + <cluster_schema/> | |
| 917 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 918 | + <xloc>807</xloc> | |
| 919 | + <yloc>353</yloc> | |
| 920 | + <draw>Y</draw> | |
| 921 | + </GUI> | |
| 922 | + </step> | |
| 923 | + | |
| 924 | + <step_error_handling> | |
| 925 | + <error> | |
| 926 | + <source_step>插入/更新bsth_c_s_ccinfo</source_step> | |
| 927 | + <target_step>错误输出</target_step> | |
| 928 | + <is_enabled>Y</is_enabled> | |
| 929 | + <nr_valuename>error_count</nr_valuename> | |
| 930 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 931 | + <fields_valuename>error_column1</fields_valuename> | |
| 932 | + <codes_valuename>error_column2</codes_valuename> | |
| 933 | + <max_errors/> | |
| 934 | + <max_pct_errors/> | |
| 935 | + <min_pct_rows/> | |
| 936 | + </error> | |
| 937 | + </step_error_handling> | |
| 938 | + <slave-step-copy-partition-distribution> | |
| 939 | +</slave-step-copy-partition-distribution> | |
| 940 | + <slave_transformation>N</slave_transformation> | |
| 941 | + | |
| 942 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/carsConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>carsConfigDataOutput</name> | |
| 5 | - <description/> | |
| 6 | - <extended_description/> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>filepath</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>excel文件路径</description> | |
| 16 | - </parameter> | |
| 17 | - </parameters> | |
| 18 | - <log> | |
| 19 | -<trans-log-table><connection/> | |
| 20 | -<schema/> | |
| 21 | -<table/> | |
| 22 | -<size_limit_lines/> | |
| 23 | -<interval/> | |
| 24 | -<timeout_days/> | |
| 25 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | -<perf-log-table><connection/> | |
| 27 | -<schema/> | |
| 28 | -<table/> | |
| 29 | -<interval/> | |
| 30 | -<timeout_days/> | |
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | -<channel-log-table><connection/> | |
| 33 | -<schema/> | |
| 34 | -<table/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | -<step-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | -<metrics-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | - </log> | |
| 48 | - <maxdate> | |
| 49 | - <connection/> | |
| 50 | - <table/> | |
| 51 | - <field/> | |
| 52 | - <offset>0.0</offset> | |
| 53 | - <maxdiff>0.0</maxdiff> | |
| 54 | - </maxdate> | |
| 55 | - <size_rowset>10000</size_rowset> | |
| 56 | - <sleep_time_empty>50</sleep_time_empty> | |
| 57 | - <sleep_time_full>50</sleep_time_full> | |
| 58 | - <unique_connections>N</unique_connections> | |
| 59 | - <feedback_shown>Y</feedback_shown> | |
| 60 | - <feedback_size>50000</feedback_size> | |
| 61 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | - <shared_objects_file/> | |
| 63 | - <capture_step_performance>N</capture_step_performance> | |
| 64 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | - <dependencies> | |
| 67 | - </dependencies> | |
| 68 | - <partitionschemas> | |
| 69 | - </partitionschemas> | |
| 70 | - <slaveservers> | |
| 71 | - </slaveservers> | |
| 72 | - <clusterschemas> | |
| 73 | - </clusterschemas> | |
| 74 | - <created_user>-</created_user> | |
| 75 | - <created_date>2017/01/11 14:14:13.722</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2017/01/11 14:14:13.722</modified_date> | |
| 78 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - <notepad> | |
| 83 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | - <xloc>81</xloc> | |
| 85 | - <yloc>172</yloc> | |
| 86 | - <width>333</width> | |
| 87 | - <heigth>90</heigth> | |
| 88 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | - <fontsize>12</fontsize> | |
| 90 | - <fontbold>N</fontbold> | |
| 91 | - <fontitalic>N</fontitalic> | |
| 92 | - <fontcolorred>0</fontcolorred> | |
| 93 | - <fontcolorgreen>0</fontcolorgreen> | |
| 94 | - <fontcolorblue>0</fontcolorblue> | |
| 95 | - <backgroundcolorred>255</backgroundcolorred> | |
| 96 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | - <bordercolorred>100</bordercolorred> | |
| 99 | - <bordercolorgreen>100</bordercolorgreen> | |
| 100 | - <bordercolorblue>100</bordercolorblue> | |
| 101 | - <drawshadow>Y</drawshadow> | |
| 102 | - </notepad> | |
| 103 | - </notepads> | |
| 104 | - <connection> | |
| 105 | - <name>bus_control_variable</name> | |
| 106 | - <server>${v_db_ip}</server> | |
| 107 | - <type>MYSQL</type> | |
| 108 | - <access>Native</access> | |
| 109 | - <database>${v_db_dname}</database> | |
| 110 | - <port>3306</port> | |
| 111 | - <username>${v_db_uname}</username> | |
| 112 | - <password>${v_db_pwd}</password> | |
| 113 | - <servername/> | |
| 114 | - <data_tablespace/> | |
| 115 | - <index_tablespace/> | |
| 116 | - <attributes> | |
| 117 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | - </attributes> | |
| 131 | - </connection> | |
| 132 | - <connection> | |
| 133 | - <name>bus_control_公司_201</name> | |
| 134 | - <server>localhost</server> | |
| 135 | - <type>MYSQL</type> | |
| 136 | - <access>Native</access> | |
| 137 | - <database>control</database> | |
| 138 | - <port>3306</port> | |
| 139 | - <username>root</username> | |
| 140 | - <password>Encrypted </password> | |
| 141 | - <servername/> | |
| 142 | - <data_tablespace/> | |
| 143 | - <index_tablespace/> | |
| 144 | - <attributes> | |
| 145 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | - </attributes> | |
| 158 | - </connection> | |
| 159 | - <connection> | |
| 160 | - <name>bus_control_本机</name> | |
| 161 | - <server>localhost</server> | |
| 162 | - <type>MYSQL</type> | |
| 163 | - <access>Native</access> | |
| 164 | - <database>control</database> | |
| 165 | - <port>3306</port> | |
| 166 | - <username>root</username> | |
| 167 | - <password>Encrypted </password> | |
| 168 | - <servername/> | |
| 169 | - <data_tablespace/> | |
| 170 | - <index_tablespace/> | |
| 171 | - <attributes> | |
| 172 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | - </attributes> | |
| 185 | - </connection> | |
| 186 | - <connection> | |
| 187 | - <name>xlab_mysql_youle</name> | |
| 188 | - <server>101.231.124.8</server> | |
| 189 | - <type>MYSQL</type> | |
| 190 | - <access>Native</access> | |
| 191 | - <database>xlab_youle</database> | |
| 192 | - <port>45687</port> | |
| 193 | - <username>xlab-youle</username> | |
| 194 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | - <servername/> | |
| 196 | - <data_tablespace/> | |
| 197 | - <index_tablespace/> | |
| 198 | - <attributes> | |
| 199 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | - </attributes> | |
| 212 | - </connection> | |
| 213 | - <connection> | |
| 214 | - <name>xlab_mysql_youle(本机)</name> | |
| 215 | - <server>localhost</server> | |
| 216 | - <type>MYSQL</type> | |
| 217 | - <access>Native</access> | |
| 218 | - <database>xlab_youle</database> | |
| 219 | - <port>3306</port> | |
| 220 | - <username>root</username> | |
| 221 | - <password>Encrypted </password> | |
| 222 | - <servername/> | |
| 223 | - <data_tablespace/> | |
| 224 | - <index_tablespace/> | |
| 225 | - <attributes> | |
| 226 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | - </attributes> | |
| 239 | - </connection> | |
| 240 | - <connection> | |
| 241 | - <name>xlab_youle</name> | |
| 242 | - <server/> | |
| 243 | - <type>MYSQL</type> | |
| 244 | - <access>JNDI</access> | |
| 245 | - <database>xlab_youle</database> | |
| 246 | - <port>1521</port> | |
| 247 | - <username/> | |
| 248 | - <password>Encrypted </password> | |
| 249 | - <servername/> | |
| 250 | - <data_tablespace/> | |
| 251 | - <index_tablespace/> | |
| 252 | - <attributes> | |
| 253 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | - </attributes> | |
| 264 | - </connection> | |
| 265 | - <order> | |
| 266 | - <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | - <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | |
| 268 | - <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | |
| 269 | - <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 270 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 271 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | - </order> | |
| 273 | - <step> | |
| 274 | - <name>车辆配置(没有作废)</name> | |
| 275 | - <type>TableInput</type> | |
| 276 | - <description/> | |
| 277 | - <distribute>Y</distribute> | |
| 278 | - <custom_distribution/> | |
| 279 | - <copies>1</copies> | |
| 280 | - <partitioning> | |
| 281 | - <method>none</method> | |
| 282 | - <schema_name/> | |
| 283 | - </partitioning> | |
| 284 | - <connection>bus_control_variable</connection> | |
| 285 | - <sql>select * from bsth_c_s_ccinfo where is_cancel = 0</sql> | |
| 286 | - <limit>0</limit> | |
| 287 | - <lookup/> | |
| 288 | - <execute_each_row>N</execute_each_row> | |
| 289 | - <variables_active>N</variables_active> | |
| 290 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 291 | - <cluster_schema/> | |
| 292 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 293 | - <xloc>106</xloc> | |
| 294 | - <yloc>68</yloc> | |
| 295 | - <draw>Y</draw> | |
| 296 | - </GUI> | |
| 297 | - </step> | |
| 298 | - | |
| 299 | - <step> | |
| 300 | - <name>线路查询</name> | |
| 301 | - <type>DBLookup</type> | |
| 302 | - <description/> | |
| 303 | - <distribute>Y</distribute> | |
| 304 | - <custom_distribution/> | |
| 305 | - <copies>1</copies> | |
| 306 | - <partitioning> | |
| 307 | - <method>none</method> | |
| 308 | - <schema_name/> | |
| 309 | - </partitioning> | |
| 310 | - <connection>bus_control_variable</connection> | |
| 311 | - <cache>Y</cache> | |
| 312 | - <cache_load_all>Y</cache_load_all> | |
| 313 | - <cache_size>0</cache_size> | |
| 314 | - <lookup> | |
| 315 | - <schema/> | |
| 316 | - <table>bsth_c_line</table> | |
| 317 | - <orderby/> | |
| 318 | - <fail_on_multiple>N</fail_on_multiple> | |
| 319 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 320 | - <key> | |
| 321 | - <name>xl</name> | |
| 322 | - <field>id</field> | |
| 323 | - <condition>=</condition> | |
| 324 | - <name2/> | |
| 325 | - </key> | |
| 326 | - <value> | |
| 327 | - <name>name</name> | |
| 328 | - <rename>xlmc</rename> | |
| 329 | - <default/> | |
| 330 | - <type>String</type> | |
| 331 | - </value> | |
| 332 | - </lookup> | |
| 333 | - <cluster_schema/> | |
| 334 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 335 | - <xloc>248</xloc> | |
| 336 | - <yloc>67</yloc> | |
| 337 | - <draw>Y</draw> | |
| 338 | - </GUI> | |
| 339 | - </step> | |
| 340 | - | |
| 341 | - <step> | |
| 342 | - <name>车辆查询</name> | |
| 343 | - <type>DBLookup</type> | |
| 344 | - <description/> | |
| 345 | - <distribute>Y</distribute> | |
| 346 | - <custom_distribution/> | |
| 347 | - <copies>1</copies> | |
| 348 | - <partitioning> | |
| 349 | - <method>none</method> | |
| 350 | - <schema_name/> | |
| 351 | - </partitioning> | |
| 352 | - <connection>bus_control_variable</connection> | |
| 353 | - <cache>N</cache> | |
| 354 | - <cache_load_all>N</cache_load_all> | |
| 355 | - <cache_size>0</cache_size> | |
| 356 | - <lookup> | |
| 357 | - <schema/> | |
| 358 | - <table>bsth_c_cars</table> | |
| 359 | - <orderby/> | |
| 360 | - <fail_on_multiple>N</fail_on_multiple> | |
| 361 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 362 | - <key> | |
| 363 | - <name>cl</name> | |
| 364 | - <field>id</field> | |
| 365 | - <condition>=</condition> | |
| 366 | - <name2/> | |
| 367 | - </key> | |
| 368 | - <value> | |
| 369 | - <name>inside_code</name> | |
| 370 | - <rename>zbh</rename> | |
| 371 | - <default/> | |
| 372 | - <type>String</type> | |
| 373 | - </value> | |
| 374 | - </lookup> | |
| 375 | - <cluster_schema/> | |
| 376 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 377 | - <xloc>361</xloc> | |
| 378 | - <yloc>67</yloc> | |
| 379 | - <draw>Y</draw> | |
| 380 | - </GUI> | |
| 381 | - </step> | |
| 382 | - | |
| 383 | - <step> | |
| 384 | - <name>格式化日期</name> | |
| 385 | - <type>SelectValues</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 | - <fields> <select_unspecified>N</select_unspecified> | |
| 395 | - <meta> <name>qyrq</name> | |
| 396 | - <rename>qyrq</rename> | |
| 397 | - <type>String</type> | |
| 398 | - <length>-2</length> | |
| 399 | - <precision>-2</precision> | |
| 400 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 401 | - <date_format_lenient>false</date_format_lenient> | |
| 402 | - <date_format_locale/> | |
| 403 | - <date_format_timezone/> | |
| 404 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 405 | - <encoding/> | |
| 406 | - <decimal_symbol/> | |
| 407 | - <grouping_symbol/> | |
| 408 | - <currency_symbol/> | |
| 409 | - <storage_type/> | |
| 410 | - </meta> <meta> <name>zzrq</name> | |
| 411 | - <rename>zzrq</rename> | |
| 412 | - <type>String</type> | |
| 413 | - <length>-2</length> | |
| 414 | - <precision>-2</precision> | |
| 415 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 416 | - <date_format_lenient>false</date_format_lenient> | |
| 417 | - <date_format_locale/> | |
| 418 | - <date_format_timezone/> | |
| 419 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 420 | - <encoding/> | |
| 421 | - <decimal_symbol/> | |
| 422 | - <grouping_symbol/> | |
| 423 | - <currency_symbol/> | |
| 424 | - <storage_type/> | |
| 425 | - </meta> </fields> <cluster_schema/> | |
| 426 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 427 | - <xloc>478</xloc> | |
| 428 | - <yloc>66</yloc> | |
| 429 | - <draw>Y</draw> | |
| 430 | - </GUI> | |
| 431 | - </step> | |
| 432 | - | |
| 433 | - <step> | |
| 434 | - <name>排序记录</name> | |
| 435 | - <type>SortRows</type> | |
| 436 | - <description/> | |
| 437 | - <distribute>Y</distribute> | |
| 438 | - <custom_distribution/> | |
| 439 | - <copies>1</copies> | |
| 440 | - <partitioning> | |
| 441 | - <method>none</method> | |
| 442 | - <schema_name/> | |
| 443 | - </partitioning> | |
| 444 | - <directory>%%java.io.tmpdir%%</directory> | |
| 445 | - <prefix>out</prefix> | |
| 446 | - <sort_size>1000000</sort_size> | |
| 447 | - <free_memory/> | |
| 448 | - <compress>N</compress> | |
| 449 | - <compress_variable/> | |
| 450 | - <unique_rows>N</unique_rows> | |
| 451 | - <fields> | |
| 452 | - <field> | |
| 453 | - <name>xlmc</name> | |
| 454 | - <ascending>Y</ascending> | |
| 455 | - <case_sensitive>N</case_sensitive> | |
| 456 | - <presorted>N</presorted> | |
| 457 | - </field> | |
| 458 | - <field> | |
| 459 | - <name>zbh</name> | |
| 460 | - <ascending>Y</ascending> | |
| 461 | - <case_sensitive>N</case_sensitive> | |
| 462 | - <presorted>N</presorted> | |
| 463 | - </field> | |
| 464 | - <field> | |
| 465 | - <name>qyrq</name> | |
| 466 | - <ascending>Y</ascending> | |
| 467 | - <case_sensitive>N</case_sensitive> | |
| 468 | - <presorted>N</presorted> | |
| 469 | - </field> | |
| 470 | - </fields> | |
| 471 | - <cluster_schema/> | |
| 472 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 473 | - <xloc>592</xloc> | |
| 474 | - <yloc>66</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>xlmc</name> | |
| 491 | - <rename>线路</rename> | |
| 492 | - <length>-2</length> | |
| 493 | - <precision>-2</precision> | |
| 494 | - </field> <field> <name>zbh</name> | |
| 495 | - <rename>内部编码</rename> | |
| 496 | - <length>-2</length> | |
| 497 | - <precision>-2</precision> | |
| 498 | - </field> <field> <name>qyrq</name> | |
| 499 | - <rename>启用日期</rename> | |
| 500 | - <length>-2</length> | |
| 501 | - <precision>-2</precision> | |
| 502 | - </field> <field> <name>zzrq</name> | |
| 503 | - <rename>终结日期</rename> | |
| 504 | - <length>-2</length> | |
| 505 | - <precision>-2</precision> | |
| 506 | - </field> <field> <name>tcd</name> | |
| 507 | - <rename>停车点</rename> | |
| 508 | - <length>-2</length> | |
| 509 | - <precision>-2</precision> | |
| 510 | - </field> <select_unspecified>N</select_unspecified> | |
| 511 | - </fields> <cluster_schema/> | |
| 512 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 513 | - <xloc>595</xloc> | |
| 514 | - <yloc>167</yloc> | |
| 515 | - <draw>Y</draw> | |
| 516 | - </GUI> | |
| 517 | - </step> | |
| 518 | - | |
| 519 | - <step> | |
| 520 | - <name>Excel输出</name> | |
| 521 | - <type>ExcelOutput</type> | |
| 522 | - <description/> | |
| 523 | - <distribute>Y</distribute> | |
| 524 | - <custom_distribution/> | |
| 525 | - <copies>1</copies> | |
| 526 | - <partitioning> | |
| 527 | - <method>none</method> | |
| 528 | - <schema_name/> | |
| 529 | - </partitioning> | |
| 530 | - <header>Y</header> | |
| 531 | - <footer>N</footer> | |
| 532 | - <encoding/> | |
| 533 | - <append>N</append> | |
| 534 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 535 | - <file> | |
| 536 | - <name>${filepath}</name> | |
| 537 | - <extention/> | |
| 538 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 539 | - <create_parent_folder>N</create_parent_folder> | |
| 540 | - <split>N</split> | |
| 541 | - <add_date>N</add_date> | |
| 542 | - <add_time>N</add_time> | |
| 543 | - <SpecifyFormat>N</SpecifyFormat> | |
| 544 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 545 | - <sheetname>工作表1</sheetname> | |
| 546 | - <autosizecolums>N</autosizecolums> | |
| 547 | - <nullisblank>N</nullisblank> | |
| 548 | - <protect_sheet>N</protect_sheet> | |
| 549 | - <password>Encrypted </password> | |
| 550 | - <splitevery>0</splitevery> | |
| 551 | - <usetempfiles>N</usetempfiles> | |
| 552 | - <tempdirectory/> | |
| 553 | - </file> | |
| 554 | - <template> | |
| 555 | - <enabled>N</enabled> | |
| 556 | - <append>N</append> | |
| 557 | - <filename>template.xls</filename> | |
| 558 | - </template> | |
| 559 | - <fields> | |
| 560 | - <field> | |
| 561 | - <name>线路</name> | |
| 562 | - <type>String</type> | |
| 563 | - <format/> | |
| 564 | - </field> | |
| 565 | - <field> | |
| 566 | - <name>内部编码</name> | |
| 567 | - <type>String</type> | |
| 568 | - <format/> | |
| 569 | - </field> | |
| 570 | - <field> | |
| 571 | - <name>启用日期</name> | |
| 572 | - <type>String</type> | |
| 573 | - <format/> | |
| 574 | - </field> | |
| 575 | - <field> | |
| 576 | - <name>终结日期</name> | |
| 577 | - <type>String</type> | |
| 578 | - <format/> | |
| 579 | - </field> | |
| 580 | - <field> | |
| 581 | - <name>停车点</name> | |
| 582 | - <type>String</type> | |
| 583 | - <format/> | |
| 584 | - </field> | |
| 585 | - </fields> | |
| 586 | - <custom> | |
| 587 | - <header_font_name>arial</header_font_name> | |
| 588 | - <header_font_size>10</header_font_size> | |
| 589 | - <header_font_bold>N</header_font_bold> | |
| 590 | - <header_font_italic>N</header_font_italic> | |
| 591 | - <header_font_underline>no</header_font_underline> | |
| 592 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 593 | - <header_font_color>black</header_font_color> | |
| 594 | - <header_background_color>none</header_background_color> | |
| 595 | - <header_row_height>255</header_row_height> | |
| 596 | - <header_alignment>left</header_alignment> | |
| 597 | - <header_image/> | |
| 598 | - <row_font_name>arial</row_font_name> | |
| 599 | - <row_font_size>10</row_font_size> | |
| 600 | - <row_font_color>black</row_font_color> | |
| 601 | - <row_background_color>none</row_background_color> | |
| 602 | - </custom> | |
| 603 | - <cluster_schema/> | |
| 604 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 605 | - <xloc>596</xloc> | |
| 606 | - <yloc>265</yloc> | |
| 607 | - <draw>Y</draw> | |
| 608 | - </GUI> | |
| 609 | - </step> | |
| 610 | - | |
| 611 | - <step_error_handling> | |
| 612 | - </step_error_handling> | |
| 613 | - <slave-step-copy-partition-distribution> | |
| 614 | -</slave-step-copy-partition-distribution> | |
| 615 | - <slave_transformation>N</slave_transformation> | |
| 616 | - | |
| 617 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>carsConfigDataOutput</name> | |
| 5 | + <description/> | |
| 6 | + <extended_description/> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>filepath</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>excel文件路径</description> | |
| 16 | + </parameter> | |
| 17 | + </parameters> | |
| 18 | + <log> | |
| 19 | +<trans-log-table><connection/> | |
| 20 | +<schema/> | |
| 21 | +<table/> | |
| 22 | +<size_limit_lines/> | |
| 23 | +<interval/> | |
| 24 | +<timeout_days/> | |
| 25 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | +<perf-log-table><connection/> | |
| 27 | +<schema/> | |
| 28 | +<table/> | |
| 29 | +<interval/> | |
| 30 | +<timeout_days/> | |
| 31 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | +<channel-log-table><connection/> | |
| 33 | +<schema/> | |
| 34 | +<table/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | +<step-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | +<metrics-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | + </log> | |
| 48 | + <maxdate> | |
| 49 | + <connection/> | |
| 50 | + <table/> | |
| 51 | + <field/> | |
| 52 | + <offset>0.0</offset> | |
| 53 | + <maxdiff>0.0</maxdiff> | |
| 54 | + </maxdate> | |
| 55 | + <size_rowset>10000</size_rowset> | |
| 56 | + <sleep_time_empty>50</sleep_time_empty> | |
| 57 | + <sleep_time_full>50</sleep_time_full> | |
| 58 | + <unique_connections>N</unique_connections> | |
| 59 | + <feedback_shown>Y</feedback_shown> | |
| 60 | + <feedback_size>50000</feedback_size> | |
| 61 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | + <shared_objects_file/> | |
| 63 | + <capture_step_performance>N</capture_step_performance> | |
| 64 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | + <dependencies> | |
| 67 | + </dependencies> | |
| 68 | + <partitionschemas> | |
| 69 | + </partitionschemas> | |
| 70 | + <slaveservers> | |
| 71 | + </slaveservers> | |
| 72 | + <clusterschemas> | |
| 73 | + </clusterschemas> | |
| 74 | + <created_user>-</created_user> | |
| 75 | + <created_date>2017/01/11 14:14:13.722</created_date> | |
| 76 | + <modified_user>-</modified_user> | |
| 77 | + <modified_date>2017/01/11 14:14:13.722</modified_date> | |
| 78 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | + <is_key_private>N</is_key_private> | |
| 80 | + </info> | |
| 81 | + <notepads> | |
| 82 | + <notepad> | |
| 83 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | + <xloc>81</xloc> | |
| 85 | + <yloc>172</yloc> | |
| 86 | + <width>333</width> | |
| 87 | + <heigth>90</heigth> | |
| 88 | + <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | + <fontsize>12</fontsize> | |
| 90 | + <fontbold>N</fontbold> | |
| 91 | + <fontitalic>N</fontitalic> | |
| 92 | + <fontcolorred>0</fontcolorred> | |
| 93 | + <fontcolorgreen>0</fontcolorgreen> | |
| 94 | + <fontcolorblue>0</fontcolorblue> | |
| 95 | + <backgroundcolorred>255</backgroundcolorred> | |
| 96 | + <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | + <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | + <bordercolorred>100</bordercolorred> | |
| 99 | + <bordercolorgreen>100</bordercolorgreen> | |
| 100 | + <bordercolorblue>100</bordercolorblue> | |
| 101 | + <drawshadow>Y</drawshadow> | |
| 102 | + </notepad> | |
| 103 | + </notepads> | |
| 104 | + <connection> | |
| 105 | + <name>bus_control_variable</name> | |
| 106 | + <server>${v_db_ip}</server> | |
| 107 | + <type>MYSQL</type> | |
| 108 | + <access>Native</access> | |
| 109 | + <database>${v_db_dname}</database> | |
| 110 | + <port>3306</port> | |
| 111 | + <username>${v_db_uname}</username> | |
| 112 | + <password>${v_db_pwd}</password> | |
| 113 | + <servername/> | |
| 114 | + <data_tablespace/> | |
| 115 | + <index_tablespace/> | |
| 116 | + <attributes> | |
| 117 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | + </attributes> | |
| 131 | + </connection> | |
| 132 | + <connection> | |
| 133 | + <name>bus_control_公司_201</name> | |
| 134 | + <server>localhost</server> | |
| 135 | + <type>MYSQL</type> | |
| 136 | + <access>Native</access> | |
| 137 | + <database>control</database> | |
| 138 | + <port>3306</port> | |
| 139 | + <username>root</username> | |
| 140 | + <password>Encrypted </password> | |
| 141 | + <servername/> | |
| 142 | + <data_tablespace/> | |
| 143 | + <index_tablespace/> | |
| 144 | + <attributes> | |
| 145 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | + </attributes> | |
| 158 | + </connection> | |
| 159 | + <connection> | |
| 160 | + <name>bus_control_本机</name> | |
| 161 | + <server>localhost</server> | |
| 162 | + <type>MYSQL</type> | |
| 163 | + <access>Native</access> | |
| 164 | + <database>control</database> | |
| 165 | + <port>3306</port> | |
| 166 | + <username>root</username> | |
| 167 | + <password>Encrypted </password> | |
| 168 | + <servername/> | |
| 169 | + <data_tablespace/> | |
| 170 | + <index_tablespace/> | |
| 171 | + <attributes> | |
| 172 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | + </attributes> | |
| 185 | + </connection> | |
| 186 | + <connection> | |
| 187 | + <name>xlab_mysql_youle</name> | |
| 188 | + <server>101.231.124.8</server> | |
| 189 | + <type>MYSQL</type> | |
| 190 | + <access>Native</access> | |
| 191 | + <database>xlab_youle</database> | |
| 192 | + <port>45687</port> | |
| 193 | + <username>xlab-youle</username> | |
| 194 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | + <servername/> | |
| 196 | + <data_tablespace/> | |
| 197 | + <index_tablespace/> | |
| 198 | + <attributes> | |
| 199 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | + </attributes> | |
| 212 | + </connection> | |
| 213 | + <connection> | |
| 214 | + <name>xlab_mysql_youle(本机)</name> | |
| 215 | + <server>localhost</server> | |
| 216 | + <type>MYSQL</type> | |
| 217 | + <access>Native</access> | |
| 218 | + <database>xlab_youle</database> | |
| 219 | + <port>3306</port> | |
| 220 | + <username>root</username> | |
| 221 | + <password>Encrypted </password> | |
| 222 | + <servername/> | |
| 223 | + <data_tablespace/> | |
| 224 | + <index_tablespace/> | |
| 225 | + <attributes> | |
| 226 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | + </attributes> | |
| 239 | + </connection> | |
| 240 | + <connection> | |
| 241 | + <name>xlab_youle</name> | |
| 242 | + <server/> | |
| 243 | + <type>MYSQL</type> | |
| 244 | + <access>JNDI</access> | |
| 245 | + <database>xlab_youle</database> | |
| 246 | + <port>1521</port> | |
| 247 | + <username/> | |
| 248 | + <password>Encrypted </password> | |
| 249 | + <servername/> | |
| 250 | + <data_tablespace/> | |
| 251 | + <index_tablespace/> | |
| 252 | + <attributes> | |
| 253 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | + </attributes> | |
| 264 | + </connection> | |
| 265 | + <order> | |
| 266 | + <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | + <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | |
| 268 | + <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | |
| 269 | + <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 270 | + <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 271 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | + </order> | |
| 273 | + <step> | |
| 274 | + <name>车辆配置(没有作废)</name> | |
| 275 | + <type>TableInput</type> | |
| 276 | + <description/> | |
| 277 | + <distribute>Y</distribute> | |
| 278 | + <custom_distribution/> | |
| 279 | + <copies>1</copies> | |
| 280 | + <partitioning> | |
| 281 | + <method>none</method> | |
| 282 | + <schema_name/> | |
| 283 | + </partitioning> | |
| 284 | + <connection>bus_control_variable</connection> | |
| 285 | + <sql>select * from bsth_c_s_ccinfo where is_cancel = 0</sql> | |
| 286 | + <limit>0</limit> | |
| 287 | + <lookup/> | |
| 288 | + <execute_each_row>N</execute_each_row> | |
| 289 | + <variables_active>N</variables_active> | |
| 290 | + <lazy_conversion_active>N</lazy_conversion_active> | |
| 291 | + <cluster_schema/> | |
| 292 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 293 | + <xloc>106</xloc> | |
| 294 | + <yloc>68</yloc> | |
| 295 | + <draw>Y</draw> | |
| 296 | + </GUI> | |
| 297 | + </step> | |
| 298 | + | |
| 299 | + <step> | |
| 300 | + <name>线路查询</name> | |
| 301 | + <type>DBLookup</type> | |
| 302 | + <description/> | |
| 303 | + <distribute>Y</distribute> | |
| 304 | + <custom_distribution/> | |
| 305 | + <copies>1</copies> | |
| 306 | + <partitioning> | |
| 307 | + <method>none</method> | |
| 308 | + <schema_name/> | |
| 309 | + </partitioning> | |
| 310 | + <connection>bus_control_variable</connection> | |
| 311 | + <cache>Y</cache> | |
| 312 | + <cache_load_all>Y</cache_load_all> | |
| 313 | + <cache_size>0</cache_size> | |
| 314 | + <lookup> | |
| 315 | + <schema/> | |
| 316 | + <table>bsth_c_line</table> | |
| 317 | + <orderby/> | |
| 318 | + <fail_on_multiple>N</fail_on_multiple> | |
| 319 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 320 | + <key> | |
| 321 | + <name>xl</name> | |
| 322 | + <field>id</field> | |
| 323 | + <condition>=</condition> | |
| 324 | + <name2/> | |
| 325 | + </key> | |
| 326 | + <value> | |
| 327 | + <name>name</name> | |
| 328 | + <rename>xlmc</rename> | |
| 329 | + <default/> | |
| 330 | + <type>String</type> | |
| 331 | + </value> | |
| 332 | + </lookup> | |
| 333 | + <cluster_schema/> | |
| 334 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 335 | + <xloc>248</xloc> | |
| 336 | + <yloc>67</yloc> | |
| 337 | + <draw>Y</draw> | |
| 338 | + </GUI> | |
| 339 | + </step> | |
| 340 | + | |
| 341 | + <step> | |
| 342 | + <name>车辆查询</name> | |
| 343 | + <type>DBLookup</type> | |
| 344 | + <description/> | |
| 345 | + <distribute>Y</distribute> | |
| 346 | + <custom_distribution/> | |
| 347 | + <copies>1</copies> | |
| 348 | + <partitioning> | |
| 349 | + <method>none</method> | |
| 350 | + <schema_name/> | |
| 351 | + </partitioning> | |
| 352 | + <connection>bus_control_variable</connection> | |
| 353 | + <cache>N</cache> | |
| 354 | + <cache_load_all>N</cache_load_all> | |
| 355 | + <cache_size>0</cache_size> | |
| 356 | + <lookup> | |
| 357 | + <schema/> | |
| 358 | + <table>bsth_c_cars</table> | |
| 359 | + <orderby/> | |
| 360 | + <fail_on_multiple>N</fail_on_multiple> | |
| 361 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 362 | + <key> | |
| 363 | + <name>cl</name> | |
| 364 | + <field>id</field> | |
| 365 | + <condition>=</condition> | |
| 366 | + <name2/> | |
| 367 | + </key> | |
| 368 | + <value> | |
| 369 | + <name>inside_code</name> | |
| 370 | + <rename>zbh</rename> | |
| 371 | + <default/> | |
| 372 | + <type>String</type> | |
| 373 | + </value> | |
| 374 | + </lookup> | |
| 375 | + <cluster_schema/> | |
| 376 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 377 | + <xloc>361</xloc> | |
| 378 | + <yloc>67</yloc> | |
| 379 | + <draw>Y</draw> | |
| 380 | + </GUI> | |
| 381 | + </step> | |
| 382 | + | |
| 383 | + <step> | |
| 384 | + <name>格式化日期</name> | |
| 385 | + <type>SelectValues</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 | + <fields> <select_unspecified>N</select_unspecified> | |
| 395 | + <meta> <name>qyrq</name> | |
| 396 | + <rename>qyrq</rename> | |
| 397 | + <type>String</type> | |
| 398 | + <length>-2</length> | |
| 399 | + <precision>-2</precision> | |
| 400 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 401 | + <date_format_lenient>false</date_format_lenient> | |
| 402 | + <date_format_locale/> | |
| 403 | + <date_format_timezone/> | |
| 404 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 405 | + <encoding/> | |
| 406 | + <decimal_symbol/> | |
| 407 | + <grouping_symbol/> | |
| 408 | + <currency_symbol/> | |
| 409 | + <storage_type/> | |
| 410 | + </meta> <meta> <name>zzrq</name> | |
| 411 | + <rename>zzrq</rename> | |
| 412 | + <type>String</type> | |
| 413 | + <length>-2</length> | |
| 414 | + <precision>-2</precision> | |
| 415 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 416 | + <date_format_lenient>false</date_format_lenient> | |
| 417 | + <date_format_locale/> | |
| 418 | + <date_format_timezone/> | |
| 419 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 420 | + <encoding/> | |
| 421 | + <decimal_symbol/> | |
| 422 | + <grouping_symbol/> | |
| 423 | + <currency_symbol/> | |
| 424 | + <storage_type/> | |
| 425 | + </meta> </fields> <cluster_schema/> | |
| 426 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 427 | + <xloc>478</xloc> | |
| 428 | + <yloc>66</yloc> | |
| 429 | + <draw>Y</draw> | |
| 430 | + </GUI> | |
| 431 | + </step> | |
| 432 | + | |
| 433 | + <step> | |
| 434 | + <name>排序记录</name> | |
| 435 | + <type>SortRows</type> | |
| 436 | + <description/> | |
| 437 | + <distribute>Y</distribute> | |
| 438 | + <custom_distribution/> | |
| 439 | + <copies>1</copies> | |
| 440 | + <partitioning> | |
| 441 | + <method>none</method> | |
| 442 | + <schema_name/> | |
| 443 | + </partitioning> | |
| 444 | + <directory>%%java.io.tmpdir%%</directory> | |
| 445 | + <prefix>out</prefix> | |
| 446 | + <sort_size>1000000</sort_size> | |
| 447 | + <free_memory/> | |
| 448 | + <compress>N</compress> | |
| 449 | + <compress_variable/> | |
| 450 | + <unique_rows>N</unique_rows> | |
| 451 | + <fields> | |
| 452 | + <field> | |
| 453 | + <name>xlmc</name> | |
| 454 | + <ascending>Y</ascending> | |
| 455 | + <case_sensitive>N</case_sensitive> | |
| 456 | + <presorted>N</presorted> | |
| 457 | + </field> | |
| 458 | + <field> | |
| 459 | + <name>zbh</name> | |
| 460 | + <ascending>Y</ascending> | |
| 461 | + <case_sensitive>N</case_sensitive> | |
| 462 | + <presorted>N</presorted> | |
| 463 | + </field> | |
| 464 | + <field> | |
| 465 | + <name>qyrq</name> | |
| 466 | + <ascending>Y</ascending> | |
| 467 | + <case_sensitive>N</case_sensitive> | |
| 468 | + <presorted>N</presorted> | |
| 469 | + </field> | |
| 470 | + </fields> | |
| 471 | + <cluster_schema/> | |
| 472 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 473 | + <xloc>592</xloc> | |
| 474 | + <yloc>66</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>xlmc</name> | |
| 491 | + <rename>线路</rename> | |
| 492 | + <length>-2</length> | |
| 493 | + <precision>-2</precision> | |
| 494 | + </field> <field> <name>zbh</name> | |
| 495 | + <rename>内部编码</rename> | |
| 496 | + <length>-2</length> | |
| 497 | + <precision>-2</precision> | |
| 498 | + </field> <field> <name>qyrq</name> | |
| 499 | + <rename>启用日期</rename> | |
| 500 | + <length>-2</length> | |
| 501 | + <precision>-2</precision> | |
| 502 | + </field> <field> <name>zzrq</name> | |
| 503 | + <rename>终结日期</rename> | |
| 504 | + <length>-2</length> | |
| 505 | + <precision>-2</precision> | |
| 506 | + </field> <field> <name>tcd</name> | |
| 507 | + <rename>停车点</rename> | |
| 508 | + <length>-2</length> | |
| 509 | + <precision>-2</precision> | |
| 510 | + </field> <select_unspecified>N</select_unspecified> | |
| 511 | + </fields> <cluster_schema/> | |
| 512 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 513 | + <xloc>595</xloc> | |
| 514 | + <yloc>167</yloc> | |
| 515 | + <draw>Y</draw> | |
| 516 | + </GUI> | |
| 517 | + </step> | |
| 518 | + | |
| 519 | + <step> | |
| 520 | + <name>Excel输出</name> | |
| 521 | + <type>ExcelOutput</type> | |
| 522 | + <description/> | |
| 523 | + <distribute>Y</distribute> | |
| 524 | + <custom_distribution/> | |
| 525 | + <copies>1</copies> | |
| 526 | + <partitioning> | |
| 527 | + <method>none</method> | |
| 528 | + <schema_name/> | |
| 529 | + </partitioning> | |
| 530 | + <header>Y</header> | |
| 531 | + <footer>N</footer> | |
| 532 | + <encoding/> | |
| 533 | + <append>N</append> | |
| 534 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 535 | + <file> | |
| 536 | + <name>${filepath}</name> | |
| 537 | + <extention/> | |
| 538 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 539 | + <create_parent_folder>N</create_parent_folder> | |
| 540 | + <split>N</split> | |
| 541 | + <add_date>N</add_date> | |
| 542 | + <add_time>N</add_time> | |
| 543 | + <SpecifyFormat>N</SpecifyFormat> | |
| 544 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 545 | + <sheetname>工作表1</sheetname> | |
| 546 | + <autosizecolums>N</autosizecolums> | |
| 547 | + <nullisblank>N</nullisblank> | |
| 548 | + <protect_sheet>N</protect_sheet> | |
| 549 | + <password>Encrypted </password> | |
| 550 | + <splitevery>0</splitevery> | |
| 551 | + <usetempfiles>N</usetempfiles> | |
| 552 | + <tempdirectory/> | |
| 553 | + </file> | |
| 554 | + <template> | |
| 555 | + <enabled>N</enabled> | |
| 556 | + <append>N</append> | |
| 557 | + <filename>template.xls</filename> | |
| 558 | + </template> | |
| 559 | + <fields> | |
| 560 | + <field> | |
| 561 | + <name>线路</name> | |
| 562 | + <type>String</type> | |
| 563 | + <format/> | |
| 564 | + </field> | |
| 565 | + <field> | |
| 566 | + <name>内部编码</name> | |
| 567 | + <type>String</type> | |
| 568 | + <format/> | |
| 569 | + </field> | |
| 570 | + <field> | |
| 571 | + <name>启用日期</name> | |
| 572 | + <type>String</type> | |
| 573 | + <format/> | |
| 574 | + </field> | |
| 575 | + <field> | |
| 576 | + <name>终结日期</name> | |
| 577 | + <type>String</type> | |
| 578 | + <format/> | |
| 579 | + </field> | |
| 580 | + <field> | |
| 581 | + <name>停车点</name> | |
| 582 | + <type>String</type> | |
| 583 | + <format/> | |
| 584 | + </field> | |
| 585 | + </fields> | |
| 586 | + <custom> | |
| 587 | + <header_font_name>arial</header_font_name> | |
| 588 | + <header_font_size>10</header_font_size> | |
| 589 | + <header_font_bold>N</header_font_bold> | |
| 590 | + <header_font_italic>N</header_font_italic> | |
| 591 | + <header_font_underline>no</header_font_underline> | |
| 592 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 593 | + <header_font_color>black</header_font_color> | |
| 594 | + <header_background_color>none</header_background_color> | |
| 595 | + <header_row_height>255</header_row_height> | |
| 596 | + <header_alignment>left</header_alignment> | |
| 597 | + <header_image/> | |
| 598 | + <row_font_name>arial</row_font_name> | |
| 599 | + <row_font_size>10</row_font_size> | |
| 600 | + <row_font_color>black</row_font_color> | |
| 601 | + <row_background_color>none</row_background_color> | |
| 602 | + </custom> | |
| 603 | + <cluster_schema/> | |
| 604 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 605 | + <xloc>596</xloc> | |
| 606 | + <yloc>265</yloc> | |
| 607 | + <draw>Y</draw> | |
| 608 | + </GUI> | |
| 609 | + </step> | |
| 610 | + | |
| 611 | + <step_error_handling> | |
| 612 | + </step_error_handling> | |
| 613 | + <slave-step-copy-partition-distribution> | |
| 614 | +</slave-step-copy-partition-distribution> | |
| 615 | + <slave_transformation>N</slave_transformation> | |
| 616 | + | |
| 617 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/employeesConfigDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>employeesConfigDataInput</name> | |
| 5 | - <description>人员配置信息导入</description> | |
| 6 | - <extended_description>人员配置信息</extended_description> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>erroroutputdir</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>ktr step配置的错误输出目录</description> | |
| 16 | - </parameter> | |
| 17 | - <parameter> | |
| 18 | - <name>filepath</name> | |
| 19 | - <default_value/> | |
| 20 | - <description>待处理导入的excel文件</description> | |
| 21 | - </parameter> | |
| 22 | - </parameters> | |
| 23 | - <log> | |
| 24 | -<trans-log-table><connection/> | |
| 25 | -<schema/> | |
| 26 | -<table/> | |
| 27 | -<size_limit_lines/> | |
| 28 | -<interval/> | |
| 29 | -<timeout_days/> | |
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | -<perf-log-table><connection/> | |
| 32 | -<schema/> | |
| 33 | -<table/> | |
| 34 | -<interval/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | -<channel-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | -<step-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | -<metrics-log-table><connection/> | |
| 48 | -<schema/> | |
| 49 | -<table/> | |
| 50 | -<timeout_days/> | |
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | - </log> | |
| 53 | - <maxdate> | |
| 54 | - <connection/> | |
| 55 | - <table/> | |
| 56 | - <field/> | |
| 57 | - <offset>0.0</offset> | |
| 58 | - <maxdiff>0.0</maxdiff> | |
| 59 | - </maxdate> | |
| 60 | - <size_rowset>10000</size_rowset> | |
| 61 | - <sleep_time_empty>50</sleep_time_empty> | |
| 62 | - <sleep_time_full>50</sleep_time_full> | |
| 63 | - <unique_connections>N</unique_connections> | |
| 64 | - <feedback_shown>Y</feedback_shown> | |
| 65 | - <feedback_size>50000</feedback_size> | |
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | - <shared_objects_file/> | |
| 68 | - <capture_step_performance>N</capture_step_performance> | |
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | - <dependencies> | |
| 72 | - </dependencies> | |
| 73 | - <partitionschemas> | |
| 74 | - </partitionschemas> | |
| 75 | - <slaveservers> | |
| 76 | - </slaveservers> | |
| 77 | - <clusterschemas> | |
| 78 | - </clusterschemas> | |
| 79 | - <created_user>-</created_user> | |
| 80 | - <created_date>2016/06/29 15:12:27.273</created_date> | |
| 81 | - <modified_user>-</modified_user> | |
| 82 | - <modified_date>2016/06/29 15:12:27.273</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 | - <notepad> | |
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 89 | - <xloc>101</xloc> | |
| 90 | - <yloc>264</yloc> | |
| 91 | - <width>333</width> | |
| 92 | - <heigth>90</heigth> | |
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | - <fontsize>12</fontsize> | |
| 95 | - <fontbold>N</fontbold> | |
| 96 | - <fontitalic>N</fontitalic> | |
| 97 | - <fontcolorred>0</fontcolorred> | |
| 98 | - <fontcolorgreen>0</fontcolorgreen> | |
| 99 | - <fontcolorblue>0</fontcolorblue> | |
| 100 | - <backgroundcolorred>255</backgroundcolorred> | |
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | - <bordercolorred>100</bordercolorred> | |
| 104 | - <bordercolorgreen>100</bordercolorgreen> | |
| 105 | - <bordercolorblue>100</bordercolorblue> | |
| 106 | - <drawshadow>Y</drawshadow> | |
| 107 | - </notepad> | |
| 108 | - </notepads> | |
| 109 | - <connection> | |
| 110 | - <name>bus_control_variable</name> | |
| 111 | - <server>${v_db_ip}</server> | |
| 112 | - <type>MYSQL</type> | |
| 113 | - <access>Native</access> | |
| 114 | - <database>${v_db_dname}</database> | |
| 115 | - <port>3306</port> | |
| 116 | - <username>${v_db_uname}</username> | |
| 117 | - <password>${v_db_pwd}</password> | |
| 118 | - <servername/> | |
| 119 | - <data_tablespace/> | |
| 120 | - <index_tablespace/> | |
| 121 | - <attributes> | |
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 123 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 125 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 128 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 129 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 132 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 133 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 135 | - </attributes> | |
| 136 | - </connection> | |
| 137 | - <connection> | |
| 138 | - <name>bus_control_公司_201</name> | |
| 139 | - <server>localhost</server> | |
| 140 | - <type>MYSQL</type> | |
| 141 | - <access>Native</access> | |
| 142 | - <database>control</database> | |
| 143 | - <port>3306</port> | |
| 144 | - <username>root</username> | |
| 145 | - <password>Encrypted </password> | |
| 146 | - <servername/> | |
| 147 | - <data_tablespace/> | |
| 148 | - <index_tablespace/> | |
| 149 | - <attributes> | |
| 150 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 152 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 155 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 156 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 159 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 160 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 162 | - </attributes> | |
| 163 | - </connection> | |
| 164 | - <connection> | |
| 165 | - <name>bus_control_本机</name> | |
| 166 | - <server>localhost</server> | |
| 167 | - <type>MYSQL</type> | |
| 168 | - <access>Native</access> | |
| 169 | - <database>control</database> | |
| 170 | - <port>3306</port> | |
| 171 | - <username>root</username> | |
| 172 | - <password>Encrypted </password> | |
| 173 | - <servername/> | |
| 174 | - <data_tablespace/> | |
| 175 | - <index_tablespace/> | |
| 176 | - <attributes> | |
| 177 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 179 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 181 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 182 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 183 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 186 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 187 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 188 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 189 | - </attributes> | |
| 190 | - </connection> | |
| 191 | - <connection> | |
| 192 | - <name>xlab_mysql_youle</name> | |
| 193 | - <server>101.231.124.8</server> | |
| 194 | - <type>MYSQL</type> | |
| 195 | - <access>Native</access> | |
| 196 | - <database>xlab_youle</database> | |
| 197 | - <port>45687</port> | |
| 198 | - <username>xlab-youle</username> | |
| 199 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 200 | - <servername/> | |
| 201 | - <data_tablespace/> | |
| 202 | - <index_tablespace/> | |
| 203 | - <attributes> | |
| 204 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 206 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 208 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 210 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 213 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 216 | - </attributes> | |
| 217 | - </connection> | |
| 218 | - <connection> | |
| 219 | - <name>xlab_mysql_youle(本机)</name> | |
| 220 | - <server>localhost</server> | |
| 221 | - <type>MYSQL</type> | |
| 222 | - <access>Native</access> | |
| 223 | - <database>xlab_youle</database> | |
| 224 | - <port>3306</port> | |
| 225 | - <username>root</username> | |
| 226 | - <password>Encrypted </password> | |
| 227 | - <servername/> | |
| 228 | - <data_tablespace/> | |
| 229 | - <index_tablespace/> | |
| 230 | - <attributes> | |
| 231 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 232 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 235 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 237 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 240 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 243 | - </attributes> | |
| 244 | - </connection> | |
| 245 | - <connection> | |
| 246 | - <name>xlab_youle</name> | |
| 247 | - <server/> | |
| 248 | - <type>MYSQL</type> | |
| 249 | - <access>JNDI</access> | |
| 250 | - <database>xlab_youle</database> | |
| 251 | - <port>1521</port> | |
| 252 | - <username/> | |
| 253 | - <password>Encrypted </password> | |
| 254 | - <servername/> | |
| 255 | - <data_tablespace/> | |
| 256 | - <index_tablespace/> | |
| 257 | - <attributes> | |
| 258 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 260 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 261 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 262 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 265 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 266 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 267 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 268 | - </attributes> | |
| 269 | - </connection> | |
| 270 | - <order> | |
| 271 | - <hop> <from>插入/更新bsth_c_s_ecinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 272 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 273 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 274 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>过滤线路id为空记录</from><to>驾驶员id查找</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>驾驶员id查找</from><to>过滤驾驶员id为空记录</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>过滤驾驶员id为空记录</from><to>售票员id查找</to><enabled>Y</enabled> </hop> | |
| 279 | - <hop> <from>售票员id查找</from><to>插入/更新bsth_c_s_ecinfo</to><enabled>Y</enabled> </hop> | |
| 280 | - </order> | |
| 281 | - <step> | |
| 282 | - <name>原始系统导出的Excel输入</name> | |
| 283 | - <type>ExcelInput</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 | - <noempty>Y</noempty> | |
| 294 | - <stoponempty>N</stoponempty> | |
| 295 | - <filefield/> | |
| 296 | - <sheetfield/> | |
| 297 | - <sheetrownumfield/> | |
| 298 | - <rownumfield/> | |
| 299 | - <sheetfield/> | |
| 300 | - <filefield/> | |
| 301 | - <limit>0</limit> | |
| 302 | - <encoding/> | |
| 303 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 304 | - <accept_filenames>Y</accept_filenames> | |
| 305 | - <accept_field>filepath_</accept_field> | |
| 306 | - <accept_stepname>获取变量</accept_stepname> | |
| 307 | - <file> | |
| 308 | - <name/> | |
| 309 | - <filemask/> | |
| 310 | - <exclude_filemask/> | |
| 311 | - <file_required>N</file_required> | |
| 312 | - <include_subfolders>N</include_subfolders> | |
| 313 | - </file> | |
| 314 | - <fields> | |
| 315 | - <field> | |
| 316 | - <name>线路</name> | |
| 317 | - <type>String</type> | |
| 318 | - <length>-1</length> | |
| 319 | - <precision>-1</precision> | |
| 320 | - <trim_type>none</trim_type> | |
| 321 | - <repeat>N</repeat> | |
| 322 | - <format/> | |
| 323 | - <currency/> | |
| 324 | - <decimal/> | |
| 325 | - <group/> | |
| 326 | - </field> | |
| 327 | - <field> | |
| 328 | - <name>搭班编码</name> | |
| 329 | - <type>String</type> | |
| 330 | - <length>-1</length> | |
| 331 | - <precision>-1</precision> | |
| 332 | - <trim_type>none</trim_type> | |
| 333 | - <repeat>N</repeat> | |
| 334 | - <format>#</format> | |
| 335 | - <currency/> | |
| 336 | - <decimal/> | |
| 337 | - <group/> | |
| 338 | - </field> | |
| 339 | - <field> | |
| 340 | - <name>驾驶员工号</name> | |
| 341 | - <type>String</type> | |
| 342 | - <length>-1</length> | |
| 343 | - <precision>-1</precision> | |
| 344 | - <trim_type>none</trim_type> | |
| 345 | - <repeat>N</repeat> | |
| 346 | - <format>#</format> | |
| 347 | - <currency/> | |
| 348 | - <decimal/> | |
| 349 | - <group/> | |
| 350 | - </field> | |
| 351 | - <field> | |
| 352 | - <name>驾驶员</name> | |
| 353 | - <type>String</type> | |
| 354 | - <length>-1</length> | |
| 355 | - <precision>-1</precision> | |
| 356 | - <trim_type>none</trim_type> | |
| 357 | - <repeat>N</repeat> | |
| 358 | - <format/> | |
| 359 | - <currency/> | |
| 360 | - <decimal/> | |
| 361 | - <group/> | |
| 362 | - </field> | |
| 363 | - <field> | |
| 364 | - <name>售票员工号</name> | |
| 365 | - <type>String</type> | |
| 366 | - <length>-1</length> | |
| 367 | - <precision>-1</precision> | |
| 368 | - <trim_type>none</trim_type> | |
| 369 | - <repeat>N</repeat> | |
| 370 | - <format>#</format> | |
| 371 | - <currency/> | |
| 372 | - <decimal/> | |
| 373 | - <group/> | |
| 374 | - </field> | |
| 375 | - <field> | |
| 376 | - <name>售票员</name> | |
| 377 | - <type>String</type> | |
| 378 | - <length>-1</length> | |
| 379 | - <precision>-1</precision> | |
| 380 | - <trim_type>none</trim_type> | |
| 381 | - <repeat>N</repeat> | |
| 382 | - <format/> | |
| 383 | - <currency/> | |
| 384 | - <decimal/> | |
| 385 | - <group/> | |
| 386 | - </field> | |
| 387 | - </fields> | |
| 388 | - <sheets> | |
| 389 | - <sheet> | |
| 390 | - <name>工作表1</name> | |
| 391 | - <startrow>0</startrow> | |
| 392 | - <startcol>0</startcol> | |
| 393 | - </sheet> | |
| 394 | - </sheets> | |
| 395 | - <strict_types>N</strict_types> | |
| 396 | - <error_ignored>N</error_ignored> | |
| 397 | - <error_line_skipped>N</error_line_skipped> | |
| 398 | - <bad_line_files_destination_directory/> | |
| 399 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 400 | - <error_line_files_destination_directory/> | |
| 401 | - <error_line_files_extension>error</error_line_files_extension> | |
| 402 | - <line_number_files_destination_directory/> | |
| 403 | - <line_number_files_extension>line</line_number_files_extension> | |
| 404 | - <shortFileFieldName/> | |
| 405 | - <pathFieldName/> | |
| 406 | - <hiddenFieldName/> | |
| 407 | - <lastModificationTimeFieldName/> | |
| 408 | - <uriNameFieldName/> | |
| 409 | - <rootUriNameFieldName/> | |
| 410 | - <extensionFieldName/> | |
| 411 | - <sizeFieldName/> | |
| 412 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 413 | - <cluster_schema/> | |
| 414 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 415 | - <xloc>93</xloc> | |
| 416 | - <yloc>51</yloc> | |
| 417 | - <draw>Y</draw> | |
| 418 | - </GUI> | |
| 419 | - </step> | |
| 420 | - | |
| 421 | - <step> | |
| 422 | - <name>启用被数据flag</name> | |
| 423 | - <type>Constant</type> | |
| 424 | - <description/> | |
| 425 | - <distribute>Y</distribute> | |
| 426 | - <custom_distribution/> | |
| 427 | - <copies>1</copies> | |
| 428 | - <partitioning> | |
| 429 | - <method>none</method> | |
| 430 | - <schema_name/> | |
| 431 | - </partitioning> | |
| 432 | - <fields> | |
| 433 | - <field> | |
| 434 | - <name>isCancel</name> | |
| 435 | - <type>Integer</type> | |
| 436 | - <format/> | |
| 437 | - <currency/> | |
| 438 | - <decimal/> | |
| 439 | - <group/> | |
| 440 | - <nullif>0</nullif> | |
| 441 | - <length>-1</length> | |
| 442 | - <precision>-1</precision> | |
| 443 | - <set_empty_string>N</set_empty_string> | |
| 444 | - </field> | |
| 445 | - </fields> | |
| 446 | - <cluster_schema/> | |
| 447 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 448 | - <xloc>225</xloc> | |
| 449 | - <yloc>53</yloc> | |
| 450 | - <draw>Y</draw> | |
| 451 | - </GUI> | |
| 452 | - </step> | |
| 453 | - | |
| 454 | - <step> | |
| 455 | - <name>售票员id查找</name> | |
| 456 | - <type>DBJoin</type> | |
| 457 | - <description/> | |
| 458 | - <distribute>Y</distribute> | |
| 459 | - <custom_distribution/> | |
| 460 | - <copies>1</copies> | |
| 461 | - <partitioning> | |
| 462 | - <method>none</method> | |
| 463 | - <schema_name/> | |
| 464 | - </partitioning> | |
| 465 | - <connection>bus_control_variable</connection> | |
| 466 | - <rowlimit>1</rowlimit> | |
| 467 | - <sql>select id as sid from bsth_c_personnel
where job_code = ? and personnel_name = ?</sql> | |
| 468 | - <outer_join>Y</outer_join> | |
| 469 | - <replace_vars>N</replace_vars> | |
| 470 | - <parameter> | |
| 471 | - <field> | |
| 472 | - <name>售票员工号</name> | |
| 473 | - <type>String</type> | |
| 474 | - </field> | |
| 475 | - <field> | |
| 476 | - <name>售票员</name> | |
| 477 | - <type>String</type> | |
| 478 | - </field> | |
| 479 | - </parameter> | |
| 480 | - <cluster_schema/> | |
| 481 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 482 | - <xloc>673</xloc> | |
| 483 | - <yloc>47</yloc> | |
| 484 | - <draw>Y</draw> | |
| 485 | - </GUI> | |
| 486 | - </step> | |
| 487 | - | |
| 488 | - <step> | |
| 489 | - <name>插入/更新bsth_c_s_ecinfo</name> | |
| 490 | - <type>InsertUpdate</type> | |
| 491 | - <description/> | |
| 492 | - <distribute>Y</distribute> | |
| 493 | - <custom_distribution/> | |
| 494 | - <copies>1</copies> | |
| 495 | - <partitioning> | |
| 496 | - <method>none</method> | |
| 497 | - <schema_name/> | |
| 498 | - </partitioning> | |
| 499 | - <connection>bus_control_variable</connection> | |
| 500 | - <commit>100</commit> | |
| 501 | - <update_bypassed>N</update_bypassed> | |
| 502 | - <lookup> | |
| 503 | - <schema/> | |
| 504 | - <table>bsth_c_s_ecinfo</table> | |
| 505 | - <key> | |
| 506 | - <name>xlid</name> | |
| 507 | - <field>xl</field> | |
| 508 | - <condition>=</condition> | |
| 509 | - <name2/> | |
| 510 | - </key> | |
| 511 | - <key> | |
| 512 | - <name>搭班编码</name> | |
| 513 | - <field>dbbm</field> | |
| 514 | - <condition>=</condition> | |
| 515 | - <name2/> | |
| 516 | - </key> | |
| 517 | - <value> | |
| 518 | - <name>xl</name> | |
| 519 | - <rename>xlid</rename> | |
| 520 | - <update>Y</update> | |
| 521 | - </value> | |
| 522 | - <value> | |
| 523 | - <name>dbbm</name> | |
| 524 | - <rename>搭班编码</rename> | |
| 525 | - <update>Y</update> | |
| 526 | - </value> | |
| 527 | - <value> | |
| 528 | - <name>jsy</name> | |
| 529 | - <rename>jid</rename> | |
| 530 | - <update>Y</update> | |
| 531 | - </value> | |
| 532 | - <value> | |
| 533 | - <name>spy</name> | |
| 534 | - <rename>sid</rename> | |
| 535 | - <update>Y</update> | |
| 536 | - </value> | |
| 537 | - <value> | |
| 538 | - <name>is_cancel</name> | |
| 539 | - <rename>isCancel</rename> | |
| 540 | - <update>Y</update> | |
| 541 | - </value> | |
| 542 | - </lookup> | |
| 543 | - <cluster_schema/> | |
| 544 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 545 | - <xloc>676</xloc> | |
| 546 | - <yloc>200</yloc> | |
| 547 | - <draw>Y</draw> | |
| 548 | - </GUI> | |
| 549 | - </step> | |
| 550 | - | |
| 551 | - <step> | |
| 552 | - <name>线路id查询</name> | |
| 553 | - <type>DBLookup</type> | |
| 554 | - <description/> | |
| 555 | - <distribute>Y</distribute> | |
| 556 | - <custom_distribution/> | |
| 557 | - <copies>1</copies> | |
| 558 | - <partitioning> | |
| 559 | - <method>none</method> | |
| 560 | - <schema_name/> | |
| 561 | - </partitioning> | |
| 562 | - <connection>bus_control_variable</connection> | |
| 563 | - <cache>Y</cache> | |
| 564 | - <cache_load_all>Y</cache_load_all> | |
| 565 | - <cache_size>0</cache_size> | |
| 566 | - <lookup> | |
| 567 | - <schema/> | |
| 568 | - <table>bsth_c_line</table> | |
| 569 | - <orderby/> | |
| 570 | - <fail_on_multiple>N</fail_on_multiple> | |
| 571 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 572 | - <key> | |
| 573 | - <name>线路</name> | |
| 574 | - <field>name</field> | |
| 575 | - <condition>=</condition> | |
| 576 | - <name2/> | |
| 577 | - </key> | |
| 578 | - <key> | |
| 579 | - <name>isCancel</name> | |
| 580 | - <field>destroy</field> | |
| 581 | - <condition>=</condition> | |
| 582 | - <name2/> | |
| 583 | - </key> | |
| 584 | - <value> | |
| 585 | - <name>id</name> | |
| 586 | - <rename>xlid</rename> | |
| 587 | - <default/> | |
| 588 | - <type>Integer</type> | |
| 589 | - </value> | |
| 590 | - </lookup> | |
| 591 | - <cluster_schema/> | |
| 592 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 593 | - <xloc>397</xloc> | |
| 594 | - <yloc>144</yloc> | |
| 595 | - <draw>Y</draw> | |
| 596 | - </GUI> | |
| 597 | - </step> | |
| 598 | - | |
| 599 | - <step> | |
| 600 | - <name>获取变量</name> | |
| 601 | - <type>GetVariable</type> | |
| 602 | - <description/> | |
| 603 | - <distribute>Y</distribute> | |
| 604 | - <custom_distribution/> | |
| 605 | - <copies>1</copies> | |
| 606 | - <partitioning> | |
| 607 | - <method>none</method> | |
| 608 | - <schema_name/> | |
| 609 | - </partitioning> | |
| 610 | - <fields> | |
| 611 | - <field> | |
| 612 | - <name>filepath_</name> | |
| 613 | - <variable>${filepath}</variable> | |
| 614 | - <type>String</type> | |
| 615 | - <format/> | |
| 616 | - <currency/> | |
| 617 | - <decimal/> | |
| 618 | - <group/> | |
| 619 | - <length>-1</length> | |
| 620 | - <precision>-1</precision> | |
| 621 | - <trim_type>none</trim_type> | |
| 622 | - </field> | |
| 623 | - <field> | |
| 624 | - <name>erroroutputdir_</name> | |
| 625 | - <variable>${erroroutputdir}</variable> | |
| 626 | - <type>String</type> | |
| 627 | - <format/> | |
| 628 | - <currency/> | |
| 629 | - <decimal/> | |
| 630 | - <group/> | |
| 631 | - <length>-1</length> | |
| 632 | - <precision>-1</precision> | |
| 633 | - <trim_type>none</trim_type> | |
| 634 | - </field> | |
| 635 | - </fields> | |
| 636 | - <cluster_schema/> | |
| 637 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 638 | - <xloc>94</xloc> | |
| 639 | - <yloc>178</yloc> | |
| 640 | - <draw>Y</draw> | |
| 641 | - </GUI> | |
| 642 | - </step> | |
| 643 | - | |
| 644 | - <step> | |
| 645 | - <name>过滤线路id为空记录</name> | |
| 646 | - <type>FilterRows</type> | |
| 647 | - <description/> | |
| 648 | - <distribute>Y</distribute> | |
| 649 | - <custom_distribution/> | |
| 650 | - <copies>1</copies> | |
| 651 | - <partitioning> | |
| 652 | - <method>none</method> | |
| 653 | - <schema_name/> | |
| 654 | - </partitioning> | |
| 655 | -<send_true_to/> | |
| 656 | -<send_false_to/> | |
| 657 | - <compare> | |
| 658 | -<condition> | |
| 659 | - <negated>N</negated> | |
| 660 | - <leftvalue>xlid</leftvalue> | |
| 661 | - <function>IS NOT NULL</function> | |
| 662 | - <rightvalue/> | |
| 663 | - </condition> | |
| 664 | - </compare> | |
| 665 | - <cluster_schema/> | |
| 666 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 667 | - <xloc>395</xloc> | |
| 668 | - <yloc>49</yloc> | |
| 669 | - <draw>Y</draw> | |
| 670 | - </GUI> | |
| 671 | - </step> | |
| 672 | - | |
| 673 | - <step> | |
| 674 | - <name>过滤驾驶员id为空记录</name> | |
| 675 | - <type>FilterRows</type> | |
| 676 | - <description/> | |
| 677 | - <distribute>Y</distribute> | |
| 678 | - <custom_distribution/> | |
| 679 | - <copies>1</copies> | |
| 680 | - <partitioning> | |
| 681 | - <method>none</method> | |
| 682 | - <schema_name/> | |
| 683 | - </partitioning> | |
| 684 | -<send_true_to>售票员id查找</send_true_to> | |
| 685 | -<send_false_to/> | |
| 686 | - <compare> | |
| 687 | -<condition> | |
| 688 | - <negated>N</negated> | |
| 689 | - <leftvalue>jid</leftvalue> | |
| 690 | - <function>IS NOT NULL</function> | |
| 691 | - <rightvalue/> | |
| 692 | - </condition> | |
| 693 | - </compare> | |
| 694 | - <cluster_schema/> | |
| 695 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 696 | - <xloc>538</xloc> | |
| 697 | - <yloc>47</yloc> | |
| 698 | - <draw>Y</draw> | |
| 699 | - </GUI> | |
| 700 | - </step> | |
| 701 | - | |
| 702 | - <step> | |
| 703 | - <name>错误输出</name> | |
| 704 | - <type>ExcelOutput</type> | |
| 705 | - <description/> | |
| 706 | - <distribute>Y</distribute> | |
| 707 | - <custom_distribution/> | |
| 708 | - <copies>1</copies> | |
| 709 | - <partitioning> | |
| 710 | - <method>none</method> | |
| 711 | - <schema_name/> | |
| 712 | - </partitioning> | |
| 713 | - <header>Y</header> | |
| 714 | - <footer>N</footer> | |
| 715 | - <encoding>UTF-8</encoding> | |
| 716 | - <append>N</append> | |
| 717 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 718 | - <file> | |
| 719 | - <name>${erroroutputdir}/人员配置_错误</name> | |
| 720 | - <extention>xls</extention> | |
| 721 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 722 | - <create_parent_folder>N</create_parent_folder> | |
| 723 | - <split>N</split> | |
| 724 | - <add_date>N</add_date> | |
| 725 | - <add_time>N</add_time> | |
| 726 | - <SpecifyFormat>N</SpecifyFormat> | |
| 727 | - <date_time_format/> | |
| 728 | - <sheetname>Sheet1</sheetname> | |
| 729 | - <autosizecolums>N</autosizecolums> | |
| 730 | - <nullisblank>N</nullisblank> | |
| 731 | - <protect_sheet>N</protect_sheet> | |
| 732 | - <password>Encrypted </password> | |
| 733 | - <splitevery>0</splitevery> | |
| 734 | - <usetempfiles>N</usetempfiles> | |
| 735 | - <tempdirectory/> | |
| 736 | - </file> | |
| 737 | - <template> | |
| 738 | - <enabled>N</enabled> | |
| 739 | - <append>N</append> | |
| 740 | - <filename>template.xls</filename> | |
| 741 | - </template> | |
| 742 | - <fields> | |
| 743 | - <field> | |
| 744 | - <name>线路</name> | |
| 745 | - <type>String</type> | |
| 746 | - <format/> | |
| 747 | - </field> | |
| 748 | - <field> | |
| 749 | - <name>搭班编码</name> | |
| 750 | - <type>String</type> | |
| 751 | - <format/> | |
| 752 | - </field> | |
| 753 | - <field> | |
| 754 | - <name>驾驶员工号</name> | |
| 755 | - <type>String</type> | |
| 756 | - <format/> | |
| 757 | - </field> | |
| 758 | - <field> | |
| 759 | - <name>驾驶员</name> | |
| 760 | - <type>String</type> | |
| 761 | - <format/> | |
| 762 | - </field> | |
| 763 | - <field> | |
| 764 | - <name>售票员工号</name> | |
| 765 | - <type>String</type> | |
| 766 | - <format/> | |
| 767 | - </field> | |
| 768 | - <field> | |
| 769 | - <name>售票员</name> | |
| 770 | - <type>String</type> | |
| 771 | - <format/> | |
| 772 | - </field> | |
| 773 | - <field> | |
| 774 | - <name>isCancel</name> | |
| 775 | - <type>Integer</type> | |
| 776 | - <format/> | |
| 777 | - </field> | |
| 778 | - <field> | |
| 779 | - <name>xlid</name> | |
| 780 | - <type>Integer</type> | |
| 781 | - <format/> | |
| 782 | - </field> | |
| 783 | - <field> | |
| 784 | - <name>jid</name> | |
| 785 | - <type>Integer</type> | |
| 786 | - <format/> | |
| 787 | - </field> | |
| 788 | - <field> | |
| 789 | - <name>sid</name> | |
| 790 | - <type>Integer</type> | |
| 791 | - <format/> | |
| 792 | - </field> | |
| 793 | - <field> | |
| 794 | - <name>error_count</name> | |
| 795 | - <type>Integer</type> | |
| 796 | - <format/> | |
| 797 | - </field> | |
| 798 | - <field> | |
| 799 | - <name>error_desc</name> | |
| 800 | - <type>String</type> | |
| 801 | - <format/> | |
| 802 | - </field> | |
| 803 | - <field> | |
| 804 | - <name>error_column1</name> | |
| 805 | - <type>String</type> | |
| 806 | - <format/> | |
| 807 | - </field> | |
| 808 | - <field> | |
| 809 | - <name>error_column2</name> | |
| 810 | - <type>String</type> | |
| 811 | - <format/> | |
| 812 | - </field> | |
| 813 | - </fields> | |
| 814 | - <custom> | |
| 815 | - <header_font_name>arial</header_font_name> | |
| 816 | - <header_font_size>10</header_font_size> | |
| 817 | - <header_font_bold>N</header_font_bold> | |
| 818 | - <header_font_italic>N</header_font_italic> | |
| 819 | - <header_font_underline>no</header_font_underline> | |
| 820 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 821 | - <header_font_color>black</header_font_color> | |
| 822 | - <header_background_color>none</header_background_color> | |
| 823 | - <header_row_height>255</header_row_height> | |
| 824 | - <header_alignment>left</header_alignment> | |
| 825 | - <header_image/> | |
| 826 | - <row_font_name>arial</row_font_name> | |
| 827 | - <row_font_size>10</row_font_size> | |
| 828 | - <row_font_color>black</row_font_color> | |
| 829 | - <row_background_color>none</row_background_color> | |
| 830 | - </custom> | |
| 831 | - <cluster_schema/> | |
| 832 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 833 | - <xloc>676</xloc> | |
| 834 | - <yloc>323</yloc> | |
| 835 | - <draw>Y</draw> | |
| 836 | - </GUI> | |
| 837 | - </step> | |
| 838 | - | |
| 839 | - <step> | |
| 840 | - <name>驾驶员id查找</name> | |
| 841 | - <type>DBJoin</type> | |
| 842 | - <description/> | |
| 843 | - <distribute>Y</distribute> | |
| 844 | - <custom_distribution/> | |
| 845 | - <copies>1</copies> | |
| 846 | - <partitioning> | |
| 847 | - <method>none</method> | |
| 848 | - <schema_name/> | |
| 849 | - </partitioning> | |
| 850 | - <connection>bus_control_variable</connection> | |
| 851 | - <rowlimit>1</rowlimit> | |
| 852 | - <sql>select id as jid from bsth_c_personnel
where job_code = ? and personnel_name = ?</sql> | |
| 853 | - <outer_join>Y</outer_join> | |
| 854 | - <replace_vars>N</replace_vars> | |
| 855 | - <parameter> | |
| 856 | - <field> | |
| 857 | - <name>驾驶员工号</name> | |
| 858 | - <type>String</type> | |
| 859 | - </field> | |
| 860 | - <field> | |
| 861 | - <name>驾驶员</name> | |
| 862 | - <type>String</type> | |
| 863 | - </field> | |
| 864 | - </parameter> | |
| 865 | - <cluster_schema/> | |
| 866 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 867 | - <xloc>537</xloc> | |
| 868 | - <yloc>143</yloc> | |
| 869 | - <draw>Y</draw> | |
| 870 | - </GUI> | |
| 871 | - </step> | |
| 872 | - | |
| 873 | - <step_error_handling> | |
| 874 | - <error> | |
| 875 | - <source_step>插入/更新bsth_c_s_ecinfo</source_step> | |
| 876 | - <target_step>错误输出</target_step> | |
| 877 | - <is_enabled>Y</is_enabled> | |
| 878 | - <nr_valuename>error_count</nr_valuename> | |
| 879 | - <descriptions_valuename>error_desc</descriptions_valuename> | |
| 880 | - <fields_valuename>error_column1</fields_valuename> | |
| 881 | - <codes_valuename>error_column2</codes_valuename> | |
| 882 | - <max_errors/> | |
| 883 | - <max_pct_errors/> | |
| 884 | - <min_pct_rows/> | |
| 885 | - </error> | |
| 886 | - </step_error_handling> | |
| 887 | - <slave-step-copy-partition-distribution> | |
| 888 | -</slave-step-copy-partition-distribution> | |
| 889 | - <slave_transformation>N</slave_transformation> | |
| 890 | - | |
| 891 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>employeesConfigDataInput</name> | |
| 5 | + <description>人员配置信息导入</description> | |
| 6 | + <extended_description>人员配置信息</extended_description> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>erroroutputdir</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>ktr step配置的错误输出目录</description> | |
| 16 | + </parameter> | |
| 17 | + <parameter> | |
| 18 | + <name>filepath</name> | |
| 19 | + <default_value/> | |
| 20 | + <description>待处理导入的excel文件</description> | |
| 21 | + </parameter> | |
| 22 | + </parameters> | |
| 23 | + <log> | |
| 24 | +<trans-log-table><connection/> | |
| 25 | +<schema/> | |
| 26 | +<table/> | |
| 27 | +<size_limit_lines/> | |
| 28 | +<interval/> | |
| 29 | +<timeout_days/> | |
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 31 | +<perf-log-table><connection/> | |
| 32 | +<schema/> | |
| 33 | +<table/> | |
| 34 | +<interval/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 37 | +<channel-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 42 | +<step-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 47 | +<metrics-log-table><connection/> | |
| 48 | +<schema/> | |
| 49 | +<table/> | |
| 50 | +<timeout_days/> | |
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 52 | + </log> | |
| 53 | + <maxdate> | |
| 54 | + <connection/> | |
| 55 | + <table/> | |
| 56 | + <field/> | |
| 57 | + <offset>0.0</offset> | |
| 58 | + <maxdiff>0.0</maxdiff> | |
| 59 | + </maxdate> | |
| 60 | + <size_rowset>10000</size_rowset> | |
| 61 | + <sleep_time_empty>50</sleep_time_empty> | |
| 62 | + <sleep_time_full>50</sleep_time_full> | |
| 63 | + <unique_connections>N</unique_connections> | |
| 64 | + <feedback_shown>Y</feedback_shown> | |
| 65 | + <feedback_size>50000</feedback_size> | |
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 67 | + <shared_objects_file/> | |
| 68 | + <capture_step_performance>N</capture_step_performance> | |
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 71 | + <dependencies> | |
| 72 | + </dependencies> | |
| 73 | + <partitionschemas> | |
| 74 | + </partitionschemas> | |
| 75 | + <slaveservers> | |
| 76 | + </slaveservers> | |
| 77 | + <clusterschemas> | |
| 78 | + </clusterschemas> | |
| 79 | + <created_user>-</created_user> | |
| 80 | + <created_date>2016/06/29 15:12:27.273</created_date> | |
| 81 | + <modified_user>-</modified_user> | |
| 82 | + <modified_date>2016/06/29 15:12:27.273</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 | + <notepad> | |
| 88 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 89 | + <xloc>101</xloc> | |
| 90 | + <yloc>264</yloc> | |
| 91 | + <width>333</width> | |
| 92 | + <heigth>90</heigth> | |
| 93 | + <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | + <fontsize>12</fontsize> | |
| 95 | + <fontbold>N</fontbold> | |
| 96 | + <fontitalic>N</fontitalic> | |
| 97 | + <fontcolorred>0</fontcolorred> | |
| 98 | + <fontcolorgreen>0</fontcolorgreen> | |
| 99 | + <fontcolorblue>0</fontcolorblue> | |
| 100 | + <backgroundcolorred>255</backgroundcolorred> | |
| 101 | + <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | + <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | + <bordercolorred>100</bordercolorred> | |
| 104 | + <bordercolorgreen>100</bordercolorgreen> | |
| 105 | + <bordercolorblue>100</bordercolorblue> | |
| 106 | + <drawshadow>Y</drawshadow> | |
| 107 | + </notepad> | |
| 108 | + </notepads> | |
| 109 | + <connection> | |
| 110 | + <name>bus_control_variable</name> | |
| 111 | + <server>${v_db_ip}</server> | |
| 112 | + <type>MYSQL</type> | |
| 113 | + <access>Native</access> | |
| 114 | + <database>${v_db_dname}</database> | |
| 115 | + <port>3306</port> | |
| 116 | + <username>${v_db_uname}</username> | |
| 117 | + <password>${v_db_pwd}</password> | |
| 118 | + <servername/> | |
| 119 | + <data_tablespace/> | |
| 120 | + <index_tablespace/> | |
| 121 | + <attributes> | |
| 122 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 123 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 124 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 125 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 126 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 127 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 128 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 129 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 131 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 132 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 133 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 135 | + </attributes> | |
| 136 | + </connection> | |
| 137 | + <connection> | |
| 138 | + <name>bus_control_公司_201</name> | |
| 139 | + <server>localhost</server> | |
| 140 | + <type>MYSQL</type> | |
| 141 | + <access>Native</access> | |
| 142 | + <database>control</database> | |
| 143 | + <port>3306</port> | |
| 144 | + <username>root</username> | |
| 145 | + <password>Encrypted </password> | |
| 146 | + <servername/> | |
| 147 | + <data_tablespace/> | |
| 148 | + <index_tablespace/> | |
| 149 | + <attributes> | |
| 150 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 151 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 152 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 153 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 154 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 155 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 156 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 157 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 158 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 159 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 160 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 162 | + </attributes> | |
| 163 | + </connection> | |
| 164 | + <connection> | |
| 165 | + <name>bus_control_本机</name> | |
| 166 | + <server>localhost</server> | |
| 167 | + <type>MYSQL</type> | |
| 168 | + <access>Native</access> | |
| 169 | + <database>control</database> | |
| 170 | + <port>3306</port> | |
| 171 | + <username>root</username> | |
| 172 | + <password>Encrypted </password> | |
| 173 | + <servername/> | |
| 174 | + <data_tablespace/> | |
| 175 | + <index_tablespace/> | |
| 176 | + <attributes> | |
| 177 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 178 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 179 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 180 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 181 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 182 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 183 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 184 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 185 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 186 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 187 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 188 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 189 | + </attributes> | |
| 190 | + </connection> | |
| 191 | + <connection> | |
| 192 | + <name>xlab_mysql_youle</name> | |
| 193 | + <server>101.231.124.8</server> | |
| 194 | + <type>MYSQL</type> | |
| 195 | + <access>Native</access> | |
| 196 | + <database>xlab_youle</database> | |
| 197 | + <port>45687</port> | |
| 198 | + <username>xlab-youle</username> | |
| 199 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 200 | + <servername/> | |
| 201 | + <data_tablespace/> | |
| 202 | + <index_tablespace/> | |
| 203 | + <attributes> | |
| 204 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 205 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 206 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 207 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 208 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 209 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 210 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 211 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 212 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 213 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 214 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 216 | + </attributes> | |
| 217 | + </connection> | |
| 218 | + <connection> | |
| 219 | + <name>xlab_mysql_youle(本机)</name> | |
| 220 | + <server>localhost</server> | |
| 221 | + <type>MYSQL</type> | |
| 222 | + <access>Native</access> | |
| 223 | + <database>xlab_youle</database> | |
| 224 | + <port>3306</port> | |
| 225 | + <username>root</username> | |
| 226 | + <password>Encrypted </password> | |
| 227 | + <servername/> | |
| 228 | + <data_tablespace/> | |
| 229 | + <index_tablespace/> | |
| 230 | + <attributes> | |
| 231 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 232 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 233 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 234 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 235 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 236 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 237 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 238 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 239 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 240 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 241 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 242 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 243 | + </attributes> | |
| 244 | + </connection> | |
| 245 | + <connection> | |
| 246 | + <name>xlab_youle</name> | |
| 247 | + <server/> | |
| 248 | + <type>MYSQL</type> | |
| 249 | + <access>JNDI</access> | |
| 250 | + <database>xlab_youle</database> | |
| 251 | + <port>1521</port> | |
| 252 | + <username/> | |
| 253 | + <password>Encrypted </password> | |
| 254 | + <servername/> | |
| 255 | + <data_tablespace/> | |
| 256 | + <index_tablespace/> | |
| 257 | + <attributes> | |
| 258 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 259 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 260 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 261 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 262 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 263 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 264 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 265 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 266 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 267 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 268 | + </attributes> | |
| 269 | + </connection> | |
| 270 | + <order> | |
| 271 | + <hop> <from>插入/更新bsth_c_s_ecinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | |
| 272 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 273 | + <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 274 | + <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 275 | + <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 276 | + <hop> <from>过滤线路id为空记录</from><to>驾驶员id查找</to><enabled>Y</enabled> </hop> | |
| 277 | + <hop> <from>驾驶员id查找</from><to>过滤驾驶员id为空记录</to><enabled>Y</enabled> </hop> | |
| 278 | + <hop> <from>过滤驾驶员id为空记录</from><to>售票员id查找</to><enabled>Y</enabled> </hop> | |
| 279 | + <hop> <from>售票员id查找</from><to>插入/更新bsth_c_s_ecinfo</to><enabled>Y</enabled> </hop> | |
| 280 | + </order> | |
| 281 | + <step> | |
| 282 | + <name>原始系统导出的Excel输入</name> | |
| 283 | + <type>ExcelInput</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 | + <noempty>Y</noempty> | |
| 294 | + <stoponempty>N</stoponempty> | |
| 295 | + <filefield/> | |
| 296 | + <sheetfield/> | |
| 297 | + <sheetrownumfield/> | |
| 298 | + <rownumfield/> | |
| 299 | + <sheetfield/> | |
| 300 | + <filefield/> | |
| 301 | + <limit>0</limit> | |
| 302 | + <encoding/> | |
| 303 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 304 | + <accept_filenames>Y</accept_filenames> | |
| 305 | + <accept_field>filepath_</accept_field> | |
| 306 | + <accept_stepname>获取变量</accept_stepname> | |
| 307 | + <file> | |
| 308 | + <name/> | |
| 309 | + <filemask/> | |
| 310 | + <exclude_filemask/> | |
| 311 | + <file_required>N</file_required> | |
| 312 | + <include_subfolders>N</include_subfolders> | |
| 313 | + </file> | |
| 314 | + <fields> | |
| 315 | + <field> | |
| 316 | + <name>线路</name> | |
| 317 | + <type>String</type> | |
| 318 | + <length>-1</length> | |
| 319 | + <precision>-1</precision> | |
| 320 | + <trim_type>none</trim_type> | |
| 321 | + <repeat>N</repeat> | |
| 322 | + <format/> | |
| 323 | + <currency/> | |
| 324 | + <decimal/> | |
| 325 | + <group/> | |
| 326 | + </field> | |
| 327 | + <field> | |
| 328 | + <name>搭班编码</name> | |
| 329 | + <type>String</type> | |
| 330 | + <length>-1</length> | |
| 331 | + <precision>-1</precision> | |
| 332 | + <trim_type>none</trim_type> | |
| 333 | + <repeat>N</repeat> | |
| 334 | + <format>#</format> | |
| 335 | + <currency/> | |
| 336 | + <decimal/> | |
| 337 | + <group/> | |
| 338 | + </field> | |
| 339 | + <field> | |
| 340 | + <name>驾驶员工号</name> | |
| 341 | + <type>String</type> | |
| 342 | + <length>-1</length> | |
| 343 | + <precision>-1</precision> | |
| 344 | + <trim_type>none</trim_type> | |
| 345 | + <repeat>N</repeat> | |
| 346 | + <format>#</format> | |
| 347 | + <currency/> | |
| 348 | + <decimal/> | |
| 349 | + <group/> | |
| 350 | + </field> | |
| 351 | + <field> | |
| 352 | + <name>驾驶员</name> | |
| 353 | + <type>String</type> | |
| 354 | + <length>-1</length> | |
| 355 | + <precision>-1</precision> | |
| 356 | + <trim_type>none</trim_type> | |
| 357 | + <repeat>N</repeat> | |
| 358 | + <format/> | |
| 359 | + <currency/> | |
| 360 | + <decimal/> | |
| 361 | + <group/> | |
| 362 | + </field> | |
| 363 | + <field> | |
| 364 | + <name>售票员工号</name> | |
| 365 | + <type>String</type> | |
| 366 | + <length>-1</length> | |
| 367 | + <precision>-1</precision> | |
| 368 | + <trim_type>none</trim_type> | |
| 369 | + <repeat>N</repeat> | |
| 370 | + <format>#</format> | |
| 371 | + <currency/> | |
| 372 | + <decimal/> | |
| 373 | + <group/> | |
| 374 | + </field> | |
| 375 | + <field> | |
| 376 | + <name>售票员</name> | |
| 377 | + <type>String</type> | |
| 378 | + <length>-1</length> | |
| 379 | + <precision>-1</precision> | |
| 380 | + <trim_type>none</trim_type> | |
| 381 | + <repeat>N</repeat> | |
| 382 | + <format/> | |
| 383 | + <currency/> | |
| 384 | + <decimal/> | |
| 385 | + <group/> | |
| 386 | + </field> | |
| 387 | + </fields> | |
| 388 | + <sheets> | |
| 389 | + <sheet> | |
| 390 | + <name>工作表1</name> | |
| 391 | + <startrow>0</startrow> | |
| 392 | + <startcol>0</startcol> | |
| 393 | + </sheet> | |
| 394 | + </sheets> | |
| 395 | + <strict_types>N</strict_types> | |
| 396 | + <error_ignored>N</error_ignored> | |
| 397 | + <error_line_skipped>N</error_line_skipped> | |
| 398 | + <bad_line_files_destination_directory/> | |
| 399 | + <bad_line_files_extension>warning</bad_line_files_extension> | |
| 400 | + <error_line_files_destination_directory/> | |
| 401 | + <error_line_files_extension>error</error_line_files_extension> | |
| 402 | + <line_number_files_destination_directory/> | |
| 403 | + <line_number_files_extension>line</line_number_files_extension> | |
| 404 | + <shortFileFieldName/> | |
| 405 | + <pathFieldName/> | |
| 406 | + <hiddenFieldName/> | |
| 407 | + <lastModificationTimeFieldName/> | |
| 408 | + <uriNameFieldName/> | |
| 409 | + <rootUriNameFieldName/> | |
| 410 | + <extensionFieldName/> | |
| 411 | + <sizeFieldName/> | |
| 412 | + <spreadsheet_type>JXL</spreadsheet_type> | |
| 413 | + <cluster_schema/> | |
| 414 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 415 | + <xloc>93</xloc> | |
| 416 | + <yloc>51</yloc> | |
| 417 | + <draw>Y</draw> | |
| 418 | + </GUI> | |
| 419 | + </step> | |
| 420 | + | |
| 421 | + <step> | |
| 422 | + <name>启用被数据flag</name> | |
| 423 | + <type>Constant</type> | |
| 424 | + <description/> | |
| 425 | + <distribute>Y</distribute> | |
| 426 | + <custom_distribution/> | |
| 427 | + <copies>1</copies> | |
| 428 | + <partitioning> | |
| 429 | + <method>none</method> | |
| 430 | + <schema_name/> | |
| 431 | + </partitioning> | |
| 432 | + <fields> | |
| 433 | + <field> | |
| 434 | + <name>isCancel</name> | |
| 435 | + <type>Integer</type> | |
| 436 | + <format/> | |
| 437 | + <currency/> | |
| 438 | + <decimal/> | |
| 439 | + <group/> | |
| 440 | + <nullif>0</nullif> | |
| 441 | + <length>-1</length> | |
| 442 | + <precision>-1</precision> | |
| 443 | + <set_empty_string>N</set_empty_string> | |
| 444 | + </field> | |
| 445 | + </fields> | |
| 446 | + <cluster_schema/> | |
| 447 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 448 | + <xloc>225</xloc> | |
| 449 | + <yloc>53</yloc> | |
| 450 | + <draw>Y</draw> | |
| 451 | + </GUI> | |
| 452 | + </step> | |
| 453 | + | |
| 454 | + <step> | |
| 455 | + <name>售票员id查找</name> | |
| 456 | + <type>DBJoin</type> | |
| 457 | + <description/> | |
| 458 | + <distribute>Y</distribute> | |
| 459 | + <custom_distribution/> | |
| 460 | + <copies>1</copies> | |
| 461 | + <partitioning> | |
| 462 | + <method>none</method> | |
| 463 | + <schema_name/> | |
| 464 | + </partitioning> | |
| 465 | + <connection>bus_control_variable</connection> | |
| 466 | + <rowlimit>1</rowlimit> | |
| 467 | + <sql>select id as sid from bsth_c_personnel
where job_code = ? and personnel_name = ?</sql> | |
| 468 | + <outer_join>Y</outer_join> | |
| 469 | + <replace_vars>N</replace_vars> | |
| 470 | + <parameter> | |
| 471 | + <field> | |
| 472 | + <name>售票员工号</name> | |
| 473 | + <type>String</type> | |
| 474 | + </field> | |
| 475 | + <field> | |
| 476 | + <name>售票员</name> | |
| 477 | + <type>String</type> | |
| 478 | + </field> | |
| 479 | + </parameter> | |
| 480 | + <cluster_schema/> | |
| 481 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 482 | + <xloc>673</xloc> | |
| 483 | + <yloc>47</yloc> | |
| 484 | + <draw>Y</draw> | |
| 485 | + </GUI> | |
| 486 | + </step> | |
| 487 | + | |
| 488 | + <step> | |
| 489 | + <name>插入/更新bsth_c_s_ecinfo</name> | |
| 490 | + <type>InsertUpdate</type> | |
| 491 | + <description/> | |
| 492 | + <distribute>Y</distribute> | |
| 493 | + <custom_distribution/> | |
| 494 | + <copies>1</copies> | |
| 495 | + <partitioning> | |
| 496 | + <method>none</method> | |
| 497 | + <schema_name/> | |
| 498 | + </partitioning> | |
| 499 | + <connection>bus_control_variable</connection> | |
| 500 | + <commit>100</commit> | |
| 501 | + <update_bypassed>N</update_bypassed> | |
| 502 | + <lookup> | |
| 503 | + <schema/> | |
| 504 | + <table>bsth_c_s_ecinfo</table> | |
| 505 | + <key> | |
| 506 | + <name>xlid</name> | |
| 507 | + <field>xl</field> | |
| 508 | + <condition>=</condition> | |
| 509 | + <name2/> | |
| 510 | + </key> | |
| 511 | + <key> | |
| 512 | + <name>搭班编码</name> | |
| 513 | + <field>dbbm</field> | |
| 514 | + <condition>=</condition> | |
| 515 | + <name2/> | |
| 516 | + </key> | |
| 517 | + <value> | |
| 518 | + <name>xl</name> | |
| 519 | + <rename>xlid</rename> | |
| 520 | + <update>Y</update> | |
| 521 | + </value> | |
| 522 | + <value> | |
| 523 | + <name>dbbm</name> | |
| 524 | + <rename>搭班编码</rename> | |
| 525 | + <update>Y</update> | |
| 526 | + </value> | |
| 527 | + <value> | |
| 528 | + <name>jsy</name> | |
| 529 | + <rename>jid</rename> | |
| 530 | + <update>Y</update> | |
| 531 | + </value> | |
| 532 | + <value> | |
| 533 | + <name>spy</name> | |
| 534 | + <rename>sid</rename> | |
| 535 | + <update>Y</update> | |
| 536 | + </value> | |
| 537 | + <value> | |
| 538 | + <name>is_cancel</name> | |
| 539 | + <rename>isCancel</rename> | |
| 540 | + <update>Y</update> | |
| 541 | + </value> | |
| 542 | + </lookup> | |
| 543 | + <cluster_schema/> | |
| 544 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 545 | + <xloc>676</xloc> | |
| 546 | + <yloc>200</yloc> | |
| 547 | + <draw>Y</draw> | |
| 548 | + </GUI> | |
| 549 | + </step> | |
| 550 | + | |
| 551 | + <step> | |
| 552 | + <name>线路id查询</name> | |
| 553 | + <type>DBLookup</type> | |
| 554 | + <description/> | |
| 555 | + <distribute>Y</distribute> | |
| 556 | + <custom_distribution/> | |
| 557 | + <copies>1</copies> | |
| 558 | + <partitioning> | |
| 559 | + <method>none</method> | |
| 560 | + <schema_name/> | |
| 561 | + </partitioning> | |
| 562 | + <connection>bus_control_variable</connection> | |
| 563 | + <cache>Y</cache> | |
| 564 | + <cache_load_all>Y</cache_load_all> | |
| 565 | + <cache_size>0</cache_size> | |
| 566 | + <lookup> | |
| 567 | + <schema/> | |
| 568 | + <table>bsth_c_line</table> | |
| 569 | + <orderby/> | |
| 570 | + <fail_on_multiple>N</fail_on_multiple> | |
| 571 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 572 | + <key> | |
| 573 | + <name>线路</name> | |
| 574 | + <field>name</field> | |
| 575 | + <condition>=</condition> | |
| 576 | + <name2/> | |
| 577 | + </key> | |
| 578 | + <key> | |
| 579 | + <name>isCancel</name> | |
| 580 | + <field>destroy</field> | |
| 581 | + <condition>=</condition> | |
| 582 | + <name2/> | |
| 583 | + </key> | |
| 584 | + <value> | |
| 585 | + <name>id</name> | |
| 586 | + <rename>xlid</rename> | |
| 587 | + <default/> | |
| 588 | + <type>Integer</type> | |
| 589 | + </value> | |
| 590 | + </lookup> | |
| 591 | + <cluster_schema/> | |
| 592 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 593 | + <xloc>397</xloc> | |
| 594 | + <yloc>144</yloc> | |
| 595 | + <draw>Y</draw> | |
| 596 | + </GUI> | |
| 597 | + </step> | |
| 598 | + | |
| 599 | + <step> | |
| 600 | + <name>获取变量</name> | |
| 601 | + <type>GetVariable</type> | |
| 602 | + <description/> | |
| 603 | + <distribute>Y</distribute> | |
| 604 | + <custom_distribution/> | |
| 605 | + <copies>1</copies> | |
| 606 | + <partitioning> | |
| 607 | + <method>none</method> | |
| 608 | + <schema_name/> | |
| 609 | + </partitioning> | |
| 610 | + <fields> | |
| 611 | + <field> | |
| 612 | + <name>filepath_</name> | |
| 613 | + <variable>${filepath}</variable> | |
| 614 | + <type>String</type> | |
| 615 | + <format/> | |
| 616 | + <currency/> | |
| 617 | + <decimal/> | |
| 618 | + <group/> | |
| 619 | + <length>-1</length> | |
| 620 | + <precision>-1</precision> | |
| 621 | + <trim_type>none</trim_type> | |
| 622 | + </field> | |
| 623 | + <field> | |
| 624 | + <name>erroroutputdir_</name> | |
| 625 | + <variable>${erroroutputdir}</variable> | |
| 626 | + <type>String</type> | |
| 627 | + <format/> | |
| 628 | + <currency/> | |
| 629 | + <decimal/> | |
| 630 | + <group/> | |
| 631 | + <length>-1</length> | |
| 632 | + <precision>-1</precision> | |
| 633 | + <trim_type>none</trim_type> | |
| 634 | + </field> | |
| 635 | + </fields> | |
| 636 | + <cluster_schema/> | |
| 637 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 638 | + <xloc>94</xloc> | |
| 639 | + <yloc>178</yloc> | |
| 640 | + <draw>Y</draw> | |
| 641 | + </GUI> | |
| 642 | + </step> | |
| 643 | + | |
| 644 | + <step> | |
| 645 | + <name>过滤线路id为空记录</name> | |
| 646 | + <type>FilterRows</type> | |
| 647 | + <description/> | |
| 648 | + <distribute>Y</distribute> | |
| 649 | + <custom_distribution/> | |
| 650 | + <copies>1</copies> | |
| 651 | + <partitioning> | |
| 652 | + <method>none</method> | |
| 653 | + <schema_name/> | |
| 654 | + </partitioning> | |
| 655 | +<send_true_to/> | |
| 656 | +<send_false_to/> | |
| 657 | + <compare> | |
| 658 | +<condition> | |
| 659 | + <negated>N</negated> | |
| 660 | + <leftvalue>xlid</leftvalue> | |
| 661 | + <function>IS NOT NULL</function> | |
| 662 | + <rightvalue/> | |
| 663 | + </condition> | |
| 664 | + </compare> | |
| 665 | + <cluster_schema/> | |
| 666 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 667 | + <xloc>395</xloc> | |
| 668 | + <yloc>49</yloc> | |
| 669 | + <draw>Y</draw> | |
| 670 | + </GUI> | |
| 671 | + </step> | |
| 672 | + | |
| 673 | + <step> | |
| 674 | + <name>过滤驾驶员id为空记录</name> | |
| 675 | + <type>FilterRows</type> | |
| 676 | + <description/> | |
| 677 | + <distribute>Y</distribute> | |
| 678 | + <custom_distribution/> | |
| 679 | + <copies>1</copies> | |
| 680 | + <partitioning> | |
| 681 | + <method>none</method> | |
| 682 | + <schema_name/> | |
| 683 | + </partitioning> | |
| 684 | +<send_true_to>售票员id查找</send_true_to> | |
| 685 | +<send_false_to/> | |
| 686 | + <compare> | |
| 687 | +<condition> | |
| 688 | + <negated>N</negated> | |
| 689 | + <leftvalue>jid</leftvalue> | |
| 690 | + <function>IS NOT NULL</function> | |
| 691 | + <rightvalue/> | |
| 692 | + </condition> | |
| 693 | + </compare> | |
| 694 | + <cluster_schema/> | |
| 695 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 696 | + <xloc>538</xloc> | |
| 697 | + <yloc>47</yloc> | |
| 698 | + <draw>Y</draw> | |
| 699 | + </GUI> | |
| 700 | + </step> | |
| 701 | + | |
| 702 | + <step> | |
| 703 | + <name>错误输出</name> | |
| 704 | + <type>ExcelOutput</type> | |
| 705 | + <description/> | |
| 706 | + <distribute>Y</distribute> | |
| 707 | + <custom_distribution/> | |
| 708 | + <copies>1</copies> | |
| 709 | + <partitioning> | |
| 710 | + <method>none</method> | |
| 711 | + <schema_name/> | |
| 712 | + </partitioning> | |
| 713 | + <header>Y</header> | |
| 714 | + <footer>N</footer> | |
| 715 | + <encoding>UTF-8</encoding> | |
| 716 | + <append>N</append> | |
| 717 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 718 | + <file> | |
| 719 | + <name>${erroroutputdir}/人员配置_错误</name> | |
| 720 | + <extention>xls</extention> | |
| 721 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 722 | + <create_parent_folder>N</create_parent_folder> | |
| 723 | + <split>N</split> | |
| 724 | + <add_date>N</add_date> | |
| 725 | + <add_time>N</add_time> | |
| 726 | + <SpecifyFormat>N</SpecifyFormat> | |
| 727 | + <date_time_format/> | |
| 728 | + <sheetname>Sheet1</sheetname> | |
| 729 | + <autosizecolums>N</autosizecolums> | |
| 730 | + <nullisblank>N</nullisblank> | |
| 731 | + <protect_sheet>N</protect_sheet> | |
| 732 | + <password>Encrypted </password> | |
| 733 | + <splitevery>0</splitevery> | |
| 734 | + <usetempfiles>N</usetempfiles> | |
| 735 | + <tempdirectory/> | |
| 736 | + </file> | |
| 737 | + <template> | |
| 738 | + <enabled>N</enabled> | |
| 739 | + <append>N</append> | |
| 740 | + <filename>template.xls</filename> | |
| 741 | + </template> | |
| 742 | + <fields> | |
| 743 | + <field> | |
| 744 | + <name>线路</name> | |
| 745 | + <type>String</type> | |
| 746 | + <format/> | |
| 747 | + </field> | |
| 748 | + <field> | |
| 749 | + <name>搭班编码</name> | |
| 750 | + <type>String</type> | |
| 751 | + <format/> | |
| 752 | + </field> | |
| 753 | + <field> | |
| 754 | + <name>驾驶员工号</name> | |
| 755 | + <type>String</type> | |
| 756 | + <format/> | |
| 757 | + </field> | |
| 758 | + <field> | |
| 759 | + <name>驾驶员</name> | |
| 760 | + <type>String</type> | |
| 761 | + <format/> | |
| 762 | + </field> | |
| 763 | + <field> | |
| 764 | + <name>售票员工号</name> | |
| 765 | + <type>String</type> | |
| 766 | + <format/> | |
| 767 | + </field> | |
| 768 | + <field> | |
| 769 | + <name>售票员</name> | |
| 770 | + <type>String</type> | |
| 771 | + <format/> | |
| 772 | + </field> | |
| 773 | + <field> | |
| 774 | + <name>isCancel</name> | |
| 775 | + <type>Integer</type> | |
| 776 | + <format/> | |
| 777 | + </field> | |
| 778 | + <field> | |
| 779 | + <name>xlid</name> | |
| 780 | + <type>Integer</type> | |
| 781 | + <format/> | |
| 782 | + </field> | |
| 783 | + <field> | |
| 784 | + <name>jid</name> | |
| 785 | + <type>Integer</type> | |
| 786 | + <format/> | |
| 787 | + </field> | |
| 788 | + <field> | |
| 789 | + <name>sid</name> | |
| 790 | + <type>Integer</type> | |
| 791 | + <format/> | |
| 792 | + </field> | |
| 793 | + <field> | |
| 794 | + <name>error_count</name> | |
| 795 | + <type>Integer</type> | |
| 796 | + <format/> | |
| 797 | + </field> | |
| 798 | + <field> | |
| 799 | + <name>error_desc</name> | |
| 800 | + <type>String</type> | |
| 801 | + <format/> | |
| 802 | + </field> | |
| 803 | + <field> | |
| 804 | + <name>error_column1</name> | |
| 805 | + <type>String</type> | |
| 806 | + <format/> | |
| 807 | + </field> | |
| 808 | + <field> | |
| 809 | + <name>error_column2</name> | |
| 810 | + <type>String</type> | |
| 811 | + <format/> | |
| 812 | + </field> | |
| 813 | + </fields> | |
| 814 | + <custom> | |
| 815 | + <header_font_name>arial</header_font_name> | |
| 816 | + <header_font_size>10</header_font_size> | |
| 817 | + <header_font_bold>N</header_font_bold> | |
| 818 | + <header_font_italic>N</header_font_italic> | |
| 819 | + <header_font_underline>no</header_font_underline> | |
| 820 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 821 | + <header_font_color>black</header_font_color> | |
| 822 | + <header_background_color>none</header_background_color> | |
| 823 | + <header_row_height>255</header_row_height> | |
| 824 | + <header_alignment>left</header_alignment> | |
| 825 | + <header_image/> | |
| 826 | + <row_font_name>arial</row_font_name> | |
| 827 | + <row_font_size>10</row_font_size> | |
| 828 | + <row_font_color>black</row_font_color> | |
| 829 | + <row_background_color>none</row_background_color> | |
| 830 | + </custom> | |
| 831 | + <cluster_schema/> | |
| 832 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 833 | + <xloc>676</xloc> | |
| 834 | + <yloc>323</yloc> | |
| 835 | + <draw>Y</draw> | |
| 836 | + </GUI> | |
| 837 | + </step> | |
| 838 | + | |
| 839 | + <step> | |
| 840 | + <name>驾驶员id查找</name> | |
| 841 | + <type>DBJoin</type> | |
| 842 | + <description/> | |
| 843 | + <distribute>Y</distribute> | |
| 844 | + <custom_distribution/> | |
| 845 | + <copies>1</copies> | |
| 846 | + <partitioning> | |
| 847 | + <method>none</method> | |
| 848 | + <schema_name/> | |
| 849 | + </partitioning> | |
| 850 | + <connection>bus_control_variable</connection> | |
| 851 | + <rowlimit>1</rowlimit> | |
| 852 | + <sql>select id as jid from bsth_c_personnel
where job_code = ? and personnel_name = ?</sql> | |
| 853 | + <outer_join>Y</outer_join> | |
| 854 | + <replace_vars>N</replace_vars> | |
| 855 | + <parameter> | |
| 856 | + <field> | |
| 857 | + <name>驾驶员工号</name> | |
| 858 | + <type>String</type> | |
| 859 | + </field> | |
| 860 | + <field> | |
| 861 | + <name>驾驶员</name> | |
| 862 | + <type>String</type> | |
| 863 | + </field> | |
| 864 | + </parameter> | |
| 865 | + <cluster_schema/> | |
| 866 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 867 | + <xloc>537</xloc> | |
| 868 | + <yloc>143</yloc> | |
| 869 | + <draw>Y</draw> | |
| 870 | + </GUI> | |
| 871 | + </step> | |
| 872 | + | |
| 873 | + <step_error_handling> | |
| 874 | + <error> | |
| 875 | + <source_step>插入/更新bsth_c_s_ecinfo</source_step> | |
| 876 | + <target_step>错误输出</target_step> | |
| 877 | + <is_enabled>Y</is_enabled> | |
| 878 | + <nr_valuename>error_count</nr_valuename> | |
| 879 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 880 | + <fields_valuename>error_column1</fields_valuename> | |
| 881 | + <codes_valuename>error_column2</codes_valuename> | |
| 882 | + <max_errors/> | |
| 883 | + <max_pct_errors/> | |
| 884 | + <min_pct_rows/> | |
| 885 | + </error> | |
| 886 | + </step_error_handling> | |
| 887 | + <slave-step-copy-partition-distribution> | |
| 888 | +</slave-step-copy-partition-distribution> | |
| 889 | + <slave_transformation>N</slave_transformation> | |
| 890 | + | |
| 891 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/employeesConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>employeesConfigDataOutput</name> | |
| 5 | - <description/> | |
| 6 | - <extended_description/> | |
| 7 | - <trans_version/> | |
| 8 | - <trans_type>Normal</trans_type> | |
| 9 | - <trans_status>0</trans_status> | |
| 10 | - <directory>/</directory> | |
| 11 | - <parameters> | |
| 12 | - <parameter> | |
| 13 | - <name>filepath</name> | |
| 14 | - <default_value/> | |
| 15 | - <description>excel文件路径</description> | |
| 16 | - </parameter> | |
| 17 | - </parameters> | |
| 18 | - <log> | |
| 19 | -<trans-log-table><connection/> | |
| 20 | -<schema/> | |
| 21 | -<table/> | |
| 22 | -<size_limit_lines/> | |
| 23 | -<interval/> | |
| 24 | -<timeout_days/> | |
| 25 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | -<perf-log-table><connection/> | |
| 27 | -<schema/> | |
| 28 | -<table/> | |
| 29 | -<interval/> | |
| 30 | -<timeout_days/> | |
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | -<channel-log-table><connection/> | |
| 33 | -<schema/> | |
| 34 | -<table/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | -<step-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | -<metrics-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | - </log> | |
| 48 | - <maxdate> | |
| 49 | - <connection/> | |
| 50 | - <table/> | |
| 51 | - <field/> | |
| 52 | - <offset>0.0</offset> | |
| 53 | - <maxdiff>0.0</maxdiff> | |
| 54 | - </maxdate> | |
| 55 | - <size_rowset>10000</size_rowset> | |
| 56 | - <sleep_time_empty>50</sleep_time_empty> | |
| 57 | - <sleep_time_full>50</sleep_time_full> | |
| 58 | - <unique_connections>N</unique_connections> | |
| 59 | - <feedback_shown>Y</feedback_shown> | |
| 60 | - <feedback_size>50000</feedback_size> | |
| 61 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | - <shared_objects_file/> | |
| 63 | - <capture_step_performance>N</capture_step_performance> | |
| 64 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | - <dependencies> | |
| 67 | - </dependencies> | |
| 68 | - <partitionschemas> | |
| 69 | - </partitionschemas> | |
| 70 | - <slaveservers> | |
| 71 | - </slaveservers> | |
| 72 | - <clusterschemas> | |
| 73 | - </clusterschemas> | |
| 74 | - <created_user>-</created_user> | |
| 75 | - <created_date>2017/01/11 15:36:10.101</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2017/01/11 15:36:10.101</modified_date> | |
| 78 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - <notepad> | |
| 83 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | - <xloc>66</xloc> | |
| 85 | - <yloc>151</yloc> | |
| 86 | - <width>333</width> | |
| 87 | - <heigth>90</heigth> | |
| 88 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | - <fontsize>12</fontsize> | |
| 90 | - <fontbold>N</fontbold> | |
| 91 | - <fontitalic>N</fontitalic> | |
| 92 | - <fontcolorred>0</fontcolorred> | |
| 93 | - <fontcolorgreen>0</fontcolorgreen> | |
| 94 | - <fontcolorblue>0</fontcolorblue> | |
| 95 | - <backgroundcolorred>255</backgroundcolorred> | |
| 96 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | - <bordercolorred>100</bordercolorred> | |
| 99 | - <bordercolorgreen>100</bordercolorgreen> | |
| 100 | - <bordercolorblue>100</bordercolorblue> | |
| 101 | - <drawshadow>Y</drawshadow> | |
| 102 | - </notepad> | |
| 103 | - </notepads> | |
| 104 | - <connection> | |
| 105 | - <name>bus_control_variable</name> | |
| 106 | - <server>${v_db_ip}</server> | |
| 107 | - <type>MYSQL</type> | |
| 108 | - <access>Native</access> | |
| 109 | - <database>${v_db_dname}</database> | |
| 110 | - <port>3306</port> | |
| 111 | - <username>${v_db_uname}</username> | |
| 112 | - <password>${v_db_pwd}</password> | |
| 113 | - <servername/> | |
| 114 | - <data_tablespace/> | |
| 115 | - <index_tablespace/> | |
| 116 | - <attributes> | |
| 117 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | - </attributes> | |
| 131 | - </connection> | |
| 132 | - <connection> | |
| 133 | - <name>bus_control_公司_201</name> | |
| 134 | - <server>localhost</server> | |
| 135 | - <type>MYSQL</type> | |
| 136 | - <access>Native</access> | |
| 137 | - <database>control</database> | |
| 138 | - <port>3306</port> | |
| 139 | - <username>root</username> | |
| 140 | - <password>Encrypted </password> | |
| 141 | - <servername/> | |
| 142 | - <data_tablespace/> | |
| 143 | - <index_tablespace/> | |
| 144 | - <attributes> | |
| 145 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | - </attributes> | |
| 158 | - </connection> | |
| 159 | - <connection> | |
| 160 | - <name>bus_control_本机</name> | |
| 161 | - <server>localhost</server> | |
| 162 | - <type>MYSQL</type> | |
| 163 | - <access>Native</access> | |
| 164 | - <database>control</database> | |
| 165 | - <port>3306</port> | |
| 166 | - <username>root</username> | |
| 167 | - <password>Encrypted </password> | |
| 168 | - <servername/> | |
| 169 | - <data_tablespace/> | |
| 170 | - <index_tablespace/> | |
| 171 | - <attributes> | |
| 172 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | - </attributes> | |
| 185 | - </connection> | |
| 186 | - <connection> | |
| 187 | - <name>xlab_mysql_youle</name> | |
| 188 | - <server>101.231.124.8</server> | |
| 189 | - <type>MYSQL</type> | |
| 190 | - <access>Native</access> | |
| 191 | - <database>xlab_youle</database> | |
| 192 | - <port>45687</port> | |
| 193 | - <username>xlab-youle</username> | |
| 194 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | - <servername/> | |
| 196 | - <data_tablespace/> | |
| 197 | - <index_tablespace/> | |
| 198 | - <attributes> | |
| 199 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | - </attributes> | |
| 212 | - </connection> | |
| 213 | - <connection> | |
| 214 | - <name>xlab_mysql_youle(本机)</name> | |
| 215 | - <server>localhost</server> | |
| 216 | - <type>MYSQL</type> | |
| 217 | - <access>Native</access> | |
| 218 | - <database>xlab_youle</database> | |
| 219 | - <port>3306</port> | |
| 220 | - <username>root</username> | |
| 221 | - <password>Encrypted </password> | |
| 222 | - <servername/> | |
| 223 | - <data_tablespace/> | |
| 224 | - <index_tablespace/> | |
| 225 | - <attributes> | |
| 226 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | - </attributes> | |
| 239 | - </connection> | |
| 240 | - <connection> | |
| 241 | - <name>xlab_youle</name> | |
| 242 | - <server/> | |
| 243 | - <type>MYSQL</type> | |
| 244 | - <access>JNDI</access> | |
| 245 | - <database>xlab_youle</database> | |
| 246 | - <port>1521</port> | |
| 247 | - <username/> | |
| 248 | - <password>Encrypted </password> | |
| 249 | - <servername/> | |
| 250 | - <data_tablespace/> | |
| 251 | - <index_tablespace/> | |
| 252 | - <attributes> | |
| 253 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | - </attributes> | |
| 264 | - </connection> | |
| 265 | - <order> | |
| 266 | - <hop> <from>人员配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | - <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | |
| 268 | - <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | |
| 269 | - <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 270 | - <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 271 | - <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | - </order> | |
| 273 | - <step> | |
| 274 | - <name>Excel输出</name> | |
| 275 | - <type>ExcelOutput</type> | |
| 276 | - <description/> | |
| 277 | - <distribute>Y</distribute> | |
| 278 | - <custom_distribution/> | |
| 279 | - <copies>1</copies> | |
| 280 | - <partitioning> | |
| 281 | - <method>none</method> | |
| 282 | - <schema_name/> | |
| 283 | - </partitioning> | |
| 284 | - <header>Y</header> | |
| 285 | - <footer>N</footer> | |
| 286 | - <encoding/> | |
| 287 | - <append>N</append> | |
| 288 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 289 | - <file> | |
| 290 | - <name>${filepath}</name> | |
| 291 | - <extention/> | |
| 292 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 293 | - <create_parent_folder>N</create_parent_folder> | |
| 294 | - <split>N</split> | |
| 295 | - <add_date>N</add_date> | |
| 296 | - <add_time>N</add_time> | |
| 297 | - <SpecifyFormat>N</SpecifyFormat> | |
| 298 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 299 | - <sheetname>工作表1</sheetname> | |
| 300 | - <autosizecolums>N</autosizecolums> | |
| 301 | - <nullisblank>N</nullisblank> | |
| 302 | - <protect_sheet>N</protect_sheet> | |
| 303 | - <password>Encrypted </password> | |
| 304 | - <splitevery>0</splitevery> | |
| 305 | - <usetempfiles>N</usetempfiles> | |
| 306 | - <tempdirectory/> | |
| 307 | - </file> | |
| 308 | - <template> | |
| 309 | - <enabled>N</enabled> | |
| 310 | - <append>N</append> | |
| 311 | - <filename>template.xls</filename> | |
| 312 | - </template> | |
| 313 | - <fields> | |
| 314 | - <field> | |
| 315 | - <name>线路</name> | |
| 316 | - <type>String</type> | |
| 317 | - <format/> | |
| 318 | - </field> | |
| 319 | - <field> | |
| 320 | - <name>搭班编码</name> | |
| 321 | - <type>String</type> | |
| 322 | - <format/> | |
| 323 | - </field> | |
| 324 | - <field> | |
| 325 | - <name>驾驶员工号</name> | |
| 326 | - <type>String</type> | |
| 327 | - <format/> | |
| 328 | - </field> | |
| 329 | - <field> | |
| 330 | - <name>驾驶员</name> | |
| 331 | - <type>String</type> | |
| 332 | - <format/> | |
| 333 | - </field> | |
| 334 | - <field> | |
| 335 | - <name>售票员工号</name> | |
| 336 | - <type>String</type> | |
| 337 | - <format/> | |
| 338 | - </field> | |
| 339 | - <field> | |
| 340 | - <name>售票员</name> | |
| 341 | - <type>String</type> | |
| 342 | - <format/> | |
| 343 | - </field> | |
| 344 | - </fields> | |
| 345 | - <custom> | |
| 346 | - <header_font_name>arial</header_font_name> | |
| 347 | - <header_font_size>10</header_font_size> | |
| 348 | - <header_font_bold>N</header_font_bold> | |
| 349 | - <header_font_italic>N</header_font_italic> | |
| 350 | - <header_font_underline>no</header_font_underline> | |
| 351 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 352 | - <header_font_color>black</header_font_color> | |
| 353 | - <header_background_color>none</header_background_color> | |
| 354 | - <header_row_height>255</header_row_height> | |
| 355 | - <header_alignment>left</header_alignment> | |
| 356 | - <header_image/> | |
| 357 | - <row_font_name>arial</row_font_name> | |
| 358 | - <row_font_size>10</row_font_size> | |
| 359 | - <row_font_color>black</row_font_color> | |
| 360 | - <row_background_color>none</row_background_color> | |
| 361 | - </custom> | |
| 362 | - <cluster_schema/> | |
| 363 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 364 | - <xloc>696</xloc> | |
| 365 | - <yloc>257</yloc> | |
| 366 | - <draw>Y</draw> | |
| 367 | - </GUI> | |
| 368 | - </step> | |
| 369 | - | |
| 370 | - <step> | |
| 371 | - <name>人员配置(没有作废)</name> | |
| 372 | - <type>TableInput</type> | |
| 373 | - <description/> | |
| 374 | - <distribute>Y</distribute> | |
| 375 | - <custom_distribution/> | |
| 376 | - <copies>1</copies> | |
| 377 | - <partitioning> | |
| 378 | - <method>none</method> | |
| 379 | - <schema_name/> | |
| 380 | - </partitioning> | |
| 381 | - <connection>bus_control_variable</connection> | |
| 382 | - <sql>select * from bsth_c_s_ecinfo where is_cancel = 0</sql> | |
| 383 | - <limit>0</limit> | |
| 384 | - <lookup/> | |
| 385 | - <execute_each_row>N</execute_each_row> | |
| 386 | - <variables_active>N</variables_active> | |
| 387 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 388 | - <cluster_schema/> | |
| 389 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 390 | - <xloc>90</xloc> | |
| 391 | - <yloc>59</yloc> | |
| 392 | - <draw>Y</draw> | |
| 393 | - </GUI> | |
| 394 | - </step> | |
| 395 | - | |
| 396 | - <step> | |
| 397 | - <name>售票员查询</name> | |
| 398 | - <type>DBJoin</type> | |
| 399 | - <description/> | |
| 400 | - <distribute>Y</distribute> | |
| 401 | - <custom_distribution/> | |
| 402 | - <copies>1</copies> | |
| 403 | - <partitioning> | |
| 404 | - <method>none</method> | |
| 405 | - <schema_name/> | |
| 406 | - </partitioning> | |
| 407 | - <connection>bus_control_variable</connection> | |
| 408 | - <rowlimit>1</rowlimit> | |
| 409 | - <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | |
| 410 | - <outer_join>Y</outer_join> | |
| 411 | - <replace_vars>N</replace_vars> | |
| 412 | - <parameter> | |
| 413 | - <field> | |
| 414 | - <name>spy</name> | |
| 415 | - <type>Integer</type> | |
| 416 | - </field> | |
| 417 | - </parameter> | |
| 418 | - <cluster_schema/> | |
| 419 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 420 | - <xloc>491</xloc> | |
| 421 | - <yloc>60</yloc> | |
| 422 | - <draw>Y</draw> | |
| 423 | - </GUI> | |
| 424 | - </step> | |
| 425 | - | |
| 426 | - <step> | |
| 427 | - <name>字段选择</name> | |
| 428 | - <type>SelectValues</type> | |
| 429 | - <description/> | |
| 430 | - <distribute>Y</distribute> | |
| 431 | - <custom_distribution/> | |
| 432 | - <copies>1</copies> | |
| 433 | - <partitioning> | |
| 434 | - <method>none</method> | |
| 435 | - <schema_name/> | |
| 436 | - </partitioning> | |
| 437 | - <fields> <field> <name>xlmc</name> | |
| 438 | - <rename>线路</rename> | |
| 439 | - <length>-2</length> | |
| 440 | - <precision>-2</precision> | |
| 441 | - </field> <field> <name>dbbm</name> | |
| 442 | - <rename>搭班编码</rename> | |
| 443 | - <length>-2</length> | |
| 444 | - <precision>-2</precision> | |
| 445 | - </field> <field> <name>jcode</name> | |
| 446 | - <rename>驾驶员工号</rename> | |
| 447 | - <length>-2</length> | |
| 448 | - <precision>-2</precision> | |
| 449 | - </field> <field> <name>jname</name> | |
| 450 | - <rename>驾驶员</rename> | |
| 451 | - <length>-2</length> | |
| 452 | - <precision>-2</precision> | |
| 453 | - </field> <field> <name>scode</name> | |
| 454 | - <rename>售票员工号</rename> | |
| 455 | - <length>-2</length> | |
| 456 | - <precision>-2</precision> | |
| 457 | - </field> <field> <name>sname</name> | |
| 458 | - <rename>售票员</rename> | |
| 459 | - <length>-2</length> | |
| 460 | - <precision>-2</precision> | |
| 461 | - </field> <select_unspecified>N</select_unspecified> | |
| 462 | - </fields> <cluster_schema/> | |
| 463 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 464 | - <xloc>492</xloc> | |
| 465 | - <yloc>164</yloc> | |
| 466 | - <draw>Y</draw> | |
| 467 | - </GUI> | |
| 468 | - </step> | |
| 469 | - | |
| 470 | - <step> | |
| 471 | - <name>排序记录</name> | |
| 472 | - <type>SortRows</type> | |
| 473 | - <description/> | |
| 474 | - <distribute>Y</distribute> | |
| 475 | - <custom_distribution/> | |
| 476 | - <copies>1</copies> | |
| 477 | - <partitioning> | |
| 478 | - <method>none</method> | |
| 479 | - <schema_name/> | |
| 480 | - </partitioning> | |
| 481 | - <directory>%%java.io.tmpdir%%</directory> | |
| 482 | - <prefix>out</prefix> | |
| 483 | - <sort_size>1000000</sort_size> | |
| 484 | - <free_memory/> | |
| 485 | - <compress>N</compress> | |
| 486 | - <compress_variable/> | |
| 487 | - <unique_rows>N</unique_rows> | |
| 488 | - <fields> | |
| 489 | - <field> | |
| 490 | - <name>线路</name> | |
| 491 | - <ascending>Y</ascending> | |
| 492 | - <case_sensitive>N</case_sensitive> | |
| 493 | - <presorted>N</presorted> | |
| 494 | - </field> | |
| 495 | - <field> | |
| 496 | - <name>搭班编码</name> | |
| 497 | - <ascending>Y</ascending> | |
| 498 | - <case_sensitive>N</case_sensitive> | |
| 499 | - <presorted>N</presorted> | |
| 500 | - </field> | |
| 501 | - </fields> | |
| 502 | - <cluster_schema/> | |
| 503 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 504 | - <xloc>692</xloc> | |
| 505 | - <yloc>164</yloc> | |
| 506 | - <draw>Y</draw> | |
| 507 | - </GUI> | |
| 508 | - </step> | |
| 509 | - | |
| 510 | - <step> | |
| 511 | - <name>线路查询</name> | |
| 512 | - <type>DBLookup</type> | |
| 513 | - <description/> | |
| 514 | - <distribute>Y</distribute> | |
| 515 | - <custom_distribution/> | |
| 516 | - <copies>1</copies> | |
| 517 | - <partitioning> | |
| 518 | - <method>none</method> | |
| 519 | - <schema_name/> | |
| 520 | - </partitioning> | |
| 521 | - <connection>bus_control_variable</connection> | |
| 522 | - <cache>Y</cache> | |
| 523 | - <cache_load_all>Y</cache_load_all> | |
| 524 | - <cache_size>0</cache_size> | |
| 525 | - <lookup> | |
| 526 | - <schema/> | |
| 527 | - <table>bsth_c_line</table> | |
| 528 | - <orderby/> | |
| 529 | - <fail_on_multiple>N</fail_on_multiple> | |
| 530 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 531 | - <key> | |
| 532 | - <name>xl</name> | |
| 533 | - <field>id</field> | |
| 534 | - <condition>=</condition> | |
| 535 | - <name2/> | |
| 536 | - </key> | |
| 537 | - <value> | |
| 538 | - <name>name</name> | |
| 539 | - <rename>xlmc</rename> | |
| 540 | - <default/> | |
| 541 | - <type>String</type> | |
| 542 | - </value> | |
| 543 | - </lookup> | |
| 544 | - <cluster_schema/> | |
| 545 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 546 | - <xloc>227</xloc> | |
| 547 | - <yloc>59</yloc> | |
| 548 | - <draw>Y</draw> | |
| 549 | - </GUI> | |
| 550 | - </step> | |
| 551 | - | |
| 552 | - <step> | |
| 553 | - <name>驾驶员查询</name> | |
| 554 | - <type>DBJoin</type> | |
| 555 | - <description/> | |
| 556 | - <distribute>Y</distribute> | |
| 557 | - <custom_distribution/> | |
| 558 | - <copies>1</copies> | |
| 559 | - <partitioning> | |
| 560 | - <method>none</method> | |
| 561 | - <schema_name/> | |
| 562 | - </partitioning> | |
| 563 | - <connection>bus_control_variable</connection> | |
| 564 | - <rowlimit>1</rowlimit> | |
| 565 | - <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | |
| 566 | - <outer_join>Y</outer_join> | |
| 567 | - <replace_vars>N</replace_vars> | |
| 568 | - <parameter> | |
| 569 | - <field> | |
| 570 | - <name>jsy</name> | |
| 571 | - <type>Integer</type> | |
| 572 | - </field> | |
| 573 | - </parameter> | |
| 574 | - <cluster_schema/> | |
| 575 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 576 | - <xloc>366</xloc> | |
| 577 | - <yloc>60</yloc> | |
| 578 | - <draw>Y</draw> | |
| 579 | - </GUI> | |
| 580 | - </step> | |
| 581 | - | |
| 582 | - <step_error_handling> | |
| 583 | - </step_error_handling> | |
| 584 | - <slave-step-copy-partition-distribution> | |
| 585 | -</slave-step-copy-partition-distribution> | |
| 586 | - <slave_transformation>N</slave_transformation> | |
| 587 | - | |
| 588 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>employeesConfigDataOutput</name> | |
| 5 | + <description/> | |
| 6 | + <extended_description/> | |
| 7 | + <trans_version/> | |
| 8 | + <trans_type>Normal</trans_type> | |
| 9 | + <trans_status>0</trans_status> | |
| 10 | + <directory>/</directory> | |
| 11 | + <parameters> | |
| 12 | + <parameter> | |
| 13 | + <name>filepath</name> | |
| 14 | + <default_value/> | |
| 15 | + <description>excel文件路径</description> | |
| 16 | + </parameter> | |
| 17 | + </parameters> | |
| 18 | + <log> | |
| 19 | +<trans-log-table><connection/> | |
| 20 | +<schema/> | |
| 21 | +<table/> | |
| 22 | +<size_limit_lines/> | |
| 23 | +<interval/> | |
| 24 | +<timeout_days/> | |
| 25 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | +<perf-log-table><connection/> | |
| 27 | +<schema/> | |
| 28 | +<table/> | |
| 29 | +<interval/> | |
| 30 | +<timeout_days/> | |
| 31 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | +<channel-log-table><connection/> | |
| 33 | +<schema/> | |
| 34 | +<table/> | |
| 35 | +<timeout_days/> | |
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | +<step-log-table><connection/> | |
| 38 | +<schema/> | |
| 39 | +<table/> | |
| 40 | +<timeout_days/> | |
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | +<metrics-log-table><connection/> | |
| 43 | +<schema/> | |
| 44 | +<table/> | |
| 45 | +<timeout_days/> | |
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | + </log> | |
| 48 | + <maxdate> | |
| 49 | + <connection/> | |
| 50 | + <table/> | |
| 51 | + <field/> | |
| 52 | + <offset>0.0</offset> | |
| 53 | + <maxdiff>0.0</maxdiff> | |
| 54 | + </maxdate> | |
| 55 | + <size_rowset>10000</size_rowset> | |
| 56 | + <sleep_time_empty>50</sleep_time_empty> | |
| 57 | + <sleep_time_full>50</sleep_time_full> | |
| 58 | + <unique_connections>N</unique_connections> | |
| 59 | + <feedback_shown>Y</feedback_shown> | |
| 60 | + <feedback_size>50000</feedback_size> | |
| 61 | + <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | + <shared_objects_file/> | |
| 63 | + <capture_step_performance>N</capture_step_performance> | |
| 64 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | + <dependencies> | |
| 67 | + </dependencies> | |
| 68 | + <partitionschemas> | |
| 69 | + </partitionschemas> | |
| 70 | + <slaveservers> | |
| 71 | + </slaveservers> | |
| 72 | + <clusterschemas> | |
| 73 | + </clusterschemas> | |
| 74 | + <created_user>-</created_user> | |
| 75 | + <created_date>2017/01/11 15:36:10.101</created_date> | |
| 76 | + <modified_user>-</modified_user> | |
| 77 | + <modified_date>2017/01/11 15:36:10.101</modified_date> | |
| 78 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | + <is_key_private>N</is_key_private> | |
| 80 | + </info> | |
| 81 | + <notepads> | |
| 82 | + <notepad> | |
| 83 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | + <xloc>66</xloc> | |
| 85 | + <yloc>151</yloc> | |
| 86 | + <width>333</width> | |
| 87 | + <heigth>90</heigth> | |
| 88 | + <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | + <fontsize>12</fontsize> | |
| 90 | + <fontbold>N</fontbold> | |
| 91 | + <fontitalic>N</fontitalic> | |
| 92 | + <fontcolorred>0</fontcolorred> | |
| 93 | + <fontcolorgreen>0</fontcolorgreen> | |
| 94 | + <fontcolorblue>0</fontcolorblue> | |
| 95 | + <backgroundcolorred>255</backgroundcolorred> | |
| 96 | + <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | + <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | + <bordercolorred>100</bordercolorred> | |
| 99 | + <bordercolorgreen>100</bordercolorgreen> | |
| 100 | + <bordercolorblue>100</bordercolorblue> | |
| 101 | + <drawshadow>Y</drawshadow> | |
| 102 | + </notepad> | |
| 103 | + </notepads> | |
| 104 | + <connection> | |
| 105 | + <name>bus_control_variable</name> | |
| 106 | + <server>${v_db_ip}</server> | |
| 107 | + <type>MYSQL</type> | |
| 108 | + <access>Native</access> | |
| 109 | + <database>${v_db_dname}</database> | |
| 110 | + <port>3306</port> | |
| 111 | + <username>${v_db_uname}</username> | |
| 112 | + <password>${v_db_pwd}</password> | |
| 113 | + <servername/> | |
| 114 | + <data_tablespace/> | |
| 115 | + <index_tablespace/> | |
| 116 | + <attributes> | |
| 117 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | + </attributes> | |
| 131 | + </connection> | |
| 132 | + <connection> | |
| 133 | + <name>bus_control_公司_201</name> | |
| 134 | + <server>localhost</server> | |
| 135 | + <type>MYSQL</type> | |
| 136 | + <access>Native</access> | |
| 137 | + <database>control</database> | |
| 138 | + <port>3306</port> | |
| 139 | + <username>root</username> | |
| 140 | + <password>Encrypted </password> | |
| 141 | + <servername/> | |
| 142 | + <data_tablespace/> | |
| 143 | + <index_tablespace/> | |
| 144 | + <attributes> | |
| 145 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | + </attributes> | |
| 158 | + </connection> | |
| 159 | + <connection> | |
| 160 | + <name>bus_control_本机</name> | |
| 161 | + <server>localhost</server> | |
| 162 | + <type>MYSQL</type> | |
| 163 | + <access>Native</access> | |
| 164 | + <database>control</database> | |
| 165 | + <port>3306</port> | |
| 166 | + <username>root</username> | |
| 167 | + <password>Encrypted </password> | |
| 168 | + <servername/> | |
| 169 | + <data_tablespace/> | |
| 170 | + <index_tablespace/> | |
| 171 | + <attributes> | |
| 172 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | + </attributes> | |
| 185 | + </connection> | |
| 186 | + <connection> | |
| 187 | + <name>xlab_mysql_youle</name> | |
| 188 | + <server>101.231.124.8</server> | |
| 189 | + <type>MYSQL</type> | |
| 190 | + <access>Native</access> | |
| 191 | + <database>xlab_youle</database> | |
| 192 | + <port>45687</port> | |
| 193 | + <username>xlab-youle</username> | |
| 194 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | + <servername/> | |
| 196 | + <data_tablespace/> | |
| 197 | + <index_tablespace/> | |
| 198 | + <attributes> | |
| 199 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | + </attributes> | |
| 212 | + </connection> | |
| 213 | + <connection> | |
| 214 | + <name>xlab_mysql_youle(本机)</name> | |
| 215 | + <server>localhost</server> | |
| 216 | + <type>MYSQL</type> | |
| 217 | + <access>Native</access> | |
| 218 | + <database>xlab_youle</database> | |
| 219 | + <port>3306</port> | |
| 220 | + <username>root</username> | |
| 221 | + <password>Encrypted </password> | |
| 222 | + <servername/> | |
| 223 | + <data_tablespace/> | |
| 224 | + <index_tablespace/> | |
| 225 | + <attributes> | |
| 226 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | + </attributes> | |
| 239 | + </connection> | |
| 240 | + <connection> | |
| 241 | + <name>xlab_youle</name> | |
| 242 | + <server/> | |
| 243 | + <type>MYSQL</type> | |
| 244 | + <access>JNDI</access> | |
| 245 | + <database>xlab_youle</database> | |
| 246 | + <port>1521</port> | |
| 247 | + <username/> | |
| 248 | + <password>Encrypted </password> | |
| 249 | + <servername/> | |
| 250 | + <data_tablespace/> | |
| 251 | + <index_tablespace/> | |
| 252 | + <attributes> | |
| 253 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | + </attributes> | |
| 264 | + </connection> | |
| 265 | + <order> | |
| 266 | + <hop> <from>人员配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | + <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | |
| 268 | + <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | |
| 269 | + <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 270 | + <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 271 | + <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | + </order> | |
| 273 | + <step> | |
| 274 | + <name>Excel输出</name> | |
| 275 | + <type>ExcelOutput</type> | |
| 276 | + <description/> | |
| 277 | + <distribute>Y</distribute> | |
| 278 | + <custom_distribution/> | |
| 279 | + <copies>1</copies> | |
| 280 | + <partitioning> | |
| 281 | + <method>none</method> | |
| 282 | + <schema_name/> | |
| 283 | + </partitioning> | |
| 284 | + <header>Y</header> | |
| 285 | + <footer>N</footer> | |
| 286 | + <encoding/> | |
| 287 | + <append>N</append> | |
| 288 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 289 | + <file> | |
| 290 | + <name>${filepath}</name> | |
| 291 | + <extention/> | |
| 292 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 293 | + <create_parent_folder>N</create_parent_folder> | |
| 294 | + <split>N</split> | |
| 295 | + <add_date>N</add_date> | |
| 296 | + <add_time>N</add_time> | |
| 297 | + <SpecifyFormat>N</SpecifyFormat> | |
| 298 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 299 | + <sheetname>工作表1</sheetname> | |
| 300 | + <autosizecolums>N</autosizecolums> | |
| 301 | + <nullisblank>N</nullisblank> | |
| 302 | + <protect_sheet>N</protect_sheet> | |
| 303 | + <password>Encrypted </password> | |
| 304 | + <splitevery>0</splitevery> | |
| 305 | + <usetempfiles>N</usetempfiles> | |
| 306 | + <tempdirectory/> | |
| 307 | + </file> | |
| 308 | + <template> | |
| 309 | + <enabled>N</enabled> | |
| 310 | + <append>N</append> | |
| 311 | + <filename>template.xls</filename> | |
| 312 | + </template> | |
| 313 | + <fields> | |
| 314 | + <field> | |
| 315 | + <name>线路</name> | |
| 316 | + <type>String</type> | |
| 317 | + <format/> | |
| 318 | + </field> | |
| 319 | + <field> | |
| 320 | + <name>搭班编码</name> | |
| 321 | + <type>String</type> | |
| 322 | + <format/> | |
| 323 | + </field> | |
| 324 | + <field> | |
| 325 | + <name>驾驶员工号</name> | |
| 326 | + <type>String</type> | |
| 327 | + <format/> | |
| 328 | + </field> | |
| 329 | + <field> | |
| 330 | + <name>驾驶员</name> | |
| 331 | + <type>String</type> | |
| 332 | + <format/> | |
| 333 | + </field> | |
| 334 | + <field> | |
| 335 | + <name>售票员工号</name> | |
| 336 | + <type>String</type> | |
| 337 | + <format/> | |
| 338 | + </field> | |
| 339 | + <field> | |
| 340 | + <name>售票员</name> | |
| 341 | + <type>String</type> | |
| 342 | + <format/> | |
| 343 | + </field> | |
| 344 | + </fields> | |
| 345 | + <custom> | |
| 346 | + <header_font_name>arial</header_font_name> | |
| 347 | + <header_font_size>10</header_font_size> | |
| 348 | + <header_font_bold>N</header_font_bold> | |
| 349 | + <header_font_italic>N</header_font_italic> | |
| 350 | + <header_font_underline>no</header_font_underline> | |
| 351 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 352 | + <header_font_color>black</header_font_color> | |
| 353 | + <header_background_color>none</header_background_color> | |
| 354 | + <header_row_height>255</header_row_height> | |
| 355 | + <header_alignment>left</header_alignment> | |
| 356 | + <header_image/> | |
| 357 | + <row_font_name>arial</row_font_name> | |
| 358 | + <row_font_size>10</row_font_size> | |
| 359 | + <row_font_color>black</row_font_color> | |
| 360 | + <row_background_color>none</row_background_color> | |
| 361 | + </custom> | |
| 362 | + <cluster_schema/> | |
| 363 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 364 | + <xloc>696</xloc> | |
| 365 | + <yloc>257</yloc> | |
| 366 | + <draw>Y</draw> | |
| 367 | + </GUI> | |
| 368 | + </step> | |
| 369 | + | |
| 370 | + <step> | |
| 371 | + <name>人员配置(没有作废)</name> | |
| 372 | + <type>TableInput</type> | |
| 373 | + <description/> | |
| 374 | + <distribute>Y</distribute> | |
| 375 | + <custom_distribution/> | |
| 376 | + <copies>1</copies> | |
| 377 | + <partitioning> | |
| 378 | + <method>none</method> | |
| 379 | + <schema_name/> | |
| 380 | + </partitioning> | |
| 381 | + <connection>bus_control_variable</connection> | |
| 382 | + <sql>select * from bsth_c_s_ecinfo where is_cancel = 0</sql> | |
| 383 | + <limit>0</limit> | |
| 384 | + <lookup/> | |
| 385 | + <execute_each_row>N</execute_each_row> | |
| 386 | + <variables_active>N</variables_active> | |
| 387 | + <lazy_conversion_active>N</lazy_conversion_active> | |
| 388 | + <cluster_schema/> | |
| 389 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 390 | + <xloc>90</xloc> | |
| 391 | + <yloc>59</yloc> | |
| 392 | + <draw>Y</draw> | |
| 393 | + </GUI> | |
| 394 | + </step> | |
| 395 | + | |
| 396 | + <step> | |
| 397 | + <name>售票员查询</name> | |
| 398 | + <type>DBJoin</type> | |
| 399 | + <description/> | |
| 400 | + <distribute>Y</distribute> | |
| 401 | + <custom_distribution/> | |
| 402 | + <copies>1</copies> | |
| 403 | + <partitioning> | |
| 404 | + <method>none</method> | |
| 405 | + <schema_name/> | |
| 406 | + </partitioning> | |
| 407 | + <connection>bus_control_variable</connection> | |
| 408 | + <rowlimit>1</rowlimit> | |
| 409 | + <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | |
| 410 | + <outer_join>Y</outer_join> | |
| 411 | + <replace_vars>N</replace_vars> | |
| 412 | + <parameter> | |
| 413 | + <field> | |
| 414 | + <name>spy</name> | |
| 415 | + <type>Integer</type> | |
| 416 | + </field> | |
| 417 | + </parameter> | |
| 418 | + <cluster_schema/> | |
| 419 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 420 | + <xloc>491</xloc> | |
| 421 | + <yloc>60</yloc> | |
| 422 | + <draw>Y</draw> | |
| 423 | + </GUI> | |
| 424 | + </step> | |
| 425 | + | |
| 426 | + <step> | |
| 427 | + <name>字段选择</name> | |
| 428 | + <type>SelectValues</type> | |
| 429 | + <description/> | |
| 430 | + <distribute>Y</distribute> | |
| 431 | + <custom_distribution/> | |
| 432 | + <copies>1</copies> | |
| 433 | + <partitioning> | |
| 434 | + <method>none</method> | |
| 435 | + <schema_name/> | |
| 436 | + </partitioning> | |
| 437 | + <fields> <field> <name>xlmc</name> | |
| 438 | + <rename>线路</rename> | |
| 439 | + <length>-2</length> | |
| 440 | + <precision>-2</precision> | |
| 441 | + </field> <field> <name>dbbm</name> | |
| 442 | + <rename>搭班编码</rename> | |
| 443 | + <length>-2</length> | |
| 444 | + <precision>-2</precision> | |
| 445 | + </field> <field> <name>jcode</name> | |
| 446 | + <rename>驾驶员工号</rename> | |
| 447 | + <length>-2</length> | |
| 448 | + <precision>-2</precision> | |
| 449 | + </field> <field> <name>jname</name> | |
| 450 | + <rename>驾驶员</rename> | |
| 451 | + <length>-2</length> | |
| 452 | + <precision>-2</precision> | |
| 453 | + </field> <field> <name>scode</name> | |
| 454 | + <rename>售票员工号</rename> | |
| 455 | + <length>-2</length> | |
| 456 | + <precision>-2</precision> | |
| 457 | + </field> <field> <name>sname</name> | |
| 458 | + <rename>售票员</rename> | |
| 459 | + <length>-2</length> | |
| 460 | + <precision>-2</precision> | |
| 461 | + </field> <select_unspecified>N</select_unspecified> | |
| 462 | + </fields> <cluster_schema/> | |
| 463 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 464 | + <xloc>492</xloc> | |
| 465 | + <yloc>164</yloc> | |
| 466 | + <draw>Y</draw> | |
| 467 | + </GUI> | |
| 468 | + </step> | |
| 469 | + | |
| 470 | + <step> | |
| 471 | + <name>排序记录</name> | |
| 472 | + <type>SortRows</type> | |
| 473 | + <description/> | |
| 474 | + <distribute>Y</distribute> | |
| 475 | + <custom_distribution/> | |
| 476 | + <copies>1</copies> | |
| 477 | + <partitioning> | |
| 478 | + <method>none</method> | |
| 479 | + <schema_name/> | |
| 480 | + </partitioning> | |
| 481 | + <directory>%%java.io.tmpdir%%</directory> | |
| 482 | + <prefix>out</prefix> | |
| 483 | + <sort_size>1000000</sort_size> | |
| 484 | + <free_memory/> | |
| 485 | + <compress>N</compress> | |
| 486 | + <compress_variable/> | |
| 487 | + <unique_rows>N</unique_rows> | |
| 488 | + <fields> | |
| 489 | + <field> | |
| 490 | + <name>线路</name> | |
| 491 | + <ascending>Y</ascending> | |
| 492 | + <case_sensitive>N</case_sensitive> | |
| 493 | + <presorted>N</presorted> | |
| 494 | + </field> | |
| 495 | + <field> | |
| 496 | + <name>搭班编码</name> | |
| 497 | + <ascending>Y</ascending> | |
| 498 | + <case_sensitive>N</case_sensitive> | |
| 499 | + <presorted>N</presorted> | |
| 500 | + </field> | |
| 501 | + </fields> | |
| 502 | + <cluster_schema/> | |
| 503 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 504 | + <xloc>692</xloc> | |
| 505 | + <yloc>164</yloc> | |
| 506 | + <draw>Y</draw> | |
| 507 | + </GUI> | |
| 508 | + </step> | |
| 509 | + | |
| 510 | + <step> | |
| 511 | + <name>线路查询</name> | |
| 512 | + <type>DBLookup</type> | |
| 513 | + <description/> | |
| 514 | + <distribute>Y</distribute> | |
| 515 | + <custom_distribution/> | |
| 516 | + <copies>1</copies> | |
| 517 | + <partitioning> | |
| 518 | + <method>none</method> | |
| 519 | + <schema_name/> | |
| 520 | + </partitioning> | |
| 521 | + <connection>bus_control_variable</connection> | |
| 522 | + <cache>Y</cache> | |
| 523 | + <cache_load_all>Y</cache_load_all> | |
| 524 | + <cache_size>0</cache_size> | |
| 525 | + <lookup> | |
| 526 | + <schema/> | |
| 527 | + <table>bsth_c_line</table> | |
| 528 | + <orderby/> | |
| 529 | + <fail_on_multiple>N</fail_on_multiple> | |
| 530 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 531 | + <key> | |
| 532 | + <name>xl</name> | |
| 533 | + <field>id</field> | |
| 534 | + <condition>=</condition> | |
| 535 | + <name2/> | |
| 536 | + </key> | |
| 537 | + <value> | |
| 538 | + <name>name</name> | |
| 539 | + <rename>xlmc</rename> | |
| 540 | + <default/> | |
| 541 | + <type>String</type> | |
| 542 | + </value> | |
| 543 | + </lookup> | |
| 544 | + <cluster_schema/> | |
| 545 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 546 | + <xloc>227</xloc> | |
| 547 | + <yloc>59</yloc> | |
| 548 | + <draw>Y</draw> | |
| 549 | + </GUI> | |
| 550 | + </step> | |
| 551 | + | |
| 552 | + <step> | |
| 553 | + <name>驾驶员查询</name> | |
| 554 | + <type>DBJoin</type> | |
| 555 | + <description/> | |
| 556 | + <distribute>Y</distribute> | |
| 557 | + <custom_distribution/> | |
| 558 | + <copies>1</copies> | |
| 559 | + <partitioning> | |
| 560 | + <method>none</method> | |
| 561 | + <schema_name/> | |
| 562 | + </partitioning> | |
| 563 | + <connection>bus_control_variable</connection> | |
| 564 | + <rowlimit>1</rowlimit> | |
| 565 | + <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | |
| 566 | + <outer_join>Y</outer_join> | |
| 567 | + <replace_vars>N</replace_vars> | |
| 568 | + <parameter> | |
| 569 | + <field> | |
| 570 | + <name>jsy</name> | |
| 571 | + <type>Integer</type> | |
| 572 | + </field> | |
| 573 | + </parameter> | |
| 574 | + <cluster_schema/> | |
| 575 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 576 | + <xloc>366</xloc> | |
| 577 | + <yloc>60</yloc> | |
| 578 | + <draw>Y</draw> | |
| 579 | + </GUI> | |
| 580 | + </step> | |
| 581 | + | |
| 582 | + <step_error_handling> | |
| 583 | + </step_error_handling> | |
| 584 | + <slave-step-copy-partition-distribution> | |
| 585 | +</slave-step-copy-partition-distribution> | |
| 586 | + <slave_transformation>N</slave_transformation> | |
| 587 | + | |
| 588 | +</transformation> | ... | ... |
src/main/resources/datatools/ktrs/scheduleRuleDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<transformation> | |
| 3 | - <info> | |
| 4 | - <name>scheduleRuleDataInput</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 | - <notepad> | |
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 89 | - <xloc>41</xloc> | |
| 90 | - <yloc>315</yloc> | |
| 91 | - <width>333</width> | |
| 92 | - <heigth>90</heigth> | |
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | - <fontsize>12</fontsize> | |
| 95 | - <fontbold>N</fontbold> | |
| 96 | - <fontitalic>N</fontitalic> | |
| 97 | - <fontcolorred>0</fontcolorred> | |
| 98 | - <fontcolorgreen>0</fontcolorgreen> | |
| 99 | - <fontcolorblue>0</fontcolorblue> | |
| 100 | - <backgroundcolorred>255</backgroundcolorred> | |
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | - <bordercolorred>100</bordercolorred> | |
| 104 | - <bordercolorgreen>100</bordercolorgreen> | |
| 105 | - <bordercolorblue>100</bordercolorblue> | |
| 106 | - <drawshadow>Y</drawshadow> | |
| 107 | - </notepad> | |
| 108 | - </notepads> | |
| 109 | - <connection> | |
| 110 | - <name>bus_control_variable</name> | |
| 111 | - <server>${v_db_ip}</server> | |
| 112 | - <type>MYSQL</type> | |
| 113 | - <access>Native</access> | |
| 114 | - <database>${v_db_dname}</database> | |
| 115 | - <port>3306</port> | |
| 116 | - <username>${v_db_uname}</username> | |
| 117 | - <password>${v_db_pwd}</password> | |
| 118 | - <servername/> | |
| 119 | - <data_tablespace/> | |
| 120 | - <index_tablespace/> | |
| 121 | - <attributes> | |
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 123 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 125 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 128 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 129 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 130 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 132 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 133 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 135 | - </attributes> | |
| 136 | - </connection> | |
| 137 | - <connection> | |
| 138 | - <name>bus_control_公司_201</name> | |
| 139 | - <server>localhost</server> | |
| 140 | - <type>MYSQL</type> | |
| 141 | - <access>Native</access> | |
| 142 | - <database>control</database> | |
| 143 | - <port>3306</port> | |
| 144 | - <username>root</username> | |
| 145 | - <password>Encrypted </password> | |
| 146 | - <servername/> | |
| 147 | - <data_tablespace/> | |
| 148 | - <index_tablespace/> | |
| 149 | - <attributes> | |
| 150 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 152 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 155 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 156 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 157 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 159 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 160 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 162 | - </attributes> | |
| 163 | - </connection> | |
| 164 | - <connection> | |
| 165 | - <name>bus_control_本机</name> | |
| 166 | - <server>localhost</server> | |
| 167 | - <type>MYSQL</type> | |
| 168 | - <access>Native</access> | |
| 169 | - <database>control</database> | |
| 170 | - <port>3306</port> | |
| 171 | - <username>root</username> | |
| 172 | - <password>Encrypted </password> | |
| 173 | - <servername/> | |
| 174 | - <data_tablespace/> | |
| 175 | - <index_tablespace/> | |
| 176 | - <attributes> | |
| 177 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 179 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 181 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 182 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 183 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 184 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 186 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 187 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 188 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 189 | - </attributes> | |
| 190 | - </connection> | |
| 191 | - <connection> | |
| 192 | - <name>xlab_mysql_youle</name> | |
| 193 | - <server>101.231.124.8</server> | |
| 194 | - <type>MYSQL</type> | |
| 195 | - <access>Native</access> | |
| 196 | - <database>xlab_youle</database> | |
| 197 | - <port>45687</port> | |
| 198 | - <username>xlab-youle</username> | |
| 199 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 200 | - <servername/> | |
| 201 | - <data_tablespace/> | |
| 202 | - <index_tablespace/> | |
| 203 | - <attributes> | |
| 204 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 206 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 208 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 210 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 211 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 213 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 214 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 216 | - </attributes> | |
| 217 | - </connection> | |
| 218 | - <connection> | |
| 219 | - <name>xlab_mysql_youle(本机)</name> | |
| 220 | - <server>localhost</server> | |
| 221 | - <type>MYSQL</type> | |
| 222 | - <access>Native</access> | |
| 223 | - <database>xlab_youle</database> | |
| 224 | - <port>3306</port> | |
| 225 | - <username>root</username> | |
| 226 | - <password>Encrypted </password> | |
| 227 | - <servername/> | |
| 228 | - <data_tablespace/> | |
| 229 | - <index_tablespace/> | |
| 230 | - <attributes> | |
| 231 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 232 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 235 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 237 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 239 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 240 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 241 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 242 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 243 | - </attributes> | |
| 244 | - </connection> | |
| 245 | - <connection> | |
| 246 | - <name>xlab_youle</name> | |
| 247 | - <server/> | |
| 248 | - <type>MYSQL</type> | |
| 249 | - <access>JNDI</access> | |
| 250 | - <database>xlab_youle</database> | |
| 251 | - <port>1521</port> | |
| 252 | - <username/> | |
| 253 | - <password>Encrypted </password> | |
| 254 | - <servername/> | |
| 255 | - <data_tablespace/> | |
| 256 | - <index_tablespace/> | |
| 257 | - <attributes> | |
| 258 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 260 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 261 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 262 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 263 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 264 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 265 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 266 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 267 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 268 | - </attributes> | |
| 269 | - </connection> | |
| 270 | - <order> | |
| 271 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | |
| 272 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | |
| 273 | - <hop> <from>拆分路牌范围</from><to>路牌id查询</to><enabled>Y</enabled> </hop> | |
| 274 | - <hop> <from>排序记录</from><to>分组合并路牌id</to><enabled>Y</enabled> </hop> | |
| 275 | - <hop> <from>分组合并路牌id</from><to>拆分人员范围</to><enabled>Y</enabled> </hop> | |
| 276 | - <hop> <from>拆分人员范围</from><to>拆分分班搭班编码字段</to><enabled>Y</enabled> </hop> | |
| 277 | - <hop> <from>拆分分班搭班编码字段</from><to>人员配置id查询</to><enabled>Y</enabled> </hop> | |
| 278 | - <hop> <from>人员配置id查询</from><to>人员配置id查询 2</to><enabled>Y</enabled> </hop> | |
| 279 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | |
| 280 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | |
| 281 | - <hop> <from>过滤线路id为空记录</from><to>车辆配置id查询</to><enabled>Y</enabled> </hop> | |
| 282 | - <hop> <from>车辆配置id查询</from><to>过滤车辆配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 283 | - <hop> <from>过滤车辆配置id为空记录</from><to>拆分路牌范围</to><enabled>Y</enabled> </hop> | |
| 284 | - <hop> <from>路牌id查询</from><to>过滤路牌id为空记录</to><enabled>Y</enabled> </hop> | |
| 285 | - <hop> <from>过滤路牌id为空记录</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 286 | - <hop> <from>人员配置id查询 2</from><to>过滤人员配置id为空记录</to><enabled>Y</enabled> </hop> | |
| 287 | - <hop> <from>过滤人员配置id为空记录</from><to>合并分班人员配置id</to><enabled>Y</enabled> </hop> | |
| 288 | - <hop> <from>合并分班人员配置id</from><to>排序记录 2</to><enabled>Y</enabled> </hop> | |
| 289 | - <hop> <from>排序记录 2</from><to>分组合并人员配置id</to><enabled>Y</enabled> </hop> | |
| 290 | - <hop> <from>插入 / 更新bsth_c_s_sr1_flat</from><to>错误输出 2</to><enabled>Y</enabled> </hop> | |
| 291 | - <hop> <from>分组合并人员配置id</from><to>启用日期转换</to><enabled>Y</enabled> </hop> | |
| 292 | - <hop> <from>启用日期转换</from><to>插入 / 更新bsth_c_s_sr1_flat</to><enabled>Y</enabled> </hop> | |
| 293 | - </order> | |
| 294 | - <step> | |
| 295 | - <name>人员配置id查询</name> | |
| 296 | - <type>DBLookup</type> | |
| 297 | - <description/> | |
| 298 | - <distribute>Y</distribute> | |
| 299 | - <custom_distribution/> | |
| 300 | - <copies>1</copies> | |
| 301 | - <partitioning> | |
| 302 | - <method>none</method> | |
| 303 | - <schema_name/> | |
| 304 | - </partitioning> | |
| 305 | - <connection>bus_control_variable</connection> | |
| 306 | - <cache>Y</cache> | |
| 307 | - <cache_load_all>Y</cache_load_all> | |
| 308 | - <cache_size>0</cache_size> | |
| 309 | - <lookup> | |
| 310 | - <schema/> | |
| 311 | - <table>bsth_c_s_ecinfo</table> | |
| 312 | - <orderby/> | |
| 313 | - <fail_on_multiple>N</fail_on_multiple> | |
| 314 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 315 | - <key> | |
| 316 | - <name>xlid</name> | |
| 317 | - <field>xl</field> | |
| 318 | - <condition>=</condition> | |
| 319 | - <name2/> | |
| 320 | - </key> | |
| 321 | - <key> | |
| 322 | - <name>dbbm1</name> | |
| 323 | - <field>dbbm</field> | |
| 324 | - <condition>=</condition> | |
| 325 | - <name2/> | |
| 326 | - </key> | |
| 327 | - <key> | |
| 328 | - <name>isCancel</name> | |
| 329 | - <field>is_cancel</field> | |
| 330 | - <condition>=</condition> | |
| 331 | - <name2/> | |
| 332 | - </key> | |
| 333 | - <value> | |
| 334 | - <name>id</name> | |
| 335 | - <rename>rycid1</rename> | |
| 336 | - <default/> | |
| 337 | - <type>Integer</type> | |
| 338 | - </value> | |
| 339 | - </lookup> | |
| 340 | - <cluster_schema/> | |
| 341 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 342 | - <xloc>904</xloc> | |
| 343 | - <yloc>101</yloc> | |
| 344 | - <draw>Y</draw> | |
| 345 | - </GUI> | |
| 346 | - </step> | |
| 347 | - | |
| 348 | - <step> | |
| 349 | - <name>人员配置id查询 2</name> | |
| 350 | - <type>DBLookup</type> | |
| 351 | - <description/> | |
| 352 | - <distribute>Y</distribute> | |
| 353 | - <custom_distribution/> | |
| 354 | - <copies>1</copies> | |
| 355 | - <partitioning> | |
| 356 | - <method>none</method> | |
| 357 | - <schema_name/> | |
| 358 | - </partitioning> | |
| 359 | - <connection>bus_control_variable</connection> | |
| 360 | - <cache>Y</cache> | |
| 361 | - <cache_load_all>Y</cache_load_all> | |
| 362 | - <cache_size>0</cache_size> | |
| 363 | - <lookup> | |
| 364 | - <schema/> | |
| 365 | - <table>bsth_c_s_ecinfo</table> | |
| 366 | - <orderby/> | |
| 367 | - <fail_on_multiple>N</fail_on_multiple> | |
| 368 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 369 | - <key> | |
| 370 | - <name>xlid</name> | |
| 371 | - <field>xl</field> | |
| 372 | - <condition>=</condition> | |
| 373 | - <name2/> | |
| 374 | - </key> | |
| 375 | - <key> | |
| 376 | - <name>dbbm2</name> | |
| 377 | - <field>dbbm</field> | |
| 378 | - <condition>=</condition> | |
| 379 | - <name2/> | |
| 380 | - </key> | |
| 381 | - <key> | |
| 382 | - <name>isCancel</name> | |
| 383 | - <field>is_cancel</field> | |
| 384 | - <condition>=</condition> | |
| 385 | - <name2/> | |
| 386 | - </key> | |
| 387 | - <value> | |
| 388 | - <name>id</name> | |
| 389 | - <rename>rycid2</rename> | |
| 390 | - <default/> | |
| 391 | - <type>Integer</type> | |
| 392 | - </value> | |
| 393 | - </lookup> | |
| 394 | - <cluster_schema/> | |
| 395 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 396 | - <xloc>778</xloc> | |
| 397 | - <yloc>103</yloc> | |
| 398 | - <draw>Y</draw> | |
| 399 | - </GUI> | |
| 400 | - </step> | |
| 401 | - | |
| 402 | - <step> | |
| 403 | - <name>分组合并人员配置id</name> | |
| 404 | - <type>GroupBy</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 | - <all_rows>N</all_rows> | |
| 414 | - <ignore_aggregate>N</ignore_aggregate> | |
| 415 | - <field_ignore/> | |
| 416 | - <directory>%%java.io.tmpdir%%</directory> | |
| 417 | - <prefix>grp</prefix> | |
| 418 | - <add_linenr>N</add_linenr> | |
| 419 | - <linenr_fieldname/> | |
| 420 | - <give_back_row>N</give_back_row> | |
| 421 | - <group> | |
| 422 | - <field> | |
| 423 | - <name>xlid</name> | |
| 424 | - </field> | |
| 425 | - <field> | |
| 426 | - <name>cid</name> | |
| 427 | - </field> | |
| 428 | - <field> | |
| 429 | - <name>路牌范围</name> | |
| 430 | - </field> | |
| 431 | - <field> | |
| 432 | - <name>lpids</name> | |
| 433 | - </field> | |
| 434 | - <field> | |
| 435 | - <name>起始路牌</name> | |
| 436 | - </field> | |
| 437 | - <field> | |
| 438 | - <name>起始人员</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>isCancel</name> | |
| 451 | - </field> | |
| 452 | - </group> | |
| 453 | - <fields> | |
| 454 | - <field> | |
| 455 | - <aggregate>rycids</aggregate> | |
| 456 | - <subject>rycid</subject> | |
| 457 | - <type>CONCAT_STRING</type> | |
| 458 | - <valuefield>,</valuefield> | |
| 459 | - </field> | |
| 460 | - </fields> | |
| 461 | - <cluster_schema/> | |
| 462 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 463 | - <xloc>780</xloc> | |
| 464 | - <yloc>291</yloc> | |
| 465 | - <draw>Y</draw> | |
| 466 | - </GUI> | |
| 467 | - </step> | |
| 468 | - | |
| 469 | - <step> | |
| 470 | - <name>分组合并路牌id</name> | |
| 471 | - <type>GroupBy</type> | |
| 472 | - <description/> | |
| 473 | - <distribute>Y</distribute> | |
| 474 | - <custom_distribution/> | |
| 475 | - <copies>1</copies> | |
| 476 | - <partitioning> | |
| 477 | - <method>none</method> | |
| 478 | - <schema_name/> | |
| 479 | - </partitioning> | |
| 480 | - <all_rows>N</all_rows> | |
| 481 | - <ignore_aggregate>N</ignore_aggregate> | |
| 482 | - <field_ignore/> | |
| 483 | - <directory>%%java.io.tmpdir%%</directory> | |
| 484 | - <prefix>grp</prefix> | |
| 485 | - <add_linenr>N</add_linenr> | |
| 486 | - <linenr_fieldname/> | |
| 487 | - <give_back_row>N</give_back_row> | |
| 488 | - <group> | |
| 489 | - <field> | |
| 490 | - <name>xlid</name> | |
| 491 | - </field> | |
| 492 | - <field> | |
| 493 | - <name>cid</name> | |
| 494 | - </field> | |
| 495 | - <field> | |
| 496 | - <name>路牌范围</name> | |
| 497 | - </field> | |
| 498 | - <field> | |
| 499 | - <name>起始路牌</name> | |
| 500 | - </field> | |
| 501 | - <field> | |
| 502 | - <name>起始人员</name> | |
| 503 | - </field> | |
| 504 | - <field> | |
| 505 | - <name>人员范围</name> | |
| 506 | - </field> | |
| 507 | - <field> | |
| 508 | - <name>启用日期</name> | |
| 509 | - </field> | |
| 510 | - <field> | |
| 511 | - <name>翻班格式</name> | |
| 512 | - </field> | |
| 513 | - <field> | |
| 514 | - <name>isCancel</name> | |
| 515 | - </field> | |
| 516 | - </group> | |
| 517 | - <fields> | |
| 518 | - <field> | |
| 519 | - <aggregate>lpids</aggregate> | |
| 520 | - <subject>lpid</subject> | |
| 521 | - <type>CONCAT_STRING</type> | |
| 522 | - <valuefield>,</valuefield> | |
| 523 | - </field> | |
| 524 | - </fields> | |
| 525 | - <cluster_schema/> | |
| 526 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 527 | - <xloc>653</xloc> | |
| 528 | - <yloc>119</yloc> | |
| 529 | - <draw>Y</draw> | |
| 530 | - </GUI> | |
| 531 | - </step> | |
| 532 | - | |
| 533 | - <step> | |
| 534 | - <name>原始系统导出的Excel输入</name> | |
| 535 | - <type>ExcelInput</type> | |
| 536 | - <description/> | |
| 537 | - <distribute>Y</distribute> | |
| 538 | - <custom_distribution/> | |
| 539 | - <copies>1</copies> | |
| 540 | - <partitioning> | |
| 541 | - <method>none</method> | |
| 542 | - <schema_name/> | |
| 543 | - </partitioning> | |
| 544 | - <header>Y</header> | |
| 545 | - <noempty>Y</noempty> | |
| 546 | - <stoponempty>N</stoponempty> | |
| 547 | - <filefield/> | |
| 548 | - <sheetfield/> | |
| 549 | - <sheetrownumfield/> | |
| 550 | - <rownumfield/> | |
| 551 | - <sheetfield/> | |
| 552 | - <filefield/> | |
| 553 | - <limit>0</limit> | |
| 554 | - <encoding/> | |
| 555 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 556 | - <accept_filenames>Y</accept_filenames> | |
| 557 | - <accept_field>filepath_</accept_field> | |
| 558 | - <accept_stepname>获取变量</accept_stepname> | |
| 559 | - <file> | |
| 560 | - <name/> | |
| 561 | - <filemask/> | |
| 562 | - <exclude_filemask/> | |
| 563 | - <file_required>N</file_required> | |
| 564 | - <include_subfolders>N</include_subfolders> | |
| 565 | - </file> | |
| 566 | - <fields> | |
| 567 | - <field> | |
| 568 | - <name>线路</name> | |
| 569 | - <type>String</type> | |
| 570 | - <length>-1</length> | |
| 571 | - <precision>-1</precision> | |
| 572 | - <trim_type>none</trim_type> | |
| 573 | - <repeat>N</repeat> | |
| 574 | - <format/> | |
| 575 | - <currency/> | |
| 576 | - <decimal/> | |
| 577 | - <group/> | |
| 578 | - </field> | |
| 579 | - <field> | |
| 580 | - <name>内部编码</name> | |
| 581 | - <type>String</type> | |
| 582 | - <length>-1</length> | |
| 583 | - <precision>-1</precision> | |
| 584 | - <trim_type>none</trim_type> | |
| 585 | - <repeat>N</repeat> | |
| 586 | - <format/> | |
| 587 | - <currency/> | |
| 588 | - <decimal/> | |
| 589 | - <group/> | |
| 590 | - </field> | |
| 591 | - <field> | |
| 592 | - <name>启用日期</name> | |
| 593 | - <type>String</type> | |
| 594 | - <length>-1</length> | |
| 595 | - <precision>-1</precision> | |
| 596 | - <trim_type>none</trim_type> | |
| 597 | - <repeat>N</repeat> | |
| 598 | - <format/> | |
| 599 | - <currency/> | |
| 600 | - <decimal/> | |
| 601 | - <group/> | |
| 602 | - </field> | |
| 603 | - <field> | |
| 604 | - <name>起始路牌</name> | |
| 605 | - <type>String</type> | |
| 606 | - <length>-1</length> | |
| 607 | - <precision>-1</precision> | |
| 608 | - <trim_type>none</trim_type> | |
| 609 | - <repeat>N</repeat> | |
| 610 | - <format>#</format> | |
| 611 | - <currency/> | |
| 612 | - <decimal/> | |
| 613 | - <group/> | |
| 614 | - </field> | |
| 615 | - <field> | |
| 616 | - <name>路牌范围</name> | |
| 617 | - <type>String</type> | |
| 618 | - <length>-1</length> | |
| 619 | - <precision>-1</precision> | |
| 620 | - <trim_type>none</trim_type> | |
| 621 | - <repeat>N</repeat> | |
| 622 | - <format>#</format> | |
| 623 | - <currency/> | |
| 624 | - <decimal/> | |
| 625 | - <group/> | |
| 626 | - </field> | |
| 627 | - <field> | |
| 628 | - <name>起始人员</name> | |
| 629 | - <type>String</type> | |
| 630 | - <length>-1</length> | |
| 631 | - <precision>-1</precision> | |
| 632 | - <trim_type>none</trim_type> | |
| 633 | - <repeat>N</repeat> | |
| 634 | - <format>#</format> | |
| 635 | - <currency/> | |
| 636 | - <decimal/> | |
| 637 | - <group/> | |
| 638 | - </field> | |
| 639 | - <field> | |
| 640 | - <name>人员范围</name> | |
| 641 | - <type>String</type> | |
| 642 | - <length>-1</length> | |
| 643 | - <precision>-1</precision> | |
| 644 | - <trim_type>none</trim_type> | |
| 645 | - <repeat>N</repeat> | |
| 646 | - <format>#</format> | |
| 647 | - <currency/> | |
| 648 | - <decimal/> | |
| 649 | - <group/> | |
| 650 | - </field> | |
| 651 | - <field> | |
| 652 | - <name>翻班格式</name> | |
| 653 | - <type>String</type> | |
| 654 | - <length>-1</length> | |
| 655 | - <precision>-1</precision> | |
| 656 | - <trim_type>none</trim_type> | |
| 657 | - <repeat>N</repeat> | |
| 658 | - <format>#</format> | |
| 659 | - <currency/> | |
| 660 | - <decimal/> | |
| 661 | - <group/> | |
| 662 | - </field> | |
| 663 | - </fields> | |
| 664 | - <sheets> | |
| 665 | - <sheet> | |
| 666 | - <name>工作表1</name> | |
| 667 | - <startrow>0</startrow> | |
| 668 | - <startcol>0</startcol> | |
| 669 | - </sheet> | |
| 670 | - </sheets> | |
| 671 | - <strict_types>N</strict_types> | |
| 672 | - <error_ignored>N</error_ignored> | |
| 673 | - <error_line_skipped>N</error_line_skipped> | |
| 674 | - <bad_line_files_destination_directory/> | |
| 675 | - <bad_line_files_extension>warning</bad_line_files_extension> | |
| 676 | - <error_line_files_destination_directory/> | |
| 677 | - <error_line_files_extension>error</error_line_files_extension> | |
| 678 | - <line_number_files_destination_directory/> | |
| 679 | - <line_number_files_extension>line</line_number_files_extension> | |
| 680 | - <shortFileFieldName/> | |
| 681 | - <pathFieldName/> | |
| 682 | - <hiddenFieldName/> | |
| 683 | - <lastModificationTimeFieldName/> | |
| 684 | - <uriNameFieldName/> | |
| 685 | - <rootUriNameFieldName/> | |
| 686 | - <extensionFieldName/> | |
| 687 | - <sizeFieldName/> | |
| 688 | - <spreadsheet_type>JXL</spreadsheet_type> | |
| 689 | - <cluster_schema/> | |
| 690 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 691 | - <xloc>208</xloc> | |
| 692 | - <yloc>21</yloc> | |
| 693 | - <draw>Y</draw> | |
| 694 | - </GUI> | |
| 695 | - </step> | |
| 696 | - | |
| 697 | - <step> | |
| 698 | - <name>合并分班人员配置id</name> | |
| 699 | - <type>ScriptValueMod</type> | |
| 700 | - <description/> | |
| 701 | - <distribute>Y</distribute> | |
| 702 | - <custom_distribution/> | |
| 703 | - <copies>1</copies> | |
| 704 | - <partitioning> | |
| 705 | - <method>none</method> | |
| 706 | - <schema_name/> | |
| 707 | - </partitioning> | |
| 708 | - <compatible>N</compatible> | |
| 709 | - <optimizationLevel>9</optimizationLevel> | |
| 710 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | |
| 711 | - <jsScript_name>Script 1</jsScript_name> | |
| 712 | - <jsScript_script>//Script here

var rycid;

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

var rycid;

if (rycid2 == null) {
 rycid = rycid1;
} else {
 rycid = rycid1 + "-" + rycid2;
}</jsScript_script> | |
| 713 | + </jsScript> </jsScripts> <fields> <field> <name>rycid</name> | |
| 714 | + <rename>rycid</rename> | |
| 715 | + <type>String</type> | |
| 716 | + <length>-1</length> | |
| 717 | + <precision>-1</precision> | |
| 718 | + <replace>N</replace> | |
| 719 | + </field> </fields> <cluster_schema/> | |
| 720 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 721 | + <xloc>917</xloc> | |
| 722 | + <yloc>201</yloc> | |
| 723 | + <draw>Y</draw> | |
| 724 | + </GUI> | |
| 725 | + </step> | |
| 726 | + | |
| 727 | + <step> | |
| 728 | + <name>启用日期转换</name> | |
| 729 | + <type>SelectValues</type> | |
| 730 | + <description/> | |
| 731 | + <distribute>Y</distribute> | |
| 732 | + <custom_distribution/> | |
| 733 | + <copies>1</copies> | |
| 734 | + <partitioning> | |
| 735 | + <method>none</method> | |
| 736 | + <schema_name/> | |
| 737 | + </partitioning> | |
| 738 | + <fields> <select_unspecified>N</select_unspecified> | |
| 739 | + <meta> <name>启用日期</name> | |
| 740 | + <rename>启用日期</rename> | |
| 741 | + <type>Timestamp</type> | |
| 742 | + <length>-2</length> | |
| 743 | + <precision>-2</precision> | |
| 744 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 745 | + <date_format_lenient>false</date_format_lenient> | |
| 746 | + <date_format_locale/> | |
| 747 | + <date_format_timezone/> | |
| 748 | + <lenient_string_to_number>false</lenient_string_to_number> | |
| 749 | + <encoding/> | |
| 750 | + <decimal_symbol/> | |
| 751 | + <grouping_symbol/> | |
| 752 | + <currency_symbol/> | |
| 753 | + <storage_type/> | |
| 754 | + </meta> </fields> <cluster_schema/> | |
| 755 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 756 | + <xloc>777</xloc> | |
| 757 | + <yloc>368</yloc> | |
| 758 | + <draw>Y</draw> | |
| 759 | + </GUI> | |
| 760 | + </step> | |
| 761 | + | |
| 762 | + <step> | |
| 763 | + <name>启用被数据flag</name> | |
| 764 | + <type>Constant</type> | |
| 765 | + <description/> | |
| 766 | + <distribute>Y</distribute> | |
| 767 | + <custom_distribution/> | |
| 768 | + <copies>1</copies> | |
| 769 | + <partitioning> | |
| 770 | + <method>none</method> | |
| 771 | + <schema_name/> | |
| 772 | + </partitioning> | |
| 773 | + <fields> | |
| 774 | + <field> | |
| 775 | + <name>isCancel</name> | |
| 776 | + <type>Integer</type> | |
| 777 | + <format/> | |
| 778 | + <currency/> | |
| 779 | + <decimal/> | |
| 780 | + <group/> | |
| 781 | + <nullif>0</nullif> | |
| 782 | + <length>-1</length> | |
| 783 | + <precision>-1</precision> | |
| 784 | + <set_empty_string>N</set_empty_string> | |
| 785 | + </field> | |
| 786 | + </fields> | |
| 787 | + <cluster_schema/> | |
| 788 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 789 | + <xloc>361</xloc> | |
| 790 | + <yloc>22</yloc> | |
| 791 | + <draw>Y</draw> | |
| 792 | + </GUI> | |
| 793 | + </step> | |
| 794 | + | |
| 795 | + <step> | |
| 796 | + <name>拆分人员范围</name> | |
| 797 | + <type>SplitFieldToRows3</type> | |
| 798 | + <description/> | |
| 799 | + <distribute>Y</distribute> | |
| 800 | + <custom_distribution/> | |
| 801 | + <copies>1</copies> | |
| 802 | + <partitioning> | |
| 803 | + <method>none</method> | |
| 804 | + <schema_name/> | |
| 805 | + </partitioning> | |
| 806 | + <splitfield>人员范围</splitfield> | |
| 807 | + <delimiter>,</delimiter> | |
| 808 | + <newfield>dbbm</newfield> | |
| 809 | + <rownum>N</rownum> | |
| 810 | + <rownum_field/> | |
| 811 | + <resetrownumber>Y</resetrownumber> | |
| 812 | + <delimiter_is_regex>N</delimiter_is_regex> | |
| 813 | + <cluster_schema/> | |
| 814 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 815 | + <xloc>777</xloc> | |
| 816 | + <yloc>22</yloc> | |
| 817 | + <draw>Y</draw> | |
| 818 | + </GUI> | |
| 819 | + </step> | |
| 820 | + | |
| 821 | + <step> | |
| 822 | + <name>拆分分班搭班编码字段</name> | |
| 823 | + <type>FieldSplitter</type> | |
| 824 | + <description/> | |
| 825 | + <distribute>Y</distribute> | |
| 826 | + <custom_distribution/> | |
| 827 | + <copies>1</copies> | |
| 828 | + <partitioning> | |
| 829 | + <method>none</method> | |
| 830 | + <schema_name/> | |
| 831 | + </partitioning> | |
| 832 | + <splitfield>dbbm</splitfield> | |
| 833 | + <delimiter>-</delimiter> | |
| 834 | + <enclosure/> | |
| 835 | + <fields> <field> <name>dbbm1</name> | |
| 836 | + <id/> | |
| 837 | + <idrem>N</idrem> | |
| 838 | + <type>String</type> | |
| 839 | + <format/> | |
| 840 | + <group/> | |
| 841 | + <decimal/> | |
| 842 | + <currency/> | |
| 843 | + <length>-1</length> | |
| 844 | + <precision>-1</precision> | |
| 845 | + <nullif/> | |
| 846 | + <ifnull/> | |
| 847 | + <trimtype>none</trimtype> | |
| 848 | + </field> <field> <name>dbbm2</name> | |
| 849 | + <id/> | |
| 850 | + <idrem>N</idrem> | |
| 851 | + <type>String</type> | |
| 852 | + <format/> | |
| 853 | + <group/> | |
| 854 | + <decimal/> | |
| 855 | + <currency/> | |
| 856 | + <length>-1</length> | |
| 857 | + <precision>-1</precision> | |
| 858 | + <nullif/> | |
| 859 | + <ifnull/> | |
| 860 | + <trimtype>none</trimtype> | |
| 861 | + </field> </fields> <cluster_schema/> | |
| 862 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 863 | + <xloc>901</xloc> | |
| 864 | + <yloc>22</yloc> | |
| 865 | + <draw>Y</draw> | |
| 866 | + </GUI> | |
| 867 | + </step> | |
| 868 | + | |
| 869 | + <step> | |
| 870 | + <name>拆分路牌范围</name> | |
| 871 | + <type>SplitFieldToRows3</type> | |
| 872 | + <description/> | |
| 873 | + <distribute>Y</distribute> | |
| 874 | + <custom_distribution/> | |
| 875 | + <copies>1</copies> | |
| 876 | + <partitioning> | |
| 877 | + <method>none</method> | |
| 878 | + <schema_name/> | |
| 879 | + </partitioning> | |
| 880 | + <splitfield>路牌范围</splitfield> | |
| 881 | + <delimiter>,</delimiter> | |
| 882 | + <newfield>lpname</newfield> | |
| 883 | + <rownum>N</rownum> | |
| 884 | + <rownum_field/> | |
| 885 | + <resetrownumber>Y</resetrownumber> | |
| 886 | + <delimiter_is_regex>N</delimiter_is_regex> | |
| 887 | + <cluster_schema/> | |
| 888 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 889 | + <xloc>364</xloc> | |
| 890 | + <yloc>259</yloc> | |
| 891 | + <draw>Y</draw> | |
| 892 | + </GUI> | |
| 893 | + </step> | |
| 894 | + | |
| 895 | + <step> | |
| 896 | + <name>排序记录</name> | |
| 897 | + <type>SortRows</type> | |
| 898 | + <description/> | |
| 899 | + <distribute>Y</distribute> | |
| 900 | + <custom_distribution/> | |
| 901 | + <copies>1</copies> | |
| 902 | + <partitioning> | |
| 903 | + <method>none</method> | |
| 904 | + <schema_name/> | |
| 905 | + </partitioning> | |
| 906 | + <directory>%%java.io.tmpdir%%</directory> | |
| 907 | + <prefix>out</prefix> | |
| 908 | + <sort_size>1000000</sort_size> | |
| 909 | + <free_memory/> | |
| 910 | + <compress>N</compress> | |
| 911 | + <compress_variable/> | |
| 912 | + <unique_rows>N</unique_rows> | |
| 913 | + <fields> | |
| 914 | + <field> | |
| 915 | + <name>xlid</name> | |
| 916 | + <ascending>Y</ascending> | |
| 917 | + <case_sensitive>N</case_sensitive> | |
| 918 | + <presorted>N</presorted> | |
| 919 | + </field> | |
| 920 | + <field> | |
| 921 | + <name>cid</name> | |
| 922 | + <ascending>Y</ascending> | |
| 923 | + <case_sensitive>N</case_sensitive> | |
| 924 | + <presorted>N</presorted> | |
| 925 | + </field> | |
| 926 | + <field> | |
| 927 | + <name>路牌范围</name> | |
| 928 | + <ascending>Y</ascending> | |
| 929 | + <case_sensitive>N</case_sensitive> | |
| 930 | + <presorted>N</presorted> | |
| 931 | + </field> | |
| 932 | + <field> | |
| 933 | + <name>起始路牌</name> | |
| 934 | + <ascending>Y</ascending> | |
| 935 | + <case_sensitive>N</case_sensitive> | |
| 936 | + <presorted>N</presorted> | |
| 937 | + </field> | |
| 938 | + <field> | |
| 939 | + <name>起始人员</name> | |
| 940 | + <ascending>Y</ascending> | |
| 941 | + <case_sensitive>N</case_sensitive> | |
| 942 | + <presorted>N</presorted> | |
| 943 | + </field> | |
| 944 | + <field> | |
| 945 | + <name>人员范围</name> | |
| 946 | + <ascending>Y</ascending> | |
| 947 | + <case_sensitive>N</case_sensitive> | |
| 948 | + <presorted>N</presorted> | |
| 949 | + </field> | |
| 950 | + <field> | |
| 951 | + <name>启用日期</name> | |
| 952 | + <ascending>Y</ascending> | |
| 953 | + <case_sensitive>N</case_sensitive> | |
| 954 | + <presorted>N</presorted> | |
| 955 | + </field> | |
| 956 | + <field> | |
| 957 | + <name>翻班格式</name> | |
| 958 | + <ascending>Y</ascending> | |
| 959 | + <case_sensitive>N</case_sensitive> | |
| 960 | + <presorted>N</presorted> | |
| 961 | + </field> | |
| 962 | + <field> | |
| 963 | + <name>isCancel</name> | |
| 964 | + <ascending>Y</ascending> | |
| 965 | + <case_sensitive>N</case_sensitive> | |
| 966 | + <presorted>N</presorted> | |
| 967 | + </field> | |
| 968 | + </fields> | |
| 969 | + <cluster_schema/> | |
| 970 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 971 | + <xloc>516</xloc> | |
| 972 | + <yloc>119</yloc> | |
| 973 | + <draw>Y</draw> | |
| 974 | + </GUI> | |
| 975 | + </step> | |
| 976 | + | |
| 977 | + <step> | |
| 978 | + <name>排序记录 2</name> | |
| 979 | + <type>SortRows</type> | |
| 980 | + <description/> | |
| 981 | + <distribute>Y</distribute> | |
| 982 | + <custom_distribution/> | |
| 983 | + <copies>1</copies> | |
| 984 | + <partitioning> | |
| 985 | + <method>none</method> | |
| 986 | + <schema_name/> | |
| 987 | + </partitioning> | |
| 988 | + <directory>%%java.io.tmpdir%%</directory> | |
| 989 | + <prefix>out</prefix> | |
| 990 | + <sort_size>1000000</sort_size> | |
| 991 | + <free_memory/> | |
| 992 | + <compress>N</compress> | |
| 993 | + <compress_variable/> | |
| 994 | + <unique_rows>N</unique_rows> | |
| 995 | + <fields> | |
| 996 | + <field> | |
| 997 | + <name>xlid</name> | |
| 998 | + <ascending>Y</ascending> | |
| 999 | + <case_sensitive>N</case_sensitive> | |
| 1000 | + <presorted>N</presorted> | |
| 1001 | + </field> | |
| 1002 | + <field> | |
| 1003 | + <name>cid</name> | |
| 1004 | + <ascending>Y</ascending> | |
| 1005 | + <case_sensitive>N</case_sensitive> | |
| 1006 | + <presorted>N</presorted> | |
| 1007 | + </field> | |
| 1008 | + <field> | |
| 1009 | + <name>路牌范围</name> | |
| 1010 | + <ascending>Y</ascending> | |
| 1011 | + <case_sensitive>N</case_sensitive> | |
| 1012 | + <presorted>N</presorted> | |
| 1013 | + </field> | |
| 1014 | + <field> | |
| 1015 | + <name>lpids</name> | |
| 1016 | + <ascending>Y</ascending> | |
| 1017 | + <case_sensitive>N</case_sensitive> | |
| 1018 | + <presorted>N</presorted> | |
| 1019 | + </field> | |
| 1020 | + <field> | |
| 1021 | + <name>起始路牌</name> | |
| 1022 | + <ascending>Y</ascending> | |
| 1023 | + <case_sensitive>N</case_sensitive> | |
| 1024 | + <presorted>N</presorted> | |
| 1025 | + </field> | |
| 1026 | + <field> | |
| 1027 | + <name>起始人员</name> | |
| 1028 | + <ascending>Y</ascending> | |
| 1029 | + <case_sensitive>N</case_sensitive> | |
| 1030 | + <presorted>N</presorted> | |
| 1031 | + </field> | |
| 1032 | + <field> | |
| 1033 | + <name>人员范围</name> | |
| 1034 | + <ascending>Y</ascending> | |
| 1035 | + <case_sensitive>N</case_sensitive> | |
| 1036 | + <presorted>N</presorted> | |
| 1037 | + </field> | |
| 1038 | + <field> | |
| 1039 | + <name>启用日期</name> | |
| 1040 | + <ascending>Y</ascending> | |
| 1041 | + <case_sensitive>N</case_sensitive> | |
| 1042 | + <presorted>N</presorted> | |
| 1043 | + </field> | |
| 1044 | + <field> | |
| 1045 | + <name>翻班格式</name> | |
| 1046 | + <ascending>Y</ascending> | |
| 1047 | + <case_sensitive>N</case_sensitive> | |
| 1048 | + <presorted>N</presorted> | |
| 1049 | + </field> | |
| 1050 | + <field> | |
| 1051 | + <name>isCancel</name> | |
| 1052 | + <ascending>Y</ascending> | |
| 1053 | + <case_sensitive>N</case_sensitive> | |
| 1054 | + <presorted>N</presorted> | |
| 1055 | + </field> | |
| 1056 | + </fields> | |
| 1057 | + <cluster_schema/> | |
| 1058 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1059 | + <xloc>919</xloc> | |
| 1060 | + <yloc>289</yloc> | |
| 1061 | + <draw>Y</draw> | |
| 1062 | + </GUI> | |
| 1063 | + </step> | |
| 1064 | + | |
| 1065 | + <step> | |
| 1066 | + <name>插入 / 更新bsth_c_s_sr1_flat</name> | |
| 1067 | + <type>InsertUpdate</type> | |
| 1068 | + <description/> | |
| 1069 | + <distribute>Y</distribute> | |
| 1070 | + <custom_distribution/> | |
| 1071 | + <copies>1</copies> | |
| 1072 | + <partitioning> | |
| 1073 | + <method>none</method> | |
| 1074 | + <schema_name/> | |
| 1075 | + </partitioning> | |
| 1076 | + <connection>bus_control_variable</connection> | |
| 1077 | + <commit>100</commit> | |
| 1078 | + <update_bypassed>N</update_bypassed> | |
| 1079 | + <lookup> | |
| 1080 | + <schema/> | |
| 1081 | + <table>bsth_c_s_sr1_flat</table> | |
| 1082 | + <key> | |
| 1083 | + <name>xlid</name> | |
| 1084 | + <field>xl</field> | |
| 1085 | + <condition>=</condition> | |
| 1086 | + <name2/> | |
| 1087 | + </key> | |
| 1088 | + <key> | |
| 1089 | + <name>cid</name> | |
| 1090 | + <field>car_config_info</field> | |
| 1091 | + <condition>=</condition> | |
| 1092 | + <name2/> | |
| 1093 | + </key> | |
| 1094 | + <key> | |
| 1095 | + <name>路牌范围</name> | |
| 1096 | + <field>lp_names</field> | |
| 1097 | + <condition>=</condition> | |
| 1098 | + <name2/> | |
| 1099 | + </key> | |
| 1100 | + <value> | |
| 1101 | + <name>xl</name> | |
| 1102 | + <rename>xlid</rename> | |
| 1103 | + <update>Y</update> | |
| 1104 | + </value> | |
| 1105 | + <value> | |
| 1106 | + <name>car_config_info</name> | |
| 1107 | + <rename>cid</rename> | |
| 1108 | + <update>Y</update> | |
| 1109 | + </value> | |
| 1110 | + <value> | |
| 1111 | + <name>lp_names</name> | |
| 1112 | + <rename>路牌范围</rename> | |
| 1113 | + <update>Y</update> | |
| 1114 | + </value> | |
| 1115 | + <value> | |
| 1116 | + <name>lp_ids</name> | |
| 1117 | + <rename>lpids</rename> | |
| 1118 | + <update>Y</update> | |
| 1119 | + </value> | |
| 1120 | + <value> | |
| 1121 | + <name>lp_start</name> | |
| 1122 | + <rename>起始路牌</rename> | |
| 1123 | + <update>Y</update> | |
| 1124 | + </value> | |
| 1125 | + <value> | |
| 1126 | + <name>ry_start</name> | |
| 1127 | + <rename>起始人员</rename> | |
| 1128 | + <update>Y</update> | |
| 1129 | + </value> | |
| 1130 | + <value> | |
| 1131 | + <name>ry_dbbms</name> | |
| 1132 | + <rename>人员范围</rename> | |
| 1133 | + <update>Y</update> | |
| 1134 | + </value> | |
| 1135 | + <value> | |
| 1136 | + <name>qyrq</name> | |
| 1137 | + <rename>启用日期</rename> | |
| 1138 | + <update>Y</update> | |
| 1139 | + </value> | |
| 1140 | + <value> | |
| 1141 | + <name>ry_config_ids</name> | |
| 1142 | + <rename>rycids</rename> | |
| 1143 | + <update>Y</update> | |
| 1144 | + </value> | |
| 1145 | + <value> | |
| 1146 | + <name>fbgs</name> | |
| 1147 | + <rename>翻班格式</rename> | |
| 1148 | + <update>Y</update> | |
| 1149 | + </value> | |
| 1150 | + </lookup> | |
| 1151 | + <cluster_schema/> | |
| 1152 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1153 | + <xloc>532</xloc> | |
| 1154 | + <yloc>297</yloc> | |
| 1155 | + <draw>Y</draw> | |
| 1156 | + </GUI> | |
| 1157 | + </step> | |
| 1158 | + | |
| 1159 | + <step> | |
| 1160 | + <name>线路id查询</name> | |
| 1161 | + <type>DBLookup</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 | + <connection>bus_control_variable</connection> | |
| 1171 | + <cache>Y</cache> | |
| 1172 | + <cache_load_all>Y</cache_load_all> | |
| 1173 | + <cache_size>0</cache_size> | |
| 1174 | + <lookup> | |
| 1175 | + <schema/> | |
| 1176 | + <table>bsth_c_line</table> | |
| 1177 | + <orderby/> | |
| 1178 | + <fail_on_multiple>N</fail_on_multiple> | |
| 1179 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 1180 | + <key> | |
| 1181 | + <name>线路</name> | |
| 1182 | + <field>name</field> | |
| 1183 | + <condition>=</condition> | |
| 1184 | + <name2/> | |
| 1185 | + </key> | |
| 1186 | + <key> | |
| 1187 | + <name>isCancel</name> | |
| 1188 | + <field>destroy</field> | |
| 1189 | + <condition>=</condition> | |
| 1190 | + <name2/> | |
| 1191 | + </key> | |
| 1192 | + <value> | |
| 1193 | + <name>id</name> | |
| 1194 | + <rename>xlid</rename> | |
| 1195 | + <default/> | |
| 1196 | + <type>Integer</type> | |
| 1197 | + </value> | |
| 1198 | + </lookup> | |
| 1199 | + <cluster_schema/> | |
| 1200 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1201 | + <xloc>359</xloc> | |
| 1202 | + <yloc>110</yloc> | |
| 1203 | + <draw>Y</draw> | |
| 1204 | + </GUI> | |
| 1205 | + </step> | |
| 1206 | + | |
| 1207 | + <step> | |
| 1208 | + <name>获取变量</name> | |
| 1209 | + <type>GetVariable</type> | |
| 1210 | + <description/> | |
| 1211 | + <distribute>Y</distribute> | |
| 1212 | + <custom_distribution/> | |
| 1213 | + <copies>1</copies> | |
| 1214 | + <partitioning> | |
| 1215 | + <method>none</method> | |
| 1216 | + <schema_name/> | |
| 1217 | + </partitioning> | |
| 1218 | + <fields> | |
| 1219 | + <field> | |
| 1220 | + <name>filepath_</name> | |
| 1221 | + <variable>${filepath}</variable> | |
| 1222 | + <type>String</type> | |
| 1223 | + <format/> | |
| 1224 | + <currency/> | |
| 1225 | + <decimal/> | |
| 1226 | + <group/> | |
| 1227 | + <length>-1</length> | |
| 1228 | + <precision>-1</precision> | |
| 1229 | + <trim_type>none</trim_type> | |
| 1230 | + </field> | |
| 1231 | + <field> | |
| 1232 | + <name>erroroutputdir_</name> | |
| 1233 | + <variable>${erroroutputdir}</variable> | |
| 1234 | + <type>String</type> | |
| 1235 | + <format/> | |
| 1236 | + <currency/> | |
| 1237 | + <decimal/> | |
| 1238 | + <group/> | |
| 1239 | + <length>-1</length> | |
| 1240 | + <precision>-1</precision> | |
| 1241 | + <trim_type>none</trim_type> | |
| 1242 | + </field> | |
| 1243 | + </fields> | |
| 1244 | + <cluster_schema/> | |
| 1245 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1246 | + <xloc>53</xloc> | |
| 1247 | + <yloc>23</yloc> | |
| 1248 | + <draw>Y</draw> | |
| 1249 | + </GUI> | |
| 1250 | + </step> | |
| 1251 | + | |
| 1252 | + <step> | |
| 1253 | + <name>路牌id查询</name> | |
| 1254 | + <type>DBLookup</type> | |
| 1255 | + <description/> | |
| 1256 | + <distribute>Y</distribute> | |
| 1257 | + <custom_distribution/> | |
| 1258 | + <copies>1</copies> | |
| 1259 | + <partitioning> | |
| 1260 | + <method>none</method> | |
| 1261 | + <schema_name/> | |
| 1262 | + </partitioning> | |
| 1263 | + <connection>bus_control_variable</connection> | |
| 1264 | + <cache>Y</cache> | |
| 1265 | + <cache_load_all>Y</cache_load_all> | |
| 1266 | + <cache_size>0</cache_size> | |
| 1267 | + <lookup> | |
| 1268 | + <schema/> | |
| 1269 | + <table>bsth_c_s_gbi</table> | |
| 1270 | + <orderby/> | |
| 1271 | + <fail_on_multiple>N</fail_on_multiple> | |
| 1272 | + <eat_row_on_failure>N</eat_row_on_failure> | |
| 1273 | + <key> | |
| 1274 | + <name>xlid</name> | |
| 1275 | + <field>xl</field> | |
| 1276 | + <condition>=</condition> | |
| 1277 | + <name2/> | |
| 1278 | + </key> | |
| 1279 | + <key> | |
| 1280 | + <name>lpname</name> | |
| 1281 | + <field>lp_name</field> | |
| 1282 | + <condition>=</condition> | |
| 1283 | + <name2/> | |
| 1284 | + </key> | |
| 1285 | + <key> | |
| 1286 | + <name>isCancel</name> | |
| 1287 | + <field>is_cancel</field> | |
| 1288 | + <condition>=</condition> | |
| 1289 | + <name2/> | |
| 1290 | + </key> | |
| 1291 | + <value> | |
| 1292 | + <name>id</name> | |
| 1293 | + <rename>lpid</rename> | |
| 1294 | + <default/> | |
| 1295 | + <type>Integer</type> | |
| 1296 | + </value> | |
| 1297 | + </lookup> | |
| 1298 | + <cluster_schema/> | |
| 1299 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1300 | + <xloc>516</xloc> | |
| 1301 | + <yloc>21</yloc> | |
| 1302 | + <draw>Y</draw> | |
| 1303 | + </GUI> | |
| 1304 | + </step> | |
| 1305 | + | |
| 1306 | + <step> | |
| 1307 | + <name>车辆配置id查询</name> | |
| 1308 | + <type>DBJoin</type> | |
| 1309 | + <description/> | |
| 1310 | + <distribute>Y</distribute> | |
| 1311 | + <custom_distribution/> | |
| 1312 | + <copies>1</copies> | |
| 1313 | + <partitioning> | |
| 1314 | + <method>none</method> | |
| 1315 | + <schema_name/> | |
| 1316 | + </partitioning> | |
| 1317 | + <connection>bus_control_variable</connection> | |
| 1318 | + <rowlimit>1</rowlimit> | |
| 1319 | + <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> | |
| 1320 | + <outer_join>Y</outer_join> | |
| 1321 | + <replace_vars>N</replace_vars> | |
| 1322 | + <parameter> | |
| 1323 | + <field> | |
| 1324 | + <name>xlid</name> | |
| 1325 | + <type>Integer</type> | |
| 1326 | + </field> | |
| 1327 | + <field> | |
| 1328 | + <name>内部编码</name> | |
| 1329 | + <type>String</type> | |
| 1330 | + </field> | |
| 1331 | + <field> | |
| 1332 | + <name>isCancel</name> | |
| 1333 | + <type>Integer</type> | |
| 1334 | + </field> | |
| 1335 | + </parameter> | |
| 1336 | + <cluster_schema/> | |
| 1337 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1338 | + <xloc>360</xloc> | |
| 1339 | + <yloc>184</yloc> | |
| 1340 | + <draw>Y</draw> | |
| 1341 | + </GUI> | |
| 1342 | + </step> | |
| 1343 | + | |
| 1344 | + <step> | |
| 1345 | + <name>过滤人员配置id为空记录</name> | |
| 1346 | + <type>FilterRows</type> | |
| 1347 | + <description/> | |
| 1348 | + <distribute>Y</distribute> | |
| 1349 | + <custom_distribution/> | |
| 1350 | + <copies>1</copies> | |
| 1351 | + <partitioning> | |
| 1352 | + <method>none</method> | |
| 1353 | + <schema_name/> | |
| 1354 | + </partitioning> | |
| 1355 | +<send_true_to/> | |
| 1356 | +<send_false_to/> | |
| 1357 | + <compare> | |
| 1358 | +<condition> | |
| 1359 | + <negated>N</negated> | |
| 1360 | + <conditions> | |
| 1361 | + <condition> | |
| 1362 | + <negated>N</negated> | |
| 1363 | + <leftvalue>rycid1</leftvalue> | |
| 1364 | + <function>IS NOT NULL</function> | |
| 1365 | + <rightvalue/> | |
| 1366 | + </condition> | |
| 1367 | + <condition> | |
| 1368 | + <negated>N</negated> | |
| 1369 | + <operator>OR</operator> | |
| 1370 | + <leftvalue>rycid2</leftvalue> | |
| 1371 | + <function>IS NOT NULL</function> | |
| 1372 | + <rightvalue/> | |
| 1373 | + </condition> | |
| 1374 | + </conditions> | |
| 1375 | + </condition> | |
| 1376 | + </compare> | |
| 1377 | + <cluster_schema/> | |
| 1378 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1379 | + <xloc>776</xloc> | |
| 1380 | + <yloc>204</yloc> | |
| 1381 | + <draw>Y</draw> | |
| 1382 | + </GUI> | |
| 1383 | + </step> | |
| 1384 | + | |
| 1385 | + <step> | |
| 1386 | + <name>过滤线路id为空记录</name> | |
| 1387 | + <type>FilterRows</type> | |
| 1388 | + <description/> | |
| 1389 | + <distribute>Y</distribute> | |
| 1390 | + <custom_distribution/> | |
| 1391 | + <copies>1</copies> | |
| 1392 | + <partitioning> | |
| 1393 | + <method>none</method> | |
| 1394 | + <schema_name/> | |
| 1395 | + </partitioning> | |
| 1396 | +<send_true_to>车辆配置id查询</send_true_to> | |
| 1397 | +<send_false_to/> | |
| 1398 | + <compare> | |
| 1399 | +<condition> | |
| 1400 | + <negated>N</negated> | |
| 1401 | + <leftvalue>xlid</leftvalue> | |
| 1402 | + <function>IS NOT NULL</function> | |
| 1403 | + <rightvalue/> | |
| 1404 | + </condition> | |
| 1405 | + </compare> | |
| 1406 | + <cluster_schema/> | |
| 1407 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1408 | + <xloc>203</xloc> | |
| 1409 | + <yloc>110</yloc> | |
| 1410 | + <draw>Y</draw> | |
| 1411 | + </GUI> | |
| 1412 | + </step> | |
| 1413 | + | |
| 1414 | + <step> | |
| 1415 | + <name>过滤路牌id为空记录</name> | |
| 1416 | + <type>FilterRows</type> | |
| 1417 | + <description/> | |
| 1418 | + <distribute>Y</distribute> | |
| 1419 | + <custom_distribution/> | |
| 1420 | + <copies>1</copies> | |
| 1421 | + <partitioning> | |
| 1422 | + <method>none</method> | |
| 1423 | + <schema_name/> | |
| 1424 | + </partitioning> | |
| 1425 | +<send_true_to>排序记录</send_true_to> | |
| 1426 | +<send_false_to/> | |
| 1427 | + <compare> | |
| 1428 | +<condition> | |
| 1429 | + <negated>N</negated> | |
| 1430 | + <leftvalue>lpid</leftvalue> | |
| 1431 | + <function>IS NOT NULL</function> | |
| 1432 | + <rightvalue/> | |
| 1433 | + </condition> | |
| 1434 | + </compare> | |
| 1435 | + <cluster_schema/> | |
| 1436 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1437 | + <xloc>653</xloc> | |
| 1438 | + <yloc>23</yloc> | |
| 1439 | + <draw>Y</draw> | |
| 1440 | + </GUI> | |
| 1441 | + </step> | |
| 1442 | + | |
| 1443 | + <step> | |
| 1444 | + <name>过滤车辆配置id为空记录</name> | |
| 1445 | + <type>FilterRows</type> | |
| 1446 | + <description/> | |
| 1447 | + <distribute>Y</distribute> | |
| 1448 | + <custom_distribution/> | |
| 1449 | + <copies>1</copies> | |
| 1450 | + <partitioning> | |
| 1451 | + <method>none</method> | |
| 1452 | + <schema_name/> | |
| 1453 | + </partitioning> | |
| 1454 | +<send_true_to>拆分路牌范围</send_true_to> | |
| 1455 | +<send_false_to/> | |
| 1456 | + <compare> | |
| 1457 | +<condition> | |
| 1458 | + <negated>N</negated> | |
| 1459 | + <leftvalue>cid</leftvalue> | |
| 1460 | + <function>IS NOT NULL</function> | |
| 1461 | + <rightvalue/> | |
| 1462 | + </condition> | |
| 1463 | + </compare> | |
| 1464 | + <cluster_schema/> | |
| 1465 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1466 | + <xloc>208</xloc> | |
| 1467 | + <yloc>182</yloc> | |
| 1468 | + <draw>Y</draw> | |
| 1469 | + </GUI> | |
| 1470 | + </step> | |
| 1471 | + | |
| 1472 | + <step> | |
| 1473 | + <name>错误输出 2</name> | |
| 1474 | + <type>ExcelOutput</type> | |
| 1475 | + <description/> | |
| 1476 | + <distribute>Y</distribute> | |
| 1477 | + <custom_distribution/> | |
| 1478 | + <copies>1</copies> | |
| 1479 | + <partitioning> | |
| 1480 | + <method>none</method> | |
| 1481 | + <schema_name/> | |
| 1482 | + </partitioning> | |
| 1483 | + <header>Y</header> | |
| 1484 | + <footer>N</footer> | |
| 1485 | + <encoding>UTF-8</encoding> | |
| 1486 | + <append>N</append> | |
| 1487 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 1488 | + <file> | |
| 1489 | + <name>${erroroutputdir}/排版规则信息导入_错误</name> | |
| 1490 | + <extention>xls</extention> | |
| 1491 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 1492 | + <create_parent_folder>N</create_parent_folder> | |
| 1493 | + <split>N</split> | |
| 1494 | + <add_date>N</add_date> | |
| 1495 | + <add_time>N</add_time> | |
| 1496 | + <SpecifyFormat>N</SpecifyFormat> | |
| 1497 | + <date_time_format/> | |
| 1498 | + <sheetname>Sheet1</sheetname> | |
| 1499 | + <autosizecolums>N</autosizecolums> | |
| 1500 | + <nullisblank>N</nullisblank> | |
| 1501 | + <protect_sheet>N</protect_sheet> | |
| 1502 | + <password>Encrypted </password> | |
| 1503 | + <splitevery>0</splitevery> | |
| 1504 | + <usetempfiles>N</usetempfiles> | |
| 1505 | + <tempdirectory/> | |
| 1506 | + </file> | |
| 1507 | + <template> | |
| 1508 | + <enabled>N</enabled> | |
| 1509 | + <append>N</append> | |
| 1510 | + <filename>template.xls</filename> | |
| 1511 | + </template> | |
| 1512 | + <fields> | |
| 1513 | + <field> | |
| 1514 | + <name>xlid</name> | |
| 1515 | + <type>Integer</type> | |
| 1516 | + <format/> | |
| 1517 | + </field> | |
| 1518 | + <field> | |
| 1519 | + <name>cid</name> | |
| 1520 | + <type>Integer</type> | |
| 1521 | + <format/> | |
| 1522 | + </field> | |
| 1523 | + <field> | |
| 1524 | + <name>路牌范围</name> | |
| 1525 | + <type>String</type> | |
| 1526 | + <format/> | |
| 1527 | + </field> | |
| 1528 | + <field> | |
| 1529 | + <name>lpids</name> | |
| 1530 | + <type>String</type> | |
| 1531 | + <format/> | |
| 1532 | + </field> | |
| 1533 | + <field> | |
| 1534 | + <name>起始路牌</name> | |
| 1535 | + <type>String</type> | |
| 1536 | + <format/> | |
| 1537 | + </field> | |
| 1538 | + <field> | |
| 1539 | + <name>起始人员</name> | |
| 1540 | + <type>String</type> | |
| 1541 | + <format/> | |
| 1542 | + </field> | |
| 1543 | + <field> | |
| 1544 | + <name>人员范围</name> | |
| 1545 | + <type>String</type> | |
| 1546 | + <format/> | |
| 1547 | + </field> | |
| 1548 | + <field> | |
| 1549 | + <name>启用日期</name> | |
| 1550 | + <type>Timestamp</type> | |
| 1551 | + <format/> | |
| 1552 | + </field> | |
| 1553 | + <field> | |
| 1554 | + <name>翻班格式</name> | |
| 1555 | + <type>String</type> | |
| 1556 | + <format/> | |
| 1557 | + </field> | |
| 1558 | + <field> | |
| 1559 | + <name>isCancel</name> | |
| 1560 | + <type>Integer</type> | |
| 1561 | + <format/> | |
| 1562 | + </field> | |
| 1563 | + <field> | |
| 1564 | + <name>rycids</name> | |
| 1565 | + <type>String</type> | |
| 1566 | + <format/> | |
| 1567 | + </field> | |
| 1568 | + <field> | |
| 1569 | + <name>error_count</name> | |
| 1570 | + <type>Integer</type> | |
| 1571 | + <format/> | |
| 1572 | + </field> | |
| 1573 | + <field> | |
| 1574 | + <name>error_desc</name> | |
| 1575 | + <type>String</type> | |
| 1576 | + <format/> | |
| 1577 | + </field> | |
| 1578 | + <field> | |
| 1579 | + <name>error_column1</name> | |
| 1580 | + <type>String</type> | |
| 1581 | + <format/> | |
| 1582 | + </field> | |
| 1583 | + <field> | |
| 1584 | + <name>error_column2</name> | |
| 1585 | + <type>String</type> | |
| 1586 | + <format/> | |
| 1587 | + </field> | |
| 1588 | + </fields> | |
| 1589 | + <custom> | |
| 1590 | + <header_font_name>arial</header_font_name> | |
| 1591 | + <header_font_size>10</header_font_size> | |
| 1592 | + <header_font_bold>N</header_font_bold> | |
| 1593 | + <header_font_italic>N</header_font_italic> | |
| 1594 | + <header_font_underline>no</header_font_underline> | |
| 1595 | + <header_font_orientation>horizontal</header_font_orientation> | |
| 1596 | + <header_font_color>black</header_font_color> | |
| 1597 | + <header_background_color>none</header_background_color> | |
| 1598 | + <header_row_height>255</header_row_height> | |
| 1599 | + <header_alignment>left</header_alignment> | |
| 1600 | + <header_image/> | |
| 1601 | + <row_font_name>arial</row_font_name> | |
| 1602 | + <row_font_size>10</row_font_size> | |
| 1603 | + <row_font_color>black</row_font_color> | |
| 1604 | + <row_background_color>none</row_background_color> | |
| 1605 | + </custom> | |
| 1606 | + <cluster_schema/> | |
| 1607 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 1608 | + <xloc>534</xloc> | |
| 1609 | + <yloc>392</yloc> | |
| 1610 | + <draw>Y</draw> | |
| 1611 | + </GUI> | |
| 1612 | + </step> | |
| 1613 | + | |
| 1614 | + <step_error_handling> | |
| 1615 | + <error> | |
| 1616 | + <source_step>插入 / 更新bsth_c_s_sr1_flat</source_step> | |
| 1617 | + <target_step>错误输出 2</target_step> | |
| 1618 | + <is_enabled>Y</is_enabled> | |
| 1619 | + <nr_valuename>error_count</nr_valuename> | |
| 1620 | + <descriptions_valuename>error_desc</descriptions_valuename> | |
| 1621 | + <fields_valuename>error_column1</fields_valuename> | |
| 1622 | + <codes_valuename>error_column2</codes_valuename> | |
| 1623 | + <max_errors/> | |
| 1624 | + <max_pct_errors/> | |
| 1625 | + <min_pct_rows/> | |
| 1626 | + </error> | |
| 1627 | + </step_error_handling> | |
| 1628 | + <slave-step-copy-partition-distribution> | |
| 1629 | +</slave-step-copy-partition-distribution> | |
| 1630 | + <slave_transformation>N</slave_transformation> | |
| 1631 | + | |
| 1632 | 1632 | </transformation> |
| 1633 | 1633 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/forms/mould/lbStatuAnaly.xls
0 → 100644
No preview for this file type
src/main/resources/static/pages/forms/mould/statisticsDaily_.xls
No preview for this file type
src/main/resources/static/pages/forms/statement/lbStatuAnaly.html
| ... | ... | @@ -82,7 +82,7 @@ |
| 82 | 82 | </div> |
| 83 | 83 | <div class="form-group" style="margin-left: 10px"> |
| 84 | 84 | <input class="btn btn-default" type="button" id="query" value="筛选"/> |
| 85 | -<!-- <input class="btn btn-default" type="button" id="export" value="导出"/> --> | |
| 85 | + <input class="btn btn-default" type="button" id="export" value="导出"/> | |
| 86 | 86 | </div> |
| 87 | 87 | </form> |
| 88 | 88 | </div> |
| ... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 | |
| 108 | 108 | <script> |
| 109 | 109 | $(function(){ |
| 110 | - | |
| 110 | + $('#export').attr('disabled', "true"); | |
| 111 | 111 | |
| 112 | 112 | // 关闭左侧栏 |
| 113 | 113 | if (!$('body').hasClass('page-sidebar-closed')) |
| ... | ... | @@ -253,12 +253,29 @@ |
| 253 | 253 | _w_table_rowspan("#forms", 3); |
| 254 | 254 | _w_table_rowspan("#forms", 4); |
| 255 | 255 | _w_table_rowspan("#forms", 5); |
| 256 | + | |
| 257 | + if(result.length == 0) | |
| 258 | + $('#export').attr('disabled', "true"); | |
| 259 | + else | |
| 260 | + $("#export").removeAttr("disabled"); | |
| 261 | + | |
| 256 | 262 | }); |
| 257 | 263 | } |
| 258 | 264 | |
| 259 | 265 | $("#export").on("click", function(){ |
| 260 | - $get('/pcpc/workDaily',{line:line,date:date,type:'export'},function(result){ | |
| 261 | - window.open("/downloadFile/download?fileName=营运服务日报表"+moment(date).format("YYYYMMDD")); | |
| 266 | + var params = {}; | |
| 267 | + params['line'] = line; | |
| 268 | + params['startDate'] = startDate; | |
| 269 | + params['endDate'] = endDate; | |
| 270 | + params['model'] = model; | |
| 271 | + params['times'] = times; | |
| 272 | + params['company'] = company; | |
| 273 | + params['subCompany'] = subCompany; | |
| 274 | + params['type'] = "export"; | |
| 275 | + $get('/busInterval/lbStatuAnaly', params, function(result){ | |
| 276 | + window.open("/downloadFile/download?fileName=烂班情况分析表" | |
| 277 | + + moment(startDate).format("YYYYMMDD") | |
| 278 | + +"-"+ moment(endDate).format("YYYYMMDD")); | |
| 262 | 279 | }); |
| 263 | 280 | }); |
| 264 | 281 | ... | ... |
src/main/resources/static/pages/forms/statement/scheduleDailyQp.html
| ... | ... | @@ -182,36 +182,36 @@ |
| 182 | 182 | </tr> |
| 183 | 183 | </thead> |
| 184 | 184 | <tbody > |
| 185 | - <tr > | |
| 186 | - <td>1</td> | |
| 185 | + <tr > | |
| 186 | + <td></td> | |
| 187 | 187 | <td> |
| 188 | - YT-CD001 | |
| 188 | + | |
| 189 | 189 | </td> |
| 190 | 190 | <td> |
| 191 | 191 | |
| 192 | 192 | </td> |
| 193 | 193 | <td> |
| 194 | - 1 | |
| 194 | + | |
| 195 | 195 | </td> |
| 196 | 196 | <td> |
| 197 | - 00001 | |
| 197 | + | |
| 198 | 198 | </td> |
| 199 | 199 | <td > |
| 200 | - 04:30 | |
| 200 | + | |
| 201 | 201 | </td> |
| 202 | 202 | <td></td> |
| 203 | 203 | <td></td> |
| 204 | 204 | <td></td> |
| 205 | 205 | <td></td> |
| 206 | - <td>1</td> | |
| 207 | 206 | <td></td> |
| 208 | - <td>06:50</td> | |
| 209 | - <td>1</td> | |
| 210 | - <td>06:00</td> | |
| 211 | 207 | <td></td> |
| 212 | - <td>08:02</td> | |
| 213 | - <td>-2</td> | |
| 214 | - <td>07:10</td> | |
| 208 | + <td></td> | |
| 209 | + <td></td> | |
| 210 | + <td></td> | |
| 211 | + <td></td> | |
| 212 | + <td></td> | |
| 213 | + <td></td> | |
| 214 | + <td></td> | |
| 215 | 215 | <td></td> |
| 216 | 216 | <td></td> |
| 217 | 217 | <td></td> |
| ... | ... | @@ -266,7 +266,7 @@ |
| 266 | 266 | <td></td> |
| 267 | 267 | <td></td> |
| 268 | 268 | </tr> |
| 269 | - | |
| 269 | + | |
| 270 | 270 | </tbody> |
| 271 | 271 | </table> |
| 272 | 272 | <div style="text-align: right;"> | ... | ... |
src/main/resources/static/pages/forms/statement/statisticsDaily .html
| 1 | -<style type="text/css"> | |
| 2 | - .table-bordered { | |
| 3 | - border: 1px solid; } | |
| 4 | - .table-bordered > thead > tr > th, | |
| 5 | - .table-bordered > thead > tr > td, | |
| 6 | - .table-bordered > tbody > tr > th, | |
| 7 | - .table-bordered > tbody > tr > td, | |
| 8 | - .table-bordered > tfoot > tr > th, | |
| 9 | - .table-bordered > tfoot > tr > td { | |
| 10 | - border: 1px solid; } | |
| 11 | - .table-bordered > thead > tr > th, | |
| 12 | - .table-bordered > thead > tr > td { | |
| 13 | - border-bottom-width: 2px; } | |
| 14 | - | |
| 15 | - .table > tbody + tbody { | |
| 16 | - border-top: 1px solid; } | |
| 17 | -</style> | |
| 18 | - | |
| 19 | -<div class="page-head"> | |
| 20 | - <div class="page-title"> | |
| 21 | - <h1>统计日报</h1> | |
| 22 | - </div> | |
| 23 | -</div> | |
| 24 | - | |
| 25 | -<div class="row"> | |
| 26 | - <div class="col-md-12"> | |
| 27 | - <div class="portlet light porttlet-fit bordered"> | |
| 28 | - <div class="portlet-title"> | |
| 29 | - <form class="form-inline" action=""> | |
| 30 | - <div style="display: inline-block;"> | |
| 31 | - <span class="item-label" style="width: 80px;">线路: </span> | |
| 32 | - <select class="form-control" name="line" id="line" style="width: 180px;"></select> | |
| 33 | - </div> | |
| 34 | - <div style="display: inline-block;margin-left: 15px;"> | |
| 35 | - <span class="item-label" style="width: 80px;">时间: </span> | |
| 36 | - <input class="form-control" type="text" id="date" style="width: 180px;"/> | |
| 37 | - </div> | |
| 38 | - <div class="form-group"> | |
| 39 | - <input class="btn btn-default" type="button" id="query" value="查询"/> | |
| 40 | - <input class="btn btn-default" type="button" id="export" value="导出"/> | |
| 41 | - </div> | |
| 42 | - </form> | |
| 43 | - </div> | |
| 44 | - <div class="portlet-body"> | |
| 45 | - <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px"> | |
| 46 | - <label>早高峰:6:31~8:30 晚高峰:16:01~18:00</label> | |
| 47 | - <table class="table table-bordered table-hover table-checkable" id="forms"> | |
| 48 | - <thead> | |
| 49 | - <tr> | |
| 50 | - <th colspan="36">线路运营情况统计日报</th> | |
| 51 | - </tr> | |
| 52 | - <tr> | |
| 53 | - <td rowspan="3">路线别</td> | |
| 54 | - <td colspan="15">全日营运里程(公里)</td> | |
| 55 | - <td colspan="15">全日营运班次</td> | |
| 56 | - <td colspan="5">大间隔情况</td> | |
| 57 | - </tr> | |
| 58 | - <tr> | |
| 59 | - <td rowspan="2">计划</td> | |
| 60 | - <td rowspan="2">实驶</td> | |
| 61 | - <td rowspan="2">少驶</td> | |
| 62 | - <td colspan="11">少驶原因(公里)</td> | |
| 63 | - <td rowspan="2">临加公里</td> | |
| 64 | - <td colspan="3">计划班次</td> | |
| 65 | - <td colspan="3">实际班次</td> | |
| 66 | - <td colspan="3">临加班次</td> | |
| 67 | - <td colspan="3">放站班次</td> | |
| 68 | - <td colspan="3">调头班次</td> | |
| 69 | - <td colspan="3">发生次数</td> | |
| 70 | - <td rowspan="2">最大间隔时间(秒)</td> | |
| 71 | - <td rowspan="2">原因</td> | |
| 72 | - </tr> | |
| 73 | - <tr> | |
| 74 | - <td width="31px">路阻</td> | |
| 75 | - <td>吊慢</td> | |
| 76 | - <td>故障</td> | |
| 77 | - <td>纠纷</td> | |
| 78 | - <td>肇事</td> | |
| 79 | - <td>缺人</td> | |
| 80 | - <td>缺车</td> | |
| 81 | - <td>客稀</td> | |
| 82 | - <td>气候</td> | |
| 83 | - <td>援外</td> | |
| 84 | - <td>其他</td> | |
| 85 | - <td>全日</td> | |
| 86 | - <td>早高峰</td> | |
| 87 | - <td>晚高峰</td> | |
| 88 | - <td>全日</td> | |
| 89 | - <td>早高峰</td> | |
| 90 | - <td>晚高峰</td> | |
| 91 | - <td>全日</td> | |
| 92 | - <td>早高峰</td> | |
| 93 | - <td>晚高峰</td> | |
| 94 | - <td>全日</td> | |
| 95 | - <td>早高峰</td> | |
| 96 | - <td>晚高峰</td> | |
| 97 | - <td>全日</td> | |
| 98 | - <td>早高峰</td> | |
| 99 | - <td>晚高峰</td> | |
| 100 | - <td>全日</td> | |
| 101 | - <td>早高峰</td> | |
| 102 | - <td>晚高峰</td> | |
| 103 | - </tr> | |
| 104 | - </thead> | |
| 105 | - <tbody class="statisticsDaily"> | |
| 106 | - | |
| 107 | - </tbody> | |
| 108 | - <tr> | |
| 109 | - <td>合计</td> | |
| 110 | - <td> </td> | |
| 111 | - <td> </td> | |
| 112 | - <td> </td> | |
| 113 | - <td> </td> | |
| 114 | - <td> </td> | |
| 115 | - <td> </td> | |
| 116 | - <td> </td> | |
| 117 | - <td> </td> | |
| 118 | - <td> </td> | |
| 119 | - <td> </td> | |
| 120 | - <td> </td> | |
| 121 | - <td> </td> | |
| 122 | - <td> </td> | |
| 123 | - <td> </td> | |
| 124 | - <td> </td> | |
| 125 | - <td> </td> | |
| 126 | - <td> </td> | |
| 127 | - <td> </td> | |
| 128 | - <td> </td> | |
| 129 | - <td> </td> | |
| 130 | - <td> </td> | |
| 131 | - <td> </td> | |
| 132 | - <td> </td> | |
| 133 | - <td> </td> | |
| 134 | - <td> </td> | |
| 135 | - <td> </td> | |
| 136 | - <td> </td> | |
| 137 | - <td> </td> | |
| 138 | - <td> </td> | |
| 139 | - <td> </td> | |
| 140 | - <td> </td> | |
| 141 | - <td> </td> | |
| 142 | - <td> </td> | |
| 143 | - <td> </td> | |
| 144 | - <td> </td> | |
| 145 | - </tr> | |
| 146 | - <tr> | |
| 147 | - <td>运营情况摘录</td> | |
| 148 | - <td colspan="35"> </td> | |
| 149 | - </tr> | |
| 150 | - </table> | |
| 151 | - </div> | |
| 152 | - </div> | |
| 153 | - </div> | |
| 154 | - </div> | |
| 155 | -</div> | |
| 156 | - | |
| 157 | -<script> | |
| 158 | - $(function(){ | |
| 159 | - $('#export').attr('disabled', "true"); | |
| 160 | - | |
| 161 | - // 关闭左侧栏 | |
| 162 | - if (!$('body').hasClass('page-sidebar-closed')) | |
| 163 | - $('.menu-toggler.sidebar-toggler').click(); | |
| 164 | - | |
| 165 | - $("#date").datetimepicker({ | |
| 166 | - format : 'YYYY-MM-DD', | |
| 167 | - locale : 'zh-cn' | |
| 168 | - }); | |
| 169 | - $.get('/basic/lineCode2Name',function(result){ | |
| 170 | - var data=[]; | |
| 171 | - | |
| 172 | - for(var code in result){ | |
| 173 | - data.push({id: code, text: result[code]}); | |
| 174 | - } | |
| 175 | - console.log(data); | |
| 176 | - initPinYinSelect2('#line',data,''); | |
| 177 | - | |
| 178 | - }) | |
| 179 | - | |
| 180 | - | |
| 181 | - var line = $("#line").val(); | |
| 182 | - var xlName = $("#select2-line-container").html(); | |
| 183 | - var date = $("#date").val(); | |
| 184 | - $("#query").on("click",function(){ | |
| 185 | - line = $("#line").val(); | |
| 186 | - xlName = $("#select2-line-container").html(); | |
| 187 | - date = $("#date").val(); | |
| 188 | - $get('/realSchedule/statisticsDaily',{line:line,date:date,xlName:xlName,type:"query"},function(result){ | |
| 189 | - // 把数据填充到模版中 | |
| 190 | - var tbodyHtml = template('statisticsDaily',{list:result}); | |
| 191 | - // 把渲染好的模版html文本追加到表格中 | |
| 192 | - $('#forms .statisticsDaily').html(tbodyHtml); | |
| 193 | - | |
| 194 | - if(result.length == 0) | |
| 195 | - $("#export").attr('disabled',"true"); | |
| 196 | - else | |
| 197 | - $("#export").removeAttr("disabled"); | |
| 198 | - }); | |
| 199 | - }); | |
| 200 | - | |
| 201 | - $("#export").on("click",function(){ | |
| 202 | - $get('/realSchedule/statisticsDaily',{line:line,date:date,xlName:xlName,type:"export"},function(result){ | |
| 203 | - window.open("/downloadFile/download?fileName=统计日报"+moment(date).format("YYYYMMDD")); | |
| 204 | - }); | |
| 205 | - }); | |
| 206 | - | |
| 207 | - }); | |
| 208 | -</script> | |
| 209 | -<script type="text/html" id="statisticsDaily"> | |
| 210 | - {{each list as obj i}} | |
| 211 | - <tr> | |
| 212 | - <td>{{obj.xlName}}</td> | |
| 213 | - <td>{{obj.jhlc}}</td> | |
| 214 | - <td>{{obj.sjgl}}</td> | |
| 215 | - <td>{{obj.ssgl}}</td> | |
| 216 | - <td>{{obj.ssgl_lz}}</td> | |
| 217 | - <td>{{obj.ssgl_dm}}</td> | |
| 218 | - <td>{{obj.ssgl_gz}}</td> | |
| 219 | - <td>{{obj.ssgl_jf}}</td> | |
| 220 | - <td>{{obj.ssgl_zs}}</td> | |
| 221 | - <td>{{obj.ssgl_qr}}</td> | |
| 222 | - <td>{{obj.ssgl_qc}}</td> | |
| 223 | - <td>{{obj.ssgl_kx}}</td> | |
| 224 | - <td>{{obj.ssgl_qh}}</td> | |
| 225 | - <td>{{obj.ssgl_yw}}</td> | |
| 226 | - <td>{{obj.ssgl_other}}</td> | |
| 227 | - <td>{{obj.ljgl}}</td> | |
| 228 | - <td>{{obj.jhbc}}</td> | |
| 229 | - <td>{{obj.jhbc_m}}</td> | |
| 230 | - <td>{{obj.jhbc_a}}</td> | |
| 231 | - <td>{{obj.sjbc}}</td> | |
| 232 | - <td>{{obj.sjbc_m}}</td> | |
| 233 | - <td>{{obj.sjbc_a}}</td> | |
| 234 | - <td>{{obj.ljbc}}</td> | |
| 235 | - <td>{{obj.ljbc_m}}</td> | |
| 236 | - <td>{{obj.ljbc_a}}</td> | |
| 237 | - <td>{{obj.fzbc}}</td> | |
| 238 | - <td>{{obj.fzbc_m}}</td> | |
| 239 | - <td>{{obj.fzbc_a}}</td> | |
| 240 | - <td>{{obj.dtbc}}</td> | |
| 241 | - <td>{{obj.dtbc_m}}</td> | |
| 242 | - <td>{{obj.dtbc_a}}</td> | |
| 243 | - <td>{{obj.djg}}</td> | |
| 244 | - <td>{{obj.djg_m}}</td> | |
| 245 | - <td>{{obj.djg_a}}</td> | |
| 246 | - <td>{{obj.djg_time}}</td> | |
| 247 | - <td> </td> | |
| 248 | - </tr> | |
| 249 | - {{/each}} | |
| 250 | - {{if list.length == 0}} | |
| 251 | - <tr> | |
| 252 | - <td colspan="36"><h6 class="muted">没有找到相关数据</h6></td> | |
| 253 | - </tr> | |
| 254 | - {{/if}} | |
| 1 | +<style type="text/css"> | |
| 2 | + .table-bordered { | |
| 3 | + border: 1px solid; } | |
| 4 | + .table-bordered > thead > tr > th, | |
| 5 | + .table-bordered > thead > tr > td, | |
| 6 | + .table-bordered > tbody > tr > th, | |
| 7 | + .table-bordered > tbody > tr > td, | |
| 8 | + .table-bordered > tfoot > tr > th, | |
| 9 | + .table-bordered > tfoot > tr > td { | |
| 10 | + border: 1px solid; } | |
| 11 | + .table-bordered > thead > tr > th, | |
| 12 | + .table-bordered > thead > tr > td { | |
| 13 | + border-bottom-width: 2px; } | |
| 14 | + | |
| 15 | + .table > tbody + tbody { | |
| 16 | + border-top: 1px solid; } | |
| 17 | +</style> | |
| 18 | + | |
| 19 | +<div class="page-head"> | |
| 20 | + <div class="page-title"> | |
| 21 | + <h1>统计日报</h1> | |
| 22 | + </div> | |
| 23 | +</div> | |
| 24 | + | |
| 25 | +<div class="row"> | |
| 26 | + <div class="col-md-12"> | |
| 27 | + <div class="portlet light porttlet-fit bordered"> | |
| 28 | + <div class="portlet-title"> | |
| 29 | + <form class="form-inline" action=""> | |
| 30 | + <div style="display: inline-block;"> | |
| 31 | + <span class="item-label" style="width: 80px;">线路: </span> | |
| 32 | + <select class="form-control" name="line" id="line" style="width: 180px;"></select> | |
| 33 | + </div> | |
| 34 | + <div style="display: inline-block;margin-left: 15px;"> | |
| 35 | + <span class="item-label" style="width: 80px;">时间: </span> | |
| 36 | + <input class="form-control" type="text" id="date" style="width: 180px;"/> | |
| 37 | + </div> | |
| 38 | + <div class="form-group"> | |
| 39 | + <input class="btn btn-default" type="button" id="query" value="查询"/> | |
| 40 | + <input class="btn btn-default" type="button" id="export" value="导出"/> | |
| 41 | + </div> | |
| 42 | + </form> | |
| 43 | + </div> | |
| 44 | + <div class="portlet-body"> | |
| 45 | + <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px"> | |
| 46 | + <label>早高峰:6:31~8:30 晚高峰:16:01~18:00</label> | |
| 47 | + <table class="table table-bordered table-hover table-checkable" id="forms"> | |
| 48 | + <thead> | |
| 49 | + <tr> | |
| 50 | + <th colspan="36">线路运营情况统计日报</th> | |
| 51 | + </tr> | |
| 52 | + <tr> | |
| 53 | + <td rowspan="3">路线别</td> | |
| 54 | + <td colspan="15">全日营运里程(公里)</td> | |
| 55 | + <td colspan="15">全日营运班次</td> | |
| 56 | + <td colspan="5">大间隔情况</td> | |
| 57 | + </tr> | |
| 58 | + <tr> | |
| 59 | + <td rowspan="2">计划</td> | |
| 60 | + <td rowspan="2">实驶</td> | |
| 61 | + <td rowspan="2">少驶</td> | |
| 62 | + <td colspan="11">少驶原因(公里)</td> | |
| 63 | + <td rowspan="2">临加公里</td> | |
| 64 | + <td colspan="3">计划班次</td> | |
| 65 | + <td colspan="3">实际班次</td> | |
| 66 | + <td colspan="3">临加班次</td> | |
| 67 | + <td colspan="3">放站班次</td> | |
| 68 | + <td colspan="3">调头班次</td> | |
| 69 | + <td colspan="3">发生次数</td> | |
| 70 | + <td rowspan="2">最大间隔时间(秒)</td> | |
| 71 | + <td rowspan="2">原因</td> | |
| 72 | + </tr> | |
| 73 | + <tr> | |
| 74 | + <td width="31px">路阻</td> | |
| 75 | + <td>吊慢</td> | |
| 76 | + <td>故障</td> | |
| 77 | + <td>纠纷</td> | |
| 78 | + <td>肇事</td> | |
| 79 | + <td>缺人</td> | |
| 80 | + <td>缺车</td> | |
| 81 | + <td>客稀</td> | |
| 82 | + <td>气候</td> | |
| 83 | + <td>援外</td> | |
| 84 | + <td>其他</td> | |
| 85 | + <td>全日</td> | |
| 86 | + <td>早高峰</td> | |
| 87 | + <td>晚高峰</td> | |
| 88 | + <td>全日</td> | |
| 89 | + <td>早高峰</td> | |
| 90 | + <td>晚高峰</td> | |
| 91 | + <td>全日</td> | |
| 92 | + <td>早高峰</td> | |
| 93 | + <td>晚高峰</td> | |
| 94 | + <td>全日</td> | |
| 95 | + <td>早高峰</td> | |
| 96 | + <td>晚高峰</td> | |
| 97 | + <td>全日</td> | |
| 98 | + <td>早高峰</td> | |
| 99 | + <td>晚高峰</td> | |
| 100 | + <td>全日</td> | |
| 101 | + <td>早高峰</td> | |
| 102 | + <td>晚高峰</td> | |
| 103 | + </tr> | |
| 104 | + </thead> | |
| 105 | + <tbody class="statisticsDaily"> | |
| 106 | + | |
| 107 | + </tbody> | |
| 108 | + </table> | |
| 109 | + </div> | |
| 110 | + </div> | |
| 111 | + </div> | |
| 112 | + </div> | |
| 113 | +</div> | |
| 114 | + | |
| 115 | +<script> | |
| 116 | + $(function(){ | |
| 117 | + $('#export').attr('disabled', "true"); | |
| 118 | + | |
| 119 | + // 关闭左侧栏 | |
| 120 | + if (!$('body').hasClass('page-sidebar-closed')) | |
| 121 | + $('.menu-toggler.sidebar-toggler').click(); | |
| 122 | + | |
| 123 | + $("#date").datetimepicker({ | |
| 124 | + format : 'YYYY-MM-DD', | |
| 125 | + locale : 'zh-cn' | |
| 126 | + }); | |
| 127 | + $.get('/basic/lineCode2Name',function(result){ | |
| 128 | + var data=[]; | |
| 129 | + | |
| 130 | + data.push({id: "", text:"请选择"}); | |
| 131 | + for(var code in result){ | |
| 132 | + data.push({id: code, text: result[code]}); | |
| 133 | + } | |
| 134 | + initPinYinSelect2('#line',data,''); | |
| 135 | + | |
| 136 | + }) | |
| 137 | + | |
| 138 | + | |
| 139 | + var line =""; | |
| 140 | + var xlName =""; | |
| 141 | + var date = ""; | |
| 142 | + $("#query").on("click",function(){ | |
| 143 | + line = $("#line").val(); | |
| 144 | + xlName = $("#select2-line-container").html(); | |
| 145 | + date = $("#date").val(); | |
| 146 | + if(line=="请选择"){ | |
| 147 | + line=""; | |
| 148 | + } | |
| 149 | + $get('/realSchedule/statisticsDaily',{line:line,date:date,xlName:xlName,type:"query"},function(result){ | |
| 150 | + // 把数据填充到模版中 | |
| 151 | + var tbodyHtml = template('statisticsDaily',{list:result}); | |
| 152 | + // 把渲染好的模版html文本追加到表格中 | |
| 153 | + $('#forms .statisticsDaily').html(tbodyHtml); | |
| 154 | + | |
| 155 | + if(result.length == 0) | |
| 156 | + $("#export").attr('disabled',"true"); | |
| 157 | + else | |
| 158 | + $("#export").removeAttr("disabled"); | |
| 159 | + }); | |
| 160 | + }); | |
| 161 | + | |
| 162 | + $("#export").on("click",function(){ | |
| 163 | + $get('/realSchedule/statisticsDaily',{line:line,date:date,xlName:xlName,type:"export"},function(result){ | |
| 164 | + window.open("/downloadFile/download?fileName=统计日报"+moment(date).format("YYYYMMDD")); | |
| 165 | + }); | |
| 166 | + }); | |
| 167 | + | |
| 168 | + }); | |
| 169 | +</script> | |
| 170 | +<script type="text/html" id="statisticsDaily"> | |
| 171 | + {{each list as obj i}} | |
| 172 | + <tr> | |
| 173 | + <td>{{obj.xlName}}</td> | |
| 174 | + <td>{{obj.jhlc}}</td> | |
| 175 | + <td>{{obj.sjgl}}</td> | |
| 176 | + <td>{{obj.ssgl}}</td> | |
| 177 | + <td>{{obj.ssgl_lz}}</td> | |
| 178 | + <td>{{obj.ssgl_dm}}</td> | |
| 179 | + <td>{{obj.ssgl_gz}}</td> | |
| 180 | + <td>{{obj.ssgl_jf}}</td> | |
| 181 | + <td>{{obj.ssgl_zs}}</td> | |
| 182 | + <td>{{obj.ssgl_qr}}</td> | |
| 183 | + <td>{{obj.ssgl_qc}}</td> | |
| 184 | + <td>{{obj.ssgl_kx}}</td> | |
| 185 | + <td>{{obj.ssgl_qh}}</td> | |
| 186 | + <td>{{obj.ssgl_yw}}</td> | |
| 187 | + <td>{{obj.ssgl_other}}</td> | |
| 188 | + <td>{{obj.ljgl}}</td> | |
| 189 | + <td>{{obj.jhbc}}</td> | |
| 190 | + <td>{{obj.jhbc_m}}</td> | |
| 191 | + <td>{{obj.jhbc_a}}</td> | |
| 192 | + <td>{{obj.sjbc}}</td> | |
| 193 | + <td>{{obj.sjbc_m}}</td> | |
| 194 | + <td>{{obj.sjbc_a}}</td> | |
| 195 | + <td>{{obj.ljbc}}</td> | |
| 196 | + <td>{{obj.ljbc_m}}</td> | |
| 197 | + <td>{{obj.ljbc_a}}</td> | |
| 198 | + <td>{{obj.fzbc}}</td> | |
| 199 | + <td>{{obj.fzbc_m}}</td> | |
| 200 | + <td>{{obj.fzbc_a}}</td> | |
| 201 | + <td>{{obj.dtbc}}</td> | |
| 202 | + <td>{{obj.dtbc_m}}</td> | |
| 203 | + <td>{{obj.dtbc_a}}</td> | |
| 204 | + <td>{{obj.djg}}</td> | |
| 205 | + <td>{{obj.djg_m}}</td> | |
| 206 | + <td>{{obj.djg_a}}</td> | |
| 207 | + <td>{{obj.djg_time}}</td> | |
| 208 | + <td> </td> | |
| 209 | + </tr> | |
| 210 | + {{/each}} | |
| 211 | + {{if list.length == 0}} | |
| 212 | + <tr> | |
| 213 | + <td colspan="36"><h6 class="muted">没有找到相关数据</h6></td> | |
| 214 | + </tr> | |
| 215 | + {{/if}} | |
| 255 | 216 | </script> |
| 256 | 217 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/forms/statement/waybillQp.html
| ... | ... | @@ -198,7 +198,9 @@ |
| 198 | 198 | return; |
| 199 | 199 | } |
| 200 | 200 | $post('/realSchedule/exportWaybillQp',{clZbh:params[0],date:date,line:line},function(result){ |
| 201 | - window.open("/downloadFile/download?fileName="+date+"-"+params[0]+"-行车路单"); | |
| 201 | + var fileName=date+"-"+params[0]+"-行车路单" | |
| 202 | + window.open("/downloadFile/download?fileName="+fileName); | |
| 203 | +// window.open("/downloadFile/download?fileName="+encodeURIComponent(encodeURIComponent(fileName))); | |
| 202 | 204 | }); |
| 203 | 205 | }); |
| 204 | 206 | ... | ... |
src/main/resources/static/real_control_v2/css/ct_table.css
| ... | ... | @@ -27,6 +27,7 @@ |
| 27 | 27 | |
| 28 | 28 | .ct_table>.ct_table_head dl dt { |
| 29 | 29 | font-weight: normal; |
| 30 | + font-size: 12px; | |
| 30 | 31 | } |
| 31 | 32 | |
| 32 | 33 | .ct_table>.ct_table_body { |
| ... | ... | @@ -65,7 +66,7 @@ |
| 65 | 66 | } |
| 66 | 67 | |
| 67 | 68 | .ct_table_wrap { |
| 68 | - border: 1px solid #e6e6e6; | |
| 69 | + /*border: 1px solid #e6e6e6;*/ | |
| 69 | 70 | border-left: 0; |
| 70 | 71 | } |
| 71 | 72 | ... | ... |
src/main/resources/static/real_control_v2/css/home.css
| 1 | +.ct_table.home-gps-table>.ct_table_head dl dt{ | |
| 2 | + font-size: 12px; | |
| 3 | +} | |
| 1 | 4 | #main-tab-content>.home-panel, #main-tab-content>.home-panel>#home-main-content>li { |
| 2 | 5 | height: 100%; |
| 3 | 6 | } |
| ... | ... | @@ -121,19 +124,16 @@ |
| 121 | 124 | |
| 122 | 125 | .data-wrap .data-title span.data-title-text { |
| 123 | 126 | display: inline-block; |
| 124 | - color: white; | |
| 125 | 127 | padding: 0 8px; |
| 126 | - border-radius: 0 8px 8px 0; | |
| 128 | + font-weight: 600; | |
| 127 | 129 | } |
| 128 | 130 | |
| 129 | 131 | .data-wrap.up .data-title span.data-title-text { |
| 130 | - background: #5e96d2; | |
| 131 | - /*background-image: -webkit-linear-gradient(top, #5e96d2, #5788bb);*/ | |
| 132 | + color: #3e50b3; | |
| 132 | 133 | } |
| 133 | 134 | |
| 134 | 135 | .data-wrap.down .data-title span.data-title-text { |
| 135 | - background: #d66868; | |
| 136 | - /*background-image: -webkit-linear-gradient(top, #d66868, #bf6363);*/ | |
| 136 | + color: #c94f21; | |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | .data-wrap .data-body { |
| ... | ... | @@ -278,4 +278,24 @@ span.signal-state-speed-limit{ |
| 278 | 278 | color: #4dc24d; |
| 279 | 279 | font-size: 14px; |
| 280 | 280 | margin-left: 5px; |
| 281 | +} | |
| 282 | + | |
| 283 | +.home-rb-explain-icon{ | |
| 284 | + position: absolute; | |
| 285 | + right: 25px; | |
| 286 | + top: -5px; | |
| 287 | +} | |
| 288 | + | |
| 289 | +.qtip.qtip-home-rb{ | |
| 290 | + max-width: 380px; | |
| 291 | + width: 300px; | |
| 292 | +} | |
| 293 | + | |
| 294 | +.qtip-home-rb .uk-list{ | |
| 295 | + font-size: 13px; | |
| 296 | + margin-bottom: 0; | |
| 297 | +} | |
| 298 | + | |
| 299 | +.qtip-home-rb .uk-list li{ | |
| 300 | + padding: 4px 2px; | |
| 281 | 301 | } |
| 282 | 302 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2/css/main.css
| ... | ... | @@ -121,9 +121,10 @@ svg.line-chart { |
| 121 | 121 | |
| 122 | 122 | svg.line-chart circle.station_circle { |
| 123 | 123 | fill: #5e96d2; |
| 124 | - r: 6; | |
| 124 | + r: 5.5; | |
| 125 | 125 | stroke: rgb(253, 253, 253); |
| 126 | 126 | stroke-width: 3; |
| 127 | + Pointer-events: none; | |
| 127 | 128 | } |
| 128 | 129 | |
| 129 | 130 | svg.line-chart circle.station_circle.down { |
| ... | ... | @@ -131,8 +132,9 @@ svg.line-chart circle.station_circle.down { |
| 131 | 132 | } |
| 132 | 133 | |
| 133 | 134 | svg.line-chart path.station_link { |
| 134 | - stroke-width: 5.4px; | |
| 135 | + stroke-width: 3.5px; | |
| 135 | 136 | stroke: #5E96D2; |
| 137 | + Pointer-events: none; | |
| 136 | 138 | } |
| 137 | 139 | |
| 138 | 140 | svg.line-chart path.station_link.down { |
| ... | ... | @@ -149,6 +151,7 @@ svg.line-chart text.station_text { |
| 149 | 151 | fill: #3e3e3e; |
| 150 | 152 | letter-spacing: -.2px; |
| 151 | 153 | text-shadow: 0 0 2px #dadada; |
| 154 | + Pointer-events: none; | |
| 152 | 155 | } |
| 153 | 156 | |
| 154 | 157 | svg.line-chart text.station_text.up { | ... | ... |
src/main/resources/static/real_control_v2/fragments/home/layout.html
| ... | ... | @@ -13,6 +13,9 @@ |
| 13 | 13 | <li {{if i==0}}class="uk-active"{{/if}}><a> {{t}}</a></li> |
| 14 | 14 | {{/each}} |
| 15 | 15 | </ul> |
| 16 | + <div class="home-rb-explain-icon uk-icon-hover"> | |
| 17 | + <i class="uk-icon-question-circle"></i> | |
| 18 | + </div> | |
| 16 | 19 | </div> |
| 17 | 20 | </script> |
| 18 | 21 | |
| ... | ... | @@ -32,4 +35,12 @@ |
| 32 | 35 | {{/each}} |
| 33 | 36 | </script> |
| 34 | 37 | |
| 38 | + <script id="home-rb-explain-help-temp" type="text/html"> | |
| 39 | + <ul class="uk-list"> | |
| 40 | + <li>场外车辆,距离线路超过100米即为越界</li> | |
| 41 | + <li>超速以线路标准限速为准,为空则默认60</li> | |
| 42 | + <li>有任务时,连续2分钟无信号即为掉线</li> | |
| 43 | + <li>无任务时,连续10分钟无信号则已离线</li> | |
| 44 | + </ul> | |
| 45 | + </script> | |
| 35 | 46 | </div> | ... | ... |
src/main/resources/static/real_control_v2/fragments/home/line_panel.html
| ... | ... | @@ -32,9 +32,9 @@ |
| 32 | 32 | <dd> |
| 33 | 33 | {{if abnormalStatus != null}} |
| 34 | 34 | {{if abnormalStatus == 'outBounds'}} |
| 35 | - <span class="signal-state-outbounds">越界</span> | |
| 35 | + <span class="signal-state-outbounds">越界</span> | |
| 36 | 36 | {{else if abnormalStatus == 'overspeed'}} |
| 37 | - <span class="signal-state-speed-limit">超速</span> | |
| 37 | + <span class="signal-state-speed-limit">超速</span> | |
| 38 | 38 | {{/if}} |
| 39 | 39 | {{/if}} |
| 40 | 40 | ... | ... |
src/main/resources/static/real_control_v2/fragments/line_schedule/sch_table.html
src/main/resources/static/real_control_v2/js/data/data_basic.js
| ... | ... | @@ -161,14 +161,14 @@ var gb_data_basic = (function () { |
| 161 | 161 | //是否是环线 |
| 162 | 162 | isLoopLine: function (lineCode) { |
| 163 | 163 | var data = gb_common.groupBy(stationRoutes[lineCode], 'directions'); |
| 164 | - //如果上行起终点名称相同,并且距离50米内 | |
| 164 | + //如果上行起终点距离50米内 并且下行只有2个站点 | |
| 165 | 165 | var len = data[0].length; |
| 166 | - if(len > 0){ | |
| 166 | + if(len > 0 && data[1].length == 2){ | |
| 167 | 167 | var first = data[0][0], |
| 168 | 168 | end = data[0][len - 1]; |
| 169 | 169 | |
| 170 | - if(first.stationName != end.stationName) | |
| 171 | - return false; | |
| 170 | + /*if(first.stationName != end.stationName) | |
| 171 | + return false;*/ | |
| 172 | 172 | |
| 173 | 173 | var fPoint = {latitude: first.station.gLaty, longitude: first.station.gLonx} |
| 174 | 174 | ,ePoint = {latitude: end.station.gLaty, longitude: end.station.gLonx}; | ... | ... |
src/main/resources/static/real_control_v2/js/home/context_menu.js
| ... | ... | @@ -37,7 +37,7 @@ var gb_home_context_menu = (function() { |
| 37 | 37 | else |
| 38 | 38 | notify_err('发送失败,原因参考【指令下发记录】'); |
| 39 | 39 | }); |
| 40 | - } | |
| 40 | + }; | |
| 41 | 41 | |
| 42 | 42 | // send phrase |
| 43 | 43 | var sendPhrase = function() { |
| ... | ... | @@ -59,7 +59,7 @@ var gb_home_context_menu = (function() { |
| 59 | 59 | notify_err_form('发送短语消息失败', f); |
| 60 | 60 | }); |
| 61 | 61 | }); |
| 62 | - } | |
| 62 | + }; | |
| 63 | 63 | |
| 64 | 64 | //send phrase multiple |
| 65 | 65 | var sendPhraseMulti = function() { |
| ... | ... | @@ -100,7 +100,7 @@ var gb_home_context_menu = (function() { |
| 100 | 100 | showMultiSendModal(nbbmArr, data.text); |
| 101 | 101 | }, 200); |
| 102 | 102 | }); |
| 103 | - } | |
| 103 | + }; | |
| 104 | 104 | |
| 105 | 105 | // multi send animation modal |
| 106 | 106 | var showMultiSendModal = function(nbbmArray, text) { |
| ... | ... | @@ -136,7 +136,7 @@ var gb_home_context_menu = (function() { |
| 136 | 136 | f(); |
| 137 | 137 | }); |
| 138 | 138 | }(); |
| 139 | - } | |
| 139 | + }; | |
| 140 | 140 | |
| 141 | 141 | var state_up_0 = function() { |
| 142 | 142 | changeUpDown(active_car, 0); |
| ... | ... | @@ -182,7 +182,7 @@ var gb_home_context_menu = (function() { |
| 182 | 182 | |
| 183 | 183 | var C0_A3 = function(){ |
| 184 | 184 | open_modal('/real_control_v2/fragments/home/c0_a3.html', {}, {center: false, bgclose: false}); |
| 185 | - } | |
| 185 | + }; | |
| 186 | 186 | |
| 187 | 187 | var callbackHandler = { |
| 188 | 188 | send_phrase: sendPhrase, | ... | ... |
src/main/resources/static/real_control_v2/js/home/layout.js
| ... | ... | @@ -34,10 +34,44 @@ var gb_home_layout = (function () { |
| 34 | 34 | return false; |
| 35 | 35 | }); |
| 36 | 36 | |
| 37 | + initRbDxplain(); | |
| 37 | 38 | cb && cb(); |
| 38 | 39 | }); |
| 39 | 40 | }; |
| 40 | 41 | |
| 42 | + //右下角说明icon | |
| 43 | + function initRbDxplain() { | |
| 44 | + $(document).on('mouseenter', '.home-rb-explain-icon', function() { | |
| 45 | + $(this).qtip({ | |
| 46 | + show: { | |
| 47 | + ready: true, | |
| 48 | + delay: 0 | |
| 49 | + }, | |
| 50 | + content: { | |
| 51 | + text: function() { | |
| 52 | + return temps['home-rb-explain-help-temp']({}); | |
| 53 | + } | |
| 54 | + }, | |
| 55 | + position: { | |
| 56 | + viewport: $(window) | |
| 57 | + }, | |
| 58 | + style: { | |
| 59 | + classes: 'qtip-jtools qtip-home-rb' | |
| 60 | + }, | |
| 61 | + hide: { | |
| 62 | + fixed: true, | |
| 63 | + delay: 300 | |
| 64 | + }, | |
| 65 | + events: { | |
| 66 | + hidden: function(event, api) { | |
| 67 | + //destroy dom | |
| 68 | + $(this).qtip('destroy', true); | |
| 69 | + } | |
| 70 | + } | |
| 71 | + }); | |
| 72 | + }); | |
| 73 | + } | |
| 74 | + | |
| 41 | 75 | //click svg edit icon |
| 42 | 76 | $(document).on('click', '.home-svg-edit-icon', function () { |
| 43 | 77 | open_modal('/real_control_v2/fragments/home/svg_edit.html', {lineCode: $(this).data('line-code')}); | ... | ... |
src/main/resources/static/real_control_v2/js/utils/ct_table.js
| 1 | 1 | var gb_ct_table = (function() { |
| 2 | + var webkit=true; | |
| 3 | + if(typeof $("body")[0].style.WebkitAnimation=="undefined") | |
| 4 | + webkit = false; | |
| 5 | + | |
| 2 | 6 | function fixedHead($wrap) { |
| 7 | + if(!webkit) | |
| 8 | + return; | |
| 3 | 9 | |
| 4 | 10 | $wrap.off('scroll').on('scroll', function() { |
| 5 | 11 | var top = $(this).scrollTop(); | ... | ... |
src/main/resources/static/real_control_v2/js/utils/svg_chart.js
| ... | ... | @@ -17,6 +17,8 @@ var gb_svg_chart = (function () { |
| 17 | 17 | return (chart_height - (chart_height / t_max_size * t.length)) / 2 + 5; |
| 18 | 18 | }, |
| 19 | 19 | cat_text = function (t) { |
| 20 | + if(!t) | |
| 21 | + return 0; | |
| 20 | 22 | return t.length > t_max_size ? t.substr(0, t_max_size) : t; |
| 21 | 23 | }, |
| 22 | 24 | get_width = function (wrap) { |
| ... | ... | @@ -39,7 +41,7 @@ var gb_svg_chart = (function () { |
| 39 | 41 | var loopLine = gb_data_basic.isLoopLine(lineCode); |
| 40 | 42 | |
| 41 | 43 | var routes = gb_data_basic.stationRoutes(lineCode); |
| 42 | - var data = gb_svg_data_convert.mergeRoute(JSON.parse(JSON.stringify(routes)), enableAttr, lineCode), | |
| 44 | + var data = gb_svg_data_convert.mergeRoute(JSON.parse(JSON.stringify(routes)), enableAttr, lineCode, loopLine), | |
| 43 | 45 | len = data.length; |
| 44 | 46 | |
| 45 | 47 | var w = get_width(wrap), |
| ... | ... | @@ -227,11 +229,10 @@ var gb_svg_chart = (function () { |
| 227 | 229 | var x; |
| 228 | 230 | e.transition().attr('x', function (d) { |
| 229 | 231 | x = gx(d, svg); |
| 230 | - //找不到停靠点,直接隐藏 | |
| 231 | 232 | if(x == -100) |
| 232 | - $(this).hide(); | |
| 233 | + $(this).css('transition-duration', 0).hide(); | |
| 233 | 234 | else |
| 234 | - $(this).show(); | |
| 235 | + $(this).show();//找不到停靠点,直接隐藏 | |
| 235 | 236 | return x; |
| 236 | 237 | }) |
| 237 | 238 | .attr('y', function (d) { |
| ... | ... | @@ -269,7 +270,6 @@ var gb_svg_chart = (function () { |
| 269 | 270 | //聚合gps |
| 270 | 271 | marker_clusterer(this, lineCode); |
| 271 | 272 | }); |
| 272 | - | |
| 273 | 273 | }; |
| 274 | 274 | |
| 275 | 275 | var draw_gps = function (svg, data) { |
| ... | ... | @@ -290,7 +290,6 @@ var gb_svg_chart = (function () { |
| 290 | 290 | var marker_clusterer = function (svg, lineCode) { |
| 291 | 291 | //debugger |
| 292 | 292 | var gpsArr, idxMapp = line_gps_index[lineCode]; |
| 293 | - //svgs = $('.line-chart[data-code=' + lineCode + ']'); | |
| 294 | 293 | for (var stopNo in idxMapp) { |
| 295 | 294 | gpsArr = gb_common.get_keys(idxMapp[stopNo]); |
| 296 | 295 | //remove old merger point | ... | ... |
src/main/resources/static/real_control_v2/js/utils/svg_data_convert.js
| ... | ... | @@ -4,11 +4,11 @@ var gb_svg_data_convert = (function () { |
| 4 | 4 | * 合并上下行路由 |
| 5 | 5 | * type 0 上行 1 下行 2 同名合并 3 异名合并 |
| 6 | 6 | * |
| 7 | - * 有时间再重写一些这块代码!!!!! | |
| 7 | + * 因为基础的数据的各种奇葩搞法,这块打了很多补丁,有时间一定要重写 | |
| 8 | 8 | * |
| 9 | 9 | * enableAttr: 是否启用配置信息 |
| 10 | 10 | */ |
| 11 | - function mergeRoute(routes, enableAttr, lineCode) { | |
| 11 | + function mergeRoute(routes, enableAttr, lineCode, loopLine) { | |
| 12 | 12 | //按上下行拆分 |
| 13 | 13 | routes = gb_common.groupBy(routes, 'directions'); |
| 14 | 14 | var up = routes[0], |
| ... | ... | @@ -16,6 +16,7 @@ var gb_svg_data_convert = (function () { |
| 16 | 16 | //排序 |
| 17 | 17 | up.sort(upSort); |
| 18 | 18 | down.sort(downSort); |
| 19 | + var data = []; | |
| 19 | 20 | |
| 20 | 21 | //根据配置处理一下数据 |
| 21 | 22 | if (enableAttr) { |
| ... | ... | @@ -26,8 +27,30 @@ var gb_svg_data_convert = (function () { |
| 26 | 27 | } |
| 27 | 28 | } |
| 28 | 29 | |
| 30 | + //环线 只画上行 | |
| 31 | + if(loopLine){ | |
| 32 | + for (var j = 0; j < up.length; j++) { | |
| 33 | + var upS = nvl_get(up, j); | |
| 34 | + op = { | |
| 35 | + name: [upS.stationName], | |
| 36 | + id: [get_station_code(upS)], | |
| 37 | + type: 0, | |
| 38 | + stationMark: upS.stationMark | |
| 39 | + }; | |
| 40 | + data.push(op); | |
| 41 | + } | |
| 42 | + | |
| 43 | + //上下行GPS容器 | |
| 44 | + $.each(data, function () { | |
| 45 | + this.gpsUps = []; | |
| 46 | + this.gpsDowns = []; | |
| 47 | + }); | |
| 48 | + | |
| 49 | + return data; | |
| 50 | + } | |
| 51 | + | |
| 52 | + | |
| 29 | 53 | //同名站点合并 |
| 30 | - var data = []; | |
| 31 | 54 | for (var j = 0; j < up.length; j++) { |
| 32 | 55 | var upS = nvl_get(up, j), |
| 33 | 56 | downS = nvl_get(down, j), |
| ... | ... | @@ -43,8 +66,8 @@ var gb_svg_data_convert = (function () { |
| 43 | 66 | var dIndex = station_indexof(down, upS, j); |
| 44 | 67 | //上行站点在下行路由中是否存在 |
| 45 | 68 | var uIndex = station_indexof(up, downS, j); |
| 46 | - if (dIndex == -1) { | |
| 47 | - if (uIndex == -1) { | |
| 69 | + if (dIndex == -1 || dIndex - j > 4) { | |
| 70 | + if (uIndex == -1 && dIndex - j < 4) { | |
| 48 | 71 | op.type = 3; |
| 49 | 72 | op.name = [upS.stationName, downS.stationName]; |
| 50 | 73 | } | ... | ... |