Commit 6321c1ecd8ccefbe1db187b46ce74d9ada398071
Update
Showing
18 changed files
with
1995 additions
and
1811 deletions
Too many changes to show.
To preserve performance only 18 of 81 files are displayed.
src/main/java/com/bsth/controller/DownloadController.java
| @@ -39,9 +39,8 @@ public class DownloadController | @@ -39,9 +39,8 @@ public class DownloadController | ||
| 39 | 39 | ||
| 40 | @RequestMapping("download2") | 40 | @RequestMapping("download2") |
| 41 | public ResponseEntity<byte[]> download2(String fileName) throws IOException { | 41 | public ResponseEntity<byte[]> download2(String fileName) throws IOException { |
| 42 | -// fileName = fileName+".xls"; | ||
| 43 | String fileNames=URLDecoder.decode(fileName,"UTF-8"); | 42 | String fileNames=URLDecoder.decode(fileName,"UTF-8"); |
| 44 | - fileNames =fileNames + ".xls"; | 43 | + fileNames = fileNames + ".xls"; |
| 45 | String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileNames; | 44 | String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileNames; |
| 46 | System.out.println(moudelPath); | 45 | System.out.println(moudelPath); |
| 47 | // String path="D:\\export\\target\\"+jName+".xls"; | 46 | // String path="D:\\export\\target\\"+jName+".xls"; |
| @@ -76,4 +75,26 @@ public class DownloadController | @@ -76,4 +75,26 @@ public class DownloadController | ||
| 76 | os.flush(); | 75 | os.flush(); |
| 77 | os.close(); | 76 | os.close(); |
| 78 | } | 77 | } |
| 78 | + | ||
| 79 | + @RequestMapping("downloadList") | ||
| 80 | + public void downloadList(HttpServletResponse response,String fileName) | ||
| 81 | + throws IOException { | ||
| 82 | +// String fileNames=URLDecoder.decode(fileName,"UTF-8"); | ||
| 83 | + fileName =fileName + ".zip"; | ||
| 84 | + String moudelPath = this.getClass().getResource("/").getPath()+ "static/pages/forms/export/"+fileName; | ||
| 85 | + File file = new File(moudelPath);// path是根据日志路径和文件名拼接出来的 | ||
| 86 | +// String filename = file.getName();// 获取日志文件名称 | ||
| 87 | + InputStream fis = new BufferedInputStream(new FileInputStream(moudelPath)); | ||
| 88 | + byte[] buffer = new byte[fis.available()]; | ||
| 89 | + fis.read(buffer); | ||
| 90 | + fis.close(); | ||
| 91 | + response.reset(); | ||
| 92 | + response.addHeader("Content-Disposition", "attachment;filename=" + new String(fileName.replaceAll(" ", "").getBytes("utf-8"),"iso8859-1")); | ||
| 93 | + response.addHeader("Content-Length", "" + file.length()); | ||
| 94 | + OutputStream os = new BufferedOutputStream(response.getOutputStream()); | ||
| 95 | + response.setContentType("application/octet-stream"); | ||
| 96 | + os.write(buffer);// 输出文件 | ||
| 97 | + os.flush(); | ||
| 98 | + os.close(); | ||
| 99 | + } | ||
| 79 | } | 100 | } |
src/main/java/com/bsth/controller/realcontrol/BasicDataController.java
| @@ -2,8 +2,13 @@ package com.bsth.controller.realcontrol; | @@ -2,8 +2,13 @@ package com.bsth.controller.realcontrol; | ||
| 2 | 2 | ||
| 3 | import com.alibaba.fastjson.JSON; | 3 | import com.alibaba.fastjson.JSON; |
| 4 | import com.alibaba.fastjson.serializer.PropertyFilter; | 4 | import com.alibaba.fastjson.serializer.PropertyFilter; |
| 5 | +import com.bsth.common.ResponseCode; | ||
| 5 | import com.bsth.data.BasicData; | 6 | import com.bsth.data.BasicData; |
| 7 | +import org.slf4j.Logger; | ||
| 8 | +import org.slf4j.LoggerFactory; | ||
| 9 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 6 | import org.springframework.web.bind.annotation.RequestMapping; | 10 | import org.springframework.web.bind.annotation.RequestMapping; |
| 11 | +import org.springframework.web.bind.annotation.RequestMethod; | ||
| 7 | import org.springframework.web.bind.annotation.RestController; | 12 | import org.springframework.web.bind.annotation.RestController; |
| 8 | 13 | ||
| 9 | import java.util.HashMap; | 14 | import java.util.HashMap; |
| @@ -14,6 +19,10 @@ import java.util.Map; | @@ -14,6 +19,10 @@ import java.util.Map; | ||
| 14 | @RequestMapping("/basic") | 19 | @RequestMapping("/basic") |
| 15 | public class BasicDataController { | 20 | public class BasicDataController { |
| 16 | 21 | ||
| 22 | + @Autowired | ||
| 23 | + BasicData.BasicDataLoader dataLoader; | ||
| 24 | + | ||
| 25 | + Logger logger = LoggerFactory.getLogger(this.getClass()); | ||
| 17 | 26 | ||
| 18 | @RequestMapping("/cars") | 27 | @RequestMapping("/cars") |
| 19 | public Iterable<String> findAllNbbm(Map<String, Object> map){ | 28 | public Iterable<String> findAllNbbm(Map<String, Object> map){ |
| @@ -53,10 +62,6 @@ public class BasicDataController { | @@ -53,10 +62,6 @@ public class BasicDataController { | ||
| 53 | 62 | ||
| 54 | @RequestMapping("/all_personnel") | 63 | @RequestMapping("/all_personnel") |
| 55 | public Map<String, String> all_personnel(){ | 64 | public Map<String, String> all_personnel(){ |
| 56 | - //Map<String, Object> rs = new HashMap<>(); | ||
| 57 | - //PersonnelFieldFilter filter=new PersonnelFieldFilter(); | ||
| 58 | - | ||
| 59 | - //rs.put("list", JSON.parse(JSON.toJSONString(BasicData.jsyMap.values(), filter))); | ||
| 60 | return BasicData.allPerson; | 65 | return BasicData.allPerson; |
| 61 | } | 66 | } |
| 62 | 67 | ||
| @@ -72,6 +77,41 @@ public class BasicDataController { | @@ -72,6 +77,41 @@ public class BasicDataController { | ||
| 72 | } | 77 | } |
| 73 | return false; | 78 | return false; |
| 74 | } | 79 | } |
| 75 | - | 80 | + } |
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 刷新车辆和设备号对照数据 | ||
| 84 | + * @return | ||
| 85 | + */ | ||
| 86 | + @RequestMapping(value = "/refresh_nbbm2Device", method = RequestMethod.POST) | ||
| 87 | + public Map<String, Object> refreshNbbm2DeviceId(){ | ||
| 88 | + Map<String, Object> rs = new HashMap<>(); | ||
| 89 | + try { | ||
| 90 | + dataLoader.loadDeviceInfo(); | ||
| 91 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 92 | + }catch (Exception e){ | ||
| 93 | + rs.put("status", ResponseCode.ERROR); | ||
| 94 | + rs.put("msg", e.getMessage()); | ||
| 95 | + logger.error("", e); | ||
| 96 | + } | ||
| 97 | + return rs; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + /** | ||
| 101 | + * 刷新员工对照数据 | ||
| 102 | + * @return | ||
| 103 | + */ | ||
| 104 | + @RequestMapping(value = "/refresh_person_data", method = RequestMethod.POST) | ||
| 105 | + public Map<String, Object> refreshPersonData(){ | ||
| 106 | + Map<String, Object> rs = new HashMap<>(); | ||
| 107 | + try { | ||
| 108 | + dataLoader.loadPersonnelInfo(); | ||
| 109 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 110 | + }catch (Exception e){ | ||
| 111 | + rs.put("status", ResponseCode.ERROR); | ||
| 112 | + rs.put("msg", e.getMessage()); | ||
| 113 | + logger.error("", e); | ||
| 114 | + } | ||
| 115 | + return rs; | ||
| 76 | } | 116 | } |
| 77 | } | 117 | } |
src/main/java/com/bsth/controller/realcontrol/PageForwardingController.java
| 1 | -package com.bsth.controller.realcontrol; | ||
| 2 | - | ||
| 3 | -import com.bsth.entity.sys.SysUser; | ||
| 4 | -import com.bsth.security.util.SecurityUtils; | ||
| 5 | -import org.springframework.stereotype.Controller; | ||
| 6 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
| 7 | -import org.springframework.web.servlet.ModelAndView; | ||
| 8 | - | ||
| 9 | -/** | ||
| 10 | - * 线调登入页面转发 | ||
| 11 | - * Created by panzhao on 2017/1/21. | ||
| 12 | - */ | ||
| 13 | -@Controller | ||
| 14 | -@RequestMapping("real_control") | ||
| 15 | -public class PageForwardingController { | ||
| 16 | - | ||
| 17 | - @RequestMapping("/v2") | ||
| 18 | - public ModelAndView v2(){ | ||
| 19 | - ModelAndView mv = new ModelAndView(); | ||
| 20 | - SysUser user = SecurityUtils.getCurrentUser(); | ||
| 21 | - | ||
| 22 | - //班次管理员 | ||
| 23 | - if(user.getUserName().equals("bcgly")){ | ||
| 24 | - mv.setViewName("/real_control_v2/sch_manage/sch_imitate.html"); | ||
| 25 | - } | ||
| 26 | - //正常线调主页 | ||
| 27 | - else | ||
| 28 | - mv.setViewName("/real_control_v2/main.html"); | ||
| 29 | - return mv; | ||
| 30 | - } | ||
| 31 | -} | 1 | +package com.bsth.controller.realcontrol; |
| 2 | + | ||
| 3 | +import com.bsth.entity.sys.SysUser; | ||
| 4 | +import com.bsth.security.util.SecurityUtils; | ||
| 5 | +import org.springframework.stereotype.Controller; | ||
| 6 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 7 | +import org.springframework.web.servlet.ModelAndView; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 线调登入页面转发 | ||
| 11 | + * Created by panzhao on 2017/1/21. | ||
| 12 | + */ | ||
| 13 | +@Controller | ||
| 14 | +@RequestMapping("real_control") | ||
| 15 | +public class PageForwardingController { | ||
| 16 | + | ||
| 17 | + @RequestMapping("/v2") | ||
| 18 | + public ModelAndView v2(){ | ||
| 19 | + ModelAndView mv = new ModelAndView(); | ||
| 20 | + SysUser user = SecurityUtils.getCurrentUser(); | ||
| 21 | + | ||
| 22 | + //班次管理员 | ||
| 23 | + if(user.getUserName().equals("bcgly")){ | ||
| 24 | + mv.setViewName("/real_control_v2/sch_manage/sch_imitate.html"); | ||
| 25 | + } | ||
| 26 | + //正常线调主页 | ||
| 27 | + else | ||
| 28 | + mv.setViewName("/real_control_v2/main.html"); | ||
| 29 | + return mv; | ||
| 30 | + } | ||
| 31 | +} |
src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
| @@ -434,4 +434,10 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | @@ -434,4 +434,10 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | ||
| 434 | public List<Map<String, Object>> scheduleDailyExport(@RequestParam Map<String, Object> map){ | 434 | public List<Map<String, Object>> scheduleDailyExport(@RequestParam Map<String, Object> map){ |
| 435 | return scheduleRealInfoService.scheduleDailyExport(map); | 435 | return scheduleRealInfoService.scheduleDailyExport(map); |
| 436 | } | 436 | } |
| 437 | + | ||
| 438 | + @RequestMapping(value = "exportWaybillMore", method = RequestMethod.POST) | ||
| 439 | + public Map<String, Object> exportWaybillMore(@RequestParam Map<String, Object> map){ | ||
| 440 | + return scheduleRealInfoService.exportWaybillMore(map); | ||
| 441 | + } | ||
| 442 | + | ||
| 437 | } | 443 | } |
src/main/java/com/bsth/controller/sys/RealControAuthorityController.java
| 1 | -package com.bsth.controller.sys; | ||
| 2 | - | ||
| 3 | -import com.bsth.controller.BaseController; | ||
| 4 | -import com.bsth.entity.sys.RealControAuthority; | ||
| 5 | -import com.bsth.service.sys.RealControAuthorityService; | ||
| 6 | -import org.springframework.beans.factory.annotation.Autowired; | ||
| 7 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
| 8 | -import org.springframework.web.bind.annotation.RequestParam; | ||
| 9 | -import org.springframework.web.bind.annotation.RestController; | ||
| 10 | - | ||
| 11 | -/** | ||
| 12 | - * Created by panzhao on 2017/2/14. | ||
| 13 | - */ | ||
| 14 | -@RestController | ||
| 15 | -@RequestMapping("realControAuthority") | ||
| 16 | -public class RealControAuthorityController extends BaseController<RealControAuthority, Integer> { | ||
| 17 | - | ||
| 18 | - @Autowired | ||
| 19 | - RealControAuthorityService realControAuthorityService; | ||
| 20 | - | ||
| 21 | - @RequestMapping("findByUserId") | ||
| 22 | - public RealControAuthority findByUserId(@RequestParam Integer userId){ | ||
| 23 | - | ||
| 24 | - return realControAuthorityService.findByUserId(userId); | ||
| 25 | - } | ||
| 26 | -} | 1 | +package com.bsth.controller.sys; |
| 2 | + | ||
| 3 | +import com.bsth.controller.BaseController; | ||
| 4 | +import com.bsth.entity.sys.RealControAuthority; | ||
| 5 | +import com.bsth.security.util.SecurityUtils; | ||
| 6 | +import com.bsth.service.sys.RealControAuthorityService; | ||
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 9 | +import org.springframework.web.bind.annotation.RequestParam; | ||
| 10 | +import org.springframework.web.bind.annotation.RestController; | ||
| 11 | + | ||
| 12 | +import javax.servlet.http.HttpServletRequest; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * Created by panzhao on 2017/2/14. | ||
| 16 | + */ | ||
| 17 | +@RestController | ||
| 18 | +@RequestMapping("realControAuthority") | ||
| 19 | +public class RealControAuthorityController extends BaseController<RealControAuthority, Integer> { | ||
| 20 | + | ||
| 21 | + @Autowired | ||
| 22 | + RealControAuthorityService realControAuthorityService; | ||
| 23 | + | ||
| 24 | + @RequestMapping("findByUserId") | ||
| 25 | + public RealControAuthority findByUserId(@RequestParam Integer userId){ | ||
| 26 | + | ||
| 27 | + return realControAuthorityService.findByUserId(userId); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + @RequestMapping("findByCurrentUser") | ||
| 31 | + public RealControAuthority findByUserId(HttpServletRequest request){ | ||
| 32 | + return realControAuthorityService.findByUserId(SecurityUtils.getCurrentUser().getId()); | ||
| 33 | + } | ||
| 34 | +} |
src/main/java/com/bsth/data/BasicData.java
| @@ -309,9 +309,6 @@ public class BasicData implements CommandLineRunner { | @@ -309,9 +309,6 @@ public class BasicData implements CommandLineRunner { | ||
| 309 | if (StringUtils.isEmpty(jobCode)) | 309 | if (StringUtils.isEmpty(jobCode)) |
| 310 | continue; | 310 | continue; |
| 311 | 311 | ||
| 312 | - /*if (jobCode.indexOf("-") != -1) { | ||
| 313 | - jobCode = jobCode.split("-")[1]; | ||
| 314 | - }*/ | ||
| 315 | if (p.getPosts() != null) { | 312 | if (p.getPosts() != null) { |
| 316 | if (p.getPosts().equals("1")) | 313 | if (p.getPosts().equals("1")) |
| 317 | jsyTempMap.put(jobCode, p); | 314 | jsyTempMap.put(jobCode, p); |
src/main/java/com/bsth/data/gpsdata/arrival/entity/ArrivalInfo.java
0 → 100644
| 1 | +package com.bsth.data.gpsdata.arrival.entity; | ||
| 2 | + | ||
| 3 | +/** | ||
| 4 | + * 到离站信息 | ||
| 5 | + * Created by panzhao on 2017/2/20. | ||
| 6 | + */ | ||
| 7 | +public class ArrivalInfo { | ||
| 8 | + | ||
| 9 | + private String lineCode; | ||
| 10 | + | ||
| 11 | + private String deviceId; | ||
| 12 | + | ||
| 13 | + /** 时间戳 */ | ||
| 14 | + private Long ts; | ||
| 15 | + | ||
| 16 | + private String stop; | ||
| 17 | + | ||
| 18 | + private Integer upDown; | ||
| 19 | + | ||
| 20 | + private int inOut; | ||
| 21 | + | ||
| 22 | + | ||
| 23 | +} |
src/main/java/com/bsth/entity/sys/RealControAuthority.java
| 1 | -package com.bsth.entity.sys; | ||
| 2 | - | ||
| 3 | -import javax.persistence.*; | ||
| 4 | - | ||
| 5 | -/** | ||
| 6 | - * 线调权限配置 | ||
| 7 | - * Created by panzhao on 2017/2/14. | ||
| 8 | - */ | ||
| 9 | -@Entity | ||
| 10 | -@Table(name = "bsth_c_real_control_authority") | ||
| 11 | -public class RealControAuthority { | ||
| 12 | - | ||
| 13 | - @Id | ||
| 14 | - private Integer userId; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 可调度的线路 , 分隔多个 | ||
| 18 | - */ | ||
| 19 | - private String lineCodeStr; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 调度模式 0: 监控模式 1:主调模式 | ||
| 23 | - */ | ||
| 24 | - private int pattern; | ||
| 25 | - | ||
| 26 | - public Integer getUserId() { | ||
| 27 | - return userId; | ||
| 28 | - } | ||
| 29 | - | ||
| 30 | - public void setUserId(Integer userId) { | ||
| 31 | - this.userId = userId; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - public String getLineCodeStr() { | ||
| 35 | - return lineCodeStr; | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - public void setLineCodeStr(String lineCodeStr) { | ||
| 39 | - this.lineCodeStr = lineCodeStr; | ||
| 40 | - } | ||
| 41 | - | ||
| 42 | - public int getPattern() { | ||
| 43 | - return pattern; | ||
| 44 | - } | ||
| 45 | - | ||
| 46 | - public void setPattern(int pattern) { | ||
| 47 | - this.pattern = pattern; | ||
| 48 | - } | ||
| 49 | -} | 1 | +package com.bsth.entity.sys; |
| 2 | + | ||
| 3 | +import javax.persistence.*; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 线调权限配置 | ||
| 7 | + * Created by panzhao on 2017/2/14. | ||
| 8 | + */ | ||
| 9 | +@Entity | ||
| 10 | +@Table(name = "bsth_c_real_control_authority") | ||
| 11 | +public class RealControAuthority { | ||
| 12 | + | ||
| 13 | + @Id | ||
| 14 | + private Integer userId; | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * 可调度的线路 , 分隔多个 | ||
| 18 | + */ | ||
| 19 | + private String lineCodeStr; | ||
| 20 | + | ||
| 21 | + /** | ||
| 22 | + * 调度模式 0: 监控模式 1:主调模式 | ||
| 23 | + */ | ||
| 24 | + private int pattern; | ||
| 25 | + | ||
| 26 | + public Integer getUserId() { | ||
| 27 | + return userId; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setUserId(Integer userId) { | ||
| 31 | + this.userId = userId; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public String getLineCodeStr() { | ||
| 35 | + return lineCodeStr; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setLineCodeStr(String lineCodeStr) { | ||
| 39 | + this.lineCodeStr = lineCodeStr; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public int getPattern() { | ||
| 43 | + return pattern; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setPattern(int pattern) { | ||
| 47 | + this.pattern = pattern; | ||
| 48 | + } | ||
| 49 | +} |
src/main/java/com/bsth/filter/ResourceFilter.java
| 1 | package com.bsth.filter; | 1 | package com.bsth.filter; |
| 2 | 2 | ||
| 3 | -import java.io.File; | ||
| 4 | -import java.io.IOException; | 3 | +import com.bsth.util.RequestUtils; |
| 4 | +import org.apache.commons.lang3.StringUtils; | ||
| 5 | 5 | ||
| 6 | import javax.servlet.FilterChain; | 6 | import javax.servlet.FilterChain; |
| 7 | import javax.servlet.ServletException; | 7 | import javax.servlet.ServletException; |
| 8 | import javax.servlet.http.HttpServletRequest; | 8 | import javax.servlet.http.HttpServletRequest; |
| 9 | import javax.servlet.http.HttpServletResponse; | 9 | import javax.servlet.http.HttpServletResponse; |
| 10 | - | ||
| 11 | -import org.apache.commons.lang3.StringUtils; | ||
| 12 | - | ||
| 13 | -import com.bsth.util.RequestUtils; | 10 | +import java.io.File; |
| 11 | +import java.io.IOException; | ||
| 14 | 12 | ||
| 15 | /** | 13 | /** |
| 16 | - * | 14 | + * @author PanZhao |
| 17 | * @ClassName: ResourceFilter | 15 | * @ClassName: ResourceFilter |
| 18 | * @Description: TODO(HTML片段过滤器) | 16 | * @Description: TODO(HTML片段过滤器) |
| 19 | - * @author PanZhao | ||
| 20 | * @date 2016年3月19日 下午10:10:11 | 17 | * @date 2016年3月19日 下午10:10:11 |
| 21 | - * | ||
| 22 | */ | 18 | */ |
| 23 | public class ResourceFilter extends BaseFilter { | 19 | public class ResourceFilter extends BaseFilter { |
| 24 | - | ||
| 25 | - String[] params = new String[]{"no"}; | ||
| 26 | 20 | ||
| 27 | - @Override | ||
| 28 | - public void doFilter(HttpServletRequest request, | ||
| 29 | - HttpServletResponse response, FilterChain chain) | ||
| 30 | - throws IOException, ServletException { | ||
| 31 | - | ||
| 32 | - String uri = request.getRequestURI(); | ||
| 33 | - int len = uri.length(); | ||
| 34 | - if (RequestUtils.isAjaxRequest(request) || | ||
| 35 | - !uri.substring(len - 5, len).equals(".html")) { | ||
| 36 | - super.doFilter(request, response, chain); | ||
| 37 | - } else { | ||
| 38 | - | ||
| 39 | - String fPath = this.getClass().getResource("/").getPath() | ||
| 40 | - + "static/" + uri; | ||
| 41 | - | ||
| 42 | - File f = new File(fPath); | ||
| 43 | - | ||
| 44 | - | ||
| 45 | - if (f.exists() && f.isFile() ){ | ||
| 46 | - request.getRequestDispatcher("/?initFragment=" + joinParam(request)).forward(request, response);; | ||
| 47 | - }else | ||
| 48 | - response.sendRedirect("/"); | ||
| 49 | - } | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - /** | ||
| 53 | - * 拼接参数 | ||
| 54 | - * @param request | ||
| 55 | - * @return | ||
| 56 | - */ | ||
| 57 | - public String joinParam(HttpServletRequest request){ | ||
| 58 | - | ||
| 59 | - StringBuilder sb = new StringBuilder(); | ||
| 60 | - | ||
| 61 | - String v | ||
| 62 | - ,url = request.getRequestURI(); | ||
| 63 | - for(String p : params){ | ||
| 64 | - v = request.getParameter(p); | ||
| 65 | - if(!StringUtils.isEmpty(v)) | ||
| 66 | - sb.append("&" + p + "=" + v); | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | - if(sb.length() > 0) | ||
| 70 | - url += "?" + sb.substring(1, sb.length()); | ||
| 71 | - return url; | ||
| 72 | - } | 21 | + String[] params = new String[]{"no"}; |
| 22 | + | ||
| 23 | + @Override | ||
| 24 | + public void doFilter(HttpServletRequest request, | ||
| 25 | + HttpServletResponse response, FilterChain chain) | ||
| 26 | + throws IOException, ServletException { | ||
| 27 | + | ||
| 28 | + String uri = request.getRequestURI(); | ||
| 29 | + String origin = request.getParameter("origin"); | ||
| 30 | + int len = uri.length(); | ||
| 31 | + if (RequestUtils.isAjaxRequest(request) | ||
| 32 | + || (origin != null && origin.equals("real_control_iframe"))//来自线调 iframe 的请求 | ||
| 33 | + || !uri.substring(len - 5, len).equals(".html")) { | ||
| 34 | + super.doFilter(request, response, chain); | ||
| 35 | + } else { | ||
| 36 | + | ||
| 37 | + String fPath = this.getClass().getResource("/").getPath() | ||
| 38 | + + "static/" + uri; | ||
| 39 | + | ||
| 40 | + File f = new File(fPath); | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + if (f.exists() && f.isFile()) { | ||
| 44 | + request.getRequestDispatcher("/?initFragment=" + joinParam(request)).forward(request, response); | ||
| 45 | + ; | ||
| 46 | + } else | ||
| 47 | + response.sendRedirect("/"); | ||
| 48 | + } | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * 拼接参数 | ||
| 53 | + * | ||
| 54 | + * @param request | ||
| 55 | + * @return | ||
| 56 | + */ | ||
| 57 | + public String joinParam(HttpServletRequest request) { | ||
| 58 | + | ||
| 59 | + StringBuilder sb = new StringBuilder(); | ||
| 60 | + | ||
| 61 | + String v, url = request.getRequestURI(); | ||
| 62 | + for (String p : params) { | ||
| 63 | + v = request.getParameter(p); | ||
| 64 | + if (!StringUtils.isEmpty(v)) | ||
| 65 | + sb.append("&" + p + "=" + v); | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + if (sb.length() > 0) | ||
| 69 | + url += "?" + sb.substring(1, sb.length()); | ||
| 70 | + return url; | ||
| 71 | + } | ||
| 73 | } | 72 | } |
src/main/java/com/bsth/repository/sys/RealControAuthorityRepository.java
| 1 | -package com.bsth.repository.sys; | ||
| 2 | - | ||
| 3 | -import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | -import com.bsth.repository.BaseRepository; | ||
| 5 | -import org.springframework.data.jpa.repository.Query; | ||
| 6 | -import org.springframework.stereotype.Repository; | ||
| 7 | - | ||
| 8 | -/** | ||
| 9 | - * Created by panzhao on 2017/2/14. | ||
| 10 | - */ | ||
| 11 | -@Repository | ||
| 12 | -public interface RealControAuthorityRepository extends BaseRepository<RealControAuthority, Integer>{ | ||
| 13 | - | ||
| 14 | - @Query("select t from RealControAuthority t where t.userId=?1") | ||
| 15 | - RealControAuthority findByUserId(Integer userId); | ||
| 16 | -} | 1 | +package com.bsth.repository.sys; |
| 2 | + | ||
| 3 | +import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | +import com.bsth.repository.BaseRepository; | ||
| 5 | +import org.springframework.data.jpa.repository.Query; | ||
| 6 | +import org.springframework.stereotype.Repository; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * Created by panzhao on 2017/2/14. | ||
| 10 | + */ | ||
| 11 | +@Repository | ||
| 12 | +public interface RealControAuthorityRepository extends BaseRepository<RealControAuthority, Integer>{ | ||
| 13 | + | ||
| 14 | + @Query("select t from RealControAuthority t where t.userId=?1") | ||
| 15 | + RealControAuthority findByUserId(Integer userId); | ||
| 16 | +} |
src/main/java/com/bsth/security/WebSecurityConfig.java
| @@ -54,14 +54,13 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { | @@ -54,14 +54,13 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { | ||
| 54 | //指定登录页 | 54 | //指定登录页 |
| 55 | .loginPage(Constants.LOGIN_PAGE) | 55 | .loginPage(Constants.LOGIN_PAGE) |
| 56 | .loginProcessingUrl(Constants.LOGIN).permitAll() | 56 | .loginProcessingUrl(Constants.LOGIN).permitAll() |
| 57 | - //.failureUrl(Constants.LOGIN_PAGE + "?error=true")登录失败跳转的链接 | ||
| 58 | - //.successHandler(loginSuccessHandler())登录成功后处理 | ||
| 59 | .and().logout() | 57 | .and().logout() |
| 60 | - //.addLogoutHandler(logoutHandler()) | ||
| 61 | //禁用CXRF | 58 | //禁用CXRF |
| 62 | .and().csrf().disable() | 59 | .and().csrf().disable() |
| 63 | //禁用匿名用户功能 | 60 | //禁用匿名用户功能 |
| 64 | - .anonymous().disable(); | 61 | + .anonymous().disable() |
| 62 | + //允许同源 iframe | ||
| 63 | + .headers().frameOptions().sameOrigin().httpStrictTransportSecurity().disable(); | ||
| 65 | 64 | ||
| 66 | // 同时只保持一个回话 | 65 | // 同时只保持一个回话 |
| 67 | http.sessionManagement().maximumSessions(1) | 66 | http.sessionManagement().maximumSessions(1) |
src/main/java/com/bsth/service/realcontrol/ScheduleRealInfoService.java
| @@ -146,4 +146,6 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | @@ -146,4 +146,6 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | ||
| 146 | List<Map<String, Object>> scheduleDailyQp(String line ,String date); | 146 | List<Map<String, Object>> scheduleDailyQp(String line ,String date); |
| 147 | 147 | ||
| 148 | List<Map<String, Object>> scheduleDailyExport(Map<String, Object> map); | 148 | List<Map<String, Object>> scheduleDailyExport(Map<String, Object> map); |
| 149 | + | ||
| 150 | + Map<String, Object> exportWaybillMore(Map<String, Object> map); | ||
| 149 | } | 151 | } |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| 1 | package com.bsth.service.realcontrol.impl; | 1 | package com.bsth.service.realcontrol.impl; |
| 2 | 2 | ||
| 3 | +import com.alibaba.fastjson.JSON; | ||
| 3 | import com.alibaba.fastjson.JSONArray; | 4 | import com.alibaba.fastjson.JSONArray; |
| 4 | import com.alibaba.fastjson.JSONObject; | 5 | import com.alibaba.fastjson.JSONObject; |
| 5 | import com.bsth.common.ResponseCode; | 6 | import com.bsth.common.ResponseCode; |
| @@ -54,10 +55,17 @@ import org.slf4j.LoggerFactory; | @@ -54,10 +55,17 @@ import org.slf4j.LoggerFactory; | ||
| 54 | import org.springframework.beans.factory.annotation.Autowired; | 55 | import org.springframework.beans.factory.annotation.Autowired; |
| 55 | import org.springframework.stereotype.Service; | 56 | import org.springframework.stereotype.Service; |
| 56 | 57 | ||
| 58 | +import java.io.BufferedInputStream; | ||
| 59 | +import java.io.BufferedOutputStream; | ||
| 60 | +import java.io.File; | ||
| 61 | +import java.io.FileInputStream; | ||
| 62 | +import java.io.FileOutputStream; | ||
| 57 | import java.text.DecimalFormat; | 63 | import java.text.DecimalFormat; |
| 58 | import java.text.ParseException; | 64 | import java.text.ParseException; |
| 59 | import java.text.SimpleDateFormat; | 65 | import java.text.SimpleDateFormat; |
| 60 | import java.util.*; | 66 | import java.util.*; |
| 67 | +import java.util.zip.ZipEntry; | ||
| 68 | +import java.util.zip.ZipOutputStream; | ||
| 61 | 69 | ||
| 62 | @Service | 70 | @Service |
| 63 | public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInfo, Long> | 71 | public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInfo, Long> |
| @@ -124,6 +132,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -124,6 +132,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 124 | } | 132 | } |
| 125 | 133 | ||
| 126 | private final static long DAY_TIME = 1000 * 60 * 60 * 24L; | 134 | private final static long DAY_TIME = 1000 * 60 * 60 * 24L; |
| 135 | + | ||
| 136 | + private static int BUF_SIZE = 1024; | ||
| 137 | + | ||
| 127 | private static DateTimeFormatter fmtyyyyMMdd = DateTimeFormat.forPattern("yyyy-MM-dd"); | 138 | private static DateTimeFormatter fmtyyyyMMdd = DateTimeFormat.forPattern("yyyy-MM-dd"); |
| 128 | 139 | ||
| 129 | @Override | 140 | @Override |
| @@ -525,7 +536,6 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -525,7 +536,6 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 525 | map.put("fast", ""); | 536 | map.put("fast", ""); |
| 526 | map.put("slow", ""); | 537 | map.put("slow", ""); |
| 527 | } | 538 | } |
| 528 | - System.out.println(map); | ||
| 529 | listMap.add(map); | 539 | listMap.add(map); |
| 530 | } catch (Exception e) { | 540 | } catch (Exception e) { |
| 531 | e.printStackTrace(); | 541 | e.printStackTrace(); |
| @@ -1341,29 +1351,52 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1341,29 +1351,52 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1341 | @Override | 1351 | @Override |
| 1342 | public List<ScheduleRealInfo> queryListWaybill(String jName, String clZbh, | 1352 | public List<ScheduleRealInfo> queryListWaybill(String jName, String clZbh, |
| 1343 | String lpName, String date,String line) { | 1353 | String lpName, String date,String line) { |
| 1354 | + List<ScheduleRealInfo> listSchedule=new ArrayList<ScheduleRealInfo>(); | ||
| 1344 | List<ScheduleRealInfo> list = null; | 1355 | List<ScheduleRealInfo> list = null; |
| 1345 | list = scheduleRealInfoRepository.queryListWaybill(jName, clZbh, lpName, date,line); | 1356 | list = scheduleRealInfoRepository.queryListWaybill(jName, clZbh, lpName, date,line); |
| 1346 | for (int i = 0; i < list.size(); i++) { | 1357 | for (int i = 0; i < list.size(); i++) { |
| 1347 | ScheduleRealInfo s = list.get(i); | 1358 | ScheduleRealInfo s = list.get(i); |
| 1359 | + s.setAdjustExps(i+1+""); | ||
| 1348 | String remarks = ""; | 1360 | String remarks = ""; |
| 1349 | if (s.getRemarks() != null) { | 1361 | if (s.getRemarks() != null) { |
| 1350 | remarks += s.getRemarks(); | 1362 | remarks += s.getRemarks(); |
| 1351 | } | 1363 | } |
| 1364 | + | ||
| 1352 | Set<ChildTaskPlan> childTaskPlans = s.getcTasks(); | 1365 | Set<ChildTaskPlan> childTaskPlans = s.getcTasks(); |
| 1353 | - if (!childTaskPlans.isEmpty()) { | ||
| 1354 | - Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | ||
| 1355 | - while (it.hasNext()) { | ||
| 1356 | - ChildTaskPlan c = it.next(); | ||
| 1357 | - if (c.getRemarks() != null && c.getRemarks().length() > 0) { | ||
| 1358 | - remarks += c.getRemarks(); | ||
| 1359 | - } | ||
| 1360 | - | ||
| 1361 | - } | 1366 | + if (childTaskPlans.isEmpty()) { |
| 1367 | + if(s.getStatus()==-1){ | ||
| 1368 | + if(remarks.indexOf("烂班")>-1){ | ||
| 1369 | + remarks +="(烂班)"; | ||
| 1370 | + } | ||
| 1371 | + s.setRemarks(remarks); | ||
| 1372 | + } | ||
| 1373 | + | ||
| 1374 | + }else{ | ||
| 1375 | + s.setFcsjActual(""); | ||
| 1376 | + s.setZdsjActual(""); | ||
| 1377 | + } | ||
| 1378 | + listSchedule.add(s); | ||
| 1379 | + if(!childTaskPlans.isEmpty()){ | ||
| 1380 | + Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | ||
| 1381 | + while (it.hasNext()) { | ||
| 1382 | + ChildTaskPlan c = it.next(); | ||
| 1383 | + if(!c.isDestroy()){ | ||
| 1384 | + ScheduleRealInfo t=new ScheduleRealInfo(); | ||
| 1385 | + t.setFcsjActual(c.getStartDate()); | ||
| 1386 | + t.setZdsjActual(c.getEndDate()); | ||
| 1387 | + t.setQdzName(c.getStartStationName()); | ||
| 1388 | + t.setZdzName(c.getEndStationName()); | ||
| 1389 | + t.setJhlc( Double.parseDouble(String.valueOf(c.getMileage()))); | ||
| 1390 | + t.setRemarks(c.getRemarks()); | ||
| 1391 | + t.setAdjustExps("子"); | ||
| 1392 | + listSchedule.add(t); | ||
| 1393 | + } | ||
| 1394 | + } | ||
| 1362 | } | 1395 | } |
| 1363 | - s.setRemarks(remarks); | 1396 | + |
| 1364 | } | 1397 | } |
| 1365 | 1398 | ||
| 1366 | - return list; | 1399 | + return listSchedule; |
| 1367 | } | 1400 | } |
| 1368 | 1401 | ||
| 1369 | @Override | 1402 | @Override |
| @@ -3136,5 +3169,64 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3136,5 +3169,64 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3136 | 3169 | ||
| 3137 | return new ArrayList<Map<String, Object>>(); | 3170 | return new ArrayList<Map<String, Object>>(); |
| 3138 | } | 3171 | } |
| 3172 | + | ||
| 3173 | + @Override | ||
| 3174 | + public Map<String, Object> exportWaybillMore(Map<String, Object> map) { | ||
| 3175 | + String date = map.get("date").toString(); | ||
| 3176 | + String line = map.get("line").toString(); | ||
| 3177 | + List<List> lists = JSON.parseArray(map.get("strs").toString(), List.class); | ||
| 3178 | + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/export/"; | ||
| 3179 | + SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | ||
| 3180 | + sdfSimple = new SimpleDateFormat("yyyyMMdd"); | ||
| 3181 | + int num = 0; | ||
| 3182 | + File file = null; | ||
| 3183 | + try { | ||
| 3184 | + while (true) { | ||
| 3185 | + String fileUrl = path+"行车路单"+sdfSimple.format(sdfMonth.parse(date)); | ||
| 3186 | + file = new File(fileUrl + (num == 0 ? "/" : "(" + num + ")/")); | ||
| 3187 | + if(file.exists()){ | ||
| 3188 | + num++; | ||
| 3189 | + } else { | ||
| 3190 | + break; | ||
| 3191 | + } | ||
| 3192 | + } | ||
| 3193 | + file.mkdirs(); | ||
| 3194 | + | ||
| 3195 | + for(List<String> list : lists){ | ||
| 3196 | + String jName = list.get(0); | ||
| 3197 | + String clZbh = list.get(1); | ||
| 3198 | + String lpName = list.get(2); | ||
| 3199 | + this.exportWaybill(jName, clZbh, lpName, date, line); | ||
| 3200 | + File temp = new File(path+date+"-"+jName+"-"+clZbh+"-"+lpName+"-行车路单.xls"); | ||
| 3201 | + String fileName = file.getName(); | ||
| 3202 | + temp.renameTo(new File(path + fileName + "/" + temp.getName())); | ||
| 3203 | + | ||
| 3204 | + File[] listFiles = file.listFiles(); | ||
| 3205 | + ZipOutputStream zos = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(path+file.getName()+".zip"))); | ||
| 3206 | +// zos.setEncoding("gbk"); | ||
| 3207 | +// zos.putNextEntry(new ZipEntry(fileName + "/")); | ||
| 3208 | + for(int i = 0; i < listFiles.length; i++){ | ||
| 3209 | + zos.putNextEntry(new ZipEntry(fileName+"/"+listFiles[i].getName())); | ||
| 3210 | + BufferedInputStream bis = new BufferedInputStream(new FileInputStream(listFiles[i])); | ||
| 3211 | + BufferedOutputStream bos = new BufferedOutputStream(zos); | ||
| 3212 | + int bytesRead = 0; | ||
| 3213 | + for(byte[] buffer = new byte[BUF_SIZE]; ((bytesRead = bis.read(buffer, 0, BUF_SIZE)) != -1);){ | ||
| 3214 | +// zos.write(buffer, 0, bytesRead); | ||
| 3215 | +// zos.flush(); | ||
| 3216 | + bos.write(buffer, 0, bytesRead); | ||
| 3217 | + bos.flush(); | ||
| 3218 | + } | ||
| 3219 | + } | ||
| 3220 | + zos.close(); | ||
| 3221 | + } | ||
| 3222 | + | ||
| 3223 | + } catch (Exception e) { | ||
| 3224 | + // TODO: handle exception | ||
| 3225 | + e.printStackTrace(); | ||
| 3226 | + } | ||
| 3227 | + | ||
| 3228 | + map.put("fileName", file.getName()); | ||
| 3229 | + return map; | ||
| 3230 | + } | ||
| 3139 | 3231 | ||
| 3140 | } | 3232 | } |
| 3141 | \ No newline at end of file | 3233 | \ No newline at end of file |
src/main/java/com/bsth/service/sys/RealControAuthorityService.java
| 1 | -package com.bsth.service.sys; | ||
| 2 | - | ||
| 3 | -import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | -import com.bsth.service.BaseService; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * Created by panzhao on 2017/2/14. | ||
| 8 | - */ | ||
| 9 | -public interface RealControAuthorityService extends BaseService<RealControAuthority, Integer> { | ||
| 10 | - RealControAuthority findByUserId(Integer userId); | ||
| 11 | -} | 1 | +package com.bsth.service.sys; |
| 2 | + | ||
| 3 | +import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | +import com.bsth.service.BaseService; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * Created by panzhao on 2017/2/14. | ||
| 8 | + */ | ||
| 9 | +public interface RealControAuthorityService extends BaseService<RealControAuthority, Integer> { | ||
| 10 | + RealControAuthority findByUserId(Integer userId); | ||
| 11 | +} |
src/main/java/com/bsth/service/sys/impl/RealControAuthorityServiceImpl.java
| 1 | -package com.bsth.service.sys.impl; | ||
| 2 | - | ||
| 3 | -import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | -import com.bsth.repository.sys.RealControAuthorityRepository; | ||
| 5 | -import com.bsth.service.impl.BaseServiceImpl; | ||
| 6 | -import com.bsth.service.sys.RealControAuthorityService; | ||
| 7 | -import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | -import org.springframework.stereotype.Service; | ||
| 9 | - | ||
| 10 | -/** | ||
| 11 | - * Created by panzhao on 2017/2/14. | ||
| 12 | - */ | ||
| 13 | -@Service | ||
| 14 | -public class RealControAuthorityServiceImpl extends BaseServiceImpl<RealControAuthority, Integer> implements RealControAuthorityService { | ||
| 15 | - | ||
| 16 | - @Autowired | ||
| 17 | - RealControAuthorityRepository realControAuthorityRepository; | ||
| 18 | - | ||
| 19 | - @Override | ||
| 20 | - public RealControAuthority findByUserId(Integer userId) { | ||
| 21 | - return realControAuthorityRepository.findByUserId(userId); | ||
| 22 | - } | ||
| 23 | -} | 1 | +package com.bsth.service.sys.impl; |
| 2 | + | ||
| 3 | +import com.bsth.entity.sys.RealControAuthority; | ||
| 4 | +import com.bsth.repository.sys.RealControAuthorityRepository; | ||
| 5 | +import com.bsth.service.impl.BaseServiceImpl; | ||
| 6 | +import com.bsth.service.sys.RealControAuthorityService; | ||
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | +import org.springframework.stereotype.Service; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * Created by panzhao on 2017/2/14. | ||
| 12 | + */ | ||
| 13 | +@Service | ||
| 14 | +public class RealControAuthorityServiceImpl extends BaseServiceImpl<RealControAuthority, Integer> implements RealControAuthorityService { | ||
| 15 | + | ||
| 16 | + @Autowired | ||
| 17 | + RealControAuthorityRepository realControAuthorityRepository; | ||
| 18 | + | ||
| 19 | + @Override | ||
| 20 | + public RealControAuthority findByUserId(Integer userId) { | ||
| 21 | + return realControAuthorityRepository.findByUserId(userId); | ||
| 22 | + } | ||
| 23 | +} |
src/main/resources/application-dev.properties
| @@ -6,14 +6,11 @@ spring.jpa.hibernate.ddl-auto= update | @@ -6,14 +6,11 @@ spring.jpa.hibernate.ddl-auto= update | ||
| 6 | spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | 6 | spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy |
| 7 | #DATABASE | 7 | #DATABASE |
| 8 | spring.jpa.database= MYSQL | 8 | spring.jpa.database= MYSQL |
| 9 | -spring.jpa.show-sql= true | ||
| 10 | -#spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 11 | -#spring.datasource.url= jdbc:mysql://192.168.168.201/mh_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 12 | -#spring.datasource.username= root | ||
| 13 | -#spring.datasource.password= 123456 | ||
| 14 | -spring.datasource.url= jdbc:mysql://localhost/mh_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 9 | +spring.jpa.show-sql= false |
| 10 | +spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 11 | +spring.datasource.url= jdbc:mysql://192.168.168.201/:3306/mh_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 15 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 16 | -spring.datasource.password= root | 13 | +spring.datasource.password= 123456 |
| 17 | #DATASOURCE | 14 | #DATASOURCE |
| 18 | spring.datasource.max-active=100 | 15 | spring.datasource.max-active=100 |
| 19 | spring.datasource.max-idle=8 | 16 | spring.datasource.max-idle=8 |
src/main/resources/datatools/ktrs/carsConfigDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>车辆配置信息导入</name> | ||
| 5 | - <description>车辆配置信息导入</description> | ||
| 6 | - <extended_description>配车信息</extended_description> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>erroroutputdir</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>ktr step配置的错误输出目录</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>filepath</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>待处理导入的excel文件</description> | ||
| 21 | - </parameter> | ||
| 22 | - </parameters> | ||
| 23 | - <log> | ||
| 24 | -<trans-log-table><connection/> | ||
| 25 | -<schema/> | ||
| 26 | -<table/> | ||
| 27 | -<size_limit_lines/> | ||
| 28 | -<interval/> | ||
| 29 | -<timeout_days/> | ||
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | -<perf-log-table><connection/> | ||
| 32 | -<schema/> | ||
| 33 | -<table/> | ||
| 34 | -<interval/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | -<channel-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | -<step-log-table><connection/> | ||
| 43 | -<schema/> | ||
| 44 | -<table/> | ||
| 45 | -<timeout_days/> | ||
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | -<metrics-log-table><connection/> | ||
| 48 | -<schema/> | ||
| 49 | -<table/> | ||
| 50 | -<timeout_days/> | ||
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | - </log> | ||
| 53 | - <maxdate> | ||
| 54 | - <connection/> | ||
| 55 | - <table/> | ||
| 56 | - <field/> | ||
| 57 | - <offset>0.0</offset> | ||
| 58 | - <maxdiff>0.0</maxdiff> | ||
| 59 | - </maxdate> | ||
| 60 | - <size_rowset>10000</size_rowset> | ||
| 61 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | - <sleep_time_full>50</sleep_time_full> | ||
| 63 | - <unique_connections>N</unique_connections> | ||
| 64 | - <feedback_shown>Y</feedback_shown> | ||
| 65 | - <feedback_size>50000</feedback_size> | ||
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | - <shared_objects_file/> | ||
| 68 | - <capture_step_performance>N</capture_step_performance> | ||
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | - <dependencies> | ||
| 72 | - </dependencies> | ||
| 73 | - <partitionschemas> | ||
| 74 | - </partitionschemas> | ||
| 75 | - <slaveservers> | ||
| 76 | - </slaveservers> | ||
| 77 | - <clusterschemas> | ||
| 78 | - </clusterschemas> | ||
| 79 | - <created_user>-</created_user> | ||
| 80 | - <created_date>2016/06/29 13:15:32.118</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2016/06/29 13:15:32.118</modified_date> | ||
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | - <is_key_private>N</is_key_private> | ||
| 85 | - </info> | ||
| 86 | - <notepads> | ||
| 87 | - <notepad> | ||
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题
</note> | ||
| 89 | - <xloc>40</xloc> | ||
| 90 | - <yloc>238</yloc> | ||
| 91 | - <width>333</width> | ||
| 92 | - <heigth>106</heigth> | ||
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 94 | - <fontsize>12</fontsize> | ||
| 95 | - <fontbold>N</fontbold> | ||
| 96 | - <fontitalic>N</fontitalic> | ||
| 97 | - <fontcolorred>0</fontcolorred> | ||
| 98 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 99 | - <fontcolorblue>0</fontcolorblue> | ||
| 100 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 103 | - <bordercolorred>100</bordercolorred> | ||
| 104 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 105 | - <bordercolorblue>100</bordercolorblue> | ||
| 106 | - <drawshadow>Y</drawshadow> | ||
| 107 | - </notepad> | ||
| 108 | - </notepads> | ||
| 109 | - <connection> | ||
| 110 | - <name>bus_control_variable</name> | ||
| 111 | - <server>${v_db_ip}</server> | ||
| 112 | - <type>MYSQL</type> | ||
| 113 | - <access>Native</access> | ||
| 114 | - <database>${v_db_dname}</database> | ||
| 115 | - <port>3306</port> | ||
| 116 | - <username>${v_db_uname}</username> | ||
| 117 | - <password>${v_db_pwd}</password> | ||
| 118 | - <servername/> | ||
| 119 | - <data_tablespace/> | ||
| 120 | - <index_tablespace/> | ||
| 121 | - <attributes> | ||
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 123 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 125 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 127 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 128 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 129 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 130 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 131 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 133 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 134 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 135 | - </attributes> | ||
| 136 | - </connection> | ||
| 137 | - <connection> | ||
| 138 | - <name>bus_control_公司_201</name> | ||
| 139 | - <server>localhost</server> | ||
| 140 | - <type>MYSQL</type> | ||
| 141 | - <access>Native</access> | ||
| 142 | - <database>control</database> | ||
| 143 | - <port>3306</port> | ||
| 144 | - <username>root</username> | ||
| 145 | - <password>Encrypted </password> | ||
| 146 | - <servername/> | ||
| 147 | - <data_tablespace/> | ||
| 148 | - <index_tablespace/> | ||
| 149 | - <attributes> | ||
| 150 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 152 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 154 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 155 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 156 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 157 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 158 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 160 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 161 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 162 | - </attributes> | ||
| 163 | - </connection> | ||
| 164 | - <connection> | ||
| 165 | - <name>bus_control_本机</name> | ||
| 166 | - <server>localhost</server> | ||
| 167 | - <type>MYSQL</type> | ||
| 168 | - <access>Native</access> | ||
| 169 | - <database>control</database> | ||
| 170 | - <port>3306</port> | ||
| 171 | - <username>root</username> | ||
| 172 | - <password>Encrypted </password> | ||
| 173 | - <servername/> | ||
| 174 | - <data_tablespace/> | ||
| 175 | - <index_tablespace/> | ||
| 176 | - <attributes> | ||
| 177 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 179 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 181 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 182 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 183 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 184 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 185 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 186 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 187 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 188 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 189 | - </attributes> | ||
| 190 | - </connection> | ||
| 191 | - <connection> | ||
| 192 | - <name>xlab_mysql_youle</name> | ||
| 193 | - <server>101.231.124.8</server> | ||
| 194 | - <type>MYSQL</type> | ||
| 195 | - <access>Native</access> | ||
| 196 | - <database>xlab_youle</database> | ||
| 197 | - <port>45687</port> | ||
| 198 | - <username>xlab-youle</username> | ||
| 199 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 200 | - <servername/> | ||
| 201 | - <data_tablespace/> | ||
| 202 | - <index_tablespace/> | ||
| 203 | - <attributes> | ||
| 204 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 206 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 208 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 209 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 210 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 211 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 212 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 213 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 215 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 216 | - </attributes> | ||
| 217 | - </connection> | ||
| 218 | - <connection> | ||
| 219 | - <name>xlab_mysql_youle(本机)</name> | ||
| 220 | - <server>localhost</server> | ||
| 221 | - <type>MYSQL</type> | ||
| 222 | - <access>Native</access> | ||
| 223 | - <database>xlab_youle</database> | ||
| 224 | - <port>3306</port> | ||
| 225 | - <username>root</username> | ||
| 226 | - <password>Encrypted </password> | ||
| 227 | - <servername/> | ||
| 228 | - <data_tablespace/> | ||
| 229 | - <index_tablespace/> | ||
| 230 | - <attributes> | ||
| 231 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 232 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 234 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 235 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 236 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 237 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 238 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 240 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 241 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 242 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 243 | - </attributes> | ||
| 244 | - </connection> | ||
| 245 | - <connection> | ||
| 246 | - <name>xlab_youle</name> | ||
| 247 | - <server/> | ||
| 248 | - <type>MYSQL</type> | ||
| 249 | - <access>JNDI</access> | ||
| 250 | - <database>xlab_youle</database> | ||
| 251 | - <port>1521</port> | ||
| 252 | - <username/> | ||
| 253 | - <password>Encrypted </password> | ||
| 254 | - <servername/> | ||
| 255 | - <data_tablespace/> | ||
| 256 | - <index_tablespace/> | ||
| 257 | - <attributes> | ||
| 258 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 259 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 260 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 261 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 262 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 263 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 264 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 265 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 266 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 267 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 268 | - </attributes> | ||
| 269 | - </connection> | ||
| 270 | - <order> | ||
| 271 | - <hop> <from>插入/更新bsth_c_s_ccinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | ||
| 272 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 273 | - <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | ||
| 274 | - <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | ||
| 275 | - <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | ||
| 276 | - <hop> <from>过滤线路id为空记录</from><to>车辆id查询</to><enabled>Y</enabled> </hop> | ||
| 277 | - <hop> <from>车辆id查询</from><to>过滤车辆id为空记录</to><enabled>Y</enabled> </hop> | ||
| 278 | - <hop> <from>过滤车辆id为空记录</from><to>日期转换</to><enabled>Y</enabled> </hop> | ||
| 279 | - <hop> <from>日期转换</from><to>是否切换</to><enabled>Y</enabled> </hop> | ||
| 280 | - <hop> <from>是否切换</from><to>插入/更新bsth_c_s_ccinfo</to><enabled>Y</enabled> </hop> | ||
| 281 | - </order> | ||
| 282 | - <step> | ||
| 283 | - <name>原始系统导出的Excel输入</name> | ||
| 284 | - <type>ExcelInput</type> | ||
| 285 | - <description/> | ||
| 286 | - <distribute>Y</distribute> | ||
| 287 | - <custom_distribution/> | ||
| 288 | - <copies>1</copies> | ||
| 289 | - <partitioning> | ||
| 290 | - <method>none</method> | ||
| 291 | - <schema_name/> | ||
| 292 | - </partitioning> | ||
| 293 | - <header>Y</header> | ||
| 294 | - <noempty>Y</noempty> | ||
| 295 | - <stoponempty>N</stoponempty> | ||
| 296 | - <filefield/> | ||
| 297 | - <sheetfield/> | ||
| 298 | - <sheetrownumfield/> | ||
| 299 | - <rownumfield/> | ||
| 300 | - <sheetfield/> | ||
| 301 | - <filefield/> | ||
| 302 | - <limit>0</limit> | ||
| 303 | - <encoding/> | ||
| 304 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 305 | - <accept_filenames>Y</accept_filenames> | ||
| 306 | - <accept_field>filepath_</accept_field> | ||
| 307 | - <accept_stepname>获取变量</accept_stepname> | ||
| 308 | - <file> | ||
| 309 | - <name/> | ||
| 310 | - <filemask/> | ||
| 311 | - <exclude_filemask/> | ||
| 312 | - <file_required>N</file_required> | ||
| 313 | - <include_subfolders>N</include_subfolders> | ||
| 314 | - </file> | ||
| 315 | - <fields> | ||
| 316 | - <field> | ||
| 317 | - <name>线路</name> | ||
| 318 | - <type>String</type> | ||
| 319 | - <length>-1</length> | ||
| 320 | - <precision>-1</precision> | ||
| 321 | - <trim_type>none</trim_type> | ||
| 322 | - <repeat>N</repeat> | ||
| 323 | - <format/> | ||
| 324 | - <currency/> | ||
| 325 | - <decimal/> | ||
| 326 | - <group/> | ||
| 327 | - </field> | ||
| 328 | - <field> | ||
| 329 | - <name>内部编码</name> | ||
| 330 | - <type>String</type> | ||
| 331 | - <length>-1</length> | ||
| 332 | - <precision>-1</precision> | ||
| 333 | - <trim_type>none</trim_type> | ||
| 334 | - <repeat>N</repeat> | ||
| 335 | - <format>#</format> | ||
| 336 | - <currency/> | ||
| 337 | - <decimal/> | ||
| 338 | - <group/> | ||
| 339 | - </field> | ||
| 340 | - <field> | ||
| 341 | - <name>启用日期</name> | ||
| 342 | - <type>String</type> | ||
| 343 | - <length>-1</length> | ||
| 344 | - <precision>-1</precision> | ||
| 345 | - <trim_type>none</trim_type> | ||
| 346 | - <repeat>N</repeat> | ||
| 347 | - <format/> | ||
| 348 | - <currency/> | ||
| 349 | - <decimal/> | ||
| 350 | - <group/> | ||
| 351 | - </field> | ||
| 352 | - <field> | ||
| 353 | - <name>终结日期</name> | ||
| 354 | - <type>String</type> | ||
| 355 | - <length>-1</length> | ||
| 356 | - <precision>-1</precision> | ||
| 357 | - <trim_type>none</trim_type> | ||
| 358 | - <repeat>N</repeat> | ||
| 359 | - <format/> | ||
| 360 | - <currency/> | ||
| 361 | - <decimal/> | ||
| 362 | - <group/> | ||
| 363 | - </field> | ||
| 364 | - <field> | ||
| 365 | - <name>停车点</name> | ||
| 366 | - <type>String</type> | ||
| 367 | - <length>-1</length> | ||
| 368 | - <precision>-1</precision> | ||
| 369 | - <trim_type>none</trim_type> | ||
| 370 | - <repeat>N</repeat> | ||
| 371 | - <format/> | ||
| 372 | - <currency/> | ||
| 373 | - <decimal/> | ||
| 374 | - <group/> | ||
| 375 | - </field> | ||
| 376 | - </fields> | ||
| 377 | - <sheets> | ||
| 378 | - <sheet> | ||
| 379 | - <name>工作表1</name> | ||
| 380 | - <startrow>0</startrow> | ||
| 381 | - <startcol>0</startcol> | ||
| 382 | - </sheet> | ||
| 383 | - </sheets> | ||
| 384 | - <strict_types>N</strict_types> | ||
| 385 | - <error_ignored>N</error_ignored> | ||
| 386 | - <error_line_skipped>N</error_line_skipped> | ||
| 387 | - <bad_line_files_destination_directory/> | ||
| 388 | - <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 389 | - <error_line_files_destination_directory/> | ||
| 390 | - <error_line_files_extension>error</error_line_files_extension> | ||
| 391 | - <line_number_files_destination_directory/> | ||
| 392 | - <line_number_files_extension>line</line_number_files_extension> | ||
| 393 | - <shortFileFieldName/> | ||
| 394 | - <pathFieldName/> | ||
| 395 | - <hiddenFieldName/> | ||
| 396 | - <lastModificationTimeFieldName/> | ||
| 397 | - <uriNameFieldName/> | ||
| 398 | - <rootUriNameFieldName/> | ||
| 399 | - <extensionFieldName/> | ||
| 400 | - <sizeFieldName/> | ||
| 401 | - <spreadsheet_type>JXL</spreadsheet_type> | ||
| 402 | - <cluster_schema/> | ||
| 403 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 404 | - <xloc>155</xloc> | ||
| 405 | - <yloc>56</yloc> | ||
| 406 | - <draw>Y</draw> | ||
| 407 | - </GUI> | ||
| 408 | - </step> | ||
| 409 | - | ||
| 410 | - <step> | ||
| 411 | - <name>启用被数据flag</name> | ||
| 412 | - <type>Constant</type> | ||
| 413 | - <description/> | ||
| 414 | - <distribute>Y</distribute> | ||
| 415 | - <custom_distribution/> | ||
| 416 | - <copies>1</copies> | ||
| 417 | - <partitioning> | ||
| 418 | - <method>none</method> | ||
| 419 | - <schema_name/> | ||
| 420 | - </partitioning> | ||
| 421 | - <fields> | ||
| 422 | - <field> | ||
| 423 | - <name>isCancel</name> | ||
| 424 | - <type>Integer</type> | ||
| 425 | - <format/> | ||
| 426 | - <currency/> | ||
| 427 | - <decimal/> | ||
| 428 | - <group/> | ||
| 429 | - <nullif>0</nullif> | ||
| 430 | - <length>-1</length> | ||
| 431 | - <precision>-1</precision> | ||
| 432 | - <set_empty_string>N</set_empty_string> | ||
| 433 | - </field> | ||
| 434 | - </fields> | ||
| 435 | - <cluster_schema/> | ||
| 436 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 437 | - <xloc>315</xloc> | ||
| 438 | - <yloc>57</yloc> | ||
| 439 | - <draw>Y</draw> | ||
| 440 | - </GUI> | ||
| 441 | - </step> | ||
| 442 | - | ||
| 443 | - <step> | ||
| 444 | - <name>插入/更新bsth_c_s_ccinfo</name> | ||
| 445 | - <type>InsertUpdate</type> | ||
| 446 | - <description/> | ||
| 447 | - <distribute>Y</distribute> | ||
| 448 | - <custom_distribution/> | ||
| 449 | - <copies>1</copies> | ||
| 450 | - <partitioning> | ||
| 451 | - <method>none</method> | ||
| 452 | - <schema_name/> | ||
| 453 | - </partitioning> | ||
| 454 | - <connection>bus_control_variable</connection> | ||
| 455 | - <commit>100</commit> | ||
| 456 | - <update_bypassed>N</update_bypassed> | ||
| 457 | - <lookup> | ||
| 458 | - <schema/> | ||
| 459 | - <table>bsth_c_s_ccinfo</table> | ||
| 460 | - <key> | ||
| 461 | - <name>xlid</name> | ||
| 462 | - <field>xl</field> | ||
| 463 | - <condition>=</condition> | ||
| 464 | - <name2/> | ||
| 465 | - </key> | ||
| 466 | - <key> | ||
| 467 | - <name>clid</name> | ||
| 468 | - <field>cl</field> | ||
| 469 | - <condition>=</condition> | ||
| 470 | - <name2/> | ||
| 471 | - </key> | ||
| 472 | - <key> | ||
| 473 | - <name>isCancel</name> | ||
| 474 | - <field>is_cancel</field> | ||
| 475 | - <condition>=</condition> | ||
| 476 | - <name2/> | ||
| 477 | - </key> | ||
| 478 | - <value> | ||
| 479 | - <name>xl</name> | ||
| 480 | - <rename>xlId</rename> | ||
| 481 | - <update>N</update> | ||
| 482 | - </value> | ||
| 483 | - <value> | ||
| 484 | - <name>cl</name> | ||
| 485 | - <rename>clId</rename> | ||
| 486 | - <update>N</update> | ||
| 487 | - </value> | ||
| 488 | - <value> | ||
| 489 | - <name>is_switch</name> | ||
| 490 | - <rename>isswitch</rename> | ||
| 491 | - <update>N</update> | ||
| 492 | - </value> | ||
| 493 | - <value> | ||
| 494 | - <name>tcd</name> | ||
| 495 | - <rename>停车点</rename> | ||
| 496 | - <update>N</update> | ||
| 497 | - </value> | ||
| 498 | - <value> | ||
| 499 | - <name>zzrq</name> | ||
| 500 | - <rename>终结日期</rename> | ||
| 501 | - <update>N</update> | ||
| 502 | - </value> | ||
| 503 | - <value> | ||
| 504 | - <name>qyrq</name> | ||
| 505 | - <rename>启用日期</rename> | ||
| 506 | - <update>N</update> | ||
| 507 | - </value> | ||
| 508 | - <value> | ||
| 509 | - <name>is_cancel</name> | ||
| 510 | - <rename>isCancel</rename> | ||
| 511 | - <update>N</update> | ||
| 512 | - </value> | ||
| 513 | - </lookup> | ||
| 514 | - <cluster_schema/> | ||
| 515 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 516 | - <xloc>804</xloc> | ||
| 517 | - <yloc>236</yloc> | ||
| 518 | - <draw>Y</draw> | ||
| 519 | - </GUI> | ||
| 520 | - </step> | ||
| 521 | - | ||
| 522 | - <step> | ||
| 523 | - <name>日期转换</name> | ||
| 524 | - <type>SelectValues</type> | ||
| 525 | - <description/> | ||
| 526 | - <distribute>Y</distribute> | ||
| 527 | - <custom_distribution/> | ||
| 528 | - <copies>1</copies> | ||
| 529 | - <partitioning> | ||
| 530 | - <method>none</method> | ||
| 531 | - <schema_name/> | ||
| 532 | - </partitioning> | ||
| 533 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 534 | - <meta> <name>启用日期</name> | ||
| 535 | - <rename>启用日期</rename> | ||
| 536 | - <type>Timestamp</type> | ||
| 537 | - <length>-2</length> | ||
| 538 | - <precision>-2</precision> | ||
| 539 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 540 | - <date_format_lenient>false</date_format_lenient> | ||
| 541 | - <date_format_locale/> | ||
| 542 | - <date_format_timezone/> | ||
| 543 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 544 | - <encoding/> | ||
| 545 | - <decimal_symbol/> | ||
| 546 | - <grouping_symbol/> | ||
| 547 | - <currency_symbol/> | ||
| 548 | - <storage_type/> | ||
| 549 | - </meta> <meta> <name>终结日期</name> | ||
| 550 | - <rename>终结日期</rename> | ||
| 551 | - <type>Timestamp</type> | ||
| 552 | - <length>-2</length> | ||
| 553 | - <precision>-2</precision> | ||
| 554 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 555 | - <date_format_lenient>false</date_format_lenient> | ||
| 556 | - <date_format_locale/> | ||
| 557 | - <date_format_timezone/> | ||
| 558 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 559 | - <encoding/> | ||
| 560 | - <decimal_symbol/> | ||
| 561 | - <grouping_symbol/> | ||
| 562 | - <currency_symbol/> | ||
| 563 | - <storage_type/> | ||
| 564 | - </meta> </fields> <cluster_schema/> | ||
| 565 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 566 | - <xloc>703</xloc> | ||
| 567 | - <yloc>136</yloc> | ||
| 568 | - <draw>Y</draw> | ||
| 569 | - </GUI> | ||
| 570 | - </step> | ||
| 571 | - | ||
| 572 | - <step> | ||
| 573 | - <name>是否切换</name> | ||
| 574 | - <type>Constant</type> | ||
| 575 | - <description/> | ||
| 576 | - <distribute>Y</distribute> | ||
| 577 | - <custom_distribution/> | ||
| 578 | - <copies>1</copies> | ||
| 579 | - <partitioning> | ||
| 580 | - <method>none</method> | ||
| 581 | - <schema_name/> | ||
| 582 | - </partitioning> | ||
| 583 | - <fields> | ||
| 584 | - <field> | ||
| 585 | - <name>isswitch</name> | ||
| 586 | - <type>Integer</type> | ||
| 587 | - <format/> | ||
| 588 | - <currency/> | ||
| 589 | - <decimal/> | ||
| 590 | - <group/> | ||
| 591 | - <nullif>0</nullif> | ||
| 592 | - <length>-1</length> | ||
| 593 | - <precision>-1</precision> | ||
| 594 | - <set_empty_string>N</set_empty_string> | ||
| 595 | - </field> | ||
| 596 | - </fields> | ||
| 597 | - <cluster_schema/> | ||
| 598 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 599 | - <xloc>803</xloc> | ||
| 600 | - <yloc>137</yloc> | ||
| 601 | - <draw>Y</draw> | ||
| 602 | - </GUI> | ||
| 603 | - </step> | ||
| 604 | - | ||
| 605 | - <step> | ||
| 606 | - <name>线路id查询</name> | ||
| 607 | - <type>DBLookup</type> | ||
| 608 | - <description/> | ||
| 609 | - <distribute>Y</distribute> | ||
| 610 | - <custom_distribution/> | ||
| 611 | - <copies>1</copies> | ||
| 612 | - <partitioning> | ||
| 613 | - <method>none</method> | ||
| 614 | - <schema_name/> | ||
| 615 | - </partitioning> | ||
| 616 | - <connection>bus_control_variable</connection> | ||
| 617 | - <cache>Y</cache> | ||
| 618 | - <cache_load_all>Y</cache_load_all> | ||
| 619 | - <cache_size>0</cache_size> | ||
| 620 | - <lookup> | ||
| 621 | - <schema/> | ||
| 622 | - <table>bsth_c_line</table> | ||
| 623 | - <orderby/> | ||
| 624 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 625 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 626 | - <key> | ||
| 627 | - <name>线路</name> | ||
| 628 | - <field>name</field> | ||
| 629 | - <condition>=</condition> | ||
| 630 | - <name2/> | ||
| 631 | - </key> | ||
| 632 | - <key> | ||
| 633 | - <name>isCancel</name> | ||
| 634 | - <field>destroy</field> | ||
| 635 | - <condition>=</condition> | ||
| 636 | - <name2/> | ||
| 637 | - </key> | ||
| 638 | - <value> | ||
| 639 | - <name>id</name> | ||
| 640 | - <rename>xlid</rename> | ||
| 641 | - <default/> | ||
| 642 | - <type>Integer</type> | ||
| 643 | - </value> | ||
| 644 | - </lookup> | ||
| 645 | - <cluster_schema/> | ||
| 646 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 647 | - <xloc>438</xloc> | ||
| 648 | - <yloc>57</yloc> | ||
| 649 | - <draw>Y</draw> | ||
| 650 | - </GUI> | ||
| 651 | - </step> | ||
| 652 | - | ||
| 653 | - <step> | ||
| 654 | - <name>获取变量</name> | ||
| 655 | - <type>GetVariable</type> | ||
| 656 | - <description/> | ||
| 657 | - <distribute>Y</distribute> | ||
| 658 | - <custom_distribution/> | ||
| 659 | - <copies>1</copies> | ||
| 660 | - <partitioning> | ||
| 661 | - <method>none</method> | ||
| 662 | - <schema_name/> | ||
| 663 | - </partitioning> | ||
| 664 | - <fields> | ||
| 665 | - <field> | ||
| 666 | - <name>filepath_</name> | ||
| 667 | - <variable>${filepath}</variable> | ||
| 668 | - <type>String</type> | ||
| 669 | - <format/> | ||
| 670 | - <currency/> | ||
| 671 | - <decimal/> | ||
| 672 | - <group/> | ||
| 673 | - <length>-1</length> | ||
| 674 | - <precision>-1</precision> | ||
| 675 | - <trim_type>none</trim_type> | ||
| 676 | - </field> | ||
| 677 | - <field> | ||
| 678 | - <name>erroroutputdir_</name> | ||
| 679 | - <variable>${erroroutputdir}</variable> | ||
| 680 | - <type>String</type> | ||
| 681 | - <format/> | ||
| 682 | - <currency/> | ||
| 683 | - <decimal/> | ||
| 684 | - <group/> | ||
| 685 | - <length>-1</length> | ||
| 686 | - <precision>-1</precision> | ||
| 687 | - <trim_type>none</trim_type> | ||
| 688 | - </field> | ||
| 689 | - </fields> | ||
| 690 | - <cluster_schema/> | ||
| 691 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 692 | - <xloc>156</xloc> | ||
| 693 | - <yloc>150</yloc> | ||
| 694 | - <draw>Y</draw> | ||
| 695 | - </GUI> | ||
| 696 | - </step> | ||
| 697 | - | ||
| 698 | - <step> | ||
| 699 | - <name>车辆id查询</name> | ||
| 700 | - <type>DBLookup</type> | ||
| 701 | - <description/> | ||
| 702 | - <distribute>Y</distribute> | ||
| 703 | - <custom_distribution/> | ||
| 704 | - <copies>1</copies> | ||
| 705 | - <partitioning> | ||
| 706 | - <method>none</method> | ||
| 707 | - <schema_name/> | ||
| 708 | - </partitioning> | ||
| 709 | - <connection>bus_control_variable</connection> | ||
| 710 | - <cache>Y</cache> | ||
| 711 | - <cache_load_all>Y</cache_load_all> | ||
| 712 | - <cache_size>0</cache_size> | ||
| 713 | - <lookup> | ||
| 714 | - <schema/> | ||
| 715 | - <table>bsth_c_cars</table> | ||
| 716 | - <orderby/> | ||
| 717 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 718 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 719 | - <key> | ||
| 720 | - <name>内部编码</name> | ||
| 721 | - <field>inside_code</field> | ||
| 722 | - <condition>=</condition> | ||
| 723 | - <name2/> | ||
| 724 | - </key> | ||
| 725 | - <value> | ||
| 726 | - <name>id</name> | ||
| 727 | - <rename>clid</rename> | ||
| 728 | - <default/> | ||
| 729 | - <type>Integer</type> | ||
| 730 | - </value> | ||
| 731 | - </lookup> | ||
| 732 | - <cluster_schema/> | ||
| 733 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 734 | - <xloc>440</xloc> | ||
| 735 | - <yloc>138</yloc> | ||
| 736 | - <draw>Y</draw> | ||
| 737 | - </GUI> | ||
| 738 | - </step> | ||
| 739 | - | ||
| 740 | - <step> | ||
| 741 | - <name>过滤线路id为空记录</name> | ||
| 742 | - <type>FilterRows</type> | ||
| 743 | - <description/> | ||
| 744 | - <distribute>Y</distribute> | ||
| 745 | - <custom_distribution/> | ||
| 746 | - <copies>1</copies> | ||
| 747 | - <partitioning> | ||
| 748 | - <method>none</method> | ||
| 749 | - <schema_name/> | ||
| 750 | - </partitioning> | ||
| 751 | -<send_true_to>车辆id查询</send_true_to> | ||
| 752 | -<send_false_to/> | ||
| 753 | - <compare> | ||
| 754 | -<condition> | ||
| 755 | - <negated>N</negated> | ||
| 756 | - <leftvalue>xlid</leftvalue> | ||
| 757 | - <function>IS NOT NULL</function> | ||
| 758 | - <rightvalue/> | ||
| 759 | - </condition> | ||
| 760 | - </compare> | ||
| 761 | - <cluster_schema/> | ||
| 762 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 763 | - <xloc>563</xloc> | ||
| 764 | - <yloc>57</yloc> | ||
| 765 | - <draw>Y</draw> | ||
| 766 | - </GUI> | ||
| 767 | - </step> | ||
| 768 | - | ||
| 769 | - <step> | ||
| 770 | - <name>过滤车辆id为空记录</name> | ||
| 771 | - <type>FilterRows</type> | ||
| 772 | - <description/> | ||
| 773 | - <distribute>Y</distribute> | ||
| 774 | - <custom_distribution/> | ||
| 775 | - <copies>1</copies> | ||
| 776 | - <partitioning> | ||
| 777 | - <method>none</method> | ||
| 778 | - <schema_name/> | ||
| 779 | - </partitioning> | ||
| 780 | -<send_true_to>日期转换</send_true_to> | ||
| 781 | -<send_false_to/> | ||
| 782 | - <compare> | ||
| 783 | -<condition> | ||
| 784 | - <negated>N</negated> | ||
| 785 | - <leftvalue>clid</leftvalue> | ||
| 786 | - <function>IS NOT NULL</function> | ||
| 787 | - <rightvalue/> | ||
| 788 | - </condition> | ||
| 789 | - </compare> | ||
| 790 | - <cluster_schema/> | ||
| 791 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 792 | - <xloc>566</xloc> | ||
| 793 | - <yloc>137</yloc> | ||
| 794 | - <draw>Y</draw> | ||
| 795 | - </GUI> | ||
| 796 | - </step> | ||
| 797 | - | ||
| 798 | - <step> | ||
| 799 | - <name>错误输出</name> | ||
| 800 | - <type>ExcelOutput</type> | ||
| 801 | - <description/> | ||
| 802 | - <distribute>Y</distribute> | ||
| 803 | - <custom_distribution/> | ||
| 804 | - <copies>1</copies> | ||
| 805 | - <partitioning> | ||
| 806 | - <method>none</method> | ||
| 807 | - <schema_name/> | ||
| 808 | - </partitioning> | ||
| 809 | - <header>Y</header> | ||
| 810 | - <footer>N</footer> | ||
| 811 | - <encoding>UTF-8</encoding> | ||
| 812 | - <append>N</append> | ||
| 813 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 814 | - <file> | ||
| 815 | - <name>${erroroutputdir}/当前配车_错误</name> | ||
| 816 | - <extention>xls</extention> | ||
| 817 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 818 | - <create_parent_folder>N</create_parent_folder> | ||
| 819 | - <split>N</split> | ||
| 820 | - <add_date>N</add_date> | ||
| 821 | - <add_time>N</add_time> | ||
| 822 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 823 | - <date_time_format/> | ||
| 824 | - <sheetname>Sheet1</sheetname> | ||
| 825 | - <autosizecolums>N</autosizecolums> | ||
| 826 | - <nullisblank>N</nullisblank> | ||
| 827 | - <protect_sheet>N</protect_sheet> | ||
| 828 | - <password>Encrypted </password> | ||
| 829 | - <splitevery>0</splitevery> | ||
| 830 | - <usetempfiles>N</usetempfiles> | ||
| 831 | - <tempdirectory/> | ||
| 832 | - </file> | ||
| 833 | - <template> | ||
| 834 | - <enabled>N</enabled> | ||
| 835 | - <append>N</append> | ||
| 836 | - <filename>template.xls</filename> | ||
| 837 | - </template> | ||
| 838 | - <fields> | ||
| 839 | - <field> | ||
| 840 | - <name>线路</name> | ||
| 841 | - <type>String</type> | ||
| 842 | - <format/> | ||
| 843 | - </field> | ||
| 844 | - <field> | ||
| 845 | - <name>内部编码</name> | ||
| 846 | - <type>String</type> | ||
| 847 | - <format/> | ||
| 848 | - </field> | ||
| 849 | - <field> | ||
| 850 | - <name>启用日期</name> | ||
| 851 | - <type>Timestamp</type> | ||
| 852 | - <format/> | ||
| 853 | - </field> | ||
| 854 | - <field> | ||
| 855 | - <name>终结日期</name> | ||
| 856 | - <type>Timestamp</type> | ||
| 857 | - <format/> | ||
| 858 | - </field> | ||
| 859 | - <field> | ||
| 860 | - <name>停车点</name> | ||
| 861 | - <type>String</type> | ||
| 862 | - <format/> | ||
| 863 | - </field> | ||
| 864 | - <field> | ||
| 865 | - <name>isCancel</name> | ||
| 866 | - <type>Integer</type> | ||
| 867 | - <format/> | ||
| 868 | - </field> | ||
| 869 | - <field> | ||
| 870 | - <name>xlid</name> | ||
| 871 | - <type>Integer</type> | ||
| 872 | - <format/> | ||
| 873 | - </field> | ||
| 874 | - <field> | ||
| 875 | - <name>clid</name> | ||
| 876 | - <type>Integer</type> | ||
| 877 | - <format/> | ||
| 878 | - </field> | ||
| 879 | - <field> | ||
| 880 | - <name>isswitch</name> | ||
| 881 | - <type>Integer</type> | ||
| 882 | - <format/> | ||
| 883 | - </field> | ||
| 884 | - <field> | ||
| 885 | - <name>error_count</name> | ||
| 886 | - <type>Integer</type> | ||
| 887 | - <format/> | ||
| 888 | - </field> | ||
| 889 | - <field> | ||
| 890 | - <name>error_desc</name> | ||
| 891 | - <type>String</type> | ||
| 892 | - <format/> | ||
| 893 | - </field> | ||
| 894 | - <field> | ||
| 895 | - <name>error_column1</name> | ||
| 896 | - <type>String</type> | ||
| 897 | - <format/> | ||
| 898 | - </field> | ||
| 899 | - <field> | ||
| 900 | - <name>error_column2</name> | ||
| 901 | - <type>String</type> | ||
| 902 | - <format/> | ||
| 903 | - </field> | ||
| 904 | - </fields> | ||
| 905 | - <custom> | ||
| 906 | - <header_font_name>arial</header_font_name> | ||
| 907 | - <header_font_size>10</header_font_size> | ||
| 908 | - <header_font_bold>N</header_font_bold> | ||
| 909 | - <header_font_italic>N</header_font_italic> | ||
| 910 | - <header_font_underline>no</header_font_underline> | ||
| 911 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 912 | - <header_font_color>black</header_font_color> | ||
| 913 | - <header_background_color>none</header_background_color> | ||
| 914 | - <header_row_height>255</header_row_height> | ||
| 915 | - <header_alignment>left</header_alignment> | ||
| 916 | - <header_image/> | ||
| 917 | - <row_font_name>arial</row_font_name> | ||
| 918 | - <row_font_size>10</row_font_size> | ||
| 919 | - <row_font_color>black</row_font_color> | ||
| 920 | - <row_background_color>none</row_background_color> | ||
| 921 | - </custom> | ||
| 922 | - <cluster_schema/> | ||
| 923 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 924 | - <xloc>807</xloc> | ||
| 925 | - <yloc>353</yloc> | ||
| 926 | - <draw>Y</draw> | ||
| 927 | - </GUI> | ||
| 928 | - </step> | ||
| 929 | - | ||
| 930 | - <step_error_handling> | ||
| 931 | - <error> | ||
| 932 | - <source_step>插入/更新bsth_c_s_ccinfo</source_step> | ||
| 933 | - <target_step>错误输出</target_step> | ||
| 934 | - <is_enabled>Y</is_enabled> | ||
| 935 | - <nr_valuename>error_count</nr_valuename> | ||
| 936 | - <descriptions_valuename>error_desc</descriptions_valuename> | ||
| 937 | - <fields_valuename>error_column1</fields_valuename> | ||
| 938 | - <codes_valuename>error_column2</codes_valuename> | ||
| 939 | - <max_errors/> | ||
| 940 | - <max_pct_errors/> | ||
| 941 | - <min_pct_rows/> | ||
| 942 | - </error> | ||
| 943 | - </step_error_handling> | ||
| 944 | - <slave-step-copy-partition-distribution> | ||
| 945 | -</slave-step-copy-partition-distribution> | ||
| 946 | - <slave_transformation>N</slave_transformation> | ||
| 947 | - | ||
| 948 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>车辆配置信息导入</name> | ||
| 5 | + <description>车辆配置信息导入</description> | ||
| 6 | + <extended_description>配车信息</extended_description> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>erroroutputdir</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>ktr step配置的错误输出目录</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>filepath</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>待处理导入的excel文件</description> | ||
| 21 | + </parameter> | ||
| 22 | + </parameters> | ||
| 23 | + <log> | ||
| 24 | +<trans-log-table><connection/> | ||
| 25 | +<schema/> | ||
| 26 | +<table/> | ||
| 27 | +<size_limit_lines/> | ||
| 28 | +<interval/> | ||
| 29 | +<timeout_days/> | ||
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | +<perf-log-table><connection/> | ||
| 32 | +<schema/> | ||
| 33 | +<table/> | ||
| 34 | +<interval/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | +<channel-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | +<step-log-table><connection/> | ||
| 43 | +<schema/> | ||
| 44 | +<table/> | ||
| 45 | +<timeout_days/> | ||
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | +<metrics-log-table><connection/> | ||
| 48 | +<schema/> | ||
| 49 | +<table/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | + </log> | ||
| 53 | + <maxdate> | ||
| 54 | + <connection/> | ||
| 55 | + <table/> | ||
| 56 | + <field/> | ||
| 57 | + <offset>0.0</offset> | ||
| 58 | + <maxdiff>0.0</maxdiff> | ||
| 59 | + </maxdate> | ||
| 60 | + <size_rowset>10000</size_rowset> | ||
| 61 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | + <sleep_time_full>50</sleep_time_full> | ||
| 63 | + <unique_connections>N</unique_connections> | ||
| 64 | + <feedback_shown>Y</feedback_shown> | ||
| 65 | + <feedback_size>50000</feedback_size> | ||
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | + <shared_objects_file/> | ||
| 68 | + <capture_step_performance>N</capture_step_performance> | ||
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | + <dependencies> | ||
| 72 | + </dependencies> | ||
| 73 | + <partitionschemas> | ||
| 74 | + </partitionschemas> | ||
| 75 | + <slaveservers> | ||
| 76 | + </slaveservers> | ||
| 77 | + <clusterschemas> | ||
| 78 | + </clusterschemas> | ||
| 79 | + <created_user>-</created_user> | ||
| 80 | + <created_date>2016/06/29 13:15:32.118</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2016/06/29 13:15:32.118</modified_date> | ||
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | + <is_key_private>N</is_key_private> | ||
| 85 | + </info> | ||
| 86 | + <notepads> | ||
| 87 | + <notepad> | ||
| 88 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题
</note> | ||
| 89 | + <xloc>40</xloc> | ||
| 90 | + <yloc>238</yloc> | ||
| 91 | + <width>333</width> | ||
| 92 | + <heigth>106</heigth> | ||
| 93 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 94 | + <fontsize>12</fontsize> | ||
| 95 | + <fontbold>N</fontbold> | ||
| 96 | + <fontitalic>N</fontitalic> | ||
| 97 | + <fontcolorred>0</fontcolorred> | ||
| 98 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 99 | + <fontcolorblue>0</fontcolorblue> | ||
| 100 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 101 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 102 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 103 | + <bordercolorred>100</bordercolorred> | ||
| 104 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 105 | + <bordercolorblue>100</bordercolorblue> | ||
| 106 | + <drawshadow>Y</drawshadow> | ||
| 107 | + </notepad> | ||
| 108 | + </notepads> | ||
| 109 | + <connection> | ||
| 110 | + <name>bus_control_variable</name> | ||
| 111 | + <server>${v_db_ip}</server> | ||
| 112 | + <type>MYSQL</type> | ||
| 113 | + <access>Native</access> | ||
| 114 | + <database>${v_db_dname}</database> | ||
| 115 | + <port>3306</port> | ||
| 116 | + <username>${v_db_uname}</username> | ||
| 117 | + <password>${v_db_pwd}</password> | ||
| 118 | + <servername/> | ||
| 119 | + <data_tablespace/> | ||
| 120 | + <index_tablespace/> | ||
| 121 | + <attributes> | ||
| 122 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 123 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 124 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 125 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 126 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 127 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 128 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 129 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 130 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 131 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 133 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 134 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 135 | + </attributes> | ||
| 136 | + </connection> | ||
| 137 | + <connection> | ||
| 138 | + <name>bus_control_公司_201</name> | ||
| 139 | + <server>localhost</server> | ||
| 140 | + <type>MYSQL</type> | ||
| 141 | + <access>Native</access> | ||
| 142 | + <database>control</database> | ||
| 143 | + <port>3306</port> | ||
| 144 | + <username>root</username> | ||
| 145 | + <password>Encrypted </password> | ||
| 146 | + <servername/> | ||
| 147 | + <data_tablespace/> | ||
| 148 | + <index_tablespace/> | ||
| 149 | + <attributes> | ||
| 150 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 151 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 152 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 153 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 154 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 155 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 156 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 157 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 158 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 160 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 161 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 162 | + </attributes> | ||
| 163 | + </connection> | ||
| 164 | + <connection> | ||
| 165 | + <name>bus_control_本机</name> | ||
| 166 | + <server>localhost</server> | ||
| 167 | + <type>MYSQL</type> | ||
| 168 | + <access>Native</access> | ||
| 169 | + <database>control</database> | ||
| 170 | + <port>3306</port> | ||
| 171 | + <username>root</username> | ||
| 172 | + <password>Encrypted </password> | ||
| 173 | + <servername/> | ||
| 174 | + <data_tablespace/> | ||
| 175 | + <index_tablespace/> | ||
| 176 | + <attributes> | ||
| 177 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 178 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 179 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 180 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 181 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 182 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 183 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 184 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 185 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 186 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 187 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 188 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 189 | + </attributes> | ||
| 190 | + </connection> | ||
| 191 | + <connection> | ||
| 192 | + <name>xlab_mysql_youle</name> | ||
| 193 | + <server>101.231.124.8</server> | ||
| 194 | + <type>MYSQL</type> | ||
| 195 | + <access>Native</access> | ||
| 196 | + <database>xlab_youle</database> | ||
| 197 | + <port>45687</port> | ||
| 198 | + <username>xlab-youle</username> | ||
| 199 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 200 | + <servername/> | ||
| 201 | + <data_tablespace/> | ||
| 202 | + <index_tablespace/> | ||
| 203 | + <attributes> | ||
| 204 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 205 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 206 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 207 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 208 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 209 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 210 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 211 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 212 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 213 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 215 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 216 | + </attributes> | ||
| 217 | + </connection> | ||
| 218 | + <connection> | ||
| 219 | + <name>xlab_mysql_youle(本机)</name> | ||
| 220 | + <server>localhost</server> | ||
| 221 | + <type>MYSQL</type> | ||
| 222 | + <access>Native</access> | ||
| 223 | + <database>xlab_youle</database> | ||
| 224 | + <port>3306</port> | ||
| 225 | + <username>root</username> | ||
| 226 | + <password>Encrypted </password> | ||
| 227 | + <servername/> | ||
| 228 | + <data_tablespace/> | ||
| 229 | + <index_tablespace/> | ||
| 230 | + <attributes> | ||
| 231 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 232 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 233 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 234 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 235 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 236 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 237 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 238 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 240 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 241 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 242 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 243 | + </attributes> | ||
| 244 | + </connection> | ||
| 245 | + <connection> | ||
| 246 | + <name>xlab_youle</name> | ||
| 247 | + <server/> | ||
| 248 | + <type>MYSQL</type> | ||
| 249 | + <access>JNDI</access> | ||
| 250 | + <database>xlab_youle</database> | ||
| 251 | + <port>1521</port> | ||
| 252 | + <username/> | ||
| 253 | + <password>Encrypted </password> | ||
| 254 | + <servername/> | ||
| 255 | + <data_tablespace/> | ||
| 256 | + <index_tablespace/> | ||
| 257 | + <attributes> | ||
| 258 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 259 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 260 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 261 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 262 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 263 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 264 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 265 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 266 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 267 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 268 | + </attributes> | ||
| 269 | + </connection> | ||
| 270 | + <order> | ||
| 271 | + <hop> <from>插入/更新bsth_c_s_ccinfo</from><to>错误输出</to><enabled>Y</enabled> </hop> | ||
| 272 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 273 | + <hop> <from>原始系统导出的Excel输入</from><to>启用被数据flag</to><enabled>Y</enabled> </hop> | ||
| 274 | + <hop> <from>启用被数据flag</from><to>线路id查询</to><enabled>Y</enabled> </hop> | ||
| 275 | + <hop> <from>线路id查询</from><to>过滤线路id为空记录</to><enabled>Y</enabled> </hop> | ||
| 276 | + <hop> <from>过滤线路id为空记录</from><to>车辆id查询</to><enabled>Y</enabled> </hop> | ||
| 277 | + <hop> <from>车辆id查询</from><to>过滤车辆id为空记录</to><enabled>Y</enabled> </hop> | ||
| 278 | + <hop> <from>过滤车辆id为空记录</from><to>日期转换</to><enabled>Y</enabled> </hop> | ||
| 279 | + <hop> <from>日期转换</from><to>是否切换</to><enabled>Y</enabled> </hop> | ||
| 280 | + <hop> <from>是否切换</from><to>插入/更新bsth_c_s_ccinfo</to><enabled>Y</enabled> </hop> | ||
| 281 | + </order> | ||
| 282 | + <step> | ||
| 283 | + <name>原始系统导出的Excel输入</name> | ||
| 284 | + <type>ExcelInput</type> | ||
| 285 | + <description/> | ||
| 286 | + <distribute>Y</distribute> | ||
| 287 | + <custom_distribution/> | ||
| 288 | + <copies>1</copies> | ||
| 289 | + <partitioning> | ||
| 290 | + <method>none</method> | ||
| 291 | + <schema_name/> | ||
| 292 | + </partitioning> | ||
| 293 | + <header>Y</header> | ||
| 294 | + <noempty>Y</noempty> | ||
| 295 | + <stoponempty>N</stoponempty> | ||
| 296 | + <filefield/> | ||
| 297 | + <sheetfield/> | ||
| 298 | + <sheetrownumfield/> | ||
| 299 | + <rownumfield/> | ||
| 300 | + <sheetfield/> | ||
| 301 | + <filefield/> | ||
| 302 | + <limit>0</limit> | ||
| 303 | + <encoding/> | ||
| 304 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 305 | + <accept_filenames>Y</accept_filenames> | ||
| 306 | + <accept_field>filepath_</accept_field> | ||
| 307 | + <accept_stepname>获取变量</accept_stepname> | ||
| 308 | + <file> | ||
| 309 | + <name/> | ||
| 310 | + <filemask/> | ||
| 311 | + <exclude_filemask/> | ||
| 312 | + <file_required>N</file_required> | ||
| 313 | + <include_subfolders>N</include_subfolders> | ||
| 314 | + </file> | ||
| 315 | + <fields> | ||
| 316 | + <field> | ||
| 317 | + <name>线路</name> | ||
| 318 | + <type>String</type> | ||
| 319 | + <length>-1</length> | ||
| 320 | + <precision>-1</precision> | ||
| 321 | + <trim_type>none</trim_type> | ||
| 322 | + <repeat>N</repeat> | ||
| 323 | + <format/> | ||
| 324 | + <currency/> | ||
| 325 | + <decimal/> | ||
| 326 | + <group/> | ||
| 327 | + </field> | ||
| 328 | + <field> | ||
| 329 | + <name>内部编码</name> | ||
| 330 | + <type>String</type> | ||
| 331 | + <length>-1</length> | ||
| 332 | + <precision>-1</precision> | ||
| 333 | + <trim_type>none</trim_type> | ||
| 334 | + <repeat>N</repeat> | ||
| 335 | + <format>#</format> | ||
| 336 | + <currency/> | ||
| 337 | + <decimal/> | ||
| 338 | + <group/> | ||
| 339 | + </field> | ||
| 340 | + <field> | ||
| 341 | + <name>启用日期</name> | ||
| 342 | + <type>String</type> | ||
| 343 | + <length>-1</length> | ||
| 344 | + <precision>-1</precision> | ||
| 345 | + <trim_type>none</trim_type> | ||
| 346 | + <repeat>N</repeat> | ||
| 347 | + <format/> | ||
| 348 | + <currency/> | ||
| 349 | + <decimal/> | ||
| 350 | + <group/> | ||
| 351 | + </field> | ||
| 352 | + <field> | ||
| 353 | + <name>终结日期</name> | ||
| 354 | + <type>String</type> | ||
| 355 | + <length>-1</length> | ||
| 356 | + <precision>-1</precision> | ||
| 357 | + <trim_type>none</trim_type> | ||
| 358 | + <repeat>N</repeat> | ||
| 359 | + <format/> | ||
| 360 | + <currency/> | ||
| 361 | + <decimal/> | ||
| 362 | + <group/> | ||
| 363 | + </field> | ||
| 364 | + <field> | ||
| 365 | + <name>停车点</name> | ||
| 366 | + <type>String</type> | ||
| 367 | + <length>-1</length> | ||
| 368 | + <precision>-1</precision> | ||
| 369 | + <trim_type>none</trim_type> | ||
| 370 | + <repeat>N</repeat> | ||
| 371 | + <format/> | ||
| 372 | + <currency/> | ||
| 373 | + <decimal/> | ||
| 374 | + <group/> | ||
| 375 | + </field> | ||
| 376 | + </fields> | ||
| 377 | + <sheets> | ||
| 378 | + <sheet> | ||
| 379 | + <name>工作表1</name> | ||
| 380 | + <startrow>0</startrow> | ||
| 381 | + <startcol>0</startcol> | ||
| 382 | + </sheet> | ||
| 383 | + </sheets> | ||
| 384 | + <strict_types>N</strict_types> | ||
| 385 | + <error_ignored>N</error_ignored> | ||
| 386 | + <error_line_skipped>N</error_line_skipped> | ||
| 387 | + <bad_line_files_destination_directory/> | ||
| 388 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 389 | + <error_line_files_destination_directory/> | ||
| 390 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 391 | + <line_number_files_destination_directory/> | ||
| 392 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 393 | + <shortFileFieldName/> | ||
| 394 | + <pathFieldName/> | ||
| 395 | + <hiddenFieldName/> | ||
| 396 | + <lastModificationTimeFieldName/> | ||
| 397 | + <uriNameFieldName/> | ||
| 398 | + <rootUriNameFieldName/> | ||
| 399 | + <extensionFieldName/> | ||
| 400 | + <sizeFieldName/> | ||
| 401 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 402 | + <cluster_schema/> | ||
| 403 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 404 | + <xloc>155</xloc> | ||
| 405 | + <yloc>56</yloc> | ||
| 406 | + <draw>Y</draw> | ||
| 407 | + </GUI> | ||
| 408 | + </step> | ||
| 409 | + | ||
| 410 | + <step> | ||
| 411 | + <name>启用被数据flag</name> | ||
| 412 | + <type>Constant</type> | ||
| 413 | + <description/> | ||
| 414 | + <distribute>Y</distribute> | ||
| 415 | + <custom_distribution/> | ||
| 416 | + <copies>1</copies> | ||
| 417 | + <partitioning> | ||
| 418 | + <method>none</method> | ||
| 419 | + <schema_name/> | ||
| 420 | + </partitioning> | ||
| 421 | + <fields> | ||
| 422 | + <field> | ||
| 423 | + <name>isCancel</name> | ||
| 424 | + <type>Integer</type> | ||
| 425 | + <format/> | ||
| 426 | + <currency/> | ||
| 427 | + <decimal/> | ||
| 428 | + <group/> | ||
| 429 | + <nullif>0</nullif> | ||
| 430 | + <length>-1</length> | ||
| 431 | + <precision>-1</precision> | ||
| 432 | + <set_empty_string>N</set_empty_string> | ||
| 433 | + </field> | ||
| 434 | + </fields> | ||
| 435 | + <cluster_schema/> | ||
| 436 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 437 | + <xloc>315</xloc> | ||
| 438 | + <yloc>57</yloc> | ||
| 439 | + <draw>Y</draw> | ||
| 440 | + </GUI> | ||
| 441 | + </step> | ||
| 442 | + | ||
| 443 | + <step> | ||
| 444 | + <name>插入/更新bsth_c_s_ccinfo</name> | ||
| 445 | + <type>InsertUpdate</type> | ||
| 446 | + <description/> | ||
| 447 | + <distribute>Y</distribute> | ||
| 448 | + <custom_distribution/> | ||
| 449 | + <copies>1</copies> | ||
| 450 | + <partitioning> | ||
| 451 | + <method>none</method> | ||
| 452 | + <schema_name/> | ||
| 453 | + </partitioning> | ||
| 454 | + <connection>bus_control_variable</connection> | ||
| 455 | + <commit>100</commit> | ||
| 456 | + <update_bypassed>N</update_bypassed> | ||
| 457 | + <lookup> | ||
| 458 | + <schema/> | ||
| 459 | + <table>bsth_c_s_ccinfo</table> | ||
| 460 | + <key> | ||
| 461 | + <name>xlid</name> | ||
| 462 | + <field>xl</field> | ||
| 463 | + <condition>=</condition> | ||
| 464 | + <name2/> | ||
| 465 | + </key> | ||
| 466 | + <key> | ||
| 467 | + <name>clid</name> | ||
| 468 | + <field>cl</field> | ||
| 469 | + <condition>=</condition> | ||
| 470 | + <name2/> | ||
| 471 | + </key> | ||
| 472 | + <key> | ||
| 473 | + <name>isCancel</name> | ||
| 474 | + <field>is_cancel</field> | ||
| 475 | + <condition>=</condition> | ||
| 476 | + <name2/> | ||
| 477 | + </key> | ||
| 478 | + <value> | ||
| 479 | + <name>xl</name> | ||
| 480 | + <rename>xlId</rename> | ||
| 481 | + <update>N</update> | ||
| 482 | + </value> | ||
| 483 | + <value> | ||
| 484 | + <name>cl</name> | ||
| 485 | + <rename>clId</rename> | ||
| 486 | + <update>N</update> | ||
| 487 | + </value> | ||
| 488 | + <value> | ||
| 489 | + <name>is_switch</name> | ||
| 490 | + <rename>isswitch</rename> | ||
| 491 | + <update>N</update> | ||
| 492 | + </value> | ||
| 493 | + <value> | ||
| 494 | + <name>tcd</name> | ||
| 495 | + <rename>停车点</rename> | ||
| 496 | + <update>N</update> | ||
| 497 | + </value> | ||
| 498 | + <value> | ||
| 499 | + <name>zzrq</name> | ||
| 500 | + <rename>终结日期</rename> | ||
| 501 | + <update>N</update> | ||
| 502 | + </value> | ||
| 503 | + <value> | ||
| 504 | + <name>qyrq</name> | ||
| 505 | + <rename>启用日期</rename> | ||
| 506 | + <update>N</update> | ||
| 507 | + </value> | ||
| 508 | + <value> | ||
| 509 | + <name>is_cancel</name> | ||
| 510 | + <rename>isCancel</rename> | ||
| 511 | + <update>N</update> | ||
| 512 | + </value> | ||
| 513 | + </lookup> | ||
| 514 | + <cluster_schema/> | ||
| 515 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 516 | + <xloc>804</xloc> | ||
| 517 | + <yloc>236</yloc> | ||
| 518 | + <draw>Y</draw> | ||
| 519 | + </GUI> | ||
| 520 | + </step> | ||
| 521 | + | ||
| 522 | + <step> | ||
| 523 | + <name>日期转换</name> | ||
| 524 | + <type>SelectValues</type> | ||
| 525 | + <description/> | ||
| 526 | + <distribute>Y</distribute> | ||
| 527 | + <custom_distribution/> | ||
| 528 | + <copies>1</copies> | ||
| 529 | + <partitioning> | ||
| 530 | + <method>none</method> | ||
| 531 | + <schema_name/> | ||
| 532 | + </partitioning> | ||
| 533 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 534 | + <meta> <name>启用日期</name> | ||
| 535 | + <rename>启用日期</rename> | ||
| 536 | + <type>Timestamp</type> | ||
| 537 | + <length>-2</length> | ||
| 538 | + <precision>-2</precision> | ||
| 539 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 540 | + <date_format_lenient>false</date_format_lenient> | ||
| 541 | + <date_format_locale/> | ||
| 542 | + <date_format_timezone/> | ||
| 543 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 544 | + <encoding/> | ||
| 545 | + <decimal_symbol/> | ||
| 546 | + <grouping_symbol/> | ||
| 547 | + <currency_symbol/> | ||
| 548 | + <storage_type/> | ||
| 549 | + </meta> <meta> <name>终结日期</name> | ||
| 550 | + <rename>终结日期</rename> | ||
| 551 | + <type>Timestamp</type> | ||
| 552 | + <length>-2</length> | ||
| 553 | + <precision>-2</precision> | ||
| 554 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 555 | + <date_format_lenient>false</date_format_lenient> | ||
| 556 | + <date_format_locale/> | ||
| 557 | + <date_format_timezone/> | ||
| 558 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 559 | + <encoding/> | ||
| 560 | + <decimal_symbol/> | ||
| 561 | + <grouping_symbol/> | ||
| 562 | + <currency_symbol/> | ||
| 563 | + <storage_type/> | ||
| 564 | + </meta> </fields> <cluster_schema/> | ||
| 565 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 566 | + <xloc>703</xloc> | ||
| 567 | + <yloc>136</yloc> | ||
| 568 | + <draw>Y</draw> | ||
| 569 | + </GUI> | ||
| 570 | + </step> | ||
| 571 | + | ||
| 572 | + <step> | ||
| 573 | + <name>是否切换</name> | ||
| 574 | + <type>Constant</type> | ||
| 575 | + <description/> | ||
| 576 | + <distribute>Y</distribute> | ||
| 577 | + <custom_distribution/> | ||
| 578 | + <copies>1</copies> | ||
| 579 | + <partitioning> | ||
| 580 | + <method>none</method> | ||
| 581 | + <schema_name/> | ||
| 582 | + </partitioning> | ||
| 583 | + <fields> | ||
| 584 | + <field> | ||
| 585 | + <name>isswitch</name> | ||
| 586 | + <type>Integer</type> | ||
| 587 | + <format/> | ||
| 588 | + <currency/> | ||
| 589 | + <decimal/> | ||
| 590 | + <group/> | ||
| 591 | + <nullif>0</nullif> | ||
| 592 | + <length>-1</length> | ||
| 593 | + <precision>-1</precision> | ||
| 594 | + <set_empty_string>N</set_empty_string> | ||
| 595 | + </field> | ||
| 596 | + </fields> | ||
| 597 | + <cluster_schema/> | ||
| 598 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 599 | + <xloc>803</xloc> | ||
| 600 | + <yloc>137</yloc> | ||
| 601 | + <draw>Y</draw> | ||
| 602 | + </GUI> | ||
| 603 | + </step> | ||
| 604 | + | ||
| 605 | + <step> | ||
| 606 | + <name>线路id查询</name> | ||
| 607 | + <type>DBLookup</type> | ||
| 608 | + <description/> | ||
| 609 | + <distribute>Y</distribute> | ||
| 610 | + <custom_distribution/> | ||
| 611 | + <copies>1</copies> | ||
| 612 | + <partitioning> | ||
| 613 | + <method>none</method> | ||
| 614 | + <schema_name/> | ||
| 615 | + </partitioning> | ||
| 616 | + <connection>bus_control_variable</connection> | ||
| 617 | + <cache>Y</cache> | ||
| 618 | + <cache_load_all>Y</cache_load_all> | ||
| 619 | + <cache_size>0</cache_size> | ||
| 620 | + <lookup> | ||
| 621 | + <schema/> | ||
| 622 | + <table>bsth_c_line</table> | ||
| 623 | + <orderby/> | ||
| 624 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 625 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 626 | + <key> | ||
| 627 | + <name>线路</name> | ||
| 628 | + <field>name</field> | ||
| 629 | + <condition>=</condition> | ||
| 630 | + <name2/> | ||
| 631 | + </key> | ||
| 632 | + <key> | ||
| 633 | + <name>isCancel</name> | ||
| 634 | + <field>destroy</field> | ||
| 635 | + <condition>=</condition> | ||
| 636 | + <name2/> | ||
| 637 | + </key> | ||
| 638 | + <value> | ||
| 639 | + <name>id</name> | ||
| 640 | + <rename>xlid</rename> | ||
| 641 | + <default/> | ||
| 642 | + <type>Integer</type> | ||
| 643 | + </value> | ||
| 644 | + </lookup> | ||
| 645 | + <cluster_schema/> | ||
| 646 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 647 | + <xloc>438</xloc> | ||
| 648 | + <yloc>57</yloc> | ||
| 649 | + <draw>Y</draw> | ||
| 650 | + </GUI> | ||
| 651 | + </step> | ||
| 652 | + | ||
| 653 | + <step> | ||
| 654 | + <name>获取变量</name> | ||
| 655 | + <type>GetVariable</type> | ||
| 656 | + <description/> | ||
| 657 | + <distribute>Y</distribute> | ||
| 658 | + <custom_distribution/> | ||
| 659 | + <copies>1</copies> | ||
| 660 | + <partitioning> | ||
| 661 | + <method>none</method> | ||
| 662 | + <schema_name/> | ||
| 663 | + </partitioning> | ||
| 664 | + <fields> | ||
| 665 | + <field> | ||
| 666 | + <name>filepath_</name> | ||
| 667 | + <variable>${filepath}</variable> | ||
| 668 | + <type>String</type> | ||
| 669 | + <format/> | ||
| 670 | + <currency/> | ||
| 671 | + <decimal/> | ||
| 672 | + <group/> | ||
| 673 | + <length>-1</length> | ||
| 674 | + <precision>-1</precision> | ||
| 675 | + <trim_type>none</trim_type> | ||
| 676 | + </field> | ||
| 677 | + <field> | ||
| 678 | + <name>erroroutputdir_</name> | ||
| 679 | + <variable>${erroroutputdir}</variable> | ||
| 680 | + <type>String</type> | ||
| 681 | + <format/> | ||
| 682 | + <currency/> | ||
| 683 | + <decimal/> | ||
| 684 | + <group/> | ||
| 685 | + <length>-1</length> | ||
| 686 | + <precision>-1</precision> | ||
| 687 | + <trim_type>none</trim_type> | ||
| 688 | + </field> | ||
| 689 | + </fields> | ||
| 690 | + <cluster_schema/> | ||
| 691 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 692 | + <xloc>156</xloc> | ||
| 693 | + <yloc>150</yloc> | ||
| 694 | + <draw>Y</draw> | ||
| 695 | + </GUI> | ||
| 696 | + </step> | ||
| 697 | + | ||
| 698 | + <step> | ||
| 699 | + <name>车辆id查询</name> | ||
| 700 | + <type>DBLookup</type> | ||
| 701 | + <description/> | ||
| 702 | + <distribute>Y</distribute> | ||
| 703 | + <custom_distribution/> | ||
| 704 | + <copies>1</copies> | ||
| 705 | + <partitioning> | ||
| 706 | + <method>none</method> | ||
| 707 | + <schema_name/> | ||
| 708 | + </partitioning> | ||
| 709 | + <connection>bus_control_variable</connection> | ||
| 710 | + <cache>Y</cache> | ||
| 711 | + <cache_load_all>Y</cache_load_all> | ||
| 712 | + <cache_size>0</cache_size> | ||
| 713 | + <lookup> | ||
| 714 | + <schema/> | ||
| 715 | + <table>bsth_c_cars</table> | ||
| 716 | + <orderby/> | ||
| 717 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 718 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 719 | + <key> | ||
| 720 | + <name>内部编码</name> | ||
| 721 | + <field>inside_code</field> | ||
| 722 | + <condition>=</condition> | ||
| 723 | + <name2/> | ||
| 724 | + </key> | ||
| 725 | + <value> | ||
| 726 | + <name>id</name> | ||
| 727 | + <rename>clid</rename> | ||
| 728 | + <default/> | ||
| 729 | + <type>Integer</type> | ||
| 730 | + </value> | ||
| 731 | + </lookup> | ||
| 732 | + <cluster_schema/> | ||
| 733 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 734 | + <xloc>440</xloc> | ||
| 735 | + <yloc>138</yloc> | ||
| 736 | + <draw>Y</draw> | ||
| 737 | + </GUI> | ||
| 738 | + </step> | ||
| 739 | + | ||
| 740 | + <step> | ||
| 741 | + <name>过滤线路id为空记录</name> | ||
| 742 | + <type>FilterRows</type> | ||
| 743 | + <description/> | ||
| 744 | + <distribute>Y</distribute> | ||
| 745 | + <custom_distribution/> | ||
| 746 | + <copies>1</copies> | ||
| 747 | + <partitioning> | ||
| 748 | + <method>none</method> | ||
| 749 | + <schema_name/> | ||
| 750 | + </partitioning> | ||
| 751 | +<send_true_to>车辆id查询</send_true_to> | ||
| 752 | +<send_false_to/> | ||
| 753 | + <compare> | ||
| 754 | +<condition> | ||
| 755 | + <negated>N</negated> | ||
| 756 | + <leftvalue>xlid</leftvalue> | ||
| 757 | + <function>IS NOT NULL</function> | ||
| 758 | + <rightvalue/> | ||
| 759 | + </condition> | ||
| 760 | + </compare> | ||
| 761 | + <cluster_schema/> | ||
| 762 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 763 | + <xloc>563</xloc> | ||
| 764 | + <yloc>57</yloc> | ||
| 765 | + <draw>Y</draw> | ||
| 766 | + </GUI> | ||
| 767 | + </step> | ||
| 768 | + | ||
| 769 | + <step> | ||
| 770 | + <name>过滤车辆id为空记录</name> | ||
| 771 | + <type>FilterRows</type> | ||
| 772 | + <description/> | ||
| 773 | + <distribute>Y</distribute> | ||
| 774 | + <custom_distribution/> | ||
| 775 | + <copies>1</copies> | ||
| 776 | + <partitioning> | ||
| 777 | + <method>none</method> | ||
| 778 | + <schema_name/> | ||
| 779 | + </partitioning> | ||
| 780 | +<send_true_to>日期转换</send_true_to> | ||
| 781 | +<send_false_to/> | ||
| 782 | + <compare> | ||
| 783 | +<condition> | ||
| 784 | + <negated>N</negated> | ||
| 785 | + <leftvalue>clid</leftvalue> | ||
| 786 | + <function>IS NOT NULL</function> | ||
| 787 | + <rightvalue/> | ||
| 788 | + </condition> | ||
| 789 | + </compare> | ||
| 790 | + <cluster_schema/> | ||
| 791 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 792 | + <xloc>566</xloc> | ||
| 793 | + <yloc>137</yloc> | ||
| 794 | + <draw>Y</draw> | ||
| 795 | + </GUI> | ||
| 796 | + </step> | ||
| 797 | + | ||
| 798 | + <step> | ||
| 799 | + <name>错误输出</name> | ||
| 800 | + <type>ExcelOutput</type> | ||
| 801 | + <description/> | ||
| 802 | + <distribute>Y</distribute> | ||
| 803 | + <custom_distribution/> | ||
| 804 | + <copies>1</copies> | ||
| 805 | + <partitioning> | ||
| 806 | + <method>none</method> | ||
| 807 | + <schema_name/> | ||
| 808 | + </partitioning> | ||
| 809 | + <header>Y</header> | ||
| 810 | + <footer>N</footer> | ||
| 811 | + <encoding>UTF-8</encoding> | ||
| 812 | + <append>N</append> | ||
| 813 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 814 | + <file> | ||
| 815 | + <name>${erroroutputdir}/当前配车_错误</name> | ||
| 816 | + <extention>xls</extention> | ||
| 817 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 818 | + <create_parent_folder>N</create_parent_folder> | ||
| 819 | + <split>N</split> | ||
| 820 | + <add_date>N</add_date> | ||
| 821 | + <add_time>N</add_time> | ||
| 822 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 823 | + <date_time_format/> | ||
| 824 | + <sheetname>Sheet1</sheetname> | ||
| 825 | + <autosizecolums>N</autosizecolums> | ||
| 826 | + <nullisblank>N</nullisblank> | ||
| 827 | + <protect_sheet>N</protect_sheet> | ||
| 828 | + <password>Encrypted </password> | ||
| 829 | + <splitevery>0</splitevery> | ||
| 830 | + <usetempfiles>N</usetempfiles> | ||
| 831 | + <tempdirectory/> | ||
| 832 | + </file> | ||
| 833 | + <template> | ||
| 834 | + <enabled>N</enabled> | ||
| 835 | + <append>N</append> | ||
| 836 | + <filename>template.xls</filename> | ||
| 837 | + </template> | ||
| 838 | + <fields> | ||
| 839 | + <field> | ||
| 840 | + <name>线路</name> | ||
| 841 | + <type>String</type> | ||
| 842 | + <format/> | ||
| 843 | + </field> | ||
| 844 | + <field> | ||
| 845 | + <name>内部编码</name> | ||
| 846 | + <type>String</type> | ||
| 847 | + <format/> | ||
| 848 | + </field> | ||
| 849 | + <field> | ||
| 850 | + <name>启用日期</name> | ||
| 851 | + <type>Timestamp</type> | ||
| 852 | + <format/> | ||
| 853 | + </field> | ||
| 854 | + <field> | ||
| 855 | + <name>终结日期</name> | ||
| 856 | + <type>Timestamp</type> | ||
| 857 | + <format/> | ||
| 858 | + </field> | ||
| 859 | + <field> | ||
| 860 | + <name>停车点</name> | ||
| 861 | + <type>String</type> | ||
| 862 | + <format/> | ||
| 863 | + </field> | ||
| 864 | + <field> | ||
| 865 | + <name>isCancel</name> | ||
| 866 | + <type>Integer</type> | ||
| 867 | + <format/> | ||
| 868 | + </field> | ||
| 869 | + <field> | ||
| 870 | + <name>xlid</name> | ||
| 871 | + <type>Integer</type> | ||
| 872 | + <format/> | ||
| 873 | + </field> | ||
| 874 | + <field> | ||
| 875 | + <name>clid</name> | ||
| 876 | + <type>Integer</type> | ||
| 877 | + <format/> | ||
| 878 | + </field> | ||
| 879 | + <field> | ||
| 880 | + <name>isswitch</name> | ||
| 881 | + <type>Integer</type> | ||
| 882 | + <format/> | ||
| 883 | + </field> | ||
| 884 | + <field> | ||
| 885 | + <name>error_count</name> | ||
| 886 | + <type>Integer</type> | ||
| 887 | + <format/> | ||
| 888 | + </field> | ||
| 889 | + <field> | ||
| 890 | + <name>error_desc</name> | ||
| 891 | + <type>String</type> | ||
| 892 | + <format/> | ||
| 893 | + </field> | ||
| 894 | + <field> | ||
| 895 | + <name>error_column1</name> | ||
| 896 | + <type>String</type> | ||
| 897 | + <format/> | ||
| 898 | + </field> | ||
| 899 | + <field> | ||
| 900 | + <name>error_column2</name> | ||
| 901 | + <type>String</type> | ||
| 902 | + <format/> | ||
| 903 | + </field> | ||
| 904 | + </fields> | ||
| 905 | + <custom> | ||
| 906 | + <header_font_name>arial</header_font_name> | ||
| 907 | + <header_font_size>10</header_font_size> | ||
| 908 | + <header_font_bold>N</header_font_bold> | ||
| 909 | + <header_font_italic>N</header_font_italic> | ||
| 910 | + <header_font_underline>no</header_font_underline> | ||
| 911 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 912 | + <header_font_color>black</header_font_color> | ||
| 913 | + <header_background_color>none</header_background_color> | ||
| 914 | + <header_row_height>255</header_row_height> | ||
| 915 | + <header_alignment>left</header_alignment> | ||
| 916 | + <header_image/> | ||
| 917 | + <row_font_name>arial</row_font_name> | ||
| 918 | + <row_font_size>10</row_font_size> | ||
| 919 | + <row_font_color>black</row_font_color> | ||
| 920 | + <row_background_color>none</row_background_color> | ||
| 921 | + </custom> | ||
| 922 | + <cluster_schema/> | ||
| 923 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 924 | + <xloc>807</xloc> | ||
| 925 | + <yloc>353</yloc> | ||
| 926 | + <draw>Y</draw> | ||
| 927 | + </GUI> | ||
| 928 | + </step> | ||
| 929 | + | ||
| 930 | + <step_error_handling> | ||
| 931 | + <error> | ||
| 932 | + <source_step>插入/更新bsth_c_s_ccinfo</source_step> | ||
| 933 | + <target_step>错误输出</target_step> | ||
| 934 | + <is_enabled>Y</is_enabled> | ||
| 935 | + <nr_valuename>error_count</nr_valuename> | ||
| 936 | + <descriptions_valuename>error_desc</descriptions_valuename> | ||
| 937 | + <fields_valuename>error_column1</fields_valuename> | ||
| 938 | + <codes_valuename>error_column2</codes_valuename> | ||
| 939 | + <max_errors/> | ||
| 940 | + <max_pct_errors/> | ||
| 941 | + <min_pct_rows/> | ||
| 942 | + </error> | ||
| 943 | + </step_error_handling> | ||
| 944 | + <slave-step-copy-partition-distribution> | ||
| 945 | +</slave-step-copy-partition-distribution> | ||
| 946 | + <slave_transformation>N</slave_transformation> | ||
| 947 | + | ||
| 948 | +</transformation> |
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 | + </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> |