Commit 93dd3f059e4e1bf7627c5525b46ff869cedb3368
Merge branch 'minhang' of http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
Showing
17 changed files
with
1977 additions
and
1790 deletions
Too many changes to show.
To preserve performance only 17 of 31 files are displayed.
src/main/java/com/bsth/controller/DownloadController.java
| ... | ... | @@ -100,4 +100,29 @@ public class DownloadController |
| 100 | 100 | os.close(); |
| 101 | 101 | file.delete(); |
| 102 | 102 | } |
| 103 | + | |
| 104 | + | |
| 105 | + @RequestMapping("downloadModel") | |
| 106 | + public void downloadModel(HttpServletResponse response,String fileName) | |
| 107 | + throws IOException { | |
| 108 | +// String fileNames=URLDecoder.decode(fileName,"UTF-8"); | |
| 109 | + fileName =fileName + ".xls"; | |
| 110 | + String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileName; | |
| 111 | + File file = new File(moudelPath);// path是根据日志路径和文件名拼接出来的 | |
| 112 | +// String filename = file.getName();// 获取日志文件名称 | |
| 113 | + InputStream fis = new BufferedInputStream(new FileInputStream(moudelPath)); | |
| 114 | + byte[] buffer = new byte[fis.available()]; | |
| 115 | + fis.read(buffer); | |
| 116 | + fis.close(); | |
| 117 | + response.reset(); | |
| 118 | + response.addHeader("Content-Disposition", "attachment;filename=" + new String(fileName.replaceAll(" ", "").getBytes("utf-8"),"iso8859-1")); | |
| 119 | + response.addHeader("Content-Length", "" + file.length()); | |
| 120 | + OutputStream os = new BufferedOutputStream(response.getOutputStream()); | |
| 121 | + response.setContentType("application/octet-stream"); | |
| 122 | + os.write(buffer);// 输出文件 | |
| 123 | + os.flush(); | |
| 124 | + os.close(); | |
| 125 | + } | |
| 126 | + | |
| 127 | + | |
| 103 | 128 | } | ... | ... |
src/main/java/com/bsth/controller/oil/DlbController.java
| 1 | 1 | package com.bsth.controller.oil; |
| 2 | 2 | |
| 3 | +import java.text.SimpleDateFormat; | |
| 4 | +import java.util.ArrayList; | |
| 3 | 5 | import java.util.HashMap; |
| 6 | +import java.util.Iterator; | |
| 4 | 7 | import java.util.List; |
| 5 | 8 | import java.util.Map; |
| 6 | 9 | |
| ... | ... | @@ -17,6 +20,7 @@ import com.bsth.controller.BaseController; |
| 17 | 20 | import com.bsth.entity.oil.Dlb; |
| 18 | 21 | import com.bsth.entity.oil.Ylb; |
| 19 | 22 | import com.bsth.service.oil.DlbService; |
| 23 | +import com.bsth.util.ReportUtils; | |
| 20 | 24 | import com.google.common.base.Splitter; |
| 21 | 25 | |
| 22 | 26 | @RestController |
| ... | ... | @@ -124,4 +128,57 @@ public class DlbController extends BaseController<Dlb, Integer>{ |
| 124 | 128 | } |
| 125 | 129 | return list; |
| 126 | 130 | } |
| 131 | + | |
| 132 | + | |
| 133 | + @RequestMapping(value = "/listExport",method = RequestMethod.POST) | |
| 134 | + public List<Map<String, Object>> listExport(@RequestParam Map<String, Object> map){ | |
| 135 | + SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | |
| 136 | + sdfSimple = new SimpleDateFormat("yyyyMMdd"); | |
| 137 | + List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | |
| 138 | + ReportUtils ee = new ReportUtils(); | |
| 139 | + List<Dlb> dlb= service.listDlb(map); | |
| 140 | +// (new CustomerSpecs<Ylb>(map)).iterator(); | |
| 141 | + List<Map<String, Object>> resList = new ArrayList<Map<String, Object>>(); | |
| 142 | + for (Dlb y : dlb) { | |
| 143 | + Map<String, Object> m = new HashMap<String, Object>(); | |
| 144 | + m.put("rq", y.getRq()); | |
| 145 | + m.put("gsname",y.getGsname() ); | |
| 146 | + m.put("xlname", y.getXlname()); | |
| 147 | + m.put("nbbm", y.getNbbm()); | |
| 148 | + m.put("jsy", y.getJsy()); | |
| 149 | + m.put("cdl", y.getCdl()); | |
| 150 | + m.put("czcd", y.getCzcd()+"%"); | |
| 151 | + m.put("jzcd", y.getJzcd()+"%"); | |
| 152 | + m.put("hd", y.getHd()); | |
| 153 | + String shyy ="无"; | |
| 154 | + if(y.getShyy()!=null){ | |
| 155 | + if(shyy.equals("1")){shyy="票务用油";} | |
| 156 | + else if(shyy.equals("2")){shyy="保养用油";} | |
| 157 | + else if(shyy.equals("3")){shyy="报废车用油";} | |
| 158 | + else if(shyy.equals("4")){shyy="其它用油";} | |
| 159 | + else if(shyy.equals("5")){shyy="人保部";} | |
| 160 | + else if(shyy.equals("6")){shyy="车队";} | |
| 161 | + else if(shyy.equals("7")){shyy="车间(高保)";} | |
| 162 | + else if(shyy.equals("8")){shyy="车间(小修)";} | |
| 163 | + else{shyy ="无";} | |
| 164 | + } | |
| 165 | + m.put("shyy", shyy); | |
| 166 | + m.put("sh", y.getSh()); | |
| 167 | + m.put("zlc", y.getZlc()); | |
| 168 | + m.put("bglyh", y.getBglyh()); | |
| 169 | + resList.add(m); | |
| 170 | + } | |
| 171 | + try { | |
| 172 | + listI.add(resList.iterator()); | |
| 173 | + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/"; | |
| 174 | + ee.excelReplace(listI, new Object[] { map }, path+"mould/listDl.xls", | |
| 175 | + path+"export/"+map.get("rq").toString()+ "进出场存电量.xls"); | |
| 176 | + } catch (Exception e) { | |
| 177 | + e.printStackTrace(); | |
| 178 | + } | |
| 179 | + | |
| 180 | + return resList; | |
| 181 | + | |
| 182 | + } | |
| 183 | + | |
| 127 | 184 | } | ... | ... |
src/main/java/com/bsth/repository/oil/DlbRepository.java
| ... | ... | @@ -22,8 +22,9 @@ public interface DlbRepository extends BaseRepository<Dlb, Integer>{ |
| 22 | 22 | @Modifying |
| 23 | 23 | @Query(value="SELECT a.* FROM bsth_c_dlb a where to_days(?1)-to_days(a.rq)=1" |
| 24 | 24 | + " and jcsx=(select max(b.jcsx) from bsth_c_dlb b where a.nbbm=b.nbbm and " |
| 25 | - + " to_days(?1)-to_days(b.rq)=1 )",nativeQuery=true) | |
| 26 | - List<Dlb> obtainYlbefore(String rq); | |
| 25 | + + " to_days(?1)-to_days(b.rq)=1 ) and ssgsdm like %?2% and fgsdm like %?3% and " | |
| 26 | + + " xlbm like %?4% and nbbm like %?5%",nativeQuery=true) | |
| 27 | + List<Dlb> obtainYlbefore(String rq,String gsdm,String fgsdm,String xlbm,String nbbm); | |
| 27 | 28 | /** |
| 28 | 29 | * 当天DLB信息 |
| 29 | 30 | * @param rq |
| ... | ... | @@ -31,8 +32,10 @@ public interface DlbRepository extends BaseRepository<Dlb, Integer>{ |
| 31 | 32 | */ |
| 32 | 33 | @Transactional |
| 33 | 34 | @Modifying |
| 34 | - @Query(value="SELECT * FROM bsth_c_dlb where to_days(?)=to_days(rq)",nativeQuery=true) | |
| 35 | - List<Dlb> obtainDl(String rq); | |
| 35 | + @Query(value="SELECT * FROM bsth_c_dlb where to_days(?1)=to_days(rq) and ssgsdm like %?2% " | |
| 36 | + + " and fgsdm like %?3%" | |
| 37 | + + " and xlbm like %?4% and nbbm like %?5% order by ?6 asc",nativeQuery=true) | |
| 38 | + List<Dlb> obtainDl(String rq,String gsbm,String fgsdm,String xlbm,String nbbm,String px); | |
| 36 | 39 | |
| 37 | 40 | @Query(value="select s from Dlb s " |
| 38 | 41 | + " where to_days(?1)=to_days(s.rq) " | ... | ... |
src/main/java/com/bsth/service/oil/impl/DlbServiceImpl.java
| ... | ... | @@ -26,7 +26,9 @@ import org.springframework.stereotype.Service; |
| 26 | 26 | import com.alibaba.fastjson.JSONArray; |
| 27 | 27 | import com.alibaba.fastjson.JSONObject; |
| 28 | 28 | import com.bsth.common.ResponseCode; |
| 29 | +import com.bsth.data.BasicData; | |
| 29 | 30 | import com.bsth.entity.Cars; |
| 31 | +import com.bsth.entity.Line; | |
| 30 | 32 | import com.bsth.entity.oil.Cdl; |
| 31 | 33 | import com.bsth.entity.oil.Cyl; |
| 32 | 34 | import com.bsth.entity.oil.Dlb; |
| ... | ... | @@ -97,13 +99,13 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS |
| 97 | 99 | // TODO Auto-generated method stub |
| 98 | 100 | Map<String, Object> newMap=new HashMap<String,Object>(); |
| 99 | 101 | //当天DLB信息 |
| 100 | - List<Dlb> dlList=repository.obtainDl(rq); | |
| 102 | + List<Dlb> dlList=repository.obtainDl(rq, gsbm, "", line, "", "nbbm"); | |
| 101 | 103 | //当天YLXXB信息 |
| 102 | 104 | List<Ylxxb> ylxxList=ylxxbRepository.obtainYlxx(rq,1,gsbm); |
| 103 | 105 | //当天加电信息表 |
| 104 | 106 | List<Jdl> jdlList=jdlRepository.JdlList(rq); |
| 105 | 107 | //前一天所有车辆最后进场班次信息 |
| 106 | - List<Dlb> dlListBe=repository.obtainYlbefore(rq); | |
| 108 | + List<Dlb> dlListBe=repository.obtainYlbefore(rq, "", "", "", ""); | |
| 107 | 109 | List<Cdl> cdyList=cdlRepository.obtainCdl(); |
| 108 | 110 | //从排班表中计算出行驶的总里程 |
| 109 | 111 | List<Map<String,Object>> listpb=scheduleRealInfoService.yesterdayDataList(line,rq,"","","",""); |
| ... | ... | @@ -258,25 +260,48 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS |
| 258 | 260 | @Override |
| 259 | 261 | public Map<String, Object> checkDl(Map<String, Object> map) { |
| 260 | 262 | Map<String, Object> newMap=new HashMap<String,Object>(); |
| 261 | - String xlbm=map.get("xlbm_eq").toString(); | |
| 262 | - String gsbm=""; | |
| 263 | - if(map.get("ssgsdm_like")!=null){ | |
| 264 | - gsbm=map.get("ssgsdm_like").toString(); | |
| 265 | - } | |
| 263 | +// String xlbm=""; | |
| 264 | +// if(map.get("xlbm_like")!=null){ | |
| 265 | +// xlbm=map.get("xlbm_like").toString(); | |
| 266 | +// } | |
| 266 | 267 | // TODO Auto-generated method stub |
| 268 | + | |
| 269 | + List<Cars> carsList = carsRepository.findCars(); | |
| 270 | + Map<String, String> carsMap = new HashMap<String, String>(); | |
| 271 | + for (int i = 0; i < carsList.size(); i++) { | |
| 272 | + Cars c = carsList.get(i); | |
| 273 | + carsMap.put(c.getInsideCode(), c.getBrancheCompanyCode()==null?"":c.getBrancheCompanyCode()); | |
| 274 | + } | |
| 275 | + | |
| 267 | 276 | try{ |
| 268 | 277 | //获取车辆存油信息 |
| 269 | -// List<Cyl> cylList=cylRepository.findAll(new CustomerSpecs<Cyl>(newMap)); | |
| 278 | + | |
| 270 | 279 | String rq=map.get("rq").toString(); |
| 271 | - List<Dlb> dlbList=repository.obtainDl(rq); | |
| 272 | - List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,1,gsbm); | |
| 273 | - //当天加电信息表 | |
| 274 | - List<Jdl> jdlList=jdlRepository.JdlList(rq); | |
| 280 | + String xlbm=""; | |
| 281 | + if(map.get("xlbm_like")!=null){ | |
| 282 | + xlbm= map.get("xlbm_like").toString().trim(); | |
| 283 | + } | |
| 284 | + String gsbm=""; | |
| 285 | + if(map.get("ssgsdm_like")!=null){ | |
| 286 | + gsbm=map.get("ssgsdm_like").toString(); | |
| 287 | + } | |
| 288 | + String fgsbm=""; | |
| 289 | + if(map.get("fgsdm_like")!=null){ | |
| 290 | + fgsbm=map.get("fgsdm_like").toString(); | |
| 291 | + } | |
| 292 | + String nbbm=""; | |
| 293 | + if(map.get("nbbm_eq")!=null){ | |
| 294 | + nbbm=map.get("nbbm_eq").toString(); | |
| 295 | + } | |
| 296 | + List<Dlb> ylListBe=repository.obtainYlbefore(rq, gsbm, "", xlbm, nbbm); | |
| 297 | +// List<Cdl> cylList=cdlRepository.obtainCdl(nbbm, gsbm); | |
| 298 | + List<Dlb> ylbList=repository.obtainDl(rq,gsbm,fgsbm,xlbm,nbbm,"nbbm"); | |
| 299 | + List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,0,gsbm); | |
| 275 | 300 | for (int i = 0; i < ylxxbList.size(); i++) { |
| 276 | 301 | Boolean fage=true; |
| 277 | 302 | Ylxxb y1=ylxxbList.get(i); |
| 278 | - for(int y=0;y<dlbList.size();y++){ | |
| 279 | - Dlb y2=dlbList.get(y); | |
| 303 | + for(int y=0;y<ylbList.size();y++){ | |
| 304 | + Dlb y2=ylbList.get(y); | |
| 280 | 305 | if(y1.getNbbm().equals(y2.getNbbm())){ |
| 281 | 306 | fage=false; |
| 282 | 307 | break; |
| ... | ... | @@ -290,37 +315,55 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS |
| 290 | 315 | t.setJsy(y1.getJsy()); |
| 291 | 316 | t.setCdl(y1.getJzl()); |
| 292 | 317 | t.setSsgsdm(y1.getGsdm()); |
| 293 | - t.setXlbm(xlbm); | |
| 294 | - repository.save(t); | |
| 295 | - } | |
| 296 | - } | |
| 297 | - | |
| 298 | - for (int i = 0; i < jdlList.size(); i++) { | |
| 299 | - Boolean fage=true; | |
| 300 | - Jdl y1=jdlList.get(i); | |
| 301 | - for(int y=0;y<dlbList.size();y++){ | |
| 302 | - Dlb y2=dlbList.get(y); | |
| 303 | - if(y1.getNbbm().equals(y2.getNbbm())){ | |
| 304 | - fage=false; | |
| 305 | - break; | |
| 318 | + String fgsdm=""; | |
| 319 | + if(null!=carsMap.get(y1.getNbbm())){ | |
| 320 | + fgsdm=carsMap.get(y1.getNbbm()); | |
| 321 | + } | |
| 322 | + t.setFgsdm(fgsdm); | |
| 323 | + t.setJcsx(1); | |
| 324 | + Line line= BasicData.nbbm2LineMap.get(y1.getNbbm()); | |
| 325 | + if(null !=line){ | |
| 326 | + t.setXlbm(line.getLineCode()); | |
| 327 | + }else{ | |
| 328 | + t.setXlbm(""); | |
| 329 | + } | |
| 330 | + t.setJcsx(1); | |
| 331 | + boolean status=true; | |
| 332 | + for (int j = 0; j < ylListBe.size(); j++) { | |
| 333 | + Dlb b=ylListBe.get(j); | |
| 334 | + if(b.getNbbm().equals(y1.getNbbm())){ | |
| 335 | + t.setCzcd(b.getJzcd()); | |
| 336 | + status=false; | |
| 337 | + break; | |
| 338 | + } | |
| 339 | + } | |
| 340 | + /*if(status){ | |
| 341 | + for (int j = 0; j < cylList.size(); j++) { | |
| 342 | + Cyl c=cylList.get(j); | |
| 343 | + if(c.getNbbm().equals(y1.getNbbm())){ | |
| 344 | + t.setCzyl(c.getCyl()); | |
| 345 | + cyl=c; | |
| 346 | + status=false; | |
| 347 | + break; | |
| 348 | + } | |
| 349 | + } | |
| 350 | + }*/ | |
| 351 | + if(status){ | |
| 352 | + t.setCzcd(0.0); | |
| 353 | + } | |
| 354 | +// double jzyl=Arith.add(t.getJzl(), t.getCzyl()); | |
| 355 | + t.setJzcd(100.0); | |
| 356 | + t.setHd(0.0); | |
| 357 | + if(fgsdm.equals(fgsbm)){ | |
| 358 | + repository.save(t); | |
| 306 | 359 | } |
| 307 | - } | |
| 308 | - | |
| 309 | - if(fage){ | |
| 310 | - Dlb t=new Dlb(); | |
| 311 | - t.setNbbm(y1.getNbbm()); | |
| 312 | - t.setRq(y1.getRq()); | |
| 313 | -// t.setJsy(y1.getJsy()); | |
| 314 | - t.setCdl(y1.getJdl()); | |
| 315 | - t.setSsgsdm(y1.getGsBm()); | |
| 316 | - t.setXlbm(xlbm); | |
| 317 | - repository.save(t); | |
| 318 | 360 | } |
| 319 | 361 | } |
| 320 | 362 | newMap.put("status", ResponseCode.SUCCESS); |
| 321 | 363 | }catch(Exception e){ |
| 322 | 364 | newMap.put("status", ResponseCode.ERROR); |
| 323 | 365 | logger.error("save erro.", e); |
| 366 | + throw e; | |
| 324 | 367 | } |
| 325 | 368 | |
| 326 | 369 | return newMap; | ... | ... |
src/main/java/com/bsth/service/oil/impl/YlbServiceImpl.java
| ... | ... | @@ -701,7 +701,10 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS |
| 701 | 701 | t.setJsy(y1.getJsy()); |
| 702 | 702 | t.setJzl(y1.getJzl()); |
| 703 | 703 | t.setSsgsdm(y1.getGsdm()); |
| 704 | - String fgsdm=carsMap.get(y1.getNbbm()); | |
| 704 | + String fgsdm=""; | |
| 705 | + if(null !=carsMap.get(y1.getNbbm())){ | |
| 706 | + fgsdm=carsMap.get(y1.getNbbm()); | |
| 707 | + } | |
| 705 | 708 | t.setFgsdm(fgsdm); |
| 706 | 709 | t.setJcsx(1); |
| 707 | 710 | Line line= BasicData.nbbm2LineMap.get(y1.getNbbm()); |
| ... | ... | @@ -737,7 +740,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS |
| 737 | 740 | // double jzyl=Arith.add(t.getJzl(), t.getCzyl()); |
| 738 | 741 | t.setJzyl(Arith.add(t.getJzl(), t.getCzyl())); |
| 739 | 742 | t.setYh(0.0); |
| 740 | - if(fgsdm.equals("fgsbm")){ | |
| 743 | + if(fgsdm.equals(fgsbm)){ | |
| 741 | 744 | repository.save(t); |
| 742 | 745 | if(null!=cyl){ |
| 743 | 746 | cyl.setCyl(Arith.add(t.getJzl(), t.getCzyl())); | ... | ... |
src/main/java/com/bsth/service/schedule/impl/CarConfigInfoServiceImpl.java
| ... | ... | @@ -50,6 +50,8 @@ public class CarConfigInfoServiceImpl extends BServiceImpl<CarConfigInfo, Long> |
| 50 | 50 | ktrParms.put("filepath", file.getAbsolutePath()); |
| 51 | 51 | ktrParms.put("erroroutputdir", dataToolsProperties.getTransErrordir()); |
| 52 | 52 | |
| 53 | + ktrParms.putAll(params); | |
| 54 | + | |
| 53 | 55 | super.importData(file, ktrParms); |
| 54 | 56 | |
| 55 | 57 | LOGGER.info("//---------------- 导入车辆配置信息 success... ----------------//"); |
| ... | ... | @@ -77,6 +79,8 @@ public class CarConfigInfoServiceImpl extends BServiceImpl<CarConfigInfo, Long> |
| 77 | 79 | ktrParms.put("transpath", ktrFile.getAbsolutePath()); |
| 78 | 80 | ktrParms.put("filename", "车辆配置信息_download-"); |
| 79 | 81 | |
| 82 | + ktrParms.putAll(params); | |
| 83 | + | |
| 80 | 84 | File file = super.exportData(ktrParms); |
| 81 | 85 | |
| 82 | 86 | LOGGER.info("//---------------- 导出车辆配置信息 success... ----------------//"); | ... | ... |
src/main/java/com/bsth/service/schedule/impl/EmployeeConfigInfoServiceImpl.java
| ... | ... | @@ -48,6 +48,8 @@ public class EmployeeConfigInfoServiceImpl extends BServiceImpl<EmployeeConfigIn |
| 48 | 48 | ktrParms.put("filepath", file.getAbsolutePath()); |
| 49 | 49 | ktrParms.put("erroroutputdir", dataToolsProperties.getTransErrordir()); |
| 50 | 50 | |
| 51 | + ktrParms.putAll(params); | |
| 52 | + | |
| 51 | 53 | super.importData(file, ktrParms); |
| 52 | 54 | |
| 53 | 55 | LOGGER.info("//---------------- 导入人员配置信息 success... ----------------//"); |
| ... | ... | @@ -75,6 +77,8 @@ public class EmployeeConfigInfoServiceImpl extends BServiceImpl<EmployeeConfigIn |
| 75 | 77 | ktrParms.put("transpath", ktrFile.getAbsolutePath()); |
| 76 | 78 | ktrParms.put("filename", "人员配置信息_download-"); |
| 77 | 79 | |
| 80 | + ktrParms.putAll(params); | |
| 81 | + | |
| 78 | 82 | File file = super.exportData(ktrParms); |
| 79 | 83 | |
| 80 | 84 | LOGGER.info("//---------------- 导出人员配置信息 success... ----------------//"); | ... | ... |
src/main/java/com/bsth/service/schedule/impl/GuideboardInfoServiceImpl.java
| ... | ... | @@ -122,6 +122,8 @@ public class GuideboardInfoServiceImpl extends BServiceImpl<GuideboardInfo, Long |
| 122 | 122 | ktrParms.put("filepath", file.getAbsolutePath()); |
| 123 | 123 | ktrParms.put("erroroutputdir", dataToolsProperties.getTransErrordir()); |
| 124 | 124 | |
| 125 | + ktrParms.putAll(params); | |
| 126 | + | |
| 125 | 127 | super.importData(file, ktrParms); |
| 126 | 128 | |
| 127 | 129 | LOGGER.info("//---------------- 导入路牌信息 success... ----------------//"); |
| ... | ... | @@ -149,6 +151,8 @@ public class GuideboardInfoServiceImpl extends BServiceImpl<GuideboardInfo, Long |
| 149 | 151 | ktrParms.put("transpath", ktrFile.getAbsolutePath()); |
| 150 | 152 | ktrParms.put("filename", "路牌信息_download-"); |
| 151 | 153 | |
| 154 | + ktrParms.putAll(params); | |
| 155 | + | |
| 152 | 156 | File file = super.exportData(ktrParms); |
| 153 | 157 | |
| 154 | 158 | LOGGER.info("//---------------- 导出路牌信息 success... ----------------//"); | ... | ... |
src/main/java/com/bsth/service/schedule/impl/ScheduleRule1FlatServiceImpl.java
| ... | ... | @@ -42,6 +42,8 @@ public class ScheduleRule1FlatServiceImpl extends BServiceImpl<ScheduleRule1Flat |
| 42 | 42 | ktrParms.put("filepath", file.getAbsolutePath()); |
| 43 | 43 | ktrParms.put("erroroutputdir", dataToolsProperties.getTransErrordir()); |
| 44 | 44 | |
| 45 | + ktrParms.putAll(params); | |
| 46 | + | |
| 45 | 47 | super.importData(file, ktrParms); |
| 46 | 48 | |
| 47 | 49 | LOGGER.info("//---------------- 导入排版规则信息 success... ----------------//"); |
| ... | ... | @@ -69,6 +71,8 @@ public class ScheduleRule1FlatServiceImpl extends BServiceImpl<ScheduleRule1Flat |
| 69 | 71 | ktrParms.put("transpath", ktrFile.getAbsolutePath()); |
| 70 | 72 | ktrParms.put("filename", "排版规则信息_download-"); |
| 71 | 73 | |
| 74 | + ktrParms.putAll(params); | |
| 75 | + | |
| 72 | 76 | File file = super.exportData(ktrParms); |
| 73 | 77 | |
| 74 | 78 | LOGGER.info("//---------------- 导出排版规则信息 success... ----------------//"); | ... | ... |
src/main/java/com/bsth/service/schedule/impl/TTInfoDetailServiceImpl.java
| ... | ... | @@ -281,7 +281,8 @@ public class TTInfoDetailServiceImpl extends BServiceImpl<TTInfoDetail, Long> im |
| 281 | 281 | Sheet sheet = book.getSheet(0); |
| 282 | 282 | |
| 283 | 283 | // 2-2、处理数据 |
| 284 | - int all_bc = 0; // 总班次 | |
| 284 | + int all_bc_ks = 0; // 总空驶班次 | |
| 285 | + int all_bc_yy = 0; // 总营运班次 | |
| 285 | 286 | double all_lc_ks = 0; // 总空驶里程 |
| 286 | 287 | double all_lc_yy = 0; // 总营运里程 |
| 287 | 288 | |
| ... | ... | @@ -330,14 +331,14 @@ public class TTInfoDetailServiceImpl extends BServiceImpl<TTInfoDetail, Long> im |
| 330 | 331 | bc_ks += 1; |
| 331 | 332 | lc_ks += Double.valueOf(jhlc); |
| 332 | 333 | |
| 333 | - all_bc += 1; | |
| 334 | + all_bc_ks += 1; | |
| 334 | 335 | all_lc_ks += Double.valueOf(jhlc); |
| 335 | 336 | |
| 336 | 337 | } else { |
| 337 | 338 | bc_yy += 1; |
| 338 | 339 | lc_yy += Double.valueOf(jhlc); |
| 339 | 340 | |
| 340 | - all_bc += 1; | |
| 341 | + all_bc_yy += 1; | |
| 341 | 342 | all_lc_yy += Double.valueOf(jhlc); |
| 342 | 343 | } |
| 343 | 344 | } |
| ... | ... | @@ -359,7 +360,7 @@ public class TTInfoDetailServiceImpl extends BServiceImpl<TTInfoDetail, Long> im |
| 359 | 360 | } |
| 360 | 361 | editInfo.getHeader().addAll(Arrays.asList(headarrays)); |
| 361 | 362 | |
| 362 | - editInfo.setYy_desc(String.format("班次=%d,空驶里程=%.2f,营运里程=%.2f", all_bc, all_lc_ks, all_lc_yy)); | |
| 363 | + editInfo.setYy_desc(String.format("空驶班次=%d,营运班次=%d,空驶里程=%.2f,营运里程=%.2f", all_bc_ks, all_bc_yy, all_lc_ks, all_lc_yy)); | |
| 363 | 364 | } |
| 364 | 365 | |
| 365 | 366 | LOGGER.info("//---------------- 时刻表编辑用数据输出 success... ----------------//"); | ... | ... |
src/main/java/com/bsth/service/schedule/utils/DataToolsProperties.java
| ... | ... | @@ -27,6 +27,9 @@ public class DataToolsProperties { |
| 27 | 27 | /** 临时输出文件目录 */ |
| 28 | 28 | @NotNull |
| 29 | 29 | private String transTempdir; |
| 30 | + /** 模版文件目录 */ | |
| 31 | + @NotNull | |
| 32 | + private String transTemplatedir; | |
| 30 | 33 | |
| 31 | 34 | /** kettle配置文件路径 */ |
| 32 | 35 | @NotNull |
| ... | ... | @@ -331,4 +334,12 @@ public class DataToolsProperties { |
| 331 | 334 | public void setTtinfodetailDatainputktr2(String ttinfodetailDatainputktr2) { |
| 332 | 335 | this.ttinfodetailDatainputktr2 = ttinfodetailDatainputktr2; |
| 333 | 336 | } |
| 337 | + | |
| 338 | + public String getTransTemplatedir() { | |
| 339 | + return transTemplatedir; | |
| 340 | + } | |
| 341 | + | |
| 342 | + public void setTransTemplatedir(String transTemplatedir) { | |
| 343 | + this.transTemplatedir = transTemplatedir; | |
| 344 | + } | |
| 334 | 345 | } | ... | ... |
src/main/java/com/bsth/service/schedule/utils/DataToolsServiceImpl.java
| ... | ... | @@ -53,6 +53,7 @@ public class DataToolsServiceImpl implements DataToolsService, InitializingBean |
| 53 | 53 | File file = new File(getClass().getResource(dataToolsProperties.getKettleProperties()).toURI()); |
| 54 | 54 | Properties kettleProperties = EnvUtil.readProperties(file.getAbsolutePath()); |
| 55 | 55 | EnvUtil.applyKettleProperties(kettleProperties); |
| 56 | +// System.getProperties().put("file.encoding", "Cp1252"); | |
| 56 | 57 | System.getProperties().put("Internal.Cluster.Size", "1"); |
| 57 | 58 | System.getProperties().put("Internal.Slave.Transformation.Number", "0"); |
| 58 | 59 | System.getProperties().put("Internal.Slave.Server.Name", "slave-trans-name"); |
| ... | ... | @@ -207,6 +208,9 @@ public class DataToolsServiceImpl implements DataToolsService, InitializingBean |
| 207 | 208 | new DateTime().toString("yyyyMMddHHmmss") + ".xls"; |
| 208 | 209 | params.put("filepath", filepath); |
| 209 | 210 | |
| 211 | + // ktr输出模版目录(可选) | |
| 212 | + params.put("templatepath", dataToolsProperties.getTransTemplatedir()); | |
| 213 | + | |
| 210 | 214 | // 2、使用kettle运行封装数据导入逻辑的ktr转换文件 |
| 211 | 215 | // 2.1、初始化kettle(组件初始化已经做了) |
| 212 | 216 | // 2.2、创建转换元数据,转换 | ... | ... |
src/main/resources/datatools/config-dev.properties
| ... | ... | @@ -19,6 +19,8 @@ datatools.fileupload_dir=/Users/xu/resource/project_code/runtime_temp/bsth_contr |
| 19 | 19 | datatools.trans_errordir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/erroroutput |
| 20 | 20 | # 临时输出文件目录 |
| 21 | 21 | datatools.trans_tempdir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/temp |
| 22 | +# 模版文件目录 | |
| 23 | +datatools.trans_templatedir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/template | |
| 22 | 24 | |
| 23 | 25 | ##---------------------------- 导入数据ktr ----------------------------## |
| 24 | 26 | # 车辆信息导入ktr转换 | ... | ... |
src/main/resources/datatools/config-prod.properties
| ... | ... | @@ -20,6 +20,8 @@ datatools.fileupload_dir=/home/bsth_control_u_d_files |
| 20 | 20 | datatools.trans_errordir=/home/bsth_control_u_d_files/erroroutput |
| 21 | 21 | # 临时输出文件目录 |
| 22 | 22 | datatools.trans_tempdir=/home/bsth_control_u_d_files/temp |
| 23 | +# 模版文件目录 | |
| 24 | +datatools.trans_templatedir=/home/bsth_control_u_d_files/template | |
| 23 | 25 | |
| 24 | 26 | ##---------------------------- 导入数据ktr ----------------------------## |
| 25 | 27 | # 车辆信息导入ktr转换 | ... | ... |
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 | - </parameters> | |
| 18 | - <log> | |
| 19 | -<trans-log-table><connection/> | |
| 20 | -<schema/> | |
| 21 | -<table/> | |
| 22 | -<size_limit_lines/> | |
| 23 | -<interval/> | |
| 24 | -<timeout_days/> | |
| 25 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | -<perf-log-table><connection/> | |
| 27 | -<schema/> | |
| 28 | -<table/> | |
| 29 | -<interval/> | |
| 30 | -<timeout_days/> | |
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | -<channel-log-table><connection/> | |
| 33 | -<schema/> | |
| 34 | -<table/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | -<step-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | -<metrics-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | - </log> | |
| 48 | - <maxdate> | |
| 49 | - <connection/> | |
| 50 | - <table/> | |
| 51 | - <field/> | |
| 52 | - <offset>0.0</offset> | |
| 53 | - <maxdiff>0.0</maxdiff> | |
| 54 | - </maxdate> | |
| 55 | - <size_rowset>10000</size_rowset> | |
| 56 | - <sleep_time_empty>50</sleep_time_empty> | |
| 57 | - <sleep_time_full>50</sleep_time_full> | |
| 58 | - <unique_connections>N</unique_connections> | |
| 59 | - <feedback_shown>Y</feedback_shown> | |
| 60 | - <feedback_size>50000</feedback_size> | |
| 61 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | - <shared_objects_file/> | |
| 63 | - <capture_step_performance>N</capture_step_performance> | |
| 64 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | - <dependencies> | |
| 67 | - </dependencies> | |
| 68 | - <partitionschemas> | |
| 69 | - </partitionschemas> | |
| 70 | - <slaveservers> | |
| 71 | - </slaveservers> | |
| 72 | - <clusterschemas> | |
| 73 | - </clusterschemas> | |
| 74 | - <created_user>-</created_user> | |
| 75 | - <created_date>2017/01/11 14:14:13.722</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2017/01/11 14:14:13.722</modified_date> | |
| 78 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - <notepad> | |
| 83 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | - <xloc>81</xloc> | |
| 85 | - <yloc>172</yloc> | |
| 86 | - <width>333</width> | |
| 87 | - <heigth>90</heigth> | |
| 88 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | - <fontsize>12</fontsize> | |
| 90 | - <fontbold>N</fontbold> | |
| 91 | - <fontitalic>N</fontitalic> | |
| 92 | - <fontcolorred>0</fontcolorred> | |
| 93 | - <fontcolorgreen>0</fontcolorgreen> | |
| 94 | - <fontcolorblue>0</fontcolorblue> | |
| 95 | - <backgroundcolorred>255</backgroundcolorred> | |
| 96 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | - <bordercolorred>100</bordercolorred> | |
| 99 | - <bordercolorgreen>100</bordercolorgreen> | |
| 100 | - <bordercolorblue>100</bordercolorblue> | |
| 101 | - <drawshadow>Y</drawshadow> | |
| 102 | - </notepad> | |
| 103 | - </notepads> | |
| 104 | - <connection> | |
| 105 | - <name>bus_control_variable</name> | |
| 106 | - <server>${v_db_ip}</server> | |
| 107 | - <type>MYSQL</type> | |
| 108 | - <access>Native</access> | |
| 109 | - <database>${v_db_dname}</database> | |
| 110 | - <port>3306</port> | |
| 111 | - <username>${v_db_uname}</username> | |
| 112 | - <password>${v_db_pwd}</password> | |
| 113 | - <servername/> | |
| 114 | - <data_tablespace/> | |
| 115 | - <index_tablespace/> | |
| 116 | - <attributes> | |
| 117 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | - </attributes> | |
| 131 | - </connection> | |
| 132 | - <connection> | |
| 133 | - <name>bus_control_公司_201</name> | |
| 134 | - <server>localhost</server> | |
| 135 | - <type>MYSQL</type> | |
| 136 | - <access>Native</access> | |
| 137 | - <database>control</database> | |
| 138 | - <port>3306</port> | |
| 139 | - <username>root</username> | |
| 140 | - <password>Encrypted </password> | |
| 141 | - <servername/> | |
| 142 | - <data_tablespace/> | |
| 143 | - <index_tablespace/> | |
| 144 | - <attributes> | |
| 145 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | - </attributes> | |
| 158 | - </connection> | |
| 159 | - <connection> | |
| 160 | - <name>bus_control_本机</name> | |
| 161 | - <server>localhost</server> | |
| 162 | - <type>MYSQL</type> | |
| 163 | - <access>Native</access> | |
| 164 | - <database>control</database> | |
| 165 | - <port>3306</port> | |
| 166 | - <username>root</username> | |
| 167 | - <password>Encrypted </password> | |
| 168 | - <servername/> | |
| 169 | - <data_tablespace/> | |
| 170 | - <index_tablespace/> | |
| 171 | - <attributes> | |
| 172 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | - </attributes> | |
| 185 | - </connection> | |
| 186 | - <connection> | |
| 187 | - <name>xlab_mysql_youle</name> | |
| 188 | - <server>101.231.124.8</server> | |
| 189 | - <type>MYSQL</type> | |
| 190 | - <access>Native</access> | |
| 191 | - <database>xlab_youle</database> | |
| 192 | - <port>45687</port> | |
| 193 | - <username>xlab-youle</username> | |
| 194 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | - <servername/> | |
| 196 | - <data_tablespace/> | |
| 197 | - <index_tablespace/> | |
| 198 | - <attributes> | |
| 199 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | - </attributes> | |
| 212 | - </connection> | |
| 213 | - <connection> | |
| 214 | - <name>xlab_mysql_youle(本机)</name> | |
| 215 | - <server>localhost</server> | |
| 216 | - <type>MYSQL</type> | |
| 217 | - <access>Native</access> | |
| 218 | - <database>xlab_youle</database> | |
| 219 | - <port>3306</port> | |
| 220 | - <username>root</username> | |
| 221 | - <password>Encrypted </password> | |
| 222 | - <servername/> | |
| 223 | - <data_tablespace/> | |
| 224 | - <index_tablespace/> | |
| 225 | - <attributes> | |
| 226 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | - </attributes> | |
| 239 | - </connection> | |
| 240 | - <connection> | |
| 241 | - <name>xlab_youle</name> | |
| 242 | - <server/> | |
| 243 | - <type>MYSQL</type> | |
| 244 | - <access>JNDI</access> | |
| 245 | - <database>xlab_youle</database> | |
| 246 | - <port>1521</port> | |
| 247 | - <username/> | |
| 248 | - <password>Encrypted </password> | |
| 249 | - <servername/> | |
| 250 | - <data_tablespace/> | |
| 251 | - <index_tablespace/> | |
| 252 | - <attributes> | |
| 253 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | - </attributes> | |
| 264 | - </connection> | |
| 265 | - <order> | |
| 266 | - <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | - <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | |
| 268 | - <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | |
| 269 | - <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 270 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 271 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | - </order> | |
| 273 | - <step> | |
| 274 | - <name>Excel输出</name> | |
| 275 | - <type>ExcelOutput</type> | |
| 276 | - <description/> | |
| 277 | - <distribute>Y</distribute> | |
| 278 | - <custom_distribution/> | |
| 279 | - <copies>1</copies> | |
| 280 | - <partitioning> | |
| 281 | - <method>none</method> | |
| 282 | - <schema_name/> | |
| 283 | - </partitioning> | |
| 284 | - <header>Y</header> | |
| 285 | - <footer>N</footer> | |
| 286 | - <encoding/> | |
| 287 | - <append>N</append> | |
| 288 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 289 | - <file> | |
| 290 | - <name>${filepath}</name> | |
| 291 | - <extention/> | |
| 292 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 293 | - <create_parent_folder>N</create_parent_folder> | |
| 294 | - <split>N</split> | |
| 295 | - <add_date>N</add_date> | |
| 296 | - <add_time>N</add_time> | |
| 297 | - <SpecifyFormat>N</SpecifyFormat> | |
| 298 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 299 | - <sheetname>工作表1</sheetname> | |
| 300 | - <autosizecolums>N</autosizecolums> | |
| 301 | - <nullisblank>N</nullisblank> | |
| 302 | - <protect_sheet>N</protect_sheet> | |
| 303 | - <password>Encrypted </password> | |
| 304 | - <splitevery>0</splitevery> | |
| 305 | - <usetempfiles>N</usetempfiles> | |
| 306 | - <tempdirectory/> | |
| 307 | - </file> | |
| 308 | - <template> | |
| 309 | - <enabled>N</enabled> | |
| 310 | - <append>N</append> | |
| 311 | - <filename>template.xls</filename> | |
| 312 | - </template> | |
| 313 | - <fields> | |
| 314 | - <field> | |
| 315 | - <name>线路</name> | |
| 316 | - <type>String</type> | |
| 317 | - <format/> | |
| 318 | - </field> | |
| 319 | - <field> | |
| 320 | - <name>内部编码</name> | |
| 321 | - <type>String</type> | |
| 322 | - <format/> | |
| 323 | - </field> | |
| 324 | - <field> | |
| 325 | - <name>启用日期</name> | |
| 326 | - <type>String</type> | |
| 327 | - <format/> | |
| 328 | - </field> | |
| 329 | - <field> | |
| 330 | - <name>终结日期</name> | |
| 331 | - <type>String</type> | |
| 332 | - <format/> | |
| 333 | - </field> | |
| 334 | - <field> | |
| 335 | - <name>停车点</name> | |
| 336 | - <type>String</type> | |
| 337 | - <format/> | |
| 338 | - </field> | |
| 339 | - </fields> | |
| 340 | - <custom> | |
| 341 | - <header_font_name>arial</header_font_name> | |
| 342 | - <header_font_size>10</header_font_size> | |
| 343 | - <header_font_bold>N</header_font_bold> | |
| 344 | - <header_font_italic>N</header_font_italic> | |
| 345 | - <header_font_underline>no</header_font_underline> | |
| 346 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 347 | - <header_font_color>black</header_font_color> | |
| 348 | - <header_background_color>none</header_background_color> | |
| 349 | - <header_row_height>255</header_row_height> | |
| 350 | - <header_alignment>left</header_alignment> | |
| 351 | - <header_image/> | |
| 352 | - <row_font_name>arial</row_font_name> | |
| 353 | - <row_font_size>10</row_font_size> | |
| 354 | - <row_font_color>black</row_font_color> | |
| 355 | - <row_background_color>none</row_background_color> | |
| 356 | - </custom> | |
| 357 | - <cluster_schema/> | |
| 358 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 359 | - <xloc>596</xloc> | |
| 360 | - <yloc>265</yloc> | |
| 361 | - <draw>Y</draw> | |
| 362 | - </GUI> | |
| 363 | - </step> | |
| 364 | - | |
| 365 | - <step> | |
| 366 | - <name>字段选择</name> | |
| 367 | - <type>SelectValues</type> | |
| 368 | - <description/> | |
| 369 | - <distribute>Y</distribute> | |
| 370 | - <custom_distribution/> | |
| 371 | - <copies>1</copies> | |
| 372 | - <partitioning> | |
| 373 | - <method>none</method> | |
| 374 | - <schema_name/> | |
| 375 | - </partitioning> | |
| 376 | - <fields> <field> <name>xlmc</name> | |
| 377 | - <rename>线路</rename> | |
| 378 | - <length>-2</length> | |
| 379 | - <precision>-2</precision> | |
| 380 | - </field> <field> <name>zbh</name> | |
| 381 | - <rename>内部编码</rename> | |
| 382 | - <length>-2</length> | |
| 383 | - <precision>-2</precision> | |
| 384 | - </field> <field> <name>qyrq</name> | |
| 385 | - <rename>启用日期</rename> | |
| 386 | - <length>-2</length> | |
| 387 | - <precision>-2</precision> | |
| 388 | - </field> <field> <name>zzrq</name> | |
| 389 | - <rename>终结日期</rename> | |
| 390 | - <length>-2</length> | |
| 391 | - <precision>-2</precision> | |
| 392 | - </field> <field> <name>tcd</name> | |
| 393 | - <rename>停车点</rename> | |
| 394 | - <length>-2</length> | |
| 395 | - <precision>-2</precision> | |
| 396 | - </field> <select_unspecified>N</select_unspecified> | |
| 397 | - </fields> <cluster_schema/> | |
| 398 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 399 | - <xloc>595</xloc> | |
| 400 | - <yloc>167</yloc> | |
| 401 | - <draw>Y</draw> | |
| 402 | - </GUI> | |
| 403 | - </step> | |
| 404 | - | |
| 405 | - <step> | |
| 406 | - <name>排序记录</name> | |
| 407 | - <type>SortRows</type> | |
| 408 | - <description/> | |
| 409 | - <distribute>Y</distribute> | |
| 410 | - <custom_distribution/> | |
| 411 | - <copies>1</copies> | |
| 412 | - <partitioning> | |
| 413 | - <method>none</method> | |
| 414 | - <schema_name/> | |
| 415 | - </partitioning> | |
| 416 | - <directory>%%java.io.tmpdir%%</directory> | |
| 417 | - <prefix>out</prefix> | |
| 418 | - <sort_size>1000000</sort_size> | |
| 419 | - <free_memory/> | |
| 420 | - <compress>N</compress> | |
| 421 | - <compress_variable/> | |
| 422 | - <unique_rows>N</unique_rows> | |
| 423 | - <fields> | |
| 424 | - <field> | |
| 425 | - <name>xlmc</name> | |
| 426 | - <ascending>Y</ascending> | |
| 427 | - <case_sensitive>N</case_sensitive> | |
| 428 | - <presorted>N</presorted> | |
| 429 | - </field> | |
| 430 | - <field> | |
| 431 | - <name>zbh</name> | |
| 432 | - <ascending>Y</ascending> | |
| 433 | - <case_sensitive>N</case_sensitive> | |
| 434 | - <presorted>N</presorted> | |
| 435 | - </field> | |
| 436 | - <field> | |
| 437 | - <name>qyrq</name> | |
| 438 | - <ascending>Y</ascending> | |
| 439 | - <case_sensitive>N</case_sensitive> | |
| 440 | - <presorted>N</presorted> | |
| 441 | - </field> | |
| 442 | - </fields> | |
| 443 | - <cluster_schema/> | |
| 444 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 445 | - <xloc>592</xloc> | |
| 446 | - <yloc>66</yloc> | |
| 447 | - <draw>Y</draw> | |
| 448 | - </GUI> | |
| 449 | - </step> | |
| 450 | - | |
| 451 | - <step> | |
| 452 | - <name>格式化日期</name> | |
| 453 | - <type>SelectValues</type> | |
| 454 | - <description/> | |
| 455 | - <distribute>Y</distribute> | |
| 456 | - <custom_distribution/> | |
| 457 | - <copies>1</copies> | |
| 458 | - <partitioning> | |
| 459 | - <method>none</method> | |
| 460 | - <schema_name/> | |
| 461 | - </partitioning> | |
| 462 | - <fields> <select_unspecified>N</select_unspecified> | |
| 463 | - <meta> <name>qyrq</name> | |
| 464 | - <rename>qyrq</rename> | |
| 465 | - <type>String</type> | |
| 466 | - <length>-2</length> | |
| 467 | - <precision>-2</precision> | |
| 468 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 469 | - <date_format_lenient>false</date_format_lenient> | |
| 470 | - <date_format_locale/> | |
| 471 | - <date_format_timezone/> | |
| 472 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 473 | - <encoding/> | |
| 474 | - <decimal_symbol/> | |
| 475 | - <grouping_symbol/> | |
| 476 | - <currency_symbol/> | |
| 477 | - <storage_type/> | |
| 478 | - </meta> <meta> <name>zzrq</name> | |
| 479 | - <rename>zzrq</rename> | |
| 480 | - <type>String</type> | |
| 481 | - <length>-2</length> | |
| 482 | - <precision>-2</precision> | |
| 483 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | |
| 484 | - <date_format_lenient>false</date_format_lenient> | |
| 485 | - <date_format_locale/> | |
| 486 | - <date_format_timezone/> | |
| 487 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 488 | - <encoding/> | |
| 489 | - <decimal_symbol/> | |
| 490 | - <grouping_symbol/> | |
| 491 | - <currency_symbol/> | |
| 492 | - <storage_type/> | |
| 493 | - </meta> </fields> <cluster_schema/> | |
| 494 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 495 | - <xloc>478</xloc> | |
| 496 | - <yloc>66</yloc> | |
| 497 | - <draw>Y</draw> | |
| 498 | - </GUI> | |
| 499 | - </step> | |
| 500 | - | |
| 501 | - <step> | |
| 502 | - <name>线路查询</name> | |
| 503 | - <type>DBLookup</type> | |
| 504 | - <description/> | |
| 505 | - <distribute>Y</distribute> | |
| 506 | - <custom_distribution/> | |
| 507 | - <copies>1</copies> | |
| 508 | - <partitioning> | |
| 509 | - <method>none</method> | |
| 510 | - <schema_name/> | |
| 511 | - </partitioning> | |
| 512 | - <connection>bus_control_variable</connection> | |
| 513 | - <cache>Y</cache> | |
| 514 | - <cache_load_all>Y</cache_load_all> | |
| 515 | - <cache_size>0</cache_size> | |
| 516 | - <lookup> | |
| 517 | - <schema/> | |
| 518 | - <table>bsth_c_line</table> | |
| 519 | - <orderby/> | |
| 520 | - <fail_on_multiple>N</fail_on_multiple> | |
| 521 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 522 | - <key> | |
| 523 | - <name>xl</name> | |
| 524 | - <field>id</field> | |
| 525 | - <condition>=</condition> | |
| 526 | - <name2/> | |
| 527 | - </key> | |
| 528 | - <value> | |
| 529 | - <name>name</name> | |
| 530 | - <rename>xlmc</rename> | |
| 531 | - <default/> | |
| 532 | - <type>String</type> | |
| 533 | - </value> | |
| 534 | - </lookup> | |
| 535 | - <cluster_schema/> | |
| 536 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 537 | - <xloc>248</xloc> | |
| 538 | - <yloc>67</yloc> | |
| 539 | - <draw>Y</draw> | |
| 540 | - </GUI> | |
| 541 | - </step> | |
| 542 | - | |
| 543 | - <step> | |
| 544 | - <name>车辆查询</name> | |
| 545 | - <type>DBLookup</type> | |
| 546 | - <description/> | |
| 547 | - <distribute>Y</distribute> | |
| 548 | - <custom_distribution/> | |
| 549 | - <copies>1</copies> | |
| 550 | - <partitioning> | |
| 551 | - <method>none</method> | |
| 552 | - <schema_name/> | |
| 553 | - </partitioning> | |
| 554 | - <connection>bus_control_variable</connection> | |
| 555 | - <cache>N</cache> | |
| 556 | - <cache_load_all>N</cache_load_all> | |
| 557 | - <cache_size>0</cache_size> | |
| 558 | - <lookup> | |
| 559 | - <schema/> | |
| 560 | - <table>bsth_c_cars</table> | |
| 561 | - <orderby/> | |
| 562 | - <fail_on_multiple>N</fail_on_multiple> | |
| 563 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 564 | - <key> | |
| 565 | - <name>cl</name> | |
| 566 | - <field>id</field> | |
| 567 | - <condition>=</condition> | |
| 568 | - <name2/> | |
| 569 | - </key> | |
| 570 | - <value> | |
| 571 | - <name>inside_code</name> | |
| 572 | - <rename>zbh</rename> | |
| 573 | - <default/> | |
| 574 | - <type>String</type> | |
| 575 | - </value> | |
| 576 | - </lookup> | |
| 577 | - <cluster_schema/> | |
| 578 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 579 | - <xloc>361</xloc> | |
| 580 | - <yloc>67</yloc> | |
| 581 | - <draw>Y</draw> | |
| 582 | - </GUI> | |
| 583 | - </step> | |
| 584 | - | |
| 585 | - <step> | |
| 586 | - <name>车辆配置(没有作废)</name> | |
| 587 | - <type>TableInput</type> | |
| 588 | - <description/> | |
| 589 | - <distribute>Y</distribute> | |
| 590 | - <custom_distribution/> | |
| 591 | - <copies>1</copies> | |
| 592 | - <partitioning> | |
| 593 | - <method>none</method> | |
| 594 | - <schema_name/> | |
| 595 | - </partitioning> | |
| 596 | - <connection>bus_control_variable</connection> | |
| 597 | - <sql>select * from bsth_c_s_ccinfo where is_cancel = 0</sql> | |
| 598 | - <limit>0</limit> | |
| 599 | - <lookup/> | |
| 600 | - <execute_each_row>N</execute_each_row> | |
| 601 | - <variables_active>N</variables_active> | |
| 602 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 603 | - <cluster_schema/> | |
| 604 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 605 | - <xloc>106</xloc> | |
| 606 | - <yloc>68</yloc> | |
| 607 | - <draw>Y</draw> | |
| 608 | - </GUI> | |
| 609 | - </step> | |
| 610 | - | |
| 611 | - <step_error_handling> | |
| 612 | - </step_error_handling> | |
| 613 | - <slave-step-copy-partition-distribution> | |
| 614 | -</slave-step-copy-partition-distribution> | |
| 615 | - <slave_transformation>N</slave_transformation> | |
| 616 | - | |
| 617 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>车辆配置信息导出</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 | - </parameters> | |
| 18 | - <log> | |
| 19 | -<trans-log-table><connection/> | |
| 20 | -<schema/> | |
| 21 | -<table/> | |
| 22 | -<size_limit_lines/> | |
| 23 | -<interval/> | |
| 24 | -<timeout_days/> | |
| 25 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | -<perf-log-table><connection/> | |
| 27 | -<schema/> | |
| 28 | -<table/> | |
| 29 | -<interval/> | |
| 30 | -<timeout_days/> | |
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | -<channel-log-table><connection/> | |
| 33 | -<schema/> | |
| 34 | -<table/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | -<step-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | -<metrics-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | - </log> | |
| 48 | - <maxdate> | |
| 49 | - <connection/> | |
| 50 | - <table/> | |
| 51 | - <field/> | |
| 52 | - <offset>0.0</offset> | |
| 53 | - <maxdiff>0.0</maxdiff> | |
| 54 | - </maxdate> | |
| 55 | - <size_rowset>10000</size_rowset> | |
| 56 | - <sleep_time_empty>50</sleep_time_empty> | |
| 57 | - <sleep_time_full>50</sleep_time_full> | |
| 58 | - <unique_connections>N</unique_connections> | |
| 59 | - <feedback_shown>Y</feedback_shown> | |
| 60 | - <feedback_size>50000</feedback_size> | |
| 61 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | - <shared_objects_file/> | |
| 63 | - <capture_step_performance>N</capture_step_performance> | |
| 64 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | - <dependencies> | |
| 67 | - </dependencies> | |
| 68 | - <partitionschemas> | |
| 69 | - </partitionschemas> | |
| 70 | - <slaveservers> | |
| 71 | - </slaveservers> | |
| 72 | - <clusterschemas> | |
| 73 | - </clusterschemas> | |
| 74 | - <created_user>-</created_user> | |
| 75 | - <created_date>2017/01/11 15:36:10.101</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2017/01/11 15:36:10.101</modified_date> | |
| 78 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - <notepad> | |
| 83 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 84 | - <xloc>66</xloc> | |
| 85 | - <yloc>151</yloc> | |
| 86 | - <width>333</width> | |
| 87 | - <heigth>90</heigth> | |
| 88 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 89 | - <fontsize>12</fontsize> | |
| 90 | - <fontbold>N</fontbold> | |
| 91 | - <fontitalic>N</fontitalic> | |
| 92 | - <fontcolorred>0</fontcolorred> | |
| 93 | - <fontcolorgreen>0</fontcolorgreen> | |
| 94 | - <fontcolorblue>0</fontcolorblue> | |
| 95 | - <backgroundcolorred>255</backgroundcolorred> | |
| 96 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 97 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 98 | - <bordercolorred>100</bordercolorred> | |
| 99 | - <bordercolorgreen>100</bordercolorgreen> | |
| 100 | - <bordercolorblue>100</bordercolorblue> | |
| 101 | - <drawshadow>Y</drawshadow> | |
| 102 | - </notepad> | |
| 103 | - </notepads> | |
| 104 | - <connection> | |
| 105 | - <name>bus_control_variable</name> | |
| 106 | - <server>${v_db_ip}</server> | |
| 107 | - <type>MYSQL</type> | |
| 108 | - <access>Native</access> | |
| 109 | - <database>${v_db_dname}</database> | |
| 110 | - <port>3306</port> | |
| 111 | - <username>${v_db_uname}</username> | |
| 112 | - <password>${v_db_pwd}</password> | |
| 113 | - <servername/> | |
| 114 | - <data_tablespace/> | |
| 115 | - <index_tablespace/> | |
| 116 | - <attributes> | |
| 117 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 118 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 119 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 120 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 121 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 122 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 123 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 124 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 125 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 126 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 128 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 130 | - </attributes> | |
| 131 | - </connection> | |
| 132 | - <connection> | |
| 133 | - <name>bus_control_公司_201</name> | |
| 134 | - <server>localhost</server> | |
| 135 | - <type>MYSQL</type> | |
| 136 | - <access>Native</access> | |
| 137 | - <database>control</database> | |
| 138 | - <port>3306</port> | |
| 139 | - <username>root</username> | |
| 140 | - <password>Encrypted </password> | |
| 141 | - <servername/> | |
| 142 | - <data_tablespace/> | |
| 143 | - <index_tablespace/> | |
| 144 | - <attributes> | |
| 145 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 146 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 147 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 148 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 149 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 150 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 151 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 152 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 153 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | - </attributes> | |
| 158 | - </connection> | |
| 159 | - <connection> | |
| 160 | - <name>bus_control_本机</name> | |
| 161 | - <server>localhost</server> | |
| 162 | - <type>MYSQL</type> | |
| 163 | - <access>Native</access> | |
| 164 | - <database>control</database> | |
| 165 | - <port>3306</port> | |
| 166 | - <username>root</username> | |
| 167 | - <password>Encrypted </password> | |
| 168 | - <servername/> | |
| 169 | - <data_tablespace/> | |
| 170 | - <index_tablespace/> | |
| 171 | - <attributes> | |
| 172 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 173 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 174 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 175 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 176 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 177 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 178 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 179 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 180 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 181 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 182 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 183 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 184 | - </attributes> | |
| 185 | - </connection> | |
| 186 | - <connection> | |
| 187 | - <name>xlab_mysql_youle</name> | |
| 188 | - <server>101.231.124.8</server> | |
| 189 | - <type>MYSQL</type> | |
| 190 | - <access>Native</access> | |
| 191 | - <database>xlab_youle</database> | |
| 192 | - <port>45687</port> | |
| 193 | - <username>xlab-youle</username> | |
| 194 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 195 | - <servername/> | |
| 196 | - <data_tablespace/> | |
| 197 | - <index_tablespace/> | |
| 198 | - <attributes> | |
| 199 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 200 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 201 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 202 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 203 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 204 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 205 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 206 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 207 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 208 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 211 | - </attributes> | |
| 212 | - </connection> | |
| 213 | - <connection> | |
| 214 | - <name>xlab_mysql_youle(本机)</name> | |
| 215 | - <server>localhost</server> | |
| 216 | - <type>MYSQL</type> | |
| 217 | - <access>Native</access> | |
| 218 | - <database>xlab_youle</database> | |
| 219 | - <port>3306</port> | |
| 220 | - <username>root</username> | |
| 221 | - <password>Encrypted </password> | |
| 222 | - <servername/> | |
| 223 | - <data_tablespace/> | |
| 224 | - <index_tablespace/> | |
| 225 | - <attributes> | |
| 226 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 227 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 228 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 229 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 230 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 231 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 232 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 233 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 235 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 236 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 238 | - </attributes> | |
| 239 | - </connection> | |
| 240 | - <connection> | |
| 241 | - <name>xlab_youle</name> | |
| 242 | - <server/> | |
| 243 | - <type>MYSQL</type> | |
| 244 | - <access>JNDI</access> | |
| 245 | - <database>xlab_youle</database> | |
| 246 | - <port>1521</port> | |
| 247 | - <username/> | |
| 248 | - <password>Encrypted </password> | |
| 249 | - <servername/> | |
| 250 | - <data_tablespace/> | |
| 251 | - <index_tablespace/> | |
| 252 | - <attributes> | |
| 253 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 254 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 255 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 256 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 257 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 258 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 259 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 260 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 261 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 262 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 263 | - </attributes> | |
| 264 | - </connection> | |
| 265 | - <order> | |
| 266 | - <hop> <from>人员配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 267 | - <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | |
| 268 | - <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | |
| 269 | - <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 270 | - <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 271 | - <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 272 | - </order> | |
| 273 | - <step> | |
| 274 | - <name>Excel输出</name> | |
| 275 | - <type>ExcelOutput</type> | |
| 276 | - <description/> | |
| 277 | - <distribute>Y</distribute> | |
| 278 | - <custom_distribution/> | |
| 279 | - <copies>1</copies> | |
| 280 | - <partitioning> | |
| 281 | - <method>none</method> | |
| 282 | - <schema_name/> | |
| 283 | - </partitioning> | |
| 284 | - <header>Y</header> | |
| 285 | - <footer>N</footer> | |
| 286 | - <encoding/> | |
| 287 | - <append>N</append> | |
| 288 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 289 | - <file> | |
| 290 | - <name>${filepath}</name> | |
| 291 | - <extention/> | |
| 292 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 293 | - <create_parent_folder>N</create_parent_folder> | |
| 294 | - <split>N</split> | |
| 295 | - <add_date>N</add_date> | |
| 296 | - <add_time>N</add_time> | |
| 297 | - <SpecifyFormat>N</SpecifyFormat> | |
| 298 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 299 | - <sheetname>工作表1</sheetname> | |
| 300 | - <autosizecolums>N</autosizecolums> | |
| 301 | - <nullisblank>N</nullisblank> | |
| 302 | - <protect_sheet>N</protect_sheet> | |
| 303 | - <password>Encrypted </password> | |
| 304 | - <splitevery>0</splitevery> | |
| 305 | - <usetempfiles>N</usetempfiles> | |
| 306 | - <tempdirectory/> | |
| 307 | - </file> | |
| 308 | - <template> | |
| 309 | - <enabled>N</enabled> | |
| 310 | - <append>N</append> | |
| 311 | - <filename>template.xls</filename> | |
| 312 | - </template> | |
| 313 | - <fields> | |
| 314 | - <field> | |
| 315 | - <name>线路</name> | |
| 316 | - <type>String</type> | |
| 317 | - <format/> | |
| 318 | - </field> | |
| 319 | - <field> | |
| 320 | - <name>搭班编码</name> | |
| 321 | - <type>String</type> | |
| 322 | - <format/> | |
| 323 | - </field> | |
| 324 | - <field> | |
| 325 | - <name>驾驶员工号</name> | |
| 326 | - <type>String</type> | |
| 327 | - <format/> | |
| 328 | - </field> | |
| 329 | - <field> | |
| 330 | - <name>驾驶员</name> | |
| 331 | - <type>String</type> | |
| 332 | - <format/> | |
| 333 | - </field> | |
| 334 | - <field> | |
| 335 | - <name>售票员工号</name> | |
| 336 | - <type>String</type> | |
| 337 | - <format/> | |
| 338 | - </field> | |
| 339 | - <field> | |
| 340 | - <name>售票员</name> | |
| 341 | - <type>String</type> | |
| 342 | - <format/> | |
| 343 | - </field> | |
| 344 | - </fields> | |
| 345 | - <custom> | |
| 346 | - <header_font_name>arial</header_font_name> | |
| 347 | - <header_font_size>10</header_font_size> | |
| 348 | - <header_font_bold>N</header_font_bold> | |
| 349 | - <header_font_italic>N</header_font_italic> | |
| 350 | - <header_font_underline>no</header_font_underline> | |
| 351 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 352 | - <header_font_color>black</header_font_color> | |
| 353 | - <header_background_color>none</header_background_color> | |
| 354 | - <header_row_height>255</header_row_height> | |
| 355 | - <header_alignment>left</header_alignment> | |
| 356 | - <header_image/> | |
| 357 | - <row_font_name>arial</row_font_name> | |
| 358 | - <row_font_size>10</row_font_size> | |
| 359 | - <row_font_color>black</row_font_color> | |
| 360 | - <row_background_color>none</row_background_color> | |
| 361 | - </custom> | |
| 362 | - <cluster_schema/> | |
| 363 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 364 | - <xloc>696</xloc> | |
| 365 | - <yloc>257</yloc> | |
| 366 | - <draw>Y</draw> | |
| 367 | - </GUI> | |
| 368 | - </step> | |
| 369 | - | |
| 370 | - <step> | |
| 371 | - <name>人员配置(没有作废)</name> | |
| 372 | - <type>TableInput</type> | |
| 373 | - <description/> | |
| 374 | - <distribute>Y</distribute> | |
| 375 | - <custom_distribution/> | |
| 376 | - <copies>1</copies> | |
| 377 | - <partitioning> | |
| 378 | - <method>none</method> | |
| 379 | - <schema_name/> | |
| 380 | - </partitioning> | |
| 381 | - <connection>bus_control_variable</connection> | |
| 382 | - <sql>select * from bsth_c_s_ecinfo where is_cancel = 0</sql> | |
| 383 | - <limit>0</limit> | |
| 384 | - <lookup/> | |
| 385 | - <execute_each_row>N</execute_each_row> | |
| 386 | - <variables_active>N</variables_active> | |
| 387 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 388 | - <cluster_schema/> | |
| 389 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 390 | - <xloc>90</xloc> | |
| 391 | - <yloc>59</yloc> | |
| 392 | - <draw>Y</draw> | |
| 393 | - </GUI> | |
| 394 | - </step> | |
| 395 | - | |
| 396 | - <step> | |
| 397 | - <name>售票员查询</name> | |
| 398 | - <type>DBJoin</type> | |
| 399 | - <description/> | |
| 400 | - <distribute>Y</distribute> | |
| 401 | - <custom_distribution/> | |
| 402 | - <copies>1</copies> | |
| 403 | - <partitioning> | |
| 404 | - <method>none</method> | |
| 405 | - <schema_name/> | |
| 406 | - </partitioning> | |
| 407 | - <connection>bus_control_variable</connection> | |
| 408 | - <rowlimit>1</rowlimit> | |
| 409 | - <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | |
| 410 | - <outer_join>Y</outer_join> | |
| 411 | - <replace_vars>N</replace_vars> | |
| 412 | - <parameter> | |
| 413 | - <field> | |
| 414 | - <name>spy</name> | |
| 415 | - <type>Integer</type> | |
| 416 | - </field> | |
| 417 | - </parameter> | |
| 418 | - <cluster_schema/> | |
| 419 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 420 | - <xloc>491</xloc> | |
| 421 | - <yloc>60</yloc> | |
| 422 | - <draw>Y</draw> | |
| 423 | - </GUI> | |
| 424 | - </step> | |
| 425 | - | |
| 426 | - <step> | |
| 427 | - <name>字段选择</name> | |
| 428 | - <type>SelectValues</type> | |
| 429 | - <description/> | |
| 430 | - <distribute>Y</distribute> | |
| 431 | - <custom_distribution/> | |
| 432 | - <copies>1</copies> | |
| 433 | - <partitioning> | |
| 434 | - <method>none</method> | |
| 435 | - <schema_name/> | |
| 436 | - </partitioning> | |
| 437 | - <fields> <field> <name>xlmc</name> | |
| 438 | - <rename>线路</rename> | |
| 439 | - <length>-2</length> | |
| 440 | - <precision>-2</precision> | |
| 441 | - </field> <field> <name>dbbm</name> | |
| 442 | - <rename>搭班编码</rename> | |
| 443 | - <length>-2</length> | |
| 444 | - <precision>-2</precision> | |
| 445 | - </field> <field> <name>jcode</name> | |
| 446 | - <rename>驾驶员工号</rename> | |
| 447 | - <length>-2</length> | |
| 448 | - <precision>-2</precision> | |
| 449 | - </field> <field> <name>jname</name> | |
| 450 | - <rename>驾驶员</rename> | |
| 451 | - <length>-2</length> | |
| 452 | - <precision>-2</precision> | |
| 453 | - </field> <field> <name>scode</name> | |
| 454 | - <rename>售票员工号</rename> | |
| 455 | - <length>-2</length> | |
| 456 | - <precision>-2</precision> | |
| 457 | - </field> <field> <name>sname</name> | |
| 458 | - <rename>售票员</rename> | |
| 459 | - <length>-2</length> | |
| 460 | - <precision>-2</precision> | |
| 461 | - </field> <select_unspecified>N</select_unspecified> | |
| 462 | - </fields> <cluster_schema/> | |
| 463 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 464 | - <xloc>492</xloc> | |
| 465 | - <yloc>164</yloc> | |
| 466 | - <draw>Y</draw> | |
| 467 | - </GUI> | |
| 468 | - </step> | |
| 469 | - | |
| 470 | - <step> | |
| 471 | - <name>排序记录</name> | |
| 472 | - <type>SortRows</type> | |
| 473 | - <description/> | |
| 474 | - <distribute>Y</distribute> | |
| 475 | - <custom_distribution/> | |
| 476 | - <copies>1</copies> | |
| 477 | - <partitioning> | |
| 478 | - <method>none</method> | |
| 479 | - <schema_name/> | |
| 480 | - </partitioning> | |
| 481 | - <directory>%%java.io.tmpdir%%</directory> | |
| 482 | - <prefix>out</prefix> | |
| 483 | - <sort_size>1000000</sort_size> | |
| 484 | - <free_memory/> | |
| 485 | - <compress>N</compress> | |
| 486 | - <compress_variable/> | |
| 487 | - <unique_rows>N</unique_rows> | |
| 488 | - <fields> | |
| 489 | - <field> | |
| 490 | - <name>线路</name> | |
| 491 | - <ascending>Y</ascending> | |
| 492 | - <case_sensitive>N</case_sensitive> | |
| 493 | - <presorted>N</presorted> | |
| 494 | - </field> | |
| 495 | - <field> | |
| 496 | - <name>搭班编码</name> | |
| 497 | - <ascending>Y</ascending> | |
| 498 | - <case_sensitive>N</case_sensitive> | |
| 499 | - <presorted>N</presorted> | |
| 500 | - </field> | |
| 501 | - </fields> | |
| 502 | - <cluster_schema/> | |
| 503 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 504 | - <xloc>692</xloc> | |
| 505 | - <yloc>164</yloc> | |
| 506 | - <draw>Y</draw> | |
| 507 | - </GUI> | |
| 508 | - </step> | |
| 509 | - | |
| 510 | - <step> | |
| 511 | - <name>线路查询</name> | |
| 512 | - <type>DBLookup</type> | |
| 513 | - <description/> | |
| 514 | - <distribute>Y</distribute> | |
| 515 | - <custom_distribution/> | |
| 516 | - <copies>1</copies> | |
| 517 | - <partitioning> | |
| 518 | - <method>none</method> | |
| 519 | - <schema_name/> | |
| 520 | - </partitioning> | |
| 521 | - <connection>bus_control_variable</connection> | |
| 522 | - <cache>Y</cache> | |
| 523 | - <cache_load_all>Y</cache_load_all> | |
| 524 | - <cache_size>0</cache_size> | |
| 525 | - <lookup> | |
| 526 | - <schema/> | |
| 527 | - <table>bsth_c_line</table> | |
| 528 | - <orderby/> | |
| 529 | - <fail_on_multiple>N</fail_on_multiple> | |
| 530 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 531 | - <key> | |
| 532 | - <name>xl</name> | |
| 533 | - <field>id</field> | |
| 534 | - <condition>=</condition> | |
| 535 | - <name2/> | |
| 536 | - </key> | |
| 537 | - <value> | |
| 538 | - <name>name</name> | |
| 539 | - <rename>xlmc</rename> | |
| 540 | - <default/> | |
| 541 | - <type>String</type> | |
| 542 | - </value> | |
| 543 | - </lookup> | |
| 544 | - <cluster_schema/> | |
| 545 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 546 | - <xloc>227</xloc> | |
| 547 | - <yloc>59</yloc> | |
| 548 | - <draw>Y</draw> | |
| 549 | - </GUI> | |
| 550 | - </step> | |
| 551 | - | |
| 552 | - <step> | |
| 553 | - <name>驾驶员查询</name> | |
| 554 | - <type>DBJoin</type> | |
| 555 | - <description/> | |
| 556 | - <distribute>Y</distribute> | |
| 557 | - <custom_distribution/> | |
| 558 | - <copies>1</copies> | |
| 559 | - <partitioning> | |
| 560 | - <method>none</method> | |
| 561 | - <schema_name/> | |
| 562 | - </partitioning> | |
| 563 | - <connection>bus_control_variable</connection> | |
| 564 | - <rowlimit>1</rowlimit> | |
| 565 | - <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | |
| 566 | - <outer_join>Y</outer_join> | |
| 567 | - <replace_vars>N</replace_vars> | |
| 568 | - <parameter> | |
| 569 | - <field> | |
| 570 | - <name>jsy</name> | |
| 571 | - <type>Integer</type> | |
| 572 | - </field> | |
| 573 | - </parameter> | |
| 574 | - <cluster_schema/> | |
| 575 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 576 | - <xloc>366</xloc> | |
| 577 | - <yloc>60</yloc> | |
| 578 | - <draw>Y</draw> | |
| 579 | - </GUI> | |
| 580 | - </step> | |
| 581 | - | |
| 582 | - <step_error_handling> | |
| 583 | - </step_error_handling> | |
| 584 | - <slave-step-copy-partition-distribution> | |
| 585 | -</slave-step-copy-partition-distribution> | |
| 586 | - <slave_transformation>N</slave_transformation> | |
| 587 | - | |
| 588 | -</transformation> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<transformation> | |
| 3 | + <info> | |
| 4 | + <name>人员配置信息导出</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 | - </parameters> | |
| 18 | - <log> | |
| 19 | -<trans-log-table><connection/> | |
| 20 | -<schema/> | |
| 21 | -<table/> | |
| 22 | -<size_limit_lines/> | |
| 23 | -<interval/> | |
| 24 | -<timeout_days/> | |
| 25 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | |
| 26 | -<perf-log-table><connection/> | |
| 27 | -<schema/> | |
| 28 | -<table/> | |
| 29 | -<interval/> | |
| 30 | -<timeout_days/> | |
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | |
| 32 | -<channel-log-table><connection/> | |
| 33 | -<schema/> | |
| 34 | -<table/> | |
| 35 | -<timeout_days/> | |
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | |
| 37 | -<step-log-table><connection/> | |
| 38 | -<schema/> | |
| 39 | -<table/> | |
| 40 | -<timeout_days/> | |
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | |
| 42 | -<metrics-log-table><connection/> | |
| 43 | -<schema/> | |
| 44 | -<table/> | |
| 45 | -<timeout_days/> | |
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | |
| 47 | - </log> | |
| 48 | - <maxdate> | |
| 49 | - <connection/> | |
| 50 | - <table/> | |
| 51 | - <field/> | |
| 52 | - <offset>0.0</offset> | |
| 53 | - <maxdiff>0.0</maxdiff> | |
| 54 | - </maxdate> | |
| 55 | - <size_rowset>10000</size_rowset> | |
| 56 | - <sleep_time_empty>50</sleep_time_empty> | |
| 57 | - <sleep_time_full>50</sleep_time_full> | |
| 58 | - <unique_connections>N</unique_connections> | |
| 59 | - <feedback_shown>Y</feedback_shown> | |
| 60 | - <feedback_size>50000</feedback_size> | |
| 61 | - <using_thread_priorities>Y</using_thread_priorities> | |
| 62 | - <shared_objects_file/> | |
| 63 | - <capture_step_performance>N</capture_step_performance> | |
| 64 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | |
| 65 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | |
| 66 | - <dependencies> | |
| 67 | - </dependencies> | |
| 68 | - <partitionschemas> | |
| 69 | - </partitionschemas> | |
| 70 | - <slaveservers> | |
| 71 | - </slaveservers> | |
| 72 | - <clusterschemas> | |
| 73 | - </clusterschemas> | |
| 74 | - <created_user>-</created_user> | |
| 75 | - <created_date>2017/02/06 11:05:17.781</created_date> | |
| 76 | - <modified_user>-</modified_user> | |
| 77 | - <modified_date>2017/02/06 11:05:17.781</modified_date> | |
| 78 | - <key_for_session_key/> | |
| 79 | - <is_key_private>N</is_key_private> | |
| 80 | - </info> | |
| 81 | - <notepads> | |
| 82 | - </notepads> | |
| 83 | - <connection> | |
| 84 | - <name>bus_control_variable</name> | |
| 85 | - <server>${v_db_ip}</server> | |
| 86 | - <type>MYSQL</type> | |
| 87 | - <access>Native</access> | |
| 88 | - <database>${v_db_dname}</database> | |
| 89 | - <port>3306</port> | |
| 90 | - <username>${v_db_uname}</username> | |
| 91 | - <password>${v_db_pwd}</password> | |
| 92 | - <servername/> | |
| 93 | - <data_tablespace/> | |
| 94 | - <index_tablespace/> | |
| 95 | - <attributes> | |
| 96 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | |
| 97 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 98 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 99 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 100 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 101 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 102 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 103 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 104 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 105 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 106 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 107 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 109 | - </attributes> | |
| 110 | - </connection> | |
| 111 | - <connection> | |
| 112 | - <name>bus_control_公司_201</name> | |
| 113 | - <server>localhost</server> | |
| 114 | - <type>MYSQL</type> | |
| 115 | - <access>Native</access> | |
| 116 | - <database>control</database> | |
| 117 | - <port>3306</port> | |
| 118 | - <username>root</username> | |
| 119 | - <password>Encrypted </password> | |
| 120 | - <servername/> | |
| 121 | - <data_tablespace/> | |
| 122 | - <index_tablespace/> | |
| 123 | - <attributes> | |
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 127 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 128 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 129 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 130 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 131 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 132 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | |
| 133 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 135 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 136 | - </attributes> | |
| 137 | - </connection> | |
| 138 | - <connection> | |
| 139 | - <name>bus_control_本机</name> | |
| 140 | - <server>localhost</server> | |
| 141 | - <type>MYSQL</type> | |
| 142 | - <access>Native</access> | |
| 143 | - <database>control</database> | |
| 144 | - <port>3306</port> | |
| 145 | - <username>root</username> | |
| 146 | - <password>Encrypted </password> | |
| 147 | - <servername/> | |
| 148 | - <data_tablespace/> | |
| 149 | - <index_tablespace/> | |
| 150 | - <attributes> | |
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 152 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 154 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 155 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 156 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 157 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 158 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 159 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 160 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 161 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 162 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 163 | - </attributes> | |
| 164 | - </connection> | |
| 165 | - <connection> | |
| 166 | - <name>xlab_mysql_youle</name> | |
| 167 | - <server>101.231.124.8</server> | |
| 168 | - <type>MYSQL</type> | |
| 169 | - <access>Native</access> | |
| 170 | - <database>xlab_youle</database> | |
| 171 | - <port>45687</port> | |
| 172 | - <username>xlab-youle</username> | |
| 173 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | |
| 174 | - <servername/> | |
| 175 | - <data_tablespace/> | |
| 176 | - <index_tablespace/> | |
| 177 | - <attributes> | |
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 179 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 181 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 182 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 183 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | |
| 184 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 185 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 186 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 187 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 188 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 189 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 190 | - </attributes> | |
| 191 | - </connection> | |
| 192 | - <connection> | |
| 193 | - <name>xlab_mysql_youle(本机)</name> | |
| 194 | - <server>localhost</server> | |
| 195 | - <type>MYSQL</type> | |
| 196 | - <access>Native</access> | |
| 197 | - <database>xlab_youle</database> | |
| 198 | - <port>3306</port> | |
| 199 | - <username>root</username> | |
| 200 | - <password>Encrypted </password> | |
| 201 | - <servername/> | |
| 202 | - <data_tablespace/> | |
| 203 | - <index_tablespace/> | |
| 204 | - <attributes> | |
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | |
| 206 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | |
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 208 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 209 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 210 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | |
| 211 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 212 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 213 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 214 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 215 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | |
| 216 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 217 | - </attributes> | |
| 218 | - </connection> | |
| 219 | - <connection> | |
| 220 | - <name>xlab_youle</name> | |
| 221 | - <server/> | |
| 222 | - <type>MYSQL</type> | |
| 223 | - <access>JNDI</access> | |
| 224 | - <database>xlab_youle</database> | |
| 225 | - <port>1521</port> | |
| 226 | - <username/> | |
| 227 | - <password>Encrypted </password> | |
| 228 | - <servername/> | |
| 229 | - <data_tablespace/> | |
| 230 | - <index_tablespace/> | |
| 231 | - <attributes> | |
| 232 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 234 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 235 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 236 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 237 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 238 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | |
| 239 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 240 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 241 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 242 | - </attributes> | |
| 243 | - </connection> | |
| 244 | - <order> | |
| 245 | - <hop> <from>路牌数据(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | |
| 246 | - <hop> <from>线路查询</from><to>排序记录</to><enabled>Y</enabled> </hop> | |
| 247 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | |
| 248 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 249 | - </order> | |
| 250 | - <step> | |
| 251 | - <name>路牌数据(没有作废)</name> | |
| 252 | - <type>TableInput</type> | |
| 253 | - <description/> | |
| 254 | - <distribute>Y</distribute> | |
| 255 | - <custom_distribution/> | |
| 256 | - <copies>1</copies> | |
| 257 | - <partitioning> | |
| 258 | - <method>none</method> | |
| 259 | - <schema_name/> | |
| 260 | - </partitioning> | |
| 261 | - <connection>bus_control_variable</connection> | |
| 262 | - <sql>select * from bsth_c_s_gbi
where is_cancel = 0</sql> | |
| 263 | - <limit>0</limit> | |
| 264 | - <lookup/> | |
| 265 | - <execute_each_row>N</execute_each_row> | |
| 266 | - <variables_active>N</variables_active> | |
| 267 | - <lazy_conversion_active>N</lazy_conversion_active> | |
| 268 | - <cluster_schema/> | |
| 269 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 270 | - <xloc>134</xloc> | |
| 271 | - <yloc>92</yloc> | |
| 272 | - <draw>Y</draw> | |
| 273 | - </GUI> | |
| 274 | - </step> | |
| 275 | - | |
| 276 | - <step> | |
| 277 | - <name>线路查询</name> | |
| 278 | - <type>DBLookup</type> | |
| 279 | - <description/> | |
| 280 | - <distribute>Y</distribute> | |
| 281 | - <custom_distribution/> | |
| 282 | - <copies>1</copies> | |
| 283 | - <partitioning> | |
| 284 | - <method>none</method> | |
| 285 | - <schema_name/> | |
| 286 | - </partitioning> | |
| 287 | - <connection>bus_control_variable</connection> | |
| 288 | - <cache>Y</cache> | |
| 289 | - <cache_load_all>Y</cache_load_all> | |
| 290 | - <cache_size>0</cache_size> | |
| 291 | - <lookup> | |
| 292 | - <schema/> | |
| 293 | - <table>bsth_c_line</table> | |
| 294 | - <orderby/> | |
| 295 | - <fail_on_multiple>N</fail_on_multiple> | |
| 296 | - <eat_row_on_failure>N</eat_row_on_failure> | |
| 297 | - <key> | |
| 298 | - <name>xl</name> | |
| 299 | - <field>id</field> | |
| 300 | - <condition>=</condition> | |
| 301 | - <name2/> | |
| 302 | - </key> | |
| 303 | - <value> | |
| 304 | - <name>name</name> | |
| 305 | - <rename>xlmc</rename> | |
| 306 | - <default/> | |
| 307 | - <type>String</type> | |
| 308 | - </value> | |
| 309 | - </lookup> | |
| 310 | - <cluster_schema/> | |
| 311 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 312 | - <xloc>262</xloc> | |
| 313 | - <yloc>92</yloc> | |
| 314 | - <draw>Y</draw> | |
| 315 | - </GUI> | |
| 316 | - </step> | |
| 317 | - | |
| 318 | - <step> | |
| 319 | - <name>排序记录</name> | |
| 320 | - <type>SortRows</type> | |
| 321 | - <description/> | |
| 322 | - <distribute>Y</distribute> | |
| 323 | - <custom_distribution/> | |
| 324 | - <copies>1</copies> | |
| 325 | - <partitioning> | |
| 326 | - <method>none</method> | |
| 327 | - <schema_name/> | |
| 328 | - </partitioning> | |
| 329 | - <directory>%%java.io.tmpdir%%</directory> | |
| 330 | - <prefix>out</prefix> | |
| 331 | - <sort_size>1000000</sort_size> | |
| 332 | - <free_memory/> | |
| 333 | - <compress>N</compress> | |
| 334 | - <compress_variable/> | |
| 335 | - <unique_rows>N</unique_rows> | |
| 336 | - <fields> | |
| 337 | - <field> | |
| 338 | - <name>xl</name> | |
| 339 | - <ascending>Y</ascending> | |
| 340 | - <case_sensitive>N</case_sensitive> | |
| 341 | - <presorted>N</presorted> | |
| 342 | - </field> | |
| 343 | - <field> | |
| 344 | - <name>lp_no</name> | |
| 345 | - <ascending>Y</ascending> | |
| 346 | - <case_sensitive>N</case_sensitive> | |
| 347 | - <presorted>N</presorted> | |
| 348 | - </field> | |
| 349 | - <field> | |
| 350 | - <name>is_cancel</name> | |
| 351 | - <ascending>N</ascending> | |
| 352 | - <case_sensitive>N</case_sensitive> | |
| 353 | - <presorted>N</presorted> | |
| 354 | - </field> | |
| 355 | - </fields> | |
| 356 | - <cluster_schema/> | |
| 357 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 358 | - <xloc>384</xloc> | |
| 359 | - <yloc>91</yloc> | |
| 360 | - <draw>Y</draw> | |
| 361 | - </GUI> | |
| 362 | - </step> | |
| 363 | - | |
| 364 | - <step> | |
| 365 | - <name>字段选择</name> | |
| 366 | - <type>SelectValues</type> | |
| 367 | - <description/> | |
| 368 | - <distribute>Y</distribute> | |
| 369 | - <custom_distribution/> | |
| 370 | - <copies>1</copies> | |
| 371 | - <partitioning> | |
| 372 | - <method>none</method> | |
| 373 | - <schema_name/> | |
| 374 | - </partitioning> | |
| 375 | - <fields> <select_unspecified>N</select_unspecified> | |
| 376 | - <meta> <name>xlmc</name> | |
| 377 | - <rename>线路</rename> | |
| 378 | - <type>None</type> | |
| 379 | - <length>-2</length> | |
| 380 | - <precision>-2</precision> | |
| 381 | - <conversion_mask/> | |
| 382 | - <date_format_lenient>false</date_format_lenient> | |
| 383 | - <date_format_locale/> | |
| 384 | - <date_format_timezone/> | |
| 385 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 386 | - <encoding/> | |
| 387 | - <decimal_symbol/> | |
| 388 | - <grouping_symbol/> | |
| 389 | - <currency_symbol/> | |
| 390 | - <storage_type/> | |
| 391 | - </meta> <meta> <name>lp_no</name> | |
| 392 | - <rename>路牌编号</rename> | |
| 393 | - <type>String</type> | |
| 394 | - <length>-2</length> | |
| 395 | - <precision>-2</precision> | |
| 396 | - <conversion_mask>#</conversion_mask> | |
| 397 | - <date_format_lenient>false</date_format_lenient> | |
| 398 | - <date_format_locale/> | |
| 399 | - <date_format_timezone/> | |
| 400 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 401 | - <encoding/> | |
| 402 | - <decimal_symbol/> | |
| 403 | - <grouping_symbol/> | |
| 404 | - <currency_symbol/> | |
| 405 | - <storage_type/> | |
| 406 | - </meta> <meta> <name>lp_name</name> | |
| 407 | - <rename>路牌名称</rename> | |
| 408 | - <type>None</type> | |
| 409 | - <length>-2</length> | |
| 410 | - <precision>-2</precision> | |
| 411 | - <conversion_mask/> | |
| 412 | - <date_format_lenient>false</date_format_lenient> | |
| 413 | - <date_format_locale/> | |
| 414 | - <date_format_timezone/> | |
| 415 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 416 | - <encoding/> | |
| 417 | - <decimal_symbol/> | |
| 418 | - <grouping_symbol/> | |
| 419 | - <currency_symbol/> | |
| 420 | - <storage_type/> | |
| 421 | - </meta> <meta> <name>lp_type</name> | |
| 422 | - <rename>路牌类型</rename> | |
| 423 | - <type>None</type> | |
| 424 | - <length>-2</length> | |
| 425 | - <precision>-2</precision> | |
| 426 | - <conversion_mask/> | |
| 427 | - <date_format_lenient>false</date_format_lenient> | |
| 428 | - <date_format_locale/> | |
| 429 | - <date_format_timezone/> | |
| 430 | - <lenient_string_to_number>false</lenient_string_to_number> | |
| 431 | - <encoding/> | |
| 432 | - <decimal_symbol/> | |
| 433 | - <grouping_symbol/> | |
| 434 | - <currency_symbol/> | |
| 435 | - <storage_type/> | |
| 436 | - </meta> </fields> <cluster_schema/> | |
| 437 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 438 | - <xloc>507</xloc> | |
| 439 | - <yloc>91</yloc> | |
| 440 | - <draw>Y</draw> | |
| 441 | - </GUI> | |
| 442 | - </step> | |
| 443 | - | |
| 444 | - <step> | |
| 445 | - <name>Excel输出</name> | |
| 446 | - <type>ExcelOutput</type> | |
| 447 | - <description/> | |
| 448 | - <distribute>Y</distribute> | |
| 449 | - <custom_distribution/> | |
| 450 | - <copies>1</copies> | |
| 451 | - <partitioning> | |
| 452 | - <method>none</method> | |
| 453 | - <schema_name/> | |
| 454 | - </partitioning> | |
| 455 | - <header>Y</header> | |
| 456 | - <footer>N</footer> | |
| 457 | - <encoding/> | |
| 458 | - <append>N</append> | |
| 459 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 460 | - <file> | |
| 461 | - <name>${filepath}</name> | |
| 462 | - <extention/> | |
| 463 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 464 | - <create_parent_folder>N</create_parent_folder> | |
| 465 | - <split>N</split> | |
| 466 | - <add_date>N</add_date> | |
| 467 | - <add_time>N</add_time> | |
| 468 | - <SpecifyFormat>N</SpecifyFormat> | |
| 469 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 470 | - <sheetname>工作表1</sheetname> | |
| 471 | - <autosizecolums>N</autosizecolums> | |
| 472 | - <nullisblank>N</nullisblank> | |
| 473 | - <protect_sheet>N</protect_sheet> | |
| 474 | - <password>Encrypted </password> | |
| 475 | - <splitevery>0</splitevery> | |
| 476 | - <usetempfiles>N</usetempfiles> | |
| 477 | - <tempdirectory/> | |
| 478 | - </file> | |
| 479 | - <template> | |
| 480 | - <enabled>N</enabled> | |
| 481 | - <append>N</append> | |
| 482 | - <filename>template.xls</filename> | |
| 483 | - </template> | |
| 484 | - <fields> | |
| 485 | - <field> | |
| 486 | - <name>线路</name> | |
| 487 | - <type>String</type> | |
| 488 | - <format/> | |
| 489 | - </field> | |
| 490 | - <field> | |
| 491 | - <name>路牌编号</name> | |
| 492 | - <type>String</type> | |
| 493 | - <format/> | |
| 494 | - </field> | |
| 495 | - <field> | |
| 496 | - <name>路牌名称</name> | |
| 497 | - <type>String</type> | |
| 498 | - <format/> | |
| 499 | - </field> | |
| 500 | - <field> | |
| 501 | - <name>路牌类型</name> | |
| 502 | - <type>String</type> | |
| 503 | - <format/> | |
| 504 | - </field> | |
| 505 | - </fields> | |
| 506 | - <custom> | |
| 507 | - <header_font_name>arial</header_font_name> | |
| 508 | - <header_font_size>10</header_font_size> | |
| 509 | - <header_font_bold>N</header_font_bold> | |
| 510 | - <header_font_italic>N</header_font_italic> | |
| 511 | - <header_font_underline>no</header_font_underline> | |
| 512 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 513 | - <header_font_color>black</header_font_color> | |
| 514 | - <header_background_color>none</header_background_color> | |
| 515 | - <header_row_height>255</header_row_height> | |
| 516 | - <header_alignment>left</header_alignment> | |
| 517 | - <header_image/> | |
| 518 | - <row_font_name>arial</row_font_name> | |
| 519 | - <row_font_size>10</row_font_size> | |
| 520 | - <row_font_color>black</row_font_color> | |
| 521 | - <row_background_color>none</row_background_color> | |
| 522 | - </custom> | |
| 523 | - <cluster_schema/> | |
| 524 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 525 | - <xloc>644</xloc> | |
| 526 | - <yloc>92</yloc> | |
| 527 | - <draw>Y</draw> | |
| 528 | - </GUI> | |
| 529 | - </step> | |
| 530 | - | |
| 531 | - <step_error_handling> | |
| 532 | - </step_error_handling> | |
| 533 | - <slave-step-copy-partition-distribution> | |
| 534 | -</slave-step-copy-partition-distribution> | |
| 535 | - <slave_transformation>N</slave_transformation> | |
| 536 | - | |
| 537 | -</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> | ... | ... |