Commit ab1f6f09b6f6ea19e86436c1eaaae86774b37ce3
Merge branch 'minhang' of
http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
Showing
13 changed files
with
2112 additions
and
1936 deletions
Too many changes to show.
To preserve performance only 13 of 30 files are displayed.
src/main/java/com/bsth/Application.java
| @@ -2,10 +2,6 @@ package com.bsth; | @@ -2,10 +2,6 @@ package com.bsth; | ||
| 2 | 2 | ||
| 3 | import com.fasterxml.jackson.databind.ObjectMapper; | 3 | import com.fasterxml.jackson.databind.ObjectMapper; |
| 4 | import com.fasterxml.jackson.databind.SerializationFeature; | 4 | import com.fasterxml.jackson.databind.SerializationFeature; |
| 5 | - | ||
| 6 | -import java.util.concurrent.Executors; | ||
| 7 | -import java.util.concurrent.ScheduledExecutorService; | ||
| 8 | - | ||
| 9 | import org.springframework.boot.SpringApplication; | 5 | import org.springframework.boot.SpringApplication; |
| 10 | import org.springframework.boot.autoconfigure.SpringBootApplication; | 6 | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| 11 | import org.springframework.boot.builder.SpringApplicationBuilder; | 7 | import org.springframework.boot.builder.SpringApplicationBuilder; |
| @@ -13,10 +9,13 @@ import org.springframework.boot.context.web.SpringBootServletInitializer; | @@ -13,10 +9,13 @@ import org.springframework.boot.context.web.SpringBootServletInitializer; | ||
| 13 | import org.springframework.context.annotation.Bean; | 9 | import org.springframework.context.annotation.Bean; |
| 14 | import org.springframework.context.annotation.Primary; | 10 | import org.springframework.context.annotation.Primary; |
| 15 | 11 | ||
| 12 | +import java.util.concurrent.Executors; | ||
| 13 | +import java.util.concurrent.ScheduledExecutorService; | ||
| 14 | + | ||
| 16 | @SpringBootApplication | 15 | @SpringBootApplication |
| 17 | public class Application extends SpringBootServletInitializer { | 16 | public class Application extends SpringBootServletInitializer { |
| 18 | 17 | ||
| 19 | - public static ScheduledExecutorService mainServices = Executors.newScheduledThreadPool(12); | 18 | + public static ScheduledExecutorService mainServices = Executors.newScheduledThreadPool(13); |
| 20 | 19 | ||
| 21 | @Override | 20 | @Override |
| 22 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { | 21 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { |
src/main/java/com/bsth/controller/realcontrol/LineConfigController.java
| @@ -14,39 +14,91 @@ public class LineConfigController extends BaseController<LineConfig, Integer>{ | @@ -14,39 +14,91 @@ public class LineConfigController extends BaseController<LineConfig, Integer>{ | ||
| 14 | 14 | ||
| 15 | @Autowired | 15 | @Autowired |
| 16 | LineConfigService lineConfigService; | 16 | LineConfigService lineConfigService; |
| 17 | - | 17 | + |
| 18 | + /** | ||
| 19 | + * 检查是否有线路配置信息 | ||
| 20 | + * @param codeArray | ||
| 21 | + * @return | ||
| 22 | + */ | ||
| 18 | @RequestMapping("/check") | 23 | @RequestMapping("/check") |
| 19 | public Map<String, Object> check(@RequestParam String[] codeArray){ | 24 | public Map<String, Object> check(@RequestParam String[] codeArray){ |
| 20 | return lineConfigService.check(codeArray); | 25 | return lineConfigService.check(codeArray); |
| 21 | } | 26 | } |
| 22 | - | 27 | + |
| 28 | + /** | ||
| 29 | + * 初始化线路配置 | ||
| 30 | + * @param lineCode | ||
| 31 | + * @return | ||
| 32 | + * @throws Exception | ||
| 33 | + */ | ||
| 23 | @RequestMapping("/init/{lineCode}") | 34 | @RequestMapping("/init/{lineCode}") |
| 24 | public Integer init(@PathVariable("lineCode") String lineCode) throws Exception{ | 35 | public Integer init(@PathVariable("lineCode") String lineCode) throws Exception{ |
| 25 | return lineConfigService.init(lineCode); | 36 | return lineConfigService.init(lineCode); |
| 26 | } | 37 | } |
| 27 | - | 38 | + |
| 39 | + /** | ||
| 40 | + * 修改班次刷新时间 | ||
| 41 | + * @param time | ||
| 42 | + * @param lineCode | ||
| 43 | + * @return | ||
| 44 | + */ | ||
| 28 | @RequestMapping(value = "/editTime", method = RequestMethod.POST) | 45 | @RequestMapping(value = "/editTime", method = RequestMethod.POST) |
| 29 | public Map<String, Object> editStartOptTime(@RequestParam String time,@RequestParam String lineCode){ | 46 | public Map<String, Object> editStartOptTime(@RequestParam String time,@RequestParam String lineCode){ |
| 30 | return lineConfigService.editStartOptTime(time, lineCode); | 47 | return lineConfigService.editStartOptTime(time, lineCode); |
| 31 | } | 48 | } |
| 32 | - | 49 | + |
| 50 | + /** | ||
| 51 | + * 修改出场时间类型 | ||
| 52 | + * @param lineCode | ||
| 53 | + * @param type | ||
| 54 | + * @return | ||
| 55 | + */ | ||
| 33 | @RequestMapping(value = "/editOutTimeType", method = RequestMethod.POST) | 56 | @RequestMapping(value = "/editOutTimeType", method = RequestMethod.POST) |
| 34 | - public Map<String, Object> editOutTimeType(@RequestParam String lineCode, @RequestParam int type){ | ||
| 35 | - return lineConfigService.editOutTimeType(lineCode, type); | 57 | + public Map<String, Object> editOutTimeType(@RequestParam String lineCode, @RequestParam int type,@RequestParam String parkCode,@RequestParam String stationCode){ |
| 58 | + return lineConfigService.editOutTimeType(lineCode, type, parkCode, stationCode); | ||
| 36 | } | 59 | } |
| 37 | 60 | ||
| 61 | + /** | ||
| 62 | + * 启用原线路回场 | ||
| 63 | + * @param lineCode | ||
| 64 | + * @param enable | ||
| 65 | + * @return | ||
| 66 | + */ | ||
| 38 | @RequestMapping(value = "/enableInParkForSource", method = RequestMethod.POST) | 67 | @RequestMapping(value = "/enableInParkForSource", method = RequestMethod.POST) |
| 39 | public Map<String, Object> enableInParkForSource(@RequestParam String lineCode, @RequestParam int enable){ | 68 | public Map<String, Object> enableInParkForSource(@RequestParam String lineCode, @RequestParam int enable){ |
| 40 | return lineConfigService.enableInParkForSource(lineCode, enable); | 69 | return lineConfigService.enableInParkForSource(lineCode, enable); |
| 41 | } | 70 | } |
| 42 | 71 | ||
| 72 | + /** | ||
| 73 | + * 根据线路编码获取配置信息 | ||
| 74 | + * @param lineCode | ||
| 75 | + * @return | ||
| 76 | + */ | ||
| 43 | @RequestMapping(value = "/getByLineCode") | 77 | @RequestMapping(value = "/getByLineCode") |
| 44 | public LineConfig getByLineCode(@RequestParam String lineCode){ | 78 | public LineConfig getByLineCode(@RequestParam String lineCode){ |
| 45 | return lineConfigService.getByLineCode(lineCode); | 79 | return lineConfigService.getByLineCode(lineCode); |
| 46 | } | 80 | } |
| 47 | 81 | ||
| 82 | + /** | ||
| 83 | + * 到站缓冲区设置 | ||
| 84 | + * @param lineCode | ||
| 85 | + * @param field | ||
| 86 | + * @param value | ||
| 87 | + * @return | ||
| 88 | + */ | ||
| 48 | @RequestMapping(value = "/bufferTimeDiff", method = RequestMethod.POST) | 89 | @RequestMapping(value = "/bufferTimeDiff", method = RequestMethod.POST) |
| 49 | public Map<String, Object> bufferTimeDiff(@RequestParam String lineCode, @RequestParam String field,@RequestParam String value){ | 90 | public Map<String, Object> bufferTimeDiff(@RequestParam String lineCode, @RequestParam String field,@RequestParam String value){ |
| 50 | return lineConfigService.bufferTimeDiff(lineCode, field, value); | 91 | return lineConfigService.bufferTimeDiff(lineCode, field, value); |
| 51 | } | 92 | } |
| 93 | + | ||
| 94 | + /** | ||
| 95 | + * 应急停靠设置 | ||
| 96 | + * @param map | ||
| 97 | + * @return | ||
| 98 | + */ | ||
| 99 | + @RequestMapping(value = "/yjtkSet", method = RequestMethod.POST) | ||
| 100 | + public Map<String, Object> yjtkSet(@RequestParam Map<String, String> map){ | ||
| 101 | + //System.out.println(map); | ||
| 102 | + return lineConfigService.yjtkSet(map); | ||
| 103 | + } | ||
| 52 | } | 104 | } |
src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
| 1 | package com.bsth.controller.realcontrol; | 1 | package com.bsth.controller.realcontrol; |
| 2 | 2 | ||
| 3 | import com.alibaba.fastjson.JSONArray; | 3 | import com.alibaba.fastjson.JSONArray; |
| 4 | +import com.bsth.common.ResponseCode; | ||
| 4 | import com.bsth.controller.BaseController; | 5 | import com.bsth.controller.BaseController; |
| 5 | import com.bsth.controller.realcontrol.dto.ChangePersonCar; | 6 | import com.bsth.controller.realcontrol.dto.ChangePersonCar; |
| 6 | import com.bsth.controller.realcontrol.dto.DfsjChange; | 7 | import com.bsth.controller.realcontrol.dto.DfsjChange; |
| @@ -486,4 +487,33 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | @@ -486,4 +487,33 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | ||
| 486 | public Map<String, Object> lpChangeMulti(@RequestParam String leftIdx, @RequestParam String rightIdx,@RequestParam int type){ | 487 | public Map<String, Object> lpChangeMulti(@RequestParam String leftIdx, @RequestParam String rightIdx,@RequestParam int type){ |
| 487 | return scheduleRealInfoService.lpChangeMulti(leftIdx, rightIdx, type); | 488 | return scheduleRealInfoService.lpChangeMulti(leftIdx, rightIdx, type); |
| 488 | } | 489 | } |
| 490 | + | ||
| 491 | + /** | ||
| 492 | + * 删除当日实际排班 | ||
| 493 | + * @return | ||
| 494 | + */ | ||
| 495 | + @RequestMapping(value = "deleteRealSchedule", method = RequestMethod.POST) | ||
| 496 | + public Map<String, Object> deleteRealSchedule(@RequestParam String lineCode){ | ||
| 497 | + return dayOfSchedule.deleteRealSchedule(lineCode); | ||
| 498 | + } | ||
| 499 | + | ||
| 500 | + /** | ||
| 501 | + * 从计划表重新加载当日排班 | ||
| 502 | + * @param lineCode | ||
| 503 | + * @return | ||
| 504 | + */ | ||
| 505 | + @RequestMapping(value = "reLoadRealSchedule", method = RequestMethod.POST) | ||
| 506 | + public Map<String, Object> reLoadRealSchedule(@RequestParam String lineCode){ | ||
| 507 | + Map<String, Object> rs = new HashMap<>(); | ||
| 508 | + List<ScheduleRealInfo> list = dayOfSchedule.findByLineCode(lineCode); | ||
| 509 | + if(list != null && list.size() > 0){ | ||
| 510 | + rs.put("status", ResponseCode.ERROR); | ||
| 511 | + rs.put("msg", "失败," + list.get(0).getXlName() + "当日存在实际排班,无法重新加载。"); | ||
| 512 | + return rs; | ||
| 513 | + } | ||
| 514 | + | ||
| 515 | + int code = dayOfSchedule.reloadSch(lineCode); | ||
| 516 | + rs.put("status", code==0? ResponseCode.SUCCESS: ResponseCode.ERROR); | ||
| 517 | + return rs; | ||
| 518 | + } | ||
| 489 | } | 519 | } |
src/main/java/com/bsth/data/LineConfigData.java
| 1 | package com.bsth.data; | 1 | package com.bsth.data; |
| 2 | 2 | ||
| 3 | +import com.bsth.Application; | ||
| 3 | import com.bsth.entity.Line; | 4 | import com.bsth.entity.Line; |
| 4 | import com.bsth.entity.realcontrol.D80ReplyTemp; | 5 | import com.bsth.entity.realcontrol.D80ReplyTemp; |
| 5 | import com.bsth.entity.realcontrol.LineConfig; | 6 | import com.bsth.entity.realcontrol.LineConfig; |
| 6 | -import com.bsth.oplog.normal.OpLogger; | 7 | +import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 7 | import com.bsth.service.LineService; | 8 | import com.bsth.service.LineService; |
| 8 | import com.bsth.service.realcontrol.LineConfigService; | 9 | import com.bsth.service.realcontrol.LineConfigService; |
| 9 | import org.slf4j.Logger; | 10 | import org.slf4j.Logger; |
| @@ -14,101 +15,151 @@ import org.springframework.core.annotation.Order; | @@ -14,101 +15,151 @@ import org.springframework.core.annotation.Order; | ||
| 14 | import org.springframework.stereotype.Component; | 15 | import org.springframework.stereotype.Component; |
| 15 | 16 | ||
| 16 | import java.util.*; | 17 | import java.util.*; |
| 18 | +import java.util.concurrent.TimeUnit; | ||
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | - * | 21 | + * @author PanZhao |
| 20 | * @ClassName: LineConfigData | 22 | * @ClassName: LineConfigData |
| 21 | * @Description: TODO(线路配置数据管理) | 23 | * @Description: TODO(线路配置数据管理) |
| 22 | - * @author PanZhao | ||
| 23 | * @date 2016年8月15日 下午2:50:19 | 24 | * @date 2016年8月15日 下午2:50:19 |
| 24 | - * | ||
| 25 | */ | 25 | */ |
| 26 | @Component | 26 | @Component |
| 27 | @Order(value = 2) | 27 | @Order(value = 2) |
| 28 | public class LineConfigData implements CommandLineRunner { | 28 | public class LineConfigData implements CommandLineRunner { |
| 29 | - | ||
| 30 | - Logger logger = LoggerFactory.getLogger(this.getClass()); | ||
| 31 | - | ||
| 32 | - // 线路编码和配置 | ||
| 33 | - private Map<String, LineConfig> lineConfMap; | ||
| 34 | - | ||
| 35 | - @Autowired | ||
| 36 | - LineConfigService lineConfigService; | ||
| 37 | - | ||
| 38 | - @Autowired | ||
| 39 | - LineService lineService; | ||
| 40 | - | ||
| 41 | - @Autowired | ||
| 42 | - OpLogger opLog; | ||
| 43 | - | ||
| 44 | - @Override | ||
| 45 | - public void run(String... arg0) throws Exception { | ||
| 46 | - lineConfMap = new HashMap<>(); | ||
| 47 | - | ||
| 48 | - Iterator<LineConfig> itr = lineConfigService.findAll().iterator(); | ||
| 49 | - while (itr.hasNext()) | ||
| 50 | - setBuffer(itr.next()); | ||
| 51 | - | ||
| 52 | - opLog.info("Line_config_data"); | ||
| 53 | - } | ||
| 54 | - | ||
| 55 | - public LineConfig get(String lineCode){ | ||
| 56 | - return lineConfMap.get(lineCode); | ||
| 57 | - } | ||
| 58 | - | ||
| 59 | - public Collection<LineConfig> getAll(){ | ||
| 60 | - return lineConfMap.values(); | ||
| 61 | - } | ||
| 62 | - | ||
| 63 | - public void set(LineConfig conf){ | ||
| 64 | - lineConfigService.save(conf); | ||
| 65 | - setBuffer(conf); | ||
| 66 | - } | ||
| 67 | - | ||
| 68 | - public void setBuffer(LineConfig conf){ | ||
| 69 | - lineConfMap.put(conf.getLine().getLineCode(), conf); | ||
| 70 | - } | ||
| 71 | - | ||
| 72 | - /** | ||
| 73 | - * | ||
| 74 | - * @Title: init | ||
| 75 | - * @Description: TODO(初始化配置信息) | ||
| 76 | - */ | ||
| 77 | - public void init(String lineCode) throws Exception{ | ||
| 78 | - LineConfig conf = new LineConfig(); | ||
| 79 | - //线路 | ||
| 80 | - Line line = lineService.findByLineCode(lineCode); | ||
| 81 | - if(null == line) | ||
| 82 | - throw new NullPointerException("异常的lineCode"); | ||
| 83 | - | ||
| 84 | - conf.setLine(line); | ||
| 85 | - //开始运营时间 | ||
| 86 | - conf.setStartOpt("02:00"); | ||
| 87 | - //托管状态 | ||
| 88 | - conf.setTrust(true); | ||
| 89 | - //出场时间类型 | ||
| 90 | - conf.setOutConfig(0); | ||
| 91 | - //进场时间类型 | ||
| 92 | - //conf.setInConfig(1); | ||
| 93 | - //短语模板 | ||
| 94 | - conf.setPhraseTemps(""); | ||
| 95 | - //调度指令模板 | ||
| 96 | - conf.setSchDirectiveTemp(""); | ||
| 97 | - | ||
| 98 | - //80指令回复 | ||
| 99 | - D80ReplyTemp t50 = new D80ReplyTemp(conf, (short)0x50, "同意,回电详谈", "不同意,请回电") | ||
| 100 | - ,t60 = new D80ReplyTemp(conf, (short)0x60, "同意,回电详谈", "不同意,请回电") | ||
| 101 | - ,tA2 = new D80ReplyTemp(conf, (short)0xA2, "同意,回电详谈", "不同意,请回电") | ||
| 102 | - ,t70 = new D80ReplyTemp(conf, (short)0x70, "同意,回电详谈", "不同意,请回电") | ||
| 103 | - ,t11 = new D80ReplyTemp(conf, (short)0x11, "同意,回电详谈", "不同意,请回电"); | ||
| 104 | - | ||
| 105 | - Set<D80ReplyTemp> temps = conf.getD80Temps(); | ||
| 106 | - temps.add(t50); | ||
| 107 | - temps.add(t60); | ||
| 108 | - temps.add(tA2); | ||
| 109 | - temps.add(t70); | ||
| 110 | - temps.add(t11); | ||
| 111 | - | ||
| 112 | - set(conf); | ||
| 113 | - } | 29 | + |
| 30 | + static Logger logger = LoggerFactory.getLogger(LineConfigData.class); | ||
| 31 | + | ||
| 32 | + // 线路编码和配置 | ||
| 33 | + private Map<String, LineConfig> lineConfMap; | ||
| 34 | + | ||
| 35 | + @Autowired | ||
| 36 | + LineConfigService lineConfigService; | ||
| 37 | + | ||
| 38 | + @Autowired | ||
| 39 | + LineService lineService; | ||
| 40 | + | ||
| 41 | + //入库缓冲 | ||
| 42 | + static LinkedList<LineConfig> saveBuffers = new LinkedList<>(); | ||
| 43 | + | ||
| 44 | + @Autowired | ||
| 45 | + LineConfigPersistThread configPersistThread; | ||
| 46 | + | ||
| 47 | + @Override | ||
| 48 | + public void run(String... arg0) throws Exception { | ||
| 49 | + lineConfMap = new HashMap<>(); | ||
| 50 | + | ||
| 51 | + Iterator<LineConfig> itr = lineConfigService.findAll().iterator(); | ||
| 52 | + while (itr.hasNext()) | ||
| 53 | + setBuffer(itr.next()); | ||
| 54 | + | ||
| 55 | + //异步入库 | ||
| 56 | + Application.mainServices.scheduleWithFixedDelay(configPersistThread, 60, 60, TimeUnit.SECONDS); | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + /** | ||
| 60 | + * 起点发出,应用缓冲区设置参数 | ||
| 61 | + * @param sch | ||
| 62 | + * @param timestamp | ||
| 63 | + * @return | ||
| 64 | + */ | ||
| 65 | + public long applyOut(ScheduleRealInfo sch, Long timestamp) { | ||
| 66 | + LineConfig config = lineConfMap.get(sch.getXlBm()); | ||
| 67 | + int diff = sch.getXlDir()=="0"?config.getUpOutDiff():config.getDownOutDiff(); | ||
| 68 | + return timestamp - (diff * 1000); | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + /** | ||
| 72 | + * 终点到达,应用缓冲区设置参数 | ||
| 73 | + * @param sch | ||
| 74 | + * @param timestamp | ||
| 75 | + * @return | ||
| 76 | + */ | ||
| 77 | + public long applyIn(ScheduleRealInfo sch, Long timestamp){ | ||
| 78 | + LineConfig config = lineConfMap.get(sch.getXlBm()); | ||
| 79 | + int diff = sch.getXlDir()=="0"?config.getUpInDiff():config.getDownInDiff(); | ||
| 80 | + return timestamp - (diff * 1000); | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + @Component | ||
| 84 | + private static class LineConfigPersistThread extends Thread { | ||
| 85 | + | ||
| 86 | + @Autowired | ||
| 87 | + LineConfigService lineConfigService; | ||
| 88 | + | ||
| 89 | + @Override | ||
| 90 | + public void run() { | ||
| 91 | + LineConfig config; | ||
| 92 | + for (int i = 0; i < 800; i++) { | ||
| 93 | + config = saveBuffers.poll(); | ||
| 94 | + if (config == null) | ||
| 95 | + break; | ||
| 96 | + | ||
| 97 | + try { | ||
| 98 | + lineConfigService.save(config); | ||
| 99 | + }catch (Exception e){ | ||
| 100 | + logger.error("", e); | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public LineConfig get(String lineCode) { | ||
| 107 | + return lineConfMap.get(lineCode); | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public Collection<LineConfig> getAll() { | ||
| 111 | + return lineConfMap.values(); | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public void set(LineConfig conf) { | ||
| 115 | + //lineConfigService.save(conf); | ||
| 116 | + saveBuffers.add(conf); | ||
| 117 | + setBuffer(conf); | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public void setBuffer(LineConfig conf) { | ||
| 121 | + lineConfMap.put(conf.getLine().getLineCode(), conf); | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + /** | ||
| 125 | + * @Title: init | ||
| 126 | + * @Description: TODO(初始化配置信息) | ||
| 127 | + */ | ||
| 128 | + public void init(String lineCode) throws Exception { | ||
| 129 | + LineConfig conf = new LineConfig(); | ||
| 130 | + //线路 | ||
| 131 | + Line line = lineService.findByLineCode(lineCode); | ||
| 132 | + if (null == line) | ||
| 133 | + throw new NullPointerException("异常的lineCode"); | ||
| 134 | + | ||
| 135 | + conf.setLine(line); | ||
| 136 | + //开始运营时间 | ||
| 137 | + conf.setStartOpt("02:00"); | ||
| 138 | + //托管状态 | ||
| 139 | + conf.setTrust(true); | ||
| 140 | + //出场时间类型 | ||
| 141 | + conf.setOutConfig(0); | ||
| 142 | + //进场时间类型 | ||
| 143 | + //conf.setInConfig(1); | ||
| 144 | + //短语模板 | ||
| 145 | + conf.setPhraseTemps(""); | ||
| 146 | + //调度指令模板 | ||
| 147 | + conf.setSchDirectiveTemp(""); | ||
| 148 | + | ||
| 149 | + //80指令回复 闵行用 | ||
| 150 | + D80ReplyTemp t50 = new D80ReplyTemp(conf, (short) 0x50, "同意,回电详谈", "不同意,请回电"), t60 = new D80ReplyTemp(conf, (short) 0x60, "同意,回电详谈", "不同意,请回电"), tA2 = new D80ReplyTemp(conf, (short) 0xA2, "同意,回电详谈", "不同意,请回电"), t70 = new D80ReplyTemp(conf, (short) 0x70, "同意,回电详谈", "不同意,请回电"), t11 = new D80ReplyTemp(conf, (short) 0x11, "同意,回电详谈", "不同意,请回电"); | ||
| 151 | + | ||
| 152 | + //应急停靠默认值 | ||
| 153 | + conf.setYjtkStart("00:00"); | ||
| 154 | + conf.setYjtkEnd("23:59"); | ||
| 155 | + | ||
| 156 | + Set<D80ReplyTemp> temps = conf.getD80Temps(); | ||
| 157 | + temps.add(t50); | ||
| 158 | + temps.add(t60); | ||
| 159 | + temps.add(tA2); | ||
| 160 | + temps.add(t70); | ||
| 161 | + temps.add(t11); | ||
| 162 | + | ||
| 163 | + set(conf); | ||
| 164 | + } | ||
| 114 | } | 165 | } |
src/main/java/com/bsth/data/gpsdata/arrival/handlers/InOutStationSignalHandle.java
| @@ -135,8 +135,11 @@ public class InOutStationSignalHandle extends SignalHandle{ | @@ -135,8 +135,11 @@ public class InOutStationSignalHandle extends SignalHandle{ | ||
| 135 | if(StringUtils.isNotEmpty(sch.getFcsjActual())) | 135 | if(StringUtils.isNotEmpty(sch.getFcsjActual())) |
| 136 | return; | 136 | return; |
| 137 | 137 | ||
| 138 | + //应用到离站缓冲区设置参数 | ||
| 139 | + long rsT = lineConfigData.applyOut(sch, gps.getTimestamp()); | ||
| 140 | + | ||
| 138 | //实发时间 | 141 | //实发时间 |
| 139 | - sch.setFcsjActualAll(gps.getTimestamp()); | 142 | + sch.setFcsjActualAll(rsT); |
| 140 | //通知客户端 | 143 | //通知客户端 |
| 141 | sendUtils.sendFcsj(sch); | 144 | sendUtils.sendFcsj(sch); |
| 142 | //持久化 | 145 | //持久化 |
| @@ -215,7 +218,10 @@ public class InOutStationSignalHandle extends SignalHandle{ | @@ -215,7 +218,10 @@ public class InOutStationSignalHandle extends SignalHandle{ | ||
| 215 | if(StringUtils.isNotEmpty(sch.getZdsjActual())) | 218 | if(StringUtils.isNotEmpty(sch.getZdsjActual())) |
| 216 | return; | 219 | return; |
| 217 | 220 | ||
| 218 | - sch.setZdsjActualAll(gps.getTimestamp()); | 221 | + //应用到离站缓冲区设置参数 |
| 222 | + long rsT = lineConfigData.applyIn(sch, gps.getTimestamp()); | ||
| 223 | + | ||
| 224 | + sch.setZdsjActualAll(rsT); | ||
| 219 | //已完成班次数 | 225 | //已完成班次数 |
| 220 | int doneSum = dayOfSchedule.doneSum(sch.getClZbh()); | 226 | int doneSum = dayOfSchedule.doneSum(sch.getClZbh()); |
| 221 | ScheduleRealInfo next = dayOfSchedule.next(sch); | 227 | ScheduleRealInfo next = dayOfSchedule.next(sch); |
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| @@ -3,6 +3,7 @@ package com.bsth.data.schedule; | @@ -3,6 +3,7 @@ package com.bsth.data.schedule; | ||
| 3 | import com.alibaba.fastjson.JSON; | 3 | import com.alibaba.fastjson.JSON; |
| 4 | import com.alibaba.fastjson.JSONArray; | 4 | import com.alibaba.fastjson.JSONArray; |
| 5 | import com.bsth.Application; | 5 | import com.bsth.Application; |
| 6 | +import com.bsth.common.ResponseCode; | ||
| 6 | import com.bsth.data.BasicData; | 7 | import com.bsth.data.BasicData; |
| 7 | import com.bsth.data.LineConfigData; | 8 | import com.bsth.data.LineConfigData; |
| 8 | import com.bsth.data.directive.DirectivesPstThread; | 9 | import com.bsth.data.directive.DirectivesPstThread; |
| @@ -18,7 +19,6 @@ import com.bsth.util.BatchSaveUtils; | @@ -18,7 +19,6 @@ import com.bsth.util.BatchSaveUtils; | ||
| 18 | import com.bsth.util.DateUtils; | 19 | import com.bsth.util.DateUtils; |
| 19 | import com.bsth.websocket.handler.SendUtils; | 20 | import com.bsth.websocket.handler.SendUtils; |
| 20 | import com.google.common.collect.ArrayListMultimap; | 21 | import com.google.common.collect.ArrayListMultimap; |
| 21 | -import com.google.common.collect.TreeMultimap; | ||
| 22 | import org.apache.commons.lang3.StringUtils; | 22 | import org.apache.commons.lang3.StringUtils; |
| 23 | import org.joda.time.format.DateTimeFormat; | 23 | import org.joda.time.format.DateTimeFormat; |
| 24 | import org.joda.time.format.DateTimeFormatter; | 24 | import org.joda.time.format.DateTimeFormatter; |
| @@ -56,7 +56,7 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -56,7 +56,7 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 56 | private static Map<Long, ScheduleRealInfo> id2SchedulMap; | 56 | private static Map<Long, ScheduleRealInfo> id2SchedulMap; |
| 57 | 57 | ||
| 58 | // 车辆和排班起终点站对照(包括进出的停车场,区间起终点) | 58 | // 车辆和排班起终点站对照(包括进出的停车场,区间起终点) |
| 59 | - private static TreeMultimap<String, String> nbbm2SEStationMap; | 59 | + //private static TreeMultimap<String, String> nbbm2SEStationMap; |
| 60 | 60 | ||
| 61 | //车辆 ——> 当前执行班次 | 61 | //车辆 ——> 当前执行班次 |
| 62 | private static Map<String, ScheduleRealInfo> carExecutePlanMap; | 62 | private static Map<String, ScheduleRealInfo> carExecutePlanMap; |
| @@ -99,7 +99,7 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -99,7 +99,7 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 99 | pstBuffer = new LinkedList<>(); | 99 | pstBuffer = new LinkedList<>(); |
| 100 | schFCSJComparator = new ScheduleComparator.FCSJ(); | 100 | schFCSJComparator = new ScheduleComparator.FCSJ(); |
| 101 | currSchDateMap = new HashMap<>(); | 101 | currSchDateMap = new HashMap<>(); |
| 102 | - nbbm2SEStationMap = TreeMultimap.create(); | 102 | + //nbbm2SEStationMap = TreeMultimap.create(); |
| 103 | carExecutePlanMap = new HashMap<>(); | 103 | carExecutePlanMap = new HashMap<>(); |
| 104 | 104 | ||
| 105 | schedulePlanMap = new HashMap<>(); | 105 | schedulePlanMap = new HashMap<>(); |
| @@ -244,6 +244,10 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -244,6 +244,10 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 244 | return 0; | 244 | return 0; |
| 245 | } | 245 | } |
| 246 | 246 | ||
| 247 | + public int reloadSch(String lineCode){ | ||
| 248 | + return reloadSch(lineCode, calcSchDate(lineCode), true); | ||
| 249 | + } | ||
| 250 | + | ||
| 247 | /** | 251 | /** |
| 248 | * @Title: searchAllCars | 252 | * @Title: searchAllCars |
| 249 | * @Description: TODO(搜索班次集合中的车辆) | 253 | * @Description: TODO(搜索班次集合中的车辆) |
| @@ -480,9 +484,9 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -480,9 +484,9 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 480 | return id2SchedulMap.get(id); | 484 | return id2SchedulMap.get(id); |
| 481 | } | 485 | } |
| 482 | 486 | ||
| 483 | - public Set<String> getSEStationList(String nbbm) { | 487 | + /* public Set<String> getSEStationList(String nbbm) { |
| 484 | return nbbm2SEStationMap.get(nbbm); | 488 | return nbbm2SEStationMap.get(nbbm); |
| 485 | - } | 489 | + }*/ |
| 486 | 490 | ||
| 487 | /** | 491 | /** |
| 488 | * @Title: next | 492 | * @Title: next |
| @@ -610,8 +614,8 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -610,8 +614,8 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 610 | 614 | ||
| 611 | String nbbm = sch.getClZbh(); | 615 | String nbbm = sch.getClZbh(); |
| 612 | nbbmScheduleMap.put(nbbm, sch); | 616 | nbbmScheduleMap.put(nbbm, sch); |
| 613 | - nbbm2SEStationMap.put(nbbm, sch.getQdzCode()); | ||
| 614 | - nbbm2SEStationMap.put(nbbm, sch.getZdzCode()); | 617 | + //nbbm2SEStationMap.put(nbbm, sch.getQdzCode()); |
| 618 | + //nbbm2SEStationMap.put(nbbm, sch.getZdzCode()); | ||
| 615 | 619 | ||
| 616 | //主键索引 | 620 | //主键索引 |
| 617 | id2SchedulMap.put(sch.getId(), sch); | 621 | id2SchedulMap.put(sch.getId(), sch); |
| @@ -630,9 +634,6 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -630,9 +634,6 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 630 | //return sch; | 634 | //return sch; |
| 631 | } | 635 | } |
| 632 | 636 | ||
| 633 | -// public void calcQdzTimePlan(String nbbm){ | ||
| 634 | -// schAttrCalculator.calcQdzTimePlan(nbbmScheduleMap.get(nbbm)); | ||
| 635 | -// } | ||
| 636 | 637 | ||
| 637 | public List<ScheduleRealInfo> updateQdzTimePlan(String nbbm) { | 638 | public List<ScheduleRealInfo> updateQdzTimePlan(String nbbm) { |
| 638 | Collections.sort(nbbmScheduleMap.get(nbbm), schFCSJComparator); | 639 | Collections.sort(nbbmScheduleMap.get(nbbm), schFCSJComparator); |
| @@ -640,27 +641,6 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -640,27 +641,6 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 640 | } | 641 | } |
| 641 | 642 | ||
| 642 | /** | 643 | /** |
| 643 | - * | ||
| 644 | - * @Title: nextAll | ||
| 645 | - * @Description: TODO(之后的所有班次) | ||
| 646 | - */ | ||
| 647 | -/* public List<ScheduleRealInfo> nextAll(ScheduleRealInfo sch) { | ||
| 648 | - List<ScheduleRealInfo> list = nbbmScheduleMap.get(sch.getClZbh()); | ||
| 649 | - // 排序 | ||
| 650 | - Collections.sort(list, schFCSJComparator); | ||
| 651 | - | ||
| 652 | - List<ScheduleRealInfo> rs = new ArrayList<>(); | ||
| 653 | - ScheduleRealInfo temp; | ||
| 654 | - for (int i = 0; i < list.size() - 1; i++) { | ||
| 655 | - temp = list.get(i); | ||
| 656 | - if(temp.getFcsjT() > sch.getFcsjT()) | ||
| 657 | - rs.add(temp); | ||
| 658 | - | ||
| 659 | - } | ||
| 660 | - return rs; | ||
| 661 | - }*/ | ||
| 662 | - | ||
| 663 | - /** | ||
| 664 | * @Title: doneSum | 644 | * @Title: doneSum |
| 665 | * @Description: TODO(已完成班次总数) | 645 | * @Description: TODO(已完成班次总数) |
| 666 | */ | 646 | */ |
| @@ -828,8 +808,8 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -828,8 +808,8 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 828 | 808 | ||
| 829 | sch.setClZbh(newClZbh); | 809 | sch.setClZbh(newClZbh); |
| 830 | nbbmScheduleMap.put(newClZbh, sch); | 810 | nbbmScheduleMap.put(newClZbh, sch); |
| 831 | - nbbm2SEStationMap.put(newClZbh, sch.getQdzCode()); | ||
| 832 | - nbbm2SEStationMap.put(newClZbh, sch.getZdzCode()); | 811 | + //nbbm2SEStationMap.put(newClZbh, sch.getQdzCode()); |
| 812 | + //nbbm2SEStationMap.put(newClZbh, sch.getZdzCode()); | ||
| 833 | 813 | ||
| 834 | //重新计算班次应到时间 | 814 | //重新计算班次应到时间 |
| 835 | ups.addAll(updateQdzTimePlan(oldClzbh)); | 815 | ups.addAll(updateQdzTimePlan(oldClzbh)); |
| @@ -876,43 +856,50 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -876,43 +856,50 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 876 | } | 856 | } |
| 877 | 857 | ||
| 878 | /** | 858 | /** |
| 879 | - * 获取班次的计划停站时间 | ||
| 880 | - * @param sch | 859 | + * 删除实际排班 |
| 860 | + * @param lineCode | ||
| 881 | * @return | 861 | * @return |
| 862 | + */ | ||
| 863 | + public Map<String, Object> deleteRealSchedule(String lineCode) { | ||
| 864 | + Map<String, Object> rs = new HashMap<>(); | ||
| 882 | 865 | ||
| 883 | - public int stopTimePlan(Object task) { | 866 | + try { |
| 867 | + String rq = currSchDateMap.get(lineCode); | ||
| 868 | + if(StringUtils.isNotEmpty(rq)){ | ||
| 869 | + //解除gps 和班次之间的关联 | ||
| 870 | + List<ScheduleRealInfo> unions = calcUnion(findByLineCode(lineCode), carExecutePlanMap.values()); | ||
| 871 | + for(ScheduleRealInfo sch : unions){ | ||
| 872 | + removeExecPlan(sch.getClZbh()); | ||
| 873 | + } | ||
| 884 | 874 | ||
| 885 | - ScheduleRealInfo sch = prev((ScheduleRealInfo) task); | 875 | + //删除班次数据 |
| 876 | + removeRealSch(lineCode, rq); | ||
| 877 | + //删除相关班次修正记录 | ||
| 878 | + } | ||
| 879 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 880 | + }catch (Exception e){ | ||
| 881 | + logger.error("", e); | ||
| 882 | + rs.put("status", ResponseCode.ERROR); | ||
| 883 | + } | ||
| 886 | 884 | ||
| 887 | - sch.getzdsj | ||
| 888 | - return -1; | ||
| 889 | - }*/ | 885 | + return rs; |
| 886 | + } | ||
| 890 | 887 | ||
| 891 | /** | 888 | /** |
| 889 | + * 计算并集 | ||
| 892 | * | 890 | * |
| 893 | - * @Title: linkToSchPlan | ||
| 894 | - * @Description: TODO(车辆关联到班次) | 891 | + * @param all |
| 892 | + * @param sub | ||
| 893 | + * @return | ||
| 895 | */ | 894 | */ |
| 896 | -/* public void linkToSchPlan(String nbbm) { | ||
| 897 | - //当前GPS状态 | ||
| 898 | - GpsEntity gps = gpsRealData.get(BasicData.deviceId2NbbmMap.inverse().get(nbbm)); | ||
| 899 | - if(null == gps) | ||
| 900 | - return; | ||
| 901 | - | ||
| 902 | - //班次集合 | ||
| 903 | - List<ScheduleRealInfo> schArr = nbbmScheduleMap.get(nbbm); | ||
| 904 | - | ||
| 905 | - for(ScheduleRealInfo sch : schArr){ | ||
| 906 | - if(sch.getStatus() == 2) | ||
| 907 | - continue; | ||
| 908 | - if(sch.isDestroy()) | ||
| 909 | - continue; | ||
| 910 | - if(!sch.getXlBm().equals(gps.getLineId()) | ||
| 911 | - || Integer.parseInt(sch.getXlDir()) != gps.getUpDown().intValue()) | ||
| 912 | - continue; | ||
| 913 | - | ||
| 914 | - addExecPlan(sch); | ||
| 915 | - break; | ||
| 916 | - } | ||
| 917 | - }*/ | 895 | + public List<ScheduleRealInfo> calcUnion(Collection<ScheduleRealInfo> c1, Collection<ScheduleRealInfo> c2) { |
| 896 | + List<ScheduleRealInfo> rs = new ArrayList<>(); | ||
| 897 | + | ||
| 898 | + for (ScheduleRealInfo sch : c1) { | ||
| 899 | + if(c2.contains(sch)){ | ||
| 900 | + rs.add(sch); | ||
| 901 | + } | ||
| 902 | + } | ||
| 903 | + return rs; | ||
| 904 | + } | ||
| 918 | } | 905 | } |
| 919 | \ No newline at end of file | 906 | \ No newline at end of file |
src/main/java/com/bsth/data/schedule/thread/ScheduleRefreshThread.java
| @@ -2,7 +2,6 @@ package com.bsth.data.schedule.thread; | @@ -2,7 +2,6 @@ package com.bsth.data.schedule.thread; | ||
| 2 | 2 | ||
| 3 | import com.bsth.data.BasicData; | 3 | import com.bsth.data.BasicData; |
| 4 | import com.bsth.data.LineConfigData; | 4 | import com.bsth.data.LineConfigData; |
| 5 | -import com.bsth.data.arrival.ArrivalData_GPS; | ||
| 6 | import com.bsth.data.directive.DayOfDirectives; | 5 | import com.bsth.data.directive.DayOfDirectives; |
| 7 | import com.bsth.data.pilot80.PilotReport; | 6 | import com.bsth.data.pilot80.PilotReport; |
| 8 | import com.bsth.data.schedule.DayOfSchedule; | 7 | import com.bsth.data.schedule.DayOfSchedule; |
| @@ -29,8 +28,8 @@ public class ScheduleRefreshThread extends Thread{ | @@ -29,8 +28,8 @@ public class ScheduleRefreshThread extends Thread{ | ||
| 29 | @Autowired | 28 | @Autowired |
| 30 | DayOfSchedule dayOfSchedule; | 29 | DayOfSchedule dayOfSchedule; |
| 31 | 30 | ||
| 32 | - @Autowired | ||
| 33 | - ArrivalData_GPS arrivalData; | 31 | + /*@Autowired |
| 32 | + ArrivalData_GPS arrivalData;*/ | ||
| 34 | 33 | ||
| 35 | @Autowired | 34 | @Autowired |
| 36 | LineConfigData lineConfs; | 35 | LineConfigData lineConfs; |
| @@ -59,7 +58,7 @@ public class ScheduleRefreshThread extends Thread{ | @@ -59,7 +58,7 @@ public class ScheduleRefreshThread extends Thread{ | ||
| 59 | 58 | ||
| 60 | logger.info(lineCode + "开始翻班, " + currSchDate); | 59 | logger.info(lineCode + "开始翻班, " + currSchDate); |
| 61 | //清除进出站数据 | 60 | //清除进出站数据 |
| 62 | - arrivalData.clearRAMData(lineCode); | 61 | + //arrivalData.clearRAMData(lineCode); |
| 63 | //清除指令数据 | 62 | //清除指令数据 |
| 64 | Set<String> cars = dayOfSchedule.findCarByLineCode(lineCode); | 63 | Set<String> cars = dayOfSchedule.findCarByLineCode(lineCode); |
| 65 | for(String car : cars) | 64 | for(String car : cars) |
src/main/java/com/bsth/entity/realcontrol/LineConfig.java
| @@ -50,6 +50,9 @@ public class LineConfig { | @@ -50,6 +50,9 @@ public class LineConfig { | ||
| 50 | /** 出站既出场 对应的停车场 */ | 50 | /** 出站既出场 对应的停车场 */ |
| 51 | private String twinsPark; | 51 | private String twinsPark; |
| 52 | 52 | ||
| 53 | + /** 出站既出场 对应的起点站 */ | ||
| 54 | + private String twinsStation; | ||
| 55 | + | ||
| 53 | /** 短语模板 , 号分隔多个 */ | 56 | /** 短语模板 , 号分隔多个 */ |
| 54 | private String phraseTemps; | 57 | private String phraseTemps; |
| 55 | 58 | ||
| @@ -268,4 +271,12 @@ public class LineConfig { | @@ -268,4 +271,12 @@ public class LineConfig { | ||
| 268 | public void setEnableYjtk(boolean enableYjtk) { | 271 | public void setEnableYjtk(boolean enableYjtk) { |
| 269 | this.enableYjtk = enableYjtk; | 272 | this.enableYjtk = enableYjtk; |
| 270 | } | 273 | } |
| 274 | + | ||
| 275 | + public String getTwinsStation() { | ||
| 276 | + return twinsStation; | ||
| 277 | + } | ||
| 278 | + | ||
| 279 | + public void setTwinsStation(String twinsStation) { | ||
| 280 | + this.twinsStation = twinsStation; | ||
| 281 | + } | ||
| 271 | } | 282 | } |
src/main/java/com/bsth/service/realcontrol/LineConfigService.java
| @@ -13,11 +13,13 @@ public interface LineConfigService extends BaseService<LineConfig, Integer>{ | @@ -13,11 +13,13 @@ public interface LineConfigService extends BaseService<LineConfig, Integer>{ | ||
| 13 | 13 | ||
| 14 | Map<String, Object> editStartOptTime(String time, String lineCode); | 14 | Map<String, Object> editStartOptTime(String time, String lineCode); |
| 15 | 15 | ||
| 16 | - Map<String, Object> editOutTimeType(String lineCode, int type); | 16 | + Map<String, Object> editOutTimeType(String lineCode, int type, String parkCode, String stationCode); |
| 17 | 17 | ||
| 18 | LineConfig getByLineCode(String lineCode); | 18 | LineConfig getByLineCode(String lineCode); |
| 19 | 19 | ||
| 20 | Map<String,Object> enableInParkForSource(String lineCode, int enable); | 20 | Map<String,Object> enableInParkForSource(String lineCode, int enable); |
| 21 | 21 | ||
| 22 | Map<String,Object> bufferTimeDiff(String lineCode, String field, String value); | 22 | Map<String,Object> bufferTimeDiff(String lineCode, String field, String value); |
| 23 | + | ||
| 24 | + Map<String,Object> yjtkSet(Map<String, String> map); | ||
| 23 | } | 25 | } |
src/main/java/com/bsth/service/realcontrol/impl/LineConfigServiceImpl.java
| @@ -75,17 +75,20 @@ public class LineConfigServiceImpl extends BaseServiceImpl<LineConfig, Integer> | @@ -75,17 +75,20 @@ public class LineConfigServiceImpl extends BaseServiceImpl<LineConfig, Integer> | ||
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | @Override | 77 | @Override |
| 78 | - public Map<String, Object> editOutTimeType(String lineCode, int type) { | 78 | + public Map<String, Object> editOutTimeType(String lineCode, int type, String parkCode, String stationCode) { |
| 79 | Map<String, Object> rs = new HashMap<>(); | 79 | Map<String, Object> rs = new HashMap<>(); |
| 80 | try { | 80 | try { |
| 81 | LineConfig conf = lineConfigData.get(lineCode); | 81 | LineConfig conf = lineConfigData.get(lineCode); |
| 82 | 82 | ||
| 83 | conf.setOutConfig(type); | 83 | conf.setOutConfig(type); |
| 84 | - //conf.setInConfig(type); | 84 | + if(type == 2){ |
| 85 | + conf.setTwinsPark(parkCode); | ||
| 86 | + conf.setTwinsStation(stationCode); | ||
| 87 | + } | ||
| 85 | lineConfigData.set(conf); | 88 | lineConfigData.set(conf); |
| 86 | 89 | ||
| 87 | rs.put("status", ResponseCode.SUCCESS); | 90 | rs.put("status", ResponseCode.SUCCESS); |
| 88 | - rs.put("type", type); | 91 | + rs.put("conf", conf); |
| 89 | } catch (Exception e) { | 92 | } catch (Exception e) { |
| 90 | rs.put("status", ResponseCode.ERROR); | 93 | rs.put("status", ResponseCode.ERROR); |
| 91 | rs.put("msg", e.getMessage()); | 94 | rs.put("msg", e.getMessage()); |
| @@ -140,4 +143,40 @@ public class LineConfigServiceImpl extends BaseServiceImpl<LineConfig, Integer> | @@ -140,4 +143,40 @@ public class LineConfigServiceImpl extends BaseServiceImpl<LineConfig, Integer> | ||
| 140 | } | 143 | } |
| 141 | return rs; | 144 | return rs; |
| 142 | } | 145 | } |
| 146 | + | ||
| 147 | + @Override | ||
| 148 | + public Map<String, Object> yjtkSet(Map<String, String> map) { | ||
| 149 | + String lineCode = map.get("lineCode").toString(); | ||
| 150 | + int enableYjtk = Integer.parseInt(map.get("enableYjtk").toString()); | ||
| 151 | + | ||
| 152 | + Map<String, Object> rs = new HashMap<>(); | ||
| 153 | + try { | ||
| 154 | + LineConfig conf = lineConfigData.get(lineCode); | ||
| 155 | + | ||
| 156 | + if(enableYjtk == 1){ | ||
| 157 | + String yjtkStart = map.containsKey("yjtkStart") ? map.get("yjtkStart").toString() : "00:00"; | ||
| 158 | + String yjtkEnd = map.containsKey("yjtkEnd") ? map.get("yjtkEnd").toString() : "23:59"; | ||
| 159 | + int upStopMinute = Integer.parseInt(map.get("upStopMinute").toString()); | ||
| 160 | + int downStopMinute = Integer.parseInt(map.get("downStopMinute").toString()); | ||
| 161 | + | ||
| 162 | + conf.setEnableYjtk(true); | ||
| 163 | + conf.setYjtkStart(yjtkStart); | ||
| 164 | + conf.setYjtkEnd(yjtkEnd); | ||
| 165 | + conf.setUpStopMinute(upStopMinute); | ||
| 166 | + conf.setDownStopMinute(downStopMinute); | ||
| 167 | + } | ||
| 168 | + else | ||
| 169 | + conf.setEnableYjtk(false); | ||
| 170 | + | ||
| 171 | + lineConfigData.set(conf); | ||
| 172 | + | ||
| 173 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 174 | + rs.put("conf", conf); | ||
| 175 | + } catch (Exception e) { | ||
| 176 | + rs.put("status", ResponseCode.ERROR); | ||
| 177 | + rs.put("msg", e.getMessage()); | ||
| 178 | + logger.error("", e); | ||
| 179 | + } | ||
| 180 | + return rs; | ||
| 181 | + } | ||
| 143 | } | 182 | } |
src/main/resources/datatools/ktrs/carsConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>车辆配置信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>templatepath</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>模版文件路径</description> | ||
| 21 | - </parameter> | ||
| 22 | - <parameter> | ||
| 23 | - <name>xlid</name> | ||
| 24 | - <default_value/> | ||
| 25 | - <description>线路id</description> | ||
| 26 | - </parameter> | ||
| 27 | - </parameters> | ||
| 28 | - <log> | ||
| 29 | -<trans-log-table><connection/> | ||
| 30 | -<schema/> | ||
| 31 | -<table/> | ||
| 32 | -<size_limit_lines/> | ||
| 33 | -<interval/> | ||
| 34 | -<timeout_days/> | ||
| 35 | -<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> | ||
| 36 | -<perf-log-table><connection/> | ||
| 37 | -<schema/> | ||
| 38 | -<table/> | ||
| 39 | -<interval/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<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> | ||
| 42 | -<channel-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>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> | ||
| 47 | -<step-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>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> | ||
| 52 | -<metrics-log-table><connection/> | ||
| 53 | -<schema/> | ||
| 54 | -<table/> | ||
| 55 | -<timeout_days/> | ||
| 56 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>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> | ||
| 57 | - </log> | ||
| 58 | - <maxdate> | ||
| 59 | - <connection/> | ||
| 60 | - <table/> | ||
| 61 | - <field/> | ||
| 62 | - <offset>0.0</offset> | ||
| 63 | - <maxdiff>0.0</maxdiff> | ||
| 64 | - </maxdate> | ||
| 65 | - <size_rowset>10000</size_rowset> | ||
| 66 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 67 | - <sleep_time_full>50</sleep_time_full> | ||
| 68 | - <unique_connections>N</unique_connections> | ||
| 69 | - <feedback_shown>Y</feedback_shown> | ||
| 70 | - <feedback_size>50000</feedback_size> | ||
| 71 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 72 | - <shared_objects_file/> | ||
| 73 | - <capture_step_performance>N</capture_step_performance> | ||
| 74 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 75 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 76 | - <dependencies> | ||
| 77 | - </dependencies> | ||
| 78 | - <partitionschemas> | ||
| 79 | - </partitionschemas> | ||
| 80 | - <slaveservers> | ||
| 81 | - </slaveservers> | ||
| 82 | - <clusterschemas> | ||
| 83 | - </clusterschemas> | ||
| 84 | - <created_user>-</created_user> | ||
| 85 | - <created_date>2017/01/11 14:14:13.722</created_date> | ||
| 86 | - <modified_user>-</modified_user> | ||
| 87 | - <modified_date>2017/01/11 14:14:13.722</modified_date> | ||
| 88 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 89 | - <is_key_private>N</is_key_private> | ||
| 90 | - </info> | ||
| 91 | - <notepads> | ||
| 92 | - <notepad> | ||
| 93 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 94 | - <xloc>81</xloc> | ||
| 95 | - <yloc>172</yloc> | ||
| 96 | - <width>333</width> | ||
| 97 | - <heigth>90</heigth> | ||
| 98 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 99 | - <fontsize>12</fontsize> | ||
| 100 | - <fontbold>N</fontbold> | ||
| 101 | - <fontitalic>N</fontitalic> | ||
| 102 | - <fontcolorred>0</fontcolorred> | ||
| 103 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 104 | - <fontcolorblue>0</fontcolorblue> | ||
| 105 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 106 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 107 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 108 | - <bordercolorred>100</bordercolorred> | ||
| 109 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 110 | - <bordercolorblue>100</bordercolorblue> | ||
| 111 | - <drawshadow>Y</drawshadow> | ||
| 112 | - </notepad> | ||
| 113 | - </notepads> | ||
| 114 | - <connection> | ||
| 115 | - <name>bus_control_variable</name> | ||
| 116 | - <server>${v_db_ip}</server> | ||
| 117 | - <type>MYSQL</type> | ||
| 118 | - <access>Native</access> | ||
| 119 | - <database>${v_db_dname}</database> | ||
| 120 | - <port>3306</port> | ||
| 121 | - <username>${v_db_uname}</username> | ||
| 122 | - <password>${v_db_pwd}</password> | ||
| 123 | - <servername/> | ||
| 124 | - <data_tablespace/> | ||
| 125 | - <index_tablespace/> | ||
| 126 | - <attributes> | ||
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 128 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 129 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 130 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 131 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 133 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 134 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 135 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 136 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 137 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 138 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 140 | - </attributes> | ||
| 141 | - </connection> | ||
| 142 | - <connection> | ||
| 143 | - <name>bus_control_公司_201</name> | ||
| 144 | - <server>localhost</server> | ||
| 145 | - <type>MYSQL</type> | ||
| 146 | - <access>Native</access> | ||
| 147 | - <database>control</database> | ||
| 148 | - <port>3306</port> | ||
| 149 | - <username>root</username> | ||
| 150 | - <password>Encrypted </password> | ||
| 151 | - <servername/> | ||
| 152 | - <data_tablespace/> | ||
| 153 | - <index_tablespace/> | ||
| 154 | - <attributes> | ||
| 155 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 156 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 157 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 158 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 160 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 161 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 162 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 163 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 164 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 165 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 167 | - </attributes> | ||
| 168 | - </connection> | ||
| 169 | - <connection> | ||
| 170 | - <name>bus_control_本机</name> | ||
| 171 | - <server>localhost</server> | ||
| 172 | - <type>MYSQL</type> | ||
| 173 | - <access>Native</access> | ||
| 174 | - <database>control</database> | ||
| 175 | - <port>3306</port> | ||
| 176 | - <username>root</username> | ||
| 177 | - <password>Encrypted </password> | ||
| 178 | - <servername/> | ||
| 179 | - <data_tablespace/> | ||
| 180 | - <index_tablespace/> | ||
| 181 | - <attributes> | ||
| 182 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 183 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 184 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 185 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 187 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 188 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 189 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 190 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 191 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 192 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 193 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 194 | - </attributes> | ||
| 195 | - </connection> | ||
| 196 | - <connection> | ||
| 197 | - <name>xlab_mysql_youle</name> | ||
| 198 | - <server>101.231.124.8</server> | ||
| 199 | - <type>MYSQL</type> | ||
| 200 | - <access>Native</access> | ||
| 201 | - <database>xlab_youle</database> | ||
| 202 | - <port>45687</port> | ||
| 203 | - <username>xlab-youle</username> | ||
| 204 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 205 | - <servername/> | ||
| 206 | - <data_tablespace/> | ||
| 207 | - <index_tablespace/> | ||
| 208 | - <attributes> | ||
| 209 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 210 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 211 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 212 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 215 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 216 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 217 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 218 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 219 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 221 | - </attributes> | ||
| 222 | - </connection> | ||
| 223 | - <connection> | ||
| 224 | - <name>xlab_mysql_youle(本机)</name> | ||
| 225 | - <server>localhost</server> | ||
| 226 | - <type>MYSQL</type> | ||
| 227 | - <access>Native</access> | ||
| 228 | - <database>xlab_youle</database> | ||
| 229 | - <port>3306</port> | ||
| 230 | - <username>root</username> | ||
| 231 | - <password>Encrypted </password> | ||
| 232 | - <servername/> | ||
| 233 | - <data_tablespace/> | ||
| 234 | - <index_tablespace/> | ||
| 235 | - <attributes> | ||
| 236 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 237 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 238 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 240 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 241 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 242 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 243 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 244 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 245 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 246 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 247 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 248 | - </attributes> | ||
| 249 | - </connection> | ||
| 250 | - <connection> | ||
| 251 | - <name>xlab_youle</name> | ||
| 252 | - <server/> | ||
| 253 | - <type>MYSQL</type> | ||
| 254 | - <access>JNDI</access> | ||
| 255 | - <database>xlab_youle</database> | ||
| 256 | - <port>1521</port> | ||
| 257 | - <username/> | ||
| 258 | - <password>Encrypted </password> | ||
| 259 | - <servername/> | ||
| 260 | - <data_tablespace/> | ||
| 261 | - <index_tablespace/> | ||
| 262 | - <attributes> | ||
| 263 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 264 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 265 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 266 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 267 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 268 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 269 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 270 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 271 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 272 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 273 | - </attributes> | ||
| 274 | - </connection> | ||
| 275 | - <order> | ||
| 276 | - <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 277 | - <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | ||
| 278 | - <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | ||
| 279 | - <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 280 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 281 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 282 | - </order> | ||
| 283 | - <step> | ||
| 284 | - <name>Excel输出</name> | ||
| 285 | - <type>ExcelOutput</type> | ||
| 286 | - <description/> | ||
| 287 | - <distribute>Y</distribute> | ||
| 288 | - <custom_distribution/> | ||
| 289 | - <copies>1</copies> | ||
| 290 | - <partitioning> | ||
| 291 | - <method>none</method> | ||
| 292 | - <schema_name/> | ||
| 293 | - </partitioning> | ||
| 294 | - <header>Y</header> | ||
| 295 | - <footer>N</footer> | ||
| 296 | - <encoding/> | ||
| 297 | - <append>N</append> | ||
| 298 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 299 | - <file> | ||
| 300 | - <name>${filepath}</name> | ||
| 301 | - <extention/> | ||
| 302 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 303 | - <create_parent_folder>N</create_parent_folder> | ||
| 304 | - <split>N</split> | ||
| 305 | - <add_date>N</add_date> | ||
| 306 | - <add_time>N</add_time> | ||
| 307 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 308 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 309 | - <sheetname>工作表1</sheetname> | ||
| 310 | - <autosizecolums>N</autosizecolums> | ||
| 311 | - <nullisblank>N</nullisblank> | ||
| 312 | - <protect_sheet>N</protect_sheet> | ||
| 313 | - <password>Encrypted </password> | ||
| 314 | - <splitevery>0</splitevery> | ||
| 315 | - <usetempfiles>N</usetempfiles> | ||
| 316 | - <tempdirectory/> | ||
| 317 | - </file> | ||
| 318 | - <template> | ||
| 319 | - <enabled>N</enabled> | ||
| 320 | - <append>N</append> | ||
| 321 | - <filename>template.xls</filename> | ||
| 322 | - </template> | ||
| 323 | - <fields> | ||
| 324 | - <field> | ||
| 325 | - <name>线路</name> | ||
| 326 | - <type>String</type> | ||
| 327 | - <format/> | ||
| 328 | - </field> | ||
| 329 | - <field> | ||
| 330 | - <name>内部编码</name> | ||
| 331 | - <type>String</type> | ||
| 332 | - <format/> | ||
| 333 | - </field> | ||
| 334 | - <field> | ||
| 335 | - <name>启用日期</name> | ||
| 336 | - <type>String</type> | ||
| 337 | - <format/> | ||
| 338 | - </field> | ||
| 339 | - <field> | ||
| 340 | - <name>终结日期</name> | ||
| 341 | - <type>String</type> | ||
| 342 | - <format/> | ||
| 343 | - </field> | ||
| 344 | - <field> | ||
| 345 | - <name>停车点</name> | ||
| 346 | - <type>String</type> | ||
| 347 | - <format/> | ||
| 348 | - </field> | ||
| 349 | - </fields> | ||
| 350 | - <custom> | ||
| 351 | - <header_font_name>arial</header_font_name> | ||
| 352 | - <header_font_size>10</header_font_size> | ||
| 353 | - <header_font_bold>N</header_font_bold> | ||
| 354 | - <header_font_italic>N</header_font_italic> | ||
| 355 | - <header_font_underline>no</header_font_underline> | ||
| 356 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | - <header_font_color>black</header_font_color> | ||
| 358 | - <header_background_color>none</header_background_color> | ||
| 359 | - <header_row_height>255</header_row_height> | ||
| 360 | - <header_alignment>left</header_alignment> | ||
| 361 | - <header_image/> | ||
| 362 | - <row_font_name>arial</row_font_name> | ||
| 363 | - <row_font_size>10</row_font_size> | ||
| 364 | - <row_font_color>black</row_font_color> | ||
| 365 | - <row_background_color>none</row_background_color> | ||
| 366 | - </custom> | ||
| 367 | - <cluster_schema/> | ||
| 368 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | - <xloc>596</xloc> | ||
| 370 | - <yloc>265</yloc> | ||
| 371 | - <draw>Y</draw> | ||
| 372 | - </GUI> | ||
| 373 | - </step> | ||
| 374 | - | ||
| 375 | - <step> | ||
| 376 | - <name>字段选择</name> | ||
| 377 | - <type>SelectValues</type> | ||
| 378 | - <description/> | ||
| 379 | - <distribute>Y</distribute> | ||
| 380 | - <custom_distribution/> | ||
| 381 | - <copies>1</copies> | ||
| 382 | - <partitioning> | ||
| 383 | - <method>none</method> | ||
| 384 | - <schema_name/> | ||
| 385 | - </partitioning> | ||
| 386 | - <fields> <field> <name>xlmc</name> | ||
| 387 | - <rename>线路</rename> | ||
| 388 | - <length>-2</length> | ||
| 389 | - <precision>-2</precision> | ||
| 390 | - </field> <field> <name>zbh</name> | ||
| 391 | - <rename>内部编码</rename> | ||
| 392 | - <length>-2</length> | ||
| 393 | - <precision>-2</precision> | ||
| 394 | - </field> <field> <name>qyrq</name> | ||
| 395 | - <rename>启用日期</rename> | ||
| 396 | - <length>-2</length> | ||
| 397 | - <precision>-2</precision> | ||
| 398 | - </field> <field> <name>zzrq</name> | ||
| 399 | - <rename>终结日期</rename> | ||
| 400 | - <length>-2</length> | ||
| 401 | - <precision>-2</precision> | ||
| 402 | - </field> <field> <name>tcd</name> | ||
| 403 | - <rename>停车点</rename> | ||
| 404 | - <length>-2</length> | ||
| 405 | - <precision>-2</precision> | ||
| 406 | - </field> <select_unspecified>N</select_unspecified> | ||
| 407 | - </fields> <cluster_schema/> | ||
| 408 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 409 | - <xloc>595</xloc> | ||
| 410 | - <yloc>167</yloc> | ||
| 411 | - <draw>Y</draw> | ||
| 412 | - </GUI> | ||
| 413 | - </step> | ||
| 414 | - | ||
| 415 | - <step> | ||
| 416 | - <name>排序记录</name> | ||
| 417 | - <type>SortRows</type> | ||
| 418 | - <description/> | ||
| 419 | - <distribute>Y</distribute> | ||
| 420 | - <custom_distribution/> | ||
| 421 | - <copies>1</copies> | ||
| 422 | - <partitioning> | ||
| 423 | - <method>none</method> | ||
| 424 | - <schema_name/> | ||
| 425 | - </partitioning> | ||
| 426 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 427 | - <prefix>out</prefix> | ||
| 428 | - <sort_size>1000000</sort_size> | ||
| 429 | - <free_memory/> | ||
| 430 | - <compress>N</compress> | ||
| 431 | - <compress_variable/> | ||
| 432 | - <unique_rows>N</unique_rows> | ||
| 433 | - <fields> | ||
| 434 | - <field> | ||
| 435 | - <name>xlmc</name> | ||
| 436 | - <ascending>Y</ascending> | ||
| 437 | - <case_sensitive>N</case_sensitive> | ||
| 438 | - <presorted>N</presorted> | ||
| 439 | - </field> | ||
| 440 | - <field> | ||
| 441 | - <name>zbh</name> | ||
| 442 | - <ascending>Y</ascending> | ||
| 443 | - <case_sensitive>N</case_sensitive> | ||
| 444 | - <presorted>N</presorted> | ||
| 445 | - </field> | ||
| 446 | - <field> | ||
| 447 | - <name>qyrq</name> | ||
| 448 | - <ascending>Y</ascending> | ||
| 449 | - <case_sensitive>N</case_sensitive> | ||
| 450 | - <presorted>N</presorted> | ||
| 451 | - </field> | ||
| 452 | - </fields> | ||
| 453 | - <cluster_schema/> | ||
| 454 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 455 | - <xloc>592</xloc> | ||
| 456 | - <yloc>66</yloc> | ||
| 457 | - <draw>Y</draw> | ||
| 458 | - </GUI> | ||
| 459 | - </step> | ||
| 460 | - | ||
| 461 | - <step> | ||
| 462 | - <name>格式化日期</name> | ||
| 463 | - <type>SelectValues</type> | ||
| 464 | - <description/> | ||
| 465 | - <distribute>Y</distribute> | ||
| 466 | - <custom_distribution/> | ||
| 467 | - <copies>1</copies> | ||
| 468 | - <partitioning> | ||
| 469 | - <method>none</method> | ||
| 470 | - <schema_name/> | ||
| 471 | - </partitioning> | ||
| 472 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 473 | - <meta> <name>qyrq</name> | ||
| 474 | - <rename>qyrq</rename> | ||
| 475 | - <type>String</type> | ||
| 476 | - <length>-2</length> | ||
| 477 | - <precision>-2</precision> | ||
| 478 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 479 | - <date_format_lenient>false</date_format_lenient> | ||
| 480 | - <date_format_locale/> | ||
| 481 | - <date_format_timezone/> | ||
| 482 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 483 | - <encoding/> | ||
| 484 | - <decimal_symbol/> | ||
| 485 | - <grouping_symbol/> | ||
| 486 | - <currency_symbol/> | ||
| 487 | - <storage_type/> | ||
| 488 | - </meta> <meta> <name>zzrq</name> | ||
| 489 | - <rename>zzrq</rename> | ||
| 490 | - <type>String</type> | ||
| 491 | - <length>-2</length> | ||
| 492 | - <precision>-2</precision> | ||
| 493 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 494 | - <date_format_lenient>false</date_format_lenient> | ||
| 495 | - <date_format_locale/> | ||
| 496 | - <date_format_timezone/> | ||
| 497 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 498 | - <encoding/> | ||
| 499 | - <decimal_symbol/> | ||
| 500 | - <grouping_symbol/> | ||
| 501 | - <currency_symbol/> | ||
| 502 | - <storage_type/> | ||
| 503 | - </meta> </fields> <cluster_schema/> | ||
| 504 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 505 | - <xloc>478</xloc> | ||
| 506 | - <yloc>66</yloc> | ||
| 507 | - <draw>Y</draw> | ||
| 508 | - </GUI> | ||
| 509 | - </step> | ||
| 510 | - | ||
| 511 | - <step> | ||
| 512 | - <name>线路查询</name> | ||
| 513 | - <type>DBLookup</type> | ||
| 514 | - <description/> | ||
| 515 | - <distribute>Y</distribute> | ||
| 516 | - <custom_distribution/> | ||
| 517 | - <copies>1</copies> | ||
| 518 | - <partitioning> | ||
| 519 | - <method>none</method> | ||
| 520 | - <schema_name/> | ||
| 521 | - </partitioning> | ||
| 522 | - <connection>bus_control_variable</connection> | ||
| 523 | - <cache>Y</cache> | ||
| 524 | - <cache_load_all>Y</cache_load_all> | ||
| 525 | - <cache_size>0</cache_size> | ||
| 526 | - <lookup> | ||
| 527 | - <schema/> | ||
| 528 | - <table>bsth_c_line</table> | ||
| 529 | - <orderby/> | ||
| 530 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 531 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 532 | - <key> | ||
| 533 | - <name>xl</name> | ||
| 534 | - <field>id</field> | ||
| 535 | - <condition>=</condition> | ||
| 536 | - <name2/> | ||
| 537 | - </key> | ||
| 538 | - <value> | ||
| 539 | - <name>name</name> | ||
| 540 | - <rename>xlmc</rename> | ||
| 541 | - <default/> | ||
| 542 | - <type>String</type> | ||
| 543 | - </value> | ||
| 544 | - </lookup> | ||
| 545 | - <cluster_schema/> | ||
| 546 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 547 | - <xloc>248</xloc> | ||
| 548 | - <yloc>67</yloc> | ||
| 549 | - <draw>Y</draw> | ||
| 550 | - </GUI> | ||
| 551 | - </step> | ||
| 552 | - | ||
| 553 | - <step> | ||
| 554 | - <name>车辆查询</name> | ||
| 555 | - <type>DBLookup</type> | ||
| 556 | - <description/> | ||
| 557 | - <distribute>Y</distribute> | ||
| 558 | - <custom_distribution/> | ||
| 559 | - <copies>1</copies> | ||
| 560 | - <partitioning> | ||
| 561 | - <method>none</method> | ||
| 562 | - <schema_name/> | ||
| 563 | - </partitioning> | ||
| 564 | - <connection>bus_control_variable</connection> | ||
| 565 | - <cache>N</cache> | ||
| 566 | - <cache_load_all>N</cache_load_all> | ||
| 567 | - <cache_size>0</cache_size> | ||
| 568 | - <lookup> | ||
| 569 | - <schema/> | ||
| 570 | - <table>bsth_c_cars</table> | ||
| 571 | - <orderby/> | ||
| 572 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 573 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 574 | - <key> | ||
| 575 | - <name>cl</name> | ||
| 576 | - <field>id</field> | ||
| 577 | - <condition>=</condition> | ||
| 578 | - <name2/> | ||
| 579 | - </key> | ||
| 580 | - <value> | ||
| 581 | - <name>inside_code</name> | ||
| 582 | - <rename>zbh</rename> | ||
| 583 | - <default/> | ||
| 584 | - <type>String</type> | ||
| 585 | - </value> | ||
| 586 | - </lookup> | ||
| 587 | - <cluster_schema/> | ||
| 588 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 589 | - <xloc>361</xloc> | ||
| 590 | - <yloc>67</yloc> | ||
| 591 | - <draw>Y</draw> | ||
| 592 | - </GUI> | ||
| 593 | - </step> | ||
| 594 | - | ||
| 595 | - <step> | ||
| 596 | - <name>车辆配置(没有作废)</name> | ||
| 597 | - <type>TableInput</type> | ||
| 598 | - <description/> | ||
| 599 | - <distribute>Y</distribute> | ||
| 600 | - <custom_distribution/> | ||
| 601 | - <copies>1</copies> | ||
| 602 | - <partitioning> | ||
| 603 | - <method>none</method> | ||
| 604 | - <schema_name/> | ||
| 605 | - </partitioning> | ||
| 606 | - <connection>bus_control_variable</connection> | ||
| 607 | - <sql>select * from bsth_c_s_ccinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 608 | - <limit>0</limit> | ||
| 609 | - <lookup/> | ||
| 610 | - <execute_each_row>N</execute_each_row> | ||
| 611 | - <variables_active>Y</variables_active> | ||
| 612 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 613 | - <cluster_schema/> | ||
| 614 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 615 | - <xloc>106</xloc> | ||
| 616 | - <yloc>68</yloc> | ||
| 617 | - <draw>Y</draw> | ||
| 618 | - </GUI> | ||
| 619 | - </step> | ||
| 620 | - | ||
| 621 | - <step_error_handling> | ||
| 622 | - </step_error_handling> | ||
| 623 | - <slave-step-copy-partition-distribution> | ||
| 624 | -</slave-step-copy-partition-distribution> | ||
| 625 | - <slave_transformation>N</slave_transformation> | ||
| 626 | - | ||
| 627 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>车辆配置信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>templatepath</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>模版文件路径</description> | ||
| 21 | + </parameter> | ||
| 22 | + <parameter> | ||
| 23 | + <name>xlid</name> | ||
| 24 | + <default_value/> | ||
| 25 | + <description>线路id</description> | ||
| 26 | + </parameter> | ||
| 27 | + </parameters> | ||
| 28 | + <log> | ||
| 29 | +<trans-log-table><connection/> | ||
| 30 | +<schema/> | ||
| 31 | +<table/> | ||
| 32 | +<size_limit_lines/> | ||
| 33 | +<interval/> | ||
| 34 | +<timeout_days/> | ||
| 35 | +<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> | ||
| 36 | +<perf-log-table><connection/> | ||
| 37 | +<schema/> | ||
| 38 | +<table/> | ||
| 39 | +<interval/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<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> | ||
| 42 | +<channel-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>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> | ||
| 47 | +<step-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>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> | ||
| 52 | +<metrics-log-table><connection/> | ||
| 53 | +<schema/> | ||
| 54 | +<table/> | ||
| 55 | +<timeout_days/> | ||
| 56 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>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> | ||
| 57 | + </log> | ||
| 58 | + <maxdate> | ||
| 59 | + <connection/> | ||
| 60 | + <table/> | ||
| 61 | + <field/> | ||
| 62 | + <offset>0.0</offset> | ||
| 63 | + <maxdiff>0.0</maxdiff> | ||
| 64 | + </maxdate> | ||
| 65 | + <size_rowset>10000</size_rowset> | ||
| 66 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 67 | + <sleep_time_full>50</sleep_time_full> | ||
| 68 | + <unique_connections>N</unique_connections> | ||
| 69 | + <feedback_shown>Y</feedback_shown> | ||
| 70 | + <feedback_size>50000</feedback_size> | ||
| 71 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 72 | + <shared_objects_file/> | ||
| 73 | + <capture_step_performance>N</capture_step_performance> | ||
| 74 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 75 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 76 | + <dependencies> | ||
| 77 | + </dependencies> | ||
| 78 | + <partitionschemas> | ||
| 79 | + </partitionschemas> | ||
| 80 | + <slaveservers> | ||
| 81 | + </slaveservers> | ||
| 82 | + <clusterschemas> | ||
| 83 | + </clusterschemas> | ||
| 84 | + <created_user>-</created_user> | ||
| 85 | + <created_date>2017/01/11 14:14:13.722</created_date> | ||
| 86 | + <modified_user>-</modified_user> | ||
| 87 | + <modified_date>2017/01/11 14:14:13.722</modified_date> | ||
| 88 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 89 | + <is_key_private>N</is_key_private> | ||
| 90 | + </info> | ||
| 91 | + <notepads> | ||
| 92 | + <notepad> | ||
| 93 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 94 | + <xloc>81</xloc> | ||
| 95 | + <yloc>172</yloc> | ||
| 96 | + <width>333</width> | ||
| 97 | + <heigth>90</heigth> | ||
| 98 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 99 | + <fontsize>12</fontsize> | ||
| 100 | + <fontbold>N</fontbold> | ||
| 101 | + <fontitalic>N</fontitalic> | ||
| 102 | + <fontcolorred>0</fontcolorred> | ||
| 103 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 104 | + <fontcolorblue>0</fontcolorblue> | ||
| 105 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 106 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 107 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 108 | + <bordercolorred>100</bordercolorred> | ||
| 109 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 110 | + <bordercolorblue>100</bordercolorblue> | ||
| 111 | + <drawshadow>Y</drawshadow> | ||
| 112 | + </notepad> | ||
| 113 | + </notepads> | ||
| 114 | + <connection> | ||
| 115 | + <name>bus_control_variable</name> | ||
| 116 | + <server>${v_db_ip}</server> | ||
| 117 | + <type>MYSQL</type> | ||
| 118 | + <access>Native</access> | ||
| 119 | + <database>${v_db_dname}</database> | ||
| 120 | + <port>3306</port> | ||
| 121 | + <username>${v_db_uname}</username> | ||
| 122 | + <password>${v_db_pwd}</password> | ||
| 123 | + <servername/> | ||
| 124 | + <data_tablespace/> | ||
| 125 | + <index_tablespace/> | ||
| 126 | + <attributes> | ||
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 128 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 129 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 130 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 131 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 133 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 134 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 135 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 136 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 137 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 138 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 140 | + </attributes> | ||
| 141 | + </connection> | ||
| 142 | + <connection> | ||
| 143 | + <name>bus_control_公司_201</name> | ||
| 144 | + <server>localhost</server> | ||
| 145 | + <type>MYSQL</type> | ||
| 146 | + <access>Native</access> | ||
| 147 | + <database>control</database> | ||
| 148 | + <port>3306</port> | ||
| 149 | + <username>root</username> | ||
| 150 | + <password>Encrypted </password> | ||
| 151 | + <servername/> | ||
| 152 | + <data_tablespace/> | ||
| 153 | + <index_tablespace/> | ||
| 154 | + <attributes> | ||
| 155 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 156 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 157 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 158 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 161 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 162 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 163 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 164 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 165 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 167 | + </attributes> | ||
| 168 | + </connection> | ||
| 169 | + <connection> | ||
| 170 | + <name>bus_control_本机</name> | ||
| 171 | + <server>localhost</server> | ||
| 172 | + <type>MYSQL</type> | ||
| 173 | + <access>Native</access> | ||
| 174 | + <database>control</database> | ||
| 175 | + <port>3306</port> | ||
| 176 | + <username>root</username> | ||
| 177 | + <password>Encrypted </password> | ||
| 178 | + <servername/> | ||
| 179 | + <data_tablespace/> | ||
| 180 | + <index_tablespace/> | ||
| 181 | + <attributes> | ||
| 182 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 183 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 184 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 185 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 188 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 189 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 190 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 191 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 192 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 193 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 194 | + </attributes> | ||
| 195 | + </connection> | ||
| 196 | + <connection> | ||
| 197 | + <name>xlab_mysql_youle</name> | ||
| 198 | + <server>101.231.124.8</server> | ||
| 199 | + <type>MYSQL</type> | ||
| 200 | + <access>Native</access> | ||
| 201 | + <database>xlab_youle</database> | ||
| 202 | + <port>45687</port> | ||
| 203 | + <username>xlab-youle</username> | ||
| 204 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 205 | + <servername/> | ||
| 206 | + <data_tablespace/> | ||
| 207 | + <index_tablespace/> | ||
| 208 | + <attributes> | ||
| 209 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 210 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 211 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 212 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 215 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 216 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 217 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 218 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 219 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 221 | + </attributes> | ||
| 222 | + </connection> | ||
| 223 | + <connection> | ||
| 224 | + <name>xlab_mysql_youle(本机)</name> | ||
| 225 | + <server>localhost</server> | ||
| 226 | + <type>MYSQL</type> | ||
| 227 | + <access>Native</access> | ||
| 228 | + <database>xlab_youle</database> | ||
| 229 | + <port>3306</port> | ||
| 230 | + <username>root</username> | ||
| 231 | + <password>Encrypted </password> | ||
| 232 | + <servername/> | ||
| 233 | + <data_tablespace/> | ||
| 234 | + <index_tablespace/> | ||
| 235 | + <attributes> | ||
| 236 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 237 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 238 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 240 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 241 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 242 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 243 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 244 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 245 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 246 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 247 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 248 | + </attributes> | ||
| 249 | + </connection> | ||
| 250 | + <connection> | ||
| 251 | + <name>xlab_youle</name> | ||
| 252 | + <server/> | ||
| 253 | + <type>MYSQL</type> | ||
| 254 | + <access>JNDI</access> | ||
| 255 | + <database>xlab_youle</database> | ||
| 256 | + <port>1521</port> | ||
| 257 | + <username/> | ||
| 258 | + <password>Encrypted </password> | ||
| 259 | + <servername/> | ||
| 260 | + <data_tablespace/> | ||
| 261 | + <index_tablespace/> | ||
| 262 | + <attributes> | ||
| 263 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 264 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 265 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 266 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 267 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 268 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 269 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 270 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 271 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 272 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 273 | + </attributes> | ||
| 274 | + </connection> | ||
| 275 | + <order> | ||
| 276 | + <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 277 | + <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | ||
| 278 | + <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | ||
| 279 | + <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 280 | + <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 281 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 282 | + </order> | ||
| 283 | + <step> | ||
| 284 | + <name>Excel输出</name> | ||
| 285 | + <type>ExcelOutput</type> | ||
| 286 | + <description/> | ||
| 287 | + <distribute>Y</distribute> | ||
| 288 | + <custom_distribution/> | ||
| 289 | + <copies>1</copies> | ||
| 290 | + <partitioning> | ||
| 291 | + <method>none</method> | ||
| 292 | + <schema_name/> | ||
| 293 | + </partitioning> | ||
| 294 | + <header>Y</header> | ||
| 295 | + <footer>N</footer> | ||
| 296 | + <encoding/> | ||
| 297 | + <append>N</append> | ||
| 298 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 299 | + <file> | ||
| 300 | + <name>${filepath}</name> | ||
| 301 | + <extention/> | ||
| 302 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 303 | + <create_parent_folder>N</create_parent_folder> | ||
| 304 | + <split>N</split> | ||
| 305 | + <add_date>N</add_date> | ||
| 306 | + <add_time>N</add_time> | ||
| 307 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 308 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 309 | + <sheetname>工作表1</sheetname> | ||
| 310 | + <autosizecolums>N</autosizecolums> | ||
| 311 | + <nullisblank>N</nullisblank> | ||
| 312 | + <protect_sheet>N</protect_sheet> | ||
| 313 | + <password>Encrypted </password> | ||
| 314 | + <splitevery>0</splitevery> | ||
| 315 | + <usetempfiles>N</usetempfiles> | ||
| 316 | + <tempdirectory/> | ||
| 317 | + </file> | ||
| 318 | + <template> | ||
| 319 | + <enabled>N</enabled> | ||
| 320 | + <append>N</append> | ||
| 321 | + <filename>template.xls</filename> | ||
| 322 | + </template> | ||
| 323 | + <fields> | ||
| 324 | + <field> | ||
| 325 | + <name>线路</name> | ||
| 326 | + <type>String</type> | ||
| 327 | + <format/> | ||
| 328 | + </field> | ||
| 329 | + <field> | ||
| 330 | + <name>内部编码</name> | ||
| 331 | + <type>String</type> | ||
| 332 | + <format/> | ||
| 333 | + </field> | ||
| 334 | + <field> | ||
| 335 | + <name>启用日期</name> | ||
| 336 | + <type>String</type> | ||
| 337 | + <format/> | ||
| 338 | + </field> | ||
| 339 | + <field> | ||
| 340 | + <name>终结日期</name> | ||
| 341 | + <type>String</type> | ||
| 342 | + <format/> | ||
| 343 | + </field> | ||
| 344 | + <field> | ||
| 345 | + <name>停车点</name> | ||
| 346 | + <type>String</type> | ||
| 347 | + <format/> | ||
| 348 | + </field> | ||
| 349 | + </fields> | ||
| 350 | + <custom> | ||
| 351 | + <header_font_name>arial</header_font_name> | ||
| 352 | + <header_font_size>10</header_font_size> | ||
| 353 | + <header_font_bold>N</header_font_bold> | ||
| 354 | + <header_font_italic>N</header_font_italic> | ||
| 355 | + <header_font_underline>no</header_font_underline> | ||
| 356 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | + <header_font_color>black</header_font_color> | ||
| 358 | + <header_background_color>none</header_background_color> | ||
| 359 | + <header_row_height>255</header_row_height> | ||
| 360 | + <header_alignment>left</header_alignment> | ||
| 361 | + <header_image/> | ||
| 362 | + <row_font_name>arial</row_font_name> | ||
| 363 | + <row_font_size>10</row_font_size> | ||
| 364 | + <row_font_color>black</row_font_color> | ||
| 365 | + <row_background_color>none</row_background_color> | ||
| 366 | + </custom> | ||
| 367 | + <cluster_schema/> | ||
| 368 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | + <xloc>596</xloc> | ||
| 370 | + <yloc>265</yloc> | ||
| 371 | + <draw>Y</draw> | ||
| 372 | + </GUI> | ||
| 373 | + </step> | ||
| 374 | + | ||
| 375 | + <step> | ||
| 376 | + <name>字段选择</name> | ||
| 377 | + <type>SelectValues</type> | ||
| 378 | + <description/> | ||
| 379 | + <distribute>Y</distribute> | ||
| 380 | + <custom_distribution/> | ||
| 381 | + <copies>1</copies> | ||
| 382 | + <partitioning> | ||
| 383 | + <method>none</method> | ||
| 384 | + <schema_name/> | ||
| 385 | + </partitioning> | ||
| 386 | + <fields> <field> <name>xlmc</name> | ||
| 387 | + <rename>线路</rename> | ||
| 388 | + <length>-2</length> | ||
| 389 | + <precision>-2</precision> | ||
| 390 | + </field> <field> <name>zbh</name> | ||
| 391 | + <rename>内部编码</rename> | ||
| 392 | + <length>-2</length> | ||
| 393 | + <precision>-2</precision> | ||
| 394 | + </field> <field> <name>qyrq</name> | ||
| 395 | + <rename>启用日期</rename> | ||
| 396 | + <length>-2</length> | ||
| 397 | + <precision>-2</precision> | ||
| 398 | + </field> <field> <name>zzrq</name> | ||
| 399 | + <rename>终结日期</rename> | ||
| 400 | + <length>-2</length> | ||
| 401 | + <precision>-2</precision> | ||
| 402 | + </field> <field> <name>tcd</name> | ||
| 403 | + <rename>停车点</rename> | ||
| 404 | + <length>-2</length> | ||
| 405 | + <precision>-2</precision> | ||
| 406 | + </field> <select_unspecified>N</select_unspecified> | ||
| 407 | + </fields> <cluster_schema/> | ||
| 408 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 409 | + <xloc>595</xloc> | ||
| 410 | + <yloc>167</yloc> | ||
| 411 | + <draw>Y</draw> | ||
| 412 | + </GUI> | ||
| 413 | + </step> | ||
| 414 | + | ||
| 415 | + <step> | ||
| 416 | + <name>排序记录</name> | ||
| 417 | + <type>SortRows</type> | ||
| 418 | + <description/> | ||
| 419 | + <distribute>Y</distribute> | ||
| 420 | + <custom_distribution/> | ||
| 421 | + <copies>1</copies> | ||
| 422 | + <partitioning> | ||
| 423 | + <method>none</method> | ||
| 424 | + <schema_name/> | ||
| 425 | + </partitioning> | ||
| 426 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 427 | + <prefix>out</prefix> | ||
| 428 | + <sort_size>1000000</sort_size> | ||
| 429 | + <free_memory/> | ||
| 430 | + <compress>N</compress> | ||
| 431 | + <compress_variable/> | ||
| 432 | + <unique_rows>N</unique_rows> | ||
| 433 | + <fields> | ||
| 434 | + <field> | ||
| 435 | + <name>xlmc</name> | ||
| 436 | + <ascending>Y</ascending> | ||
| 437 | + <case_sensitive>N</case_sensitive> | ||
| 438 | + <presorted>N</presorted> | ||
| 439 | + </field> | ||
| 440 | + <field> | ||
| 441 | + <name>zbh</name> | ||
| 442 | + <ascending>Y</ascending> | ||
| 443 | + <case_sensitive>N</case_sensitive> | ||
| 444 | + <presorted>N</presorted> | ||
| 445 | + </field> | ||
| 446 | + <field> | ||
| 447 | + <name>qyrq</name> | ||
| 448 | + <ascending>Y</ascending> | ||
| 449 | + <case_sensitive>N</case_sensitive> | ||
| 450 | + <presorted>N</presorted> | ||
| 451 | + </field> | ||
| 452 | + </fields> | ||
| 453 | + <cluster_schema/> | ||
| 454 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 455 | + <xloc>592</xloc> | ||
| 456 | + <yloc>66</yloc> | ||
| 457 | + <draw>Y</draw> | ||
| 458 | + </GUI> | ||
| 459 | + </step> | ||
| 460 | + | ||
| 461 | + <step> | ||
| 462 | + <name>格式化日期</name> | ||
| 463 | + <type>SelectValues</type> | ||
| 464 | + <description/> | ||
| 465 | + <distribute>Y</distribute> | ||
| 466 | + <custom_distribution/> | ||
| 467 | + <copies>1</copies> | ||
| 468 | + <partitioning> | ||
| 469 | + <method>none</method> | ||
| 470 | + <schema_name/> | ||
| 471 | + </partitioning> | ||
| 472 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 473 | + <meta> <name>qyrq</name> | ||
| 474 | + <rename>qyrq</rename> | ||
| 475 | + <type>String</type> | ||
| 476 | + <length>-2</length> | ||
| 477 | + <precision>-2</precision> | ||
| 478 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 479 | + <date_format_lenient>false</date_format_lenient> | ||
| 480 | + <date_format_locale/> | ||
| 481 | + <date_format_timezone/> | ||
| 482 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 483 | + <encoding/> | ||
| 484 | + <decimal_symbol/> | ||
| 485 | + <grouping_symbol/> | ||
| 486 | + <currency_symbol/> | ||
| 487 | + <storage_type/> | ||
| 488 | + </meta> <meta> <name>zzrq</name> | ||
| 489 | + <rename>zzrq</rename> | ||
| 490 | + <type>String</type> | ||
| 491 | + <length>-2</length> | ||
| 492 | + <precision>-2</precision> | ||
| 493 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 494 | + <date_format_lenient>false</date_format_lenient> | ||
| 495 | + <date_format_locale/> | ||
| 496 | + <date_format_timezone/> | ||
| 497 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 498 | + <encoding/> | ||
| 499 | + <decimal_symbol/> | ||
| 500 | + <grouping_symbol/> | ||
| 501 | + <currency_symbol/> | ||
| 502 | + <storage_type/> | ||
| 503 | + </meta> </fields> <cluster_schema/> | ||
| 504 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 505 | + <xloc>478</xloc> | ||
| 506 | + <yloc>66</yloc> | ||
| 507 | + <draw>Y</draw> | ||
| 508 | + </GUI> | ||
| 509 | + </step> | ||
| 510 | + | ||
| 511 | + <step> | ||
| 512 | + <name>线路查询</name> | ||
| 513 | + <type>DBLookup</type> | ||
| 514 | + <description/> | ||
| 515 | + <distribute>Y</distribute> | ||
| 516 | + <custom_distribution/> | ||
| 517 | + <copies>1</copies> | ||
| 518 | + <partitioning> | ||
| 519 | + <method>none</method> | ||
| 520 | + <schema_name/> | ||
| 521 | + </partitioning> | ||
| 522 | + <connection>bus_control_variable</connection> | ||
| 523 | + <cache>Y</cache> | ||
| 524 | + <cache_load_all>Y</cache_load_all> | ||
| 525 | + <cache_size>0</cache_size> | ||
| 526 | + <lookup> | ||
| 527 | + <schema/> | ||
| 528 | + <table>bsth_c_line</table> | ||
| 529 | + <orderby/> | ||
| 530 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 531 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 532 | + <key> | ||
| 533 | + <name>xl</name> | ||
| 534 | + <field>id</field> | ||
| 535 | + <condition>=</condition> | ||
| 536 | + <name2/> | ||
| 537 | + </key> | ||
| 538 | + <value> | ||
| 539 | + <name>name</name> | ||
| 540 | + <rename>xlmc</rename> | ||
| 541 | + <default/> | ||
| 542 | + <type>String</type> | ||
| 543 | + </value> | ||
| 544 | + </lookup> | ||
| 545 | + <cluster_schema/> | ||
| 546 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 547 | + <xloc>248</xloc> | ||
| 548 | + <yloc>67</yloc> | ||
| 549 | + <draw>Y</draw> | ||
| 550 | + </GUI> | ||
| 551 | + </step> | ||
| 552 | + | ||
| 553 | + <step> | ||
| 554 | + <name>车辆查询</name> | ||
| 555 | + <type>DBLookup</type> | ||
| 556 | + <description/> | ||
| 557 | + <distribute>Y</distribute> | ||
| 558 | + <custom_distribution/> | ||
| 559 | + <copies>1</copies> | ||
| 560 | + <partitioning> | ||
| 561 | + <method>none</method> | ||
| 562 | + <schema_name/> | ||
| 563 | + </partitioning> | ||
| 564 | + <connection>bus_control_variable</connection> | ||
| 565 | + <cache>N</cache> | ||
| 566 | + <cache_load_all>N</cache_load_all> | ||
| 567 | + <cache_size>0</cache_size> | ||
| 568 | + <lookup> | ||
| 569 | + <schema/> | ||
| 570 | + <table>bsth_c_cars</table> | ||
| 571 | + <orderby/> | ||
| 572 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 573 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 574 | + <key> | ||
| 575 | + <name>cl</name> | ||
| 576 | + <field>id</field> | ||
| 577 | + <condition>=</condition> | ||
| 578 | + <name2/> | ||
| 579 | + </key> | ||
| 580 | + <value> | ||
| 581 | + <name>inside_code</name> | ||
| 582 | + <rename>zbh</rename> | ||
| 583 | + <default/> | ||
| 584 | + <type>String</type> | ||
| 585 | + </value> | ||
| 586 | + </lookup> | ||
| 587 | + <cluster_schema/> | ||
| 588 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 589 | + <xloc>361</xloc> | ||
| 590 | + <yloc>67</yloc> | ||
| 591 | + <draw>Y</draw> | ||
| 592 | + </GUI> | ||
| 593 | + </step> | ||
| 594 | + | ||
| 595 | + <step> | ||
| 596 | + <name>车辆配置(没有作废)</name> | ||
| 597 | + <type>TableInput</type> | ||
| 598 | + <description/> | ||
| 599 | + <distribute>Y</distribute> | ||
| 600 | + <custom_distribution/> | ||
| 601 | + <copies>1</copies> | ||
| 602 | + <partitioning> | ||
| 603 | + <method>none</method> | ||
| 604 | + <schema_name/> | ||
| 605 | + </partitioning> | ||
| 606 | + <connection>bus_control_variable</connection> | ||
| 607 | + <sql>select * from bsth_c_s_ccinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 608 | + <limit>0</limit> | ||
| 609 | + <lookup/> | ||
| 610 | + <execute_each_row>N</execute_each_row> | ||
| 611 | + <variables_active>Y</variables_active> | ||
| 612 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 613 | + <cluster_schema/> | ||
| 614 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 615 | + <xloc>106</xloc> | ||
| 616 | + <yloc>68</yloc> | ||
| 617 | + <draw>Y</draw> | ||
| 618 | + </GUI> | ||
| 619 | + </step> | ||
| 620 | + | ||
| 621 | + <step_error_handling> | ||
| 622 | + </step_error_handling> | ||
| 623 | + <slave-step-copy-partition-distribution> | ||
| 624 | +</slave-step-copy-partition-distribution> | ||
| 625 | + <slave_transformation>N</slave_transformation> | ||
| 626 | + | ||
| 627 | +</transformation> |
src/main/resources/datatools/ktrs/employeesConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>人员配置信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>xlid</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>线路id</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/11 15:36:10.101</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2017/01/11 15:36:10.101</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>66</xloc> | ||
| 90 | - <yloc>151</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>线路查询</to><enabled>Y</enabled> </hop> | ||
| 272 | - <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | ||
| 273 | - <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | ||
| 274 | - <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 275 | - <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 276 | - <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 277 | - </order> | ||
| 278 | - <step> | ||
| 279 | - <name>Excel输出</name> | ||
| 280 | - <type>ExcelOutput</type> | ||
| 281 | - <description/> | ||
| 282 | - <distribute>Y</distribute> | ||
| 283 | - <custom_distribution/> | ||
| 284 | - <copies>1</copies> | ||
| 285 | - <partitioning> | ||
| 286 | - <method>none</method> | ||
| 287 | - <schema_name/> | ||
| 288 | - </partitioning> | ||
| 289 | - <header>Y</header> | ||
| 290 | - <footer>N</footer> | ||
| 291 | - <encoding/> | ||
| 292 | - <append>N</append> | ||
| 293 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 294 | - <file> | ||
| 295 | - <name>${filepath}</name> | ||
| 296 | - <extention/> | ||
| 297 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 298 | - <create_parent_folder>N</create_parent_folder> | ||
| 299 | - <split>N</split> | ||
| 300 | - <add_date>N</add_date> | ||
| 301 | - <add_time>N</add_time> | ||
| 302 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 303 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 304 | - <sheetname>工作表1</sheetname> | ||
| 305 | - <autosizecolums>N</autosizecolums> | ||
| 306 | - <nullisblank>N</nullisblank> | ||
| 307 | - <protect_sheet>N</protect_sheet> | ||
| 308 | - <password>Encrypted </password> | ||
| 309 | - <splitevery>0</splitevery> | ||
| 310 | - <usetempfiles>N</usetempfiles> | ||
| 311 | - <tempdirectory/> | ||
| 312 | - </file> | ||
| 313 | - <template> | ||
| 314 | - <enabled>N</enabled> | ||
| 315 | - <append>N</append> | ||
| 316 | - <filename>template.xls</filename> | ||
| 317 | - </template> | ||
| 318 | - <fields> | ||
| 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 | - <field> | ||
| 345 | - <name>售票员</name> | ||
| 346 | - <type>String</type> | ||
| 347 | - <format/> | ||
| 348 | - </field> | ||
| 349 | - </fields> | ||
| 350 | - <custom> | ||
| 351 | - <header_font_name>arial</header_font_name> | ||
| 352 | - <header_font_size>10</header_font_size> | ||
| 353 | - <header_font_bold>N</header_font_bold> | ||
| 354 | - <header_font_italic>N</header_font_italic> | ||
| 355 | - <header_font_underline>no</header_font_underline> | ||
| 356 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | - <header_font_color>black</header_font_color> | ||
| 358 | - <header_background_color>none</header_background_color> | ||
| 359 | - <header_row_height>255</header_row_height> | ||
| 360 | - <header_alignment>left</header_alignment> | ||
| 361 | - <header_image/> | ||
| 362 | - <row_font_name>arial</row_font_name> | ||
| 363 | - <row_font_size>10</row_font_size> | ||
| 364 | - <row_font_color>black</row_font_color> | ||
| 365 | - <row_background_color>none</row_background_color> | ||
| 366 | - </custom> | ||
| 367 | - <cluster_schema/> | ||
| 368 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | - <xloc>696</xloc> | ||
| 370 | - <yloc>257</yloc> | ||
| 371 | - <draw>Y</draw> | ||
| 372 | - </GUI> | ||
| 373 | - </step> | ||
| 374 | - | ||
| 375 | - <step> | ||
| 376 | - <name>人员配置(没有作废)</name> | ||
| 377 | - <type>TableInput</type> | ||
| 378 | - <description/> | ||
| 379 | - <distribute>Y</distribute> | ||
| 380 | - <custom_distribution/> | ||
| 381 | - <copies>1</copies> | ||
| 382 | - <partitioning> | ||
| 383 | - <method>none</method> | ||
| 384 | - <schema_name/> | ||
| 385 | - </partitioning> | ||
| 386 | - <connection>bus_control_variable</connection> | ||
| 387 | - <sql>select * from bsth_c_s_ecinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 388 | - <limit>0</limit> | ||
| 389 | - <lookup/> | ||
| 390 | - <execute_each_row>N</execute_each_row> | ||
| 391 | - <variables_active>Y</variables_active> | ||
| 392 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 393 | - <cluster_schema/> | ||
| 394 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 395 | - <xloc>90</xloc> | ||
| 396 | - <yloc>59</yloc> | ||
| 397 | - <draw>Y</draw> | ||
| 398 | - </GUI> | ||
| 399 | - </step> | ||
| 400 | - | ||
| 401 | - <step> | ||
| 402 | - <name>售票员查询</name> | ||
| 403 | - <type>DBJoin</type> | ||
| 404 | - <description/> | ||
| 405 | - <distribute>Y</distribute> | ||
| 406 | - <custom_distribution/> | ||
| 407 | - <copies>1</copies> | ||
| 408 | - <partitioning> | ||
| 409 | - <method>none</method> | ||
| 410 | - <schema_name/> | ||
| 411 | - </partitioning> | ||
| 412 | - <connection>bus_control_variable</connection> | ||
| 413 | - <rowlimit>1</rowlimit> | ||
| 414 | - <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | ||
| 415 | - <outer_join>Y</outer_join> | ||
| 416 | - <replace_vars>N</replace_vars> | ||
| 417 | - <parameter> | ||
| 418 | - <field> | ||
| 419 | - <name>spy</name> | ||
| 420 | - <type>Integer</type> | ||
| 421 | - </field> | ||
| 422 | - </parameter> | ||
| 423 | - <cluster_schema/> | ||
| 424 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 425 | - <xloc>491</xloc> | ||
| 426 | - <yloc>60</yloc> | ||
| 427 | - <draw>Y</draw> | ||
| 428 | - </GUI> | ||
| 429 | - </step> | ||
| 430 | - | ||
| 431 | - <step> | ||
| 432 | - <name>字段选择</name> | ||
| 433 | - <type>SelectValues</type> | ||
| 434 | - <description/> | ||
| 435 | - <distribute>Y</distribute> | ||
| 436 | - <custom_distribution/> | ||
| 437 | - <copies>1</copies> | ||
| 438 | - <partitioning> | ||
| 439 | - <method>none</method> | ||
| 440 | - <schema_name/> | ||
| 441 | - </partitioning> | ||
| 442 | - <fields> <field> <name>xlmc</name> | ||
| 443 | - <rename>线路</rename> | ||
| 444 | - <length>-2</length> | ||
| 445 | - <precision>-2</precision> | ||
| 446 | - </field> <field> <name>dbbm</name> | ||
| 447 | - <rename>搭班编码</rename> | ||
| 448 | - <length>-2</length> | ||
| 449 | - <precision>-2</precision> | ||
| 450 | - </field> <field> <name>jcode</name> | ||
| 451 | - <rename>驾驶员工号</rename> | ||
| 452 | - <length>-2</length> | ||
| 453 | - <precision>-2</precision> | ||
| 454 | - </field> <field> <name>jname</name> | ||
| 455 | - <rename>驾驶员</rename> | ||
| 456 | - <length>-2</length> | ||
| 457 | - <precision>-2</precision> | ||
| 458 | - </field> <field> <name>scode</name> | ||
| 459 | - <rename>售票员工号</rename> | ||
| 460 | - <length>-2</length> | ||
| 461 | - <precision>-2</precision> | ||
| 462 | - </field> <field> <name>sname</name> | ||
| 463 | - <rename>售票员</rename> | ||
| 464 | - <length>-2</length> | ||
| 465 | - <precision>-2</precision> | ||
| 466 | - </field> <select_unspecified>N</select_unspecified> | ||
| 467 | - </fields> <cluster_schema/> | ||
| 468 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 469 | - <xloc>492</xloc> | ||
| 470 | - <yloc>164</yloc> | ||
| 471 | - <draw>Y</draw> | ||
| 472 | - </GUI> | ||
| 473 | - </step> | ||
| 474 | - | ||
| 475 | - <step> | ||
| 476 | - <name>排序记录</name> | ||
| 477 | - <type>SortRows</type> | ||
| 478 | - <description/> | ||
| 479 | - <distribute>Y</distribute> | ||
| 480 | - <custom_distribution/> | ||
| 481 | - <copies>1</copies> | ||
| 482 | - <partitioning> | ||
| 483 | - <method>none</method> | ||
| 484 | - <schema_name/> | ||
| 485 | - </partitioning> | ||
| 486 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 487 | - <prefix>out</prefix> | ||
| 488 | - <sort_size>1000000</sort_size> | ||
| 489 | - <free_memory/> | ||
| 490 | - <compress>N</compress> | ||
| 491 | - <compress_variable/> | ||
| 492 | - <unique_rows>N</unique_rows> | ||
| 493 | - <fields> | ||
| 494 | - <field> | ||
| 495 | - <name>线路</name> | ||
| 496 | - <ascending>Y</ascending> | ||
| 497 | - <case_sensitive>N</case_sensitive> | ||
| 498 | - <presorted>N</presorted> | ||
| 499 | - </field> | ||
| 500 | - <field> | ||
| 501 | - <name>搭班编码</name> | ||
| 502 | - <ascending>Y</ascending> | ||
| 503 | - <case_sensitive>N</case_sensitive> | ||
| 504 | - <presorted>N</presorted> | ||
| 505 | - </field> | ||
| 506 | - </fields> | ||
| 507 | - <cluster_schema/> | ||
| 508 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 509 | - <xloc>692</xloc> | ||
| 510 | - <yloc>164</yloc> | ||
| 511 | - <draw>Y</draw> | ||
| 512 | - </GUI> | ||
| 513 | - </step> | ||
| 514 | - | ||
| 515 | - <step> | ||
| 516 | - <name>线路查询</name> | ||
| 517 | - <type>DBLookup</type> | ||
| 518 | - <description/> | ||
| 519 | - <distribute>Y</distribute> | ||
| 520 | - <custom_distribution/> | ||
| 521 | - <copies>1</copies> | ||
| 522 | - <partitioning> | ||
| 523 | - <method>none</method> | ||
| 524 | - <schema_name/> | ||
| 525 | - </partitioning> | ||
| 526 | - <connection>bus_control_variable</connection> | ||
| 527 | - <cache>Y</cache> | ||
| 528 | - <cache_load_all>Y</cache_load_all> | ||
| 529 | - <cache_size>0</cache_size> | ||
| 530 | - <lookup> | ||
| 531 | - <schema/> | ||
| 532 | - <table>bsth_c_line</table> | ||
| 533 | - <orderby/> | ||
| 534 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 535 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 536 | - <key> | ||
| 537 | - <name>xl</name> | ||
| 538 | - <field>id</field> | ||
| 539 | - <condition>=</condition> | ||
| 540 | - <name2/> | ||
| 541 | - </key> | ||
| 542 | - <value> | ||
| 543 | - <name>name</name> | ||
| 544 | - <rename>xlmc</rename> | ||
| 545 | - <default/> | ||
| 546 | - <type>String</type> | ||
| 547 | - </value> | ||
| 548 | - </lookup> | ||
| 549 | - <cluster_schema/> | ||
| 550 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | - <xloc>227</xloc> | ||
| 552 | - <yloc>59</yloc> | ||
| 553 | - <draw>Y</draw> | ||
| 554 | - </GUI> | ||
| 555 | - </step> | ||
| 556 | - | ||
| 557 | - <step> | ||
| 558 | - <name>驾驶员查询</name> | ||
| 559 | - <type>DBJoin</type> | ||
| 560 | - <description/> | ||
| 561 | - <distribute>Y</distribute> | ||
| 562 | - <custom_distribution/> | ||
| 563 | - <copies>1</copies> | ||
| 564 | - <partitioning> | ||
| 565 | - <method>none</method> | ||
| 566 | - <schema_name/> | ||
| 567 | - </partitioning> | ||
| 568 | - <connection>bus_control_variable</connection> | ||
| 569 | - <rowlimit>1</rowlimit> | ||
| 570 | - <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | ||
| 571 | - <outer_join>Y</outer_join> | ||
| 572 | - <replace_vars>N</replace_vars> | ||
| 573 | - <parameter> | ||
| 574 | - <field> | ||
| 575 | - <name>jsy</name> | ||
| 576 | - <type>Integer</type> | ||
| 577 | - </field> | ||
| 578 | - </parameter> | ||
| 579 | - <cluster_schema/> | ||
| 580 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 581 | - <xloc>366</xloc> | ||
| 582 | - <yloc>60</yloc> | ||
| 583 | - <draw>Y</draw> | ||
| 584 | - </GUI> | ||
| 585 | - </step> | ||
| 586 | - | ||
| 587 | - <step_error_handling> | ||
| 588 | - </step_error_handling> | ||
| 589 | - <slave-step-copy-partition-distribution> | ||
| 590 | -</slave-step-copy-partition-distribution> | ||
| 591 | - <slave_transformation>N</slave_transformation> | ||
| 592 | - | ||
| 593 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>人员配置信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>xlid</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>线路id</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/11 15:36:10.101</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2017/01/11 15:36:10.101</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>66</xloc> | ||
| 90 | + <yloc>151</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>线路查询</to><enabled>Y</enabled> </hop> | ||
| 272 | + <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | ||
| 273 | + <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | ||
| 274 | + <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 275 | + <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 276 | + <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 277 | + </order> | ||
| 278 | + <step> | ||
| 279 | + <name>Excel输出</name> | ||
| 280 | + <type>ExcelOutput</type> | ||
| 281 | + <description/> | ||
| 282 | + <distribute>Y</distribute> | ||
| 283 | + <custom_distribution/> | ||
| 284 | + <copies>1</copies> | ||
| 285 | + <partitioning> | ||
| 286 | + <method>none</method> | ||
| 287 | + <schema_name/> | ||
| 288 | + </partitioning> | ||
| 289 | + <header>Y</header> | ||
| 290 | + <footer>N</footer> | ||
| 291 | + <encoding/> | ||
| 292 | + <append>N</append> | ||
| 293 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 294 | + <file> | ||
| 295 | + <name>${filepath}</name> | ||
| 296 | + <extention/> | ||
| 297 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 298 | + <create_parent_folder>N</create_parent_folder> | ||
| 299 | + <split>N</split> | ||
| 300 | + <add_date>N</add_date> | ||
| 301 | + <add_time>N</add_time> | ||
| 302 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 303 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 304 | + <sheetname>工作表1</sheetname> | ||
| 305 | + <autosizecolums>N</autosizecolums> | ||
| 306 | + <nullisblank>N</nullisblank> | ||
| 307 | + <protect_sheet>N</protect_sheet> | ||
| 308 | + <password>Encrypted </password> | ||
| 309 | + <splitevery>0</splitevery> | ||
| 310 | + <usetempfiles>N</usetempfiles> | ||
| 311 | + <tempdirectory/> | ||
| 312 | + </file> | ||
| 313 | + <template> | ||
| 314 | + <enabled>N</enabled> | ||
| 315 | + <append>N</append> | ||
| 316 | + <filename>template.xls</filename> | ||
| 317 | + </template> | ||
| 318 | + <fields> | ||
| 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 | + <field> | ||
| 345 | + <name>售票员</name> | ||
| 346 | + <type>String</type> | ||
| 347 | + <format/> | ||
| 348 | + </field> | ||
| 349 | + </fields> | ||
| 350 | + <custom> | ||
| 351 | + <header_font_name>arial</header_font_name> | ||
| 352 | + <header_font_size>10</header_font_size> | ||
| 353 | + <header_font_bold>N</header_font_bold> | ||
| 354 | + <header_font_italic>N</header_font_italic> | ||
| 355 | + <header_font_underline>no</header_font_underline> | ||
| 356 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | + <header_font_color>black</header_font_color> | ||
| 358 | + <header_background_color>none</header_background_color> | ||
| 359 | + <header_row_height>255</header_row_height> | ||
| 360 | + <header_alignment>left</header_alignment> | ||
| 361 | + <header_image/> | ||
| 362 | + <row_font_name>arial</row_font_name> | ||
| 363 | + <row_font_size>10</row_font_size> | ||
| 364 | + <row_font_color>black</row_font_color> | ||
| 365 | + <row_background_color>none</row_background_color> | ||
| 366 | + </custom> | ||
| 367 | + <cluster_schema/> | ||
| 368 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | + <xloc>696</xloc> | ||
| 370 | + <yloc>257</yloc> | ||
| 371 | + <draw>Y</draw> | ||
| 372 | + </GUI> | ||
| 373 | + </step> | ||
| 374 | + | ||
| 375 | + <step> | ||
| 376 | + <name>人员配置(没有作废)</name> | ||
| 377 | + <type>TableInput</type> | ||
| 378 | + <description/> | ||
| 379 | + <distribute>Y</distribute> | ||
| 380 | + <custom_distribution/> | ||
| 381 | + <copies>1</copies> | ||
| 382 | + <partitioning> | ||
| 383 | + <method>none</method> | ||
| 384 | + <schema_name/> | ||
| 385 | + </partitioning> | ||
| 386 | + <connection>bus_control_variable</connection> | ||
| 387 | + <sql>select * from bsth_c_s_ecinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 388 | + <limit>0</limit> | ||
| 389 | + <lookup/> | ||
| 390 | + <execute_each_row>N</execute_each_row> | ||
| 391 | + <variables_active>Y</variables_active> | ||
| 392 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 393 | + <cluster_schema/> | ||
| 394 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 395 | + <xloc>90</xloc> | ||
| 396 | + <yloc>59</yloc> | ||
| 397 | + <draw>Y</draw> | ||
| 398 | + </GUI> | ||
| 399 | + </step> | ||
| 400 | + | ||
| 401 | + <step> | ||
| 402 | + <name>售票员查询</name> | ||
| 403 | + <type>DBJoin</type> | ||
| 404 | + <description/> | ||
| 405 | + <distribute>Y</distribute> | ||
| 406 | + <custom_distribution/> | ||
| 407 | + <copies>1</copies> | ||
| 408 | + <partitioning> | ||
| 409 | + <method>none</method> | ||
| 410 | + <schema_name/> | ||
| 411 | + </partitioning> | ||
| 412 | + <connection>bus_control_variable</connection> | ||
| 413 | + <rowlimit>1</rowlimit> | ||
| 414 | + <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | ||
| 415 | + <outer_join>Y</outer_join> | ||
| 416 | + <replace_vars>N</replace_vars> | ||
| 417 | + <parameter> | ||
| 418 | + <field> | ||
| 419 | + <name>spy</name> | ||
| 420 | + <type>Integer</type> | ||
| 421 | + </field> | ||
| 422 | + </parameter> | ||
| 423 | + <cluster_schema/> | ||
| 424 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 425 | + <xloc>491</xloc> | ||
| 426 | + <yloc>60</yloc> | ||
| 427 | + <draw>Y</draw> | ||
| 428 | + </GUI> | ||
| 429 | + </step> | ||
| 430 | + | ||
| 431 | + <step> | ||
| 432 | + <name>字段选择</name> | ||
| 433 | + <type>SelectValues</type> | ||
| 434 | + <description/> | ||
| 435 | + <distribute>Y</distribute> | ||
| 436 | + <custom_distribution/> | ||
| 437 | + <copies>1</copies> | ||
| 438 | + <partitioning> | ||
| 439 | + <method>none</method> | ||
| 440 | + <schema_name/> | ||
| 441 | + </partitioning> | ||
| 442 | + <fields> <field> <name>xlmc</name> | ||
| 443 | + <rename>线路</rename> | ||
| 444 | + <length>-2</length> | ||
| 445 | + <precision>-2</precision> | ||
| 446 | + </field> <field> <name>dbbm</name> | ||
| 447 | + <rename>搭班编码</rename> | ||
| 448 | + <length>-2</length> | ||
| 449 | + <precision>-2</precision> | ||
| 450 | + </field> <field> <name>jcode</name> | ||
| 451 | + <rename>驾驶员工号</rename> | ||
| 452 | + <length>-2</length> | ||
| 453 | + <precision>-2</precision> | ||
| 454 | + </field> <field> <name>jname</name> | ||
| 455 | + <rename>驾驶员</rename> | ||
| 456 | + <length>-2</length> | ||
| 457 | + <precision>-2</precision> | ||
| 458 | + </field> <field> <name>scode</name> | ||
| 459 | + <rename>售票员工号</rename> | ||
| 460 | + <length>-2</length> | ||
| 461 | + <precision>-2</precision> | ||
| 462 | + </field> <field> <name>sname</name> | ||
| 463 | + <rename>售票员</rename> | ||
| 464 | + <length>-2</length> | ||
| 465 | + <precision>-2</precision> | ||
| 466 | + </field> <select_unspecified>N</select_unspecified> | ||
| 467 | + </fields> <cluster_schema/> | ||
| 468 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 469 | + <xloc>492</xloc> | ||
| 470 | + <yloc>164</yloc> | ||
| 471 | + <draw>Y</draw> | ||
| 472 | + </GUI> | ||
| 473 | + </step> | ||
| 474 | + | ||
| 475 | + <step> | ||
| 476 | + <name>排序记录</name> | ||
| 477 | + <type>SortRows</type> | ||
| 478 | + <description/> | ||
| 479 | + <distribute>Y</distribute> | ||
| 480 | + <custom_distribution/> | ||
| 481 | + <copies>1</copies> | ||
| 482 | + <partitioning> | ||
| 483 | + <method>none</method> | ||
| 484 | + <schema_name/> | ||
| 485 | + </partitioning> | ||
| 486 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 487 | + <prefix>out</prefix> | ||
| 488 | + <sort_size>1000000</sort_size> | ||
| 489 | + <free_memory/> | ||
| 490 | + <compress>N</compress> | ||
| 491 | + <compress_variable/> | ||
| 492 | + <unique_rows>N</unique_rows> | ||
| 493 | + <fields> | ||
| 494 | + <field> | ||
| 495 | + <name>线路</name> | ||
| 496 | + <ascending>Y</ascending> | ||
| 497 | + <case_sensitive>N</case_sensitive> | ||
| 498 | + <presorted>N</presorted> | ||
| 499 | + </field> | ||
| 500 | + <field> | ||
| 501 | + <name>搭班编码</name> | ||
| 502 | + <ascending>Y</ascending> | ||
| 503 | + <case_sensitive>N</case_sensitive> | ||
| 504 | + <presorted>N</presorted> | ||
| 505 | + </field> | ||
| 506 | + </fields> | ||
| 507 | + <cluster_schema/> | ||
| 508 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 509 | + <xloc>692</xloc> | ||
| 510 | + <yloc>164</yloc> | ||
| 511 | + <draw>Y</draw> | ||
| 512 | + </GUI> | ||
| 513 | + </step> | ||
| 514 | + | ||
| 515 | + <step> | ||
| 516 | + <name>线路查询</name> | ||
| 517 | + <type>DBLookup</type> | ||
| 518 | + <description/> | ||
| 519 | + <distribute>Y</distribute> | ||
| 520 | + <custom_distribution/> | ||
| 521 | + <copies>1</copies> | ||
| 522 | + <partitioning> | ||
| 523 | + <method>none</method> | ||
| 524 | + <schema_name/> | ||
| 525 | + </partitioning> | ||
| 526 | + <connection>bus_control_variable</connection> | ||
| 527 | + <cache>Y</cache> | ||
| 528 | + <cache_load_all>Y</cache_load_all> | ||
| 529 | + <cache_size>0</cache_size> | ||
| 530 | + <lookup> | ||
| 531 | + <schema/> | ||
| 532 | + <table>bsth_c_line</table> | ||
| 533 | + <orderby/> | ||
| 534 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 535 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 536 | + <key> | ||
| 537 | + <name>xl</name> | ||
| 538 | + <field>id</field> | ||
| 539 | + <condition>=</condition> | ||
| 540 | + <name2/> | ||
| 541 | + </key> | ||
| 542 | + <value> | ||
| 543 | + <name>name</name> | ||
| 544 | + <rename>xlmc</rename> | ||
| 545 | + <default/> | ||
| 546 | + <type>String</type> | ||
| 547 | + </value> | ||
| 548 | + </lookup> | ||
| 549 | + <cluster_schema/> | ||
| 550 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | + <xloc>227</xloc> | ||
| 552 | + <yloc>59</yloc> | ||
| 553 | + <draw>Y</draw> | ||
| 554 | + </GUI> | ||
| 555 | + </step> | ||
| 556 | + | ||
| 557 | + <step> | ||
| 558 | + <name>驾驶员查询</name> | ||
| 559 | + <type>DBJoin</type> | ||
| 560 | + <description/> | ||
| 561 | + <distribute>Y</distribute> | ||
| 562 | + <custom_distribution/> | ||
| 563 | + <copies>1</copies> | ||
| 564 | + <partitioning> | ||
| 565 | + <method>none</method> | ||
| 566 | + <schema_name/> | ||
| 567 | + </partitioning> | ||
| 568 | + <connection>bus_control_variable</connection> | ||
| 569 | + <rowlimit>1</rowlimit> | ||
| 570 | + <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | ||
| 571 | + <outer_join>Y</outer_join> | ||
| 572 | + <replace_vars>N</replace_vars> | ||
| 573 | + <parameter> | ||
| 574 | + <field> | ||
| 575 | + <name>jsy</name> | ||
| 576 | + <type>Integer</type> | ||
| 577 | + </field> | ||
| 578 | + </parameter> | ||
| 579 | + <cluster_schema/> | ||
| 580 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 581 | + <xloc>366</xloc> | ||
| 582 | + <yloc>60</yloc> | ||
| 583 | + <draw>Y</draw> | ||
| 584 | + </GUI> | ||
| 585 | + </step> | ||
| 586 | + | ||
| 587 | + <step_error_handling> | ||
| 588 | + </step_error_handling> | ||
| 589 | + <slave-step-copy-partition-distribution> | ||
| 590 | +</slave-step-copy-partition-distribution> | ||
| 591 | + <slave_transformation>N</slave_transformation> | ||
| 592 | + | ||
| 593 | +</transformation> |
src/main/resources/datatools/ktrs/guideboardDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>路牌信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>xlid</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>线路id</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/02/06 11:05:17.781</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2017/02/06 11:05:17.781</modified_date> | ||
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | - <is_key_private>N</is_key_private> | ||
| 85 | - </info> | ||
| 86 | - <notepads> | ||
| 87 | - </notepads> | ||
| 88 | - <connection> | ||
| 89 | - <name>bus_control_variable</name> | ||
| 90 | - <server>${v_db_ip}</server> | ||
| 91 | - <type>MYSQL</type> | ||
| 92 | - <access>Native</access> | ||
| 93 | - <database>${v_db_dname}</database> | ||
| 94 | - <port>3306</port> | ||
| 95 | - <username>${v_db_uname}</username> | ||
| 96 | - <password>${v_db_pwd}</password> | ||
| 97 | - <servername/> | ||
| 98 | - <data_tablespace/> | ||
| 99 | - <index_tablespace/> | ||
| 100 | - <attributes> | ||
| 101 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 102 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 103 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 104 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 105 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 106 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 107 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 108 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 109 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 110 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 111 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 112 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 113 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 114 | - </attributes> | ||
| 115 | - </connection> | ||
| 116 | - <connection> | ||
| 117 | - <name>bus_control_公司_201</name> | ||
| 118 | - <server>localhost</server> | ||
| 119 | - <type>MYSQL</type> | ||
| 120 | - <access>Native</access> | ||
| 121 | - <database>control</database> | ||
| 122 | - <port>3306</port> | ||
| 123 | - <username>root</username> | ||
| 124 | - <password>Encrypted </password> | ||
| 125 | - <servername/> | ||
| 126 | - <data_tablespace/> | ||
| 127 | - <index_tablespace/> | ||
| 128 | - <attributes> | ||
| 129 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 130 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 131 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 133 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 134 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 135 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 136 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 137 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 138 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 140 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 141 | - </attributes> | ||
| 142 | - </connection> | ||
| 143 | - <connection> | ||
| 144 | - <name>bus_control_本机</name> | ||
| 145 | - <server>localhost</server> | ||
| 146 | - <type>MYSQL</type> | ||
| 147 | - <access>Native</access> | ||
| 148 | - <database>control</database> | ||
| 149 | - <port>3306</port> | ||
| 150 | - <username>root</username> | ||
| 151 | - <password>Encrypted </password> | ||
| 152 | - <servername/> | ||
| 153 | - <data_tablespace/> | ||
| 154 | - <index_tablespace/> | ||
| 155 | - <attributes> | ||
| 156 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 157 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 158 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 160 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 161 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 162 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 163 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 164 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 165 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 167 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 168 | - </attributes> | ||
| 169 | - </connection> | ||
| 170 | - <connection> | ||
| 171 | - <name>xlab_mysql_youle</name> | ||
| 172 | - <server>101.231.124.8</server> | ||
| 173 | - <type>MYSQL</type> | ||
| 174 | - <access>Native</access> | ||
| 175 | - <database>xlab_youle</database> | ||
| 176 | - <port>45687</port> | ||
| 177 | - <username>xlab-youle</username> | ||
| 178 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 179 | - <servername/> | ||
| 180 | - <data_tablespace/> | ||
| 181 | - <index_tablespace/> | ||
| 182 | - <attributes> | ||
| 183 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 184 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 185 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 187 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 188 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 189 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 190 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 191 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 192 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 193 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 194 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 195 | - </attributes> | ||
| 196 | - </connection> | ||
| 197 | - <connection> | ||
| 198 | - <name>xlab_mysql_youle(本机)</name> | ||
| 199 | - <server>localhost</server> | ||
| 200 | - <type>MYSQL</type> | ||
| 201 | - <access>Native</access> | ||
| 202 | - <database>xlab_youle</database> | ||
| 203 | - <port>3306</port> | ||
| 204 | - <username>root</username> | ||
| 205 | - <password>Encrypted </password> | ||
| 206 | - <servername/> | ||
| 207 | - <data_tablespace/> | ||
| 208 | - <index_tablespace/> | ||
| 209 | - <attributes> | ||
| 210 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 211 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 212 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 215 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 216 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 217 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 218 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 219 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 221 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 222 | - </attributes> | ||
| 223 | - </connection> | ||
| 224 | - <connection> | ||
| 225 | - <name>xlab_youle</name> | ||
| 226 | - <server/> | ||
| 227 | - <type>MYSQL</type> | ||
| 228 | - <access>JNDI</access> | ||
| 229 | - <database>xlab_youle</database> | ||
| 230 | - <port>1521</port> | ||
| 231 | - <username/> | ||
| 232 | - <password>Encrypted </password> | ||
| 233 | - <servername/> | ||
| 234 | - <data_tablespace/> | ||
| 235 | - <index_tablespace/> | ||
| 236 | - <attributes> | ||
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 240 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 241 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 242 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 243 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 244 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 245 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 246 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 247 | - </attributes> | ||
| 248 | - </connection> | ||
| 249 | - <order> | ||
| 250 | - <hop> <from>路牌数据(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 251 | - <hop> <from>线路查询</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 252 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 253 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 254 | - </order> | ||
| 255 | - <step> | ||
| 256 | - <name>Excel输出</name> | ||
| 257 | - <type>ExcelOutput</type> | ||
| 258 | - <description/> | ||
| 259 | - <distribute>Y</distribute> | ||
| 260 | - <custom_distribution/> | ||
| 261 | - <copies>1</copies> | ||
| 262 | - <partitioning> | ||
| 263 | - <method>none</method> | ||
| 264 | - <schema_name/> | ||
| 265 | - </partitioning> | ||
| 266 | - <header>Y</header> | ||
| 267 | - <footer>N</footer> | ||
| 268 | - <encoding/> | ||
| 269 | - <append>N</append> | ||
| 270 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 271 | - <file> | ||
| 272 | - <name>${filepath}</name> | ||
| 273 | - <extention/> | ||
| 274 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 275 | - <create_parent_folder>N</create_parent_folder> | ||
| 276 | - <split>N</split> | ||
| 277 | - <add_date>N</add_date> | ||
| 278 | - <add_time>N</add_time> | ||
| 279 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 280 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 281 | - <sheetname>工作表1</sheetname> | ||
| 282 | - <autosizecolums>N</autosizecolums> | ||
| 283 | - <nullisblank>N</nullisblank> | ||
| 284 | - <protect_sheet>N</protect_sheet> | ||
| 285 | - <password>Encrypted </password> | ||
| 286 | - <splitevery>0</splitevery> | ||
| 287 | - <usetempfiles>N</usetempfiles> | ||
| 288 | - <tempdirectory/> | ||
| 289 | - </file> | ||
| 290 | - <template> | ||
| 291 | - <enabled>N</enabled> | ||
| 292 | - <append>N</append> | ||
| 293 | - <filename>template.xls</filename> | ||
| 294 | - </template> | ||
| 295 | - <fields> | ||
| 296 | - <field> | ||
| 297 | - <name>线路</name> | ||
| 298 | - <type>String</type> | ||
| 299 | - <format/> | ||
| 300 | - </field> | ||
| 301 | - <field> | ||
| 302 | - <name>路牌编号</name> | ||
| 303 | - <type>String</type> | ||
| 304 | - <format/> | ||
| 305 | - </field> | ||
| 306 | - <field> | ||
| 307 | - <name>路牌名称</name> | ||
| 308 | - <type>String</type> | ||
| 309 | - <format/> | ||
| 310 | - </field> | ||
| 311 | - <field> | ||
| 312 | - <name>路牌类型</name> | ||
| 313 | - <type>String</type> | ||
| 314 | - <format/> | ||
| 315 | - </field> | ||
| 316 | - </fields> | ||
| 317 | - <custom> | ||
| 318 | - <header_font_name>arial</header_font_name> | ||
| 319 | - <header_font_size>10</header_font_size> | ||
| 320 | - <header_font_bold>N</header_font_bold> | ||
| 321 | - <header_font_italic>N</header_font_italic> | ||
| 322 | - <header_font_underline>no</header_font_underline> | ||
| 323 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 324 | - <header_font_color>black</header_font_color> | ||
| 325 | - <header_background_color>none</header_background_color> | ||
| 326 | - <header_row_height>255</header_row_height> | ||
| 327 | - <header_alignment>left</header_alignment> | ||
| 328 | - <header_image/> | ||
| 329 | - <row_font_name>arial</row_font_name> | ||
| 330 | - <row_font_size>10</row_font_size> | ||
| 331 | - <row_font_color>black</row_font_color> | ||
| 332 | - <row_background_color>none</row_background_color> | ||
| 333 | - </custom> | ||
| 334 | - <cluster_schema/> | ||
| 335 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 336 | - <xloc>644</xloc> | ||
| 337 | - <yloc>92</yloc> | ||
| 338 | - <draw>Y</draw> | ||
| 339 | - </GUI> | ||
| 340 | - </step> | ||
| 341 | - | ||
| 342 | - <step> | ||
| 343 | - <name>字段选择</name> | ||
| 344 | - <type>SelectValues</type> | ||
| 345 | - <description/> | ||
| 346 | - <distribute>Y</distribute> | ||
| 347 | - <custom_distribution/> | ||
| 348 | - <copies>1</copies> | ||
| 349 | - <partitioning> | ||
| 350 | - <method>none</method> | ||
| 351 | - <schema_name/> | ||
| 352 | - </partitioning> | ||
| 353 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 354 | - <meta> <name>xlmc</name> | ||
| 355 | - <rename>线路</rename> | ||
| 356 | - <type>None</type> | ||
| 357 | - <length>-2</length> | ||
| 358 | - <precision>-2</precision> | ||
| 359 | - <conversion_mask/> | ||
| 360 | - <date_format_lenient>false</date_format_lenient> | ||
| 361 | - <date_format_locale/> | ||
| 362 | - <date_format_timezone/> | ||
| 363 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 364 | - <encoding/> | ||
| 365 | - <decimal_symbol/> | ||
| 366 | - <grouping_symbol/> | ||
| 367 | - <currency_symbol/> | ||
| 368 | - <storage_type/> | ||
| 369 | - </meta> <meta> <name>lp_no</name> | ||
| 370 | - <rename>路牌编号</rename> | ||
| 371 | - <type>String</type> | ||
| 372 | - <length>-2</length> | ||
| 373 | - <precision>-2</precision> | ||
| 374 | - <conversion_mask>#</conversion_mask> | ||
| 375 | - <date_format_lenient>false</date_format_lenient> | ||
| 376 | - <date_format_locale/> | ||
| 377 | - <date_format_timezone/> | ||
| 378 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 379 | - <encoding/> | ||
| 380 | - <decimal_symbol/> | ||
| 381 | - <grouping_symbol/> | ||
| 382 | - <currency_symbol/> | ||
| 383 | - <storage_type/> | ||
| 384 | - </meta> <meta> <name>lp_name</name> | ||
| 385 | - <rename>路牌名称</rename> | ||
| 386 | - <type>None</type> | ||
| 387 | - <length>-2</length> | ||
| 388 | - <precision>-2</precision> | ||
| 389 | - <conversion_mask/> | ||
| 390 | - <date_format_lenient>false</date_format_lenient> | ||
| 391 | - <date_format_locale/> | ||
| 392 | - <date_format_timezone/> | ||
| 393 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 394 | - <encoding/> | ||
| 395 | - <decimal_symbol/> | ||
| 396 | - <grouping_symbol/> | ||
| 397 | - <currency_symbol/> | ||
| 398 | - <storage_type/> | ||
| 399 | - </meta> <meta> <name>lp_type</name> | ||
| 400 | - <rename>路牌类型</rename> | ||
| 401 | - <type>None</type> | ||
| 402 | - <length>-2</length> | ||
| 403 | - <precision>-2</precision> | ||
| 404 | - <conversion_mask/> | ||
| 405 | - <date_format_lenient>false</date_format_lenient> | ||
| 406 | - <date_format_locale/> | ||
| 407 | - <date_format_timezone/> | ||
| 408 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 409 | - <encoding/> | ||
| 410 | - <decimal_symbol/> | ||
| 411 | - <grouping_symbol/> | ||
| 412 | - <currency_symbol/> | ||
| 413 | - <storage_type/> | ||
| 414 | - </meta> </fields> <cluster_schema/> | ||
| 415 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 416 | - <xloc>507</xloc> | ||
| 417 | - <yloc>91</yloc> | ||
| 418 | - <draw>Y</draw> | ||
| 419 | - </GUI> | ||
| 420 | - </step> | ||
| 421 | - | ||
| 422 | - <step> | ||
| 423 | - <name>排序记录</name> | ||
| 424 | - <type>SortRows</type> | ||
| 425 | - <description/> | ||
| 426 | - <distribute>Y</distribute> | ||
| 427 | - <custom_distribution/> | ||
| 428 | - <copies>1</copies> | ||
| 429 | - <partitioning> | ||
| 430 | - <method>none</method> | ||
| 431 | - <schema_name/> | ||
| 432 | - </partitioning> | ||
| 433 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 434 | - <prefix>out</prefix> | ||
| 435 | - <sort_size>1000000</sort_size> | ||
| 436 | - <free_memory/> | ||
| 437 | - <compress>N</compress> | ||
| 438 | - <compress_variable/> | ||
| 439 | - <unique_rows>N</unique_rows> | ||
| 440 | - <fields> | ||
| 441 | - <field> | ||
| 442 | - <name>xl</name> | ||
| 443 | - <ascending>Y</ascending> | ||
| 444 | - <case_sensitive>N</case_sensitive> | ||
| 445 | - <presorted>N</presorted> | ||
| 446 | - </field> | ||
| 447 | - <field> | ||
| 448 | - <name>lp_no</name> | ||
| 449 | - <ascending>Y</ascending> | ||
| 450 | - <case_sensitive>N</case_sensitive> | ||
| 451 | - <presorted>N</presorted> | ||
| 452 | - </field> | ||
| 453 | - <field> | ||
| 454 | - <name>is_cancel</name> | ||
| 455 | - <ascending>N</ascending> | ||
| 456 | - <case_sensitive>N</case_sensitive> | ||
| 457 | - <presorted>N</presorted> | ||
| 458 | - </field> | ||
| 459 | - </fields> | ||
| 460 | - <cluster_schema/> | ||
| 461 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 462 | - <xloc>384</xloc> | ||
| 463 | - <yloc>91</yloc> | ||
| 464 | - <draw>Y</draw> | ||
| 465 | - </GUI> | ||
| 466 | - </step> | ||
| 467 | - | ||
| 468 | - <step> | ||
| 469 | - <name>线路查询</name> | ||
| 470 | - <type>DBLookup</type> | ||
| 471 | - <description/> | ||
| 472 | - <distribute>Y</distribute> | ||
| 473 | - <custom_distribution/> | ||
| 474 | - <copies>1</copies> | ||
| 475 | - <partitioning> | ||
| 476 | - <method>none</method> | ||
| 477 | - <schema_name/> | ||
| 478 | - </partitioning> | ||
| 479 | - <connection>bus_control_variable</connection> | ||
| 480 | - <cache>Y</cache> | ||
| 481 | - <cache_load_all>Y</cache_load_all> | ||
| 482 | - <cache_size>0</cache_size> | ||
| 483 | - <lookup> | ||
| 484 | - <schema/> | ||
| 485 | - <table>bsth_c_line</table> | ||
| 486 | - <orderby/> | ||
| 487 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 488 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 489 | - <key> | ||
| 490 | - <name>xl</name> | ||
| 491 | - <field>id</field> | ||
| 492 | - <condition>=</condition> | ||
| 493 | - <name2/> | ||
| 494 | - </key> | ||
| 495 | - <value> | ||
| 496 | - <name>name</name> | ||
| 497 | - <rename>xlmc</rename> | ||
| 498 | - <default/> | ||
| 499 | - <type>String</type> | ||
| 500 | - </value> | ||
| 501 | - </lookup> | ||
| 502 | - <cluster_schema/> | ||
| 503 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 504 | - <xloc>262</xloc> | ||
| 505 | - <yloc>92</yloc> | ||
| 506 | - <draw>Y</draw> | ||
| 507 | - </GUI> | ||
| 508 | - </step> | ||
| 509 | - | ||
| 510 | - <step> | ||
| 511 | - <name>路牌数据(没有作废)</name> | ||
| 512 | - <type>TableInput</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 | - <sql>select * from bsth_c_s_gbi
where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 523 | - <limit>0</limit> | ||
| 524 | - <lookup/> | ||
| 525 | - <execute_each_row>N</execute_each_row> | ||
| 526 | - <variables_active>Y</variables_active> | ||
| 527 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 528 | - <cluster_schema/> | ||
| 529 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 530 | - <xloc>134</xloc> | ||
| 531 | - <yloc>92</yloc> | ||
| 532 | - <draw>Y</draw> | ||
| 533 | - </GUI> | ||
| 534 | - </step> | ||
| 535 | - | ||
| 536 | - <step_error_handling> | ||
| 537 | - </step_error_handling> | ||
| 538 | - <slave-step-copy-partition-distribution> | ||
| 539 | -</slave-step-copy-partition-distribution> | ||
| 540 | - <slave_transformation>N</slave_transformation> | ||
| 541 | - | ||
| 542 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>路牌信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>xlid</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>线路id</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/02/06 11:05:17.781</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2017/02/06 11:05:17.781</modified_date> | ||
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | + <is_key_private>N</is_key_private> | ||
| 85 | + </info> | ||
| 86 | + <notepads> | ||
| 87 | + </notepads> | ||
| 88 | + <connection> | ||
| 89 | + <name>bus_control_variable</name> | ||
| 90 | + <server>${v_db_ip}</server> | ||
| 91 | + <type>MYSQL</type> | ||
| 92 | + <access>Native</access> | ||
| 93 | + <database>${v_db_dname}</database> | ||
| 94 | + <port>3306</port> | ||
| 95 | + <username>${v_db_uname}</username> | ||
| 96 | + <password>${v_db_pwd}</password> | ||
| 97 | + <servername/> | ||
| 98 | + <data_tablespace/> | ||
| 99 | + <index_tablespace/> | ||
| 100 | + <attributes> | ||
| 101 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 102 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 103 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 104 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 105 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 106 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 107 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 108 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 109 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 110 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 111 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 112 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 113 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 114 | + </attributes> | ||
| 115 | + </connection> | ||
| 116 | + <connection> | ||
| 117 | + <name>bus_control_公司_201</name> | ||
| 118 | + <server>localhost</server> | ||
| 119 | + <type>MYSQL</type> | ||
| 120 | + <access>Native</access> | ||
| 121 | + <database>control</database> | ||
| 122 | + <port>3306</port> | ||
| 123 | + <username>root</username> | ||
| 124 | + <password>Encrypted </password> | ||
| 125 | + <servername/> | ||
| 126 | + <data_tablespace/> | ||
| 127 | + <index_tablespace/> | ||
| 128 | + <attributes> | ||
| 129 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 130 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 131 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 133 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 134 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 135 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 136 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 137 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 138 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 140 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 141 | + </attributes> | ||
| 142 | + </connection> | ||
| 143 | + <connection> | ||
| 144 | + <name>bus_control_本机</name> | ||
| 145 | + <server>localhost</server> | ||
| 146 | + <type>MYSQL</type> | ||
| 147 | + <access>Native</access> | ||
| 148 | + <database>control</database> | ||
| 149 | + <port>3306</port> | ||
| 150 | + <username>root</username> | ||
| 151 | + <password>Encrypted </password> | ||
| 152 | + <servername/> | ||
| 153 | + <data_tablespace/> | ||
| 154 | + <index_tablespace/> | ||
| 155 | + <attributes> | ||
| 156 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 157 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 158 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 161 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 162 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 163 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 164 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 165 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 167 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 168 | + </attributes> | ||
| 169 | + </connection> | ||
| 170 | + <connection> | ||
| 171 | + <name>xlab_mysql_youle</name> | ||
| 172 | + <server>101.231.124.8</server> | ||
| 173 | + <type>MYSQL</type> | ||
| 174 | + <access>Native</access> | ||
| 175 | + <database>xlab_youle</database> | ||
| 176 | + <port>45687</port> | ||
| 177 | + <username>xlab-youle</username> | ||
| 178 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 179 | + <servername/> | ||
| 180 | + <data_tablespace/> | ||
| 181 | + <index_tablespace/> | ||
| 182 | + <attributes> | ||
| 183 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 184 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 185 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 188 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 189 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 190 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 191 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 192 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 193 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 194 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 195 | + </attributes> | ||
| 196 | + </connection> | ||
| 197 | + <connection> | ||
| 198 | + <name>xlab_mysql_youle(本机)</name> | ||
| 199 | + <server>localhost</server> | ||
| 200 | + <type>MYSQL</type> | ||
| 201 | + <access>Native</access> | ||
| 202 | + <database>xlab_youle</database> | ||
| 203 | + <port>3306</port> | ||
| 204 | + <username>root</username> | ||
| 205 | + <password>Encrypted </password> | ||
| 206 | + <servername/> | ||
| 207 | + <data_tablespace/> | ||
| 208 | + <index_tablespace/> | ||
| 209 | + <attributes> | ||
| 210 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 211 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 212 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 215 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 216 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 217 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 218 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 219 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 221 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 222 | + </attributes> | ||
| 223 | + </connection> | ||
| 224 | + <connection> | ||
| 225 | + <name>xlab_youle</name> | ||
| 226 | + <server/> | ||
| 227 | + <type>MYSQL</type> | ||
| 228 | + <access>JNDI</access> | ||
| 229 | + <database>xlab_youle</database> | ||
| 230 | + <port>1521</port> | ||
| 231 | + <username/> | ||
| 232 | + <password>Encrypted </password> | ||
| 233 | + <servername/> | ||
| 234 | + <data_tablespace/> | ||
| 235 | + <index_tablespace/> | ||
| 236 | + <attributes> | ||
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 240 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 241 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 242 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 243 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 244 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 245 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 246 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 247 | + </attributes> | ||
| 248 | + </connection> | ||
| 249 | + <order> | ||
| 250 | + <hop> <from>路牌数据(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 251 | + <hop> <from>线路查询</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 252 | + <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 253 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 254 | + </order> | ||
| 255 | + <step> | ||
| 256 | + <name>Excel输出</name> | ||
| 257 | + <type>ExcelOutput</type> | ||
| 258 | + <description/> | ||
| 259 | + <distribute>Y</distribute> | ||
| 260 | + <custom_distribution/> | ||
| 261 | + <copies>1</copies> | ||
| 262 | + <partitioning> | ||
| 263 | + <method>none</method> | ||
| 264 | + <schema_name/> | ||
| 265 | + </partitioning> | ||
| 266 | + <header>Y</header> | ||
| 267 | + <footer>N</footer> | ||
| 268 | + <encoding/> | ||
| 269 | + <append>N</append> | ||
| 270 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 271 | + <file> | ||
| 272 | + <name>${filepath}</name> | ||
| 273 | + <extention/> | ||
| 274 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 275 | + <create_parent_folder>N</create_parent_folder> | ||
| 276 | + <split>N</split> | ||
| 277 | + <add_date>N</add_date> | ||
| 278 | + <add_time>N</add_time> | ||
| 279 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 280 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 281 | + <sheetname>工作表1</sheetname> | ||
| 282 | + <autosizecolums>N</autosizecolums> | ||
| 283 | + <nullisblank>N</nullisblank> | ||
| 284 | + <protect_sheet>N</protect_sheet> | ||
| 285 | + <password>Encrypted </password> | ||
| 286 | + <splitevery>0</splitevery> | ||
| 287 | + <usetempfiles>N</usetempfiles> | ||
| 288 | + <tempdirectory/> | ||
| 289 | + </file> | ||
| 290 | + <template> | ||
| 291 | + <enabled>N</enabled> | ||
| 292 | + <append>N</append> | ||
| 293 | + <filename>template.xls</filename> | ||
| 294 | + </template> | ||
| 295 | + <fields> | ||
| 296 | + <field> | ||
| 297 | + <name>线路</name> | ||
| 298 | + <type>String</type> | ||
| 299 | + <format/> | ||
| 300 | + </field> | ||
| 301 | + <field> | ||
| 302 | + <name>路牌编号</name> | ||
| 303 | + <type>String</type> | ||
| 304 | + <format/> | ||
| 305 | + </field> | ||
| 306 | + <field> | ||
| 307 | + <name>路牌名称</name> | ||
| 308 | + <type>String</type> | ||
| 309 | + <format/> | ||
| 310 | + </field> | ||
| 311 | + <field> | ||
| 312 | + <name>路牌类型</name> | ||
| 313 | + <type>String</type> | ||
| 314 | + <format/> | ||
| 315 | + </field> | ||
| 316 | + </fields> | ||
| 317 | + <custom> | ||
| 318 | + <header_font_name>arial</header_font_name> | ||
| 319 | + <header_font_size>10</header_font_size> | ||
| 320 | + <header_font_bold>N</header_font_bold> | ||
| 321 | + <header_font_italic>N</header_font_italic> | ||
| 322 | + <header_font_underline>no</header_font_underline> | ||
| 323 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 324 | + <header_font_color>black</header_font_color> | ||
| 325 | + <header_background_color>none</header_background_color> | ||
| 326 | + <header_row_height>255</header_row_height> | ||
| 327 | + <header_alignment>left</header_alignment> | ||
| 328 | + <header_image/> | ||
| 329 | + <row_font_name>arial</row_font_name> | ||
| 330 | + <row_font_size>10</row_font_size> | ||
| 331 | + <row_font_color>black</row_font_color> | ||
| 332 | + <row_background_color>none</row_background_color> | ||
| 333 | + </custom> | ||
| 334 | + <cluster_schema/> | ||
| 335 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 336 | + <xloc>644</xloc> | ||
| 337 | + <yloc>92</yloc> | ||
| 338 | + <draw>Y</draw> | ||
| 339 | + </GUI> | ||
| 340 | + </step> | ||
| 341 | + | ||
| 342 | + <step> | ||
| 343 | + <name>字段选择</name> | ||
| 344 | + <type>SelectValues</type> | ||
| 345 | + <description/> | ||
| 346 | + <distribute>Y</distribute> | ||
| 347 | + <custom_distribution/> | ||
| 348 | + <copies>1</copies> | ||
| 349 | + <partitioning> | ||
| 350 | + <method>none</method> | ||
| 351 | + <schema_name/> | ||
| 352 | + </partitioning> | ||
| 353 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 354 | + <meta> <name>xlmc</name> | ||
| 355 | + <rename>线路</rename> | ||
| 356 | + <type>None</type> | ||
| 357 | + <length>-2</length> | ||
| 358 | + <precision>-2</precision> | ||
| 359 | + <conversion_mask/> | ||
| 360 | + <date_format_lenient>false</date_format_lenient> | ||
| 361 | + <date_format_locale/> | ||
| 362 | + <date_format_timezone/> | ||
| 363 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 364 | + <encoding/> | ||
| 365 | + <decimal_symbol/> | ||
| 366 | + <grouping_symbol/> | ||
| 367 | + <currency_symbol/> | ||
| 368 | + <storage_type/> | ||
| 369 | + </meta> <meta> <name>lp_no</name> | ||
| 370 | + <rename>路牌编号</rename> | ||
| 371 | + <type>String</type> | ||
| 372 | + <length>-2</length> | ||
| 373 | + <precision>-2</precision> | ||
| 374 | + <conversion_mask>#</conversion_mask> | ||
| 375 | + <date_format_lenient>false</date_format_lenient> | ||
| 376 | + <date_format_locale/> | ||
| 377 | + <date_format_timezone/> | ||
| 378 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 379 | + <encoding/> | ||
| 380 | + <decimal_symbol/> | ||
| 381 | + <grouping_symbol/> | ||
| 382 | + <currency_symbol/> | ||
| 383 | + <storage_type/> | ||
| 384 | + </meta> <meta> <name>lp_name</name> | ||
| 385 | + <rename>路牌名称</rename> | ||
| 386 | + <type>None</type> | ||
| 387 | + <length>-2</length> | ||
| 388 | + <precision>-2</precision> | ||
| 389 | + <conversion_mask/> | ||
| 390 | + <date_format_lenient>false</date_format_lenient> | ||
| 391 | + <date_format_locale/> | ||
| 392 | + <date_format_timezone/> | ||
| 393 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 394 | + <encoding/> | ||
| 395 | + <decimal_symbol/> | ||
| 396 | + <grouping_symbol/> | ||
| 397 | + <currency_symbol/> | ||
| 398 | + <storage_type/> | ||
| 399 | + </meta> <meta> <name>lp_type</name> | ||
| 400 | + <rename>路牌类型</rename> | ||
| 401 | + <type>None</type> | ||
| 402 | + <length>-2</length> | ||
| 403 | + <precision>-2</precision> | ||
| 404 | + <conversion_mask/> | ||
| 405 | + <date_format_lenient>false</date_format_lenient> | ||
| 406 | + <date_format_locale/> | ||
| 407 | + <date_format_timezone/> | ||
| 408 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 409 | + <encoding/> | ||
| 410 | + <decimal_symbol/> | ||
| 411 | + <grouping_symbol/> | ||
| 412 | + <currency_symbol/> | ||
| 413 | + <storage_type/> | ||
| 414 | + </meta> </fields> <cluster_schema/> | ||
| 415 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 416 | + <xloc>507</xloc> | ||
| 417 | + <yloc>91</yloc> | ||
| 418 | + <draw>Y</draw> | ||
| 419 | + </GUI> | ||
| 420 | + </step> | ||
| 421 | + | ||
| 422 | + <step> | ||
| 423 | + <name>排序记录</name> | ||
| 424 | + <type>SortRows</type> | ||
| 425 | + <description/> | ||
| 426 | + <distribute>Y</distribute> | ||
| 427 | + <custom_distribution/> | ||
| 428 | + <copies>1</copies> | ||
| 429 | + <partitioning> | ||
| 430 | + <method>none</method> | ||
| 431 | + <schema_name/> | ||
| 432 | + </partitioning> | ||
| 433 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 434 | + <prefix>out</prefix> | ||
| 435 | + <sort_size>1000000</sort_size> | ||
| 436 | + <free_memory/> | ||
| 437 | + <compress>N</compress> | ||
| 438 | + <compress_variable/> | ||
| 439 | + <unique_rows>N</unique_rows> | ||
| 440 | + <fields> | ||
| 441 | + <field> | ||
| 442 | + <name>xl</name> | ||
| 443 | + <ascending>Y</ascending> | ||
| 444 | + <case_sensitive>N</case_sensitive> | ||
| 445 | + <presorted>N</presorted> | ||
| 446 | + </field> | ||
| 447 | + <field> | ||
| 448 | + <name>lp_no</name> | ||
| 449 | + <ascending>Y</ascending> | ||
| 450 | + <case_sensitive>N</case_sensitive> | ||
| 451 | + <presorted>N</presorted> | ||
| 452 | + </field> | ||
| 453 | + <field> | ||
| 454 | + <name>is_cancel</name> | ||
| 455 | + <ascending>N</ascending> | ||
| 456 | + <case_sensitive>N</case_sensitive> | ||
| 457 | + <presorted>N</presorted> | ||
| 458 | + </field> | ||
| 459 | + </fields> | ||
| 460 | + <cluster_schema/> | ||
| 461 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 462 | + <xloc>384</xloc> | ||
| 463 | + <yloc>91</yloc> | ||
| 464 | + <draw>Y</draw> | ||
| 465 | + </GUI> | ||
| 466 | + </step> | ||
| 467 | + | ||
| 468 | + <step> | ||
| 469 | + <name>线路查询</name> | ||
| 470 | + <type>DBLookup</type> | ||
| 471 | + <description/> | ||
| 472 | + <distribute>Y</distribute> | ||
| 473 | + <custom_distribution/> | ||
| 474 | + <copies>1</copies> | ||
| 475 | + <partitioning> | ||
| 476 | + <method>none</method> | ||
| 477 | + <schema_name/> | ||
| 478 | + </partitioning> | ||
| 479 | + <connection>bus_control_variable</connection> | ||
| 480 | + <cache>Y</cache> | ||
| 481 | + <cache_load_all>Y</cache_load_all> | ||
| 482 | + <cache_size>0</cache_size> | ||
| 483 | + <lookup> | ||
| 484 | + <schema/> | ||
| 485 | + <table>bsth_c_line</table> | ||
| 486 | + <orderby/> | ||
| 487 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 488 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 489 | + <key> | ||
| 490 | + <name>xl</name> | ||
| 491 | + <field>id</field> | ||
| 492 | + <condition>=</condition> | ||
| 493 | + <name2/> | ||
| 494 | + </key> | ||
| 495 | + <value> | ||
| 496 | + <name>name</name> | ||
| 497 | + <rename>xlmc</rename> | ||
| 498 | + <default/> | ||
| 499 | + <type>String</type> | ||
| 500 | + </value> | ||
| 501 | + </lookup> | ||
| 502 | + <cluster_schema/> | ||
| 503 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 504 | + <xloc>262</xloc> | ||
| 505 | + <yloc>92</yloc> | ||
| 506 | + <draw>Y</draw> | ||
| 507 | + </GUI> | ||
| 508 | + </step> | ||
| 509 | + | ||
| 510 | + <step> | ||
| 511 | + <name>路牌数据(没有作废)</name> | ||
| 512 | + <type>TableInput</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 | + <sql>select * from bsth_c_s_gbi
where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 523 | + <limit>0</limit> | ||
| 524 | + <lookup/> | ||
| 525 | + <execute_each_row>N</execute_each_row> | ||
| 526 | + <variables_active>Y</variables_active> | ||
| 527 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 528 | + <cluster_schema/> | ||
| 529 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 530 | + <xloc>134</xloc> | ||
| 531 | + <yloc>92</yloc> | ||
| 532 | + <draw>Y</draw> | ||
| 533 | + </GUI> | ||
| 534 | + </step> | ||
| 535 | + | ||
| 536 | + <step_error_handling> | ||
| 537 | + </step_error_handling> | ||
| 538 | + <slave-step-copy-partition-distribution> | ||
| 539 | +</slave-step-copy-partition-distribution> | ||
| 540 | + <slave_transformation>N</slave_transformation> | ||
| 541 | + | ||
| 542 | +</transformation> |