Commit 7672469ffabc41fc2609e64e42733c91e97c6a0d
Merge branch 'minhang' of http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
# Conflicts: # src/main/resources/static/real_control_v2/js/modal_extend.js # src/main/resources/static/real_control_v2/mapmonitor/fragments/playback_v2/main.html
Showing
19 changed files
with
2168 additions
and
2457 deletions
Too many changes to show.
To preserve performance only 19 of 38 files are displayed.
src/main/java/com/bsth/controller/SectionRouteController.java
| @@ -72,4 +72,14 @@ public class SectionRouteController extends BaseController<SectionRoute, Integer | @@ -72,4 +72,14 @@ public class SectionRouteController extends BaseController<SectionRoute, Integer | ||
| 72 | public List<Map<String, Object>> findUpStationRouteCode(@RequestParam Map<String, Object> map) { | 72 | public List<Map<String, Object>> findUpStationRouteCode(@RequestParam Map<String, Object> map) { |
| 73 | return routeService.findUpSectionRouteCode(map); | 73 | return routeService.findUpSectionRouteCode(map); |
| 74 | } | 74 | } |
| 75 | + | ||
| 76 | + /** | ||
| 77 | + * @Description :TODO(引用路段) | ||
| 78 | + * | ||
| 79 | + * @return List<Map<String, Object>> | ||
| 80 | + */ | ||
| 81 | + @RequestMapping(value = "/quoteSection" , method = RequestMethod.POST) | ||
| 82 | + public Map<String, Object> quoteSection(@RequestParam Map<String, Object> map) { | ||
| 83 | + return routeService.quoteSection(map); | ||
| 84 | + } | ||
| 75 | } | 85 | } |
src/main/java/com/bsth/controller/StationRouteController.java
| @@ -127,8 +127,17 @@ public class StationRouteController extends BaseController<StationRoute, Integer | @@ -127,8 +127,17 @@ public class StationRouteController extends BaseController<StationRoute, Integer | ||
| 127 | */ | 127 | */ |
| 128 | @RequestMapping(value = "/multiLine", method = RequestMethod.GET) | 128 | @RequestMapping(value = "/multiLine", method = RequestMethod.GET) |
| 129 | public Map<String, Object> findByMultiLine(@RequestParam String lineIds){ | 129 | public Map<String, Object> findByMultiLine(@RequestParam String lineIds){ |
| 130 | - | ||
| 131 | return service.findByMultiLine(lineIds); | 130 | return service.findByMultiLine(lineIds); |
| 132 | } | 131 | } |
| 133 | 132 | ||
| 133 | + /** | ||
| 134 | + * | ||
| 135 | + * @Title: updSwitchDir | ||
| 136 | + * @Description: TODO(上下行切换) | ||
| 137 | + */ | ||
| 138 | + @RequestMapping(value = "/updSwitchDir", method = RequestMethod.POST) | ||
| 139 | + public Map<String, Object> updSwitchDir(@RequestParam String lineIds){ | ||
| 140 | + return service.updSwitchDir(lineIds); | ||
| 141 | + } | ||
| 142 | + | ||
| 134 | } | 143 | } |
src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
| @@ -369,9 +369,9 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | @@ -369,9 +369,9 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | ||
| 369 | } | 369 | } |
| 370 | 370 | ||
| 371 | @RequestMapping(value="/statisticsDailyTj") | 371 | @RequestMapping(value="/statisticsDailyTj") |
| 372 | - public List<Map<String,Object>> statisticsDailyTj(@RequestParam String line, @RequestParam String date, | 372 | + public List<Map<String,Object>> statisticsDailyTj(@RequestParam String gsdm,@RequestParam String fgsdm, @RequestParam String line, @RequestParam String date, |
| 373 | @RequestParam String date2,@RequestParam String xlName, @RequestParam String type){ | 373 | @RequestParam String date2,@RequestParam String xlName, @RequestParam String type){ |
| 374 | - return scheduleRealInfoService.statisticsDailyTj(line, date,date2, xlName, type); | 374 | + return scheduleRealInfoService.statisticsDailyTj(gsdm,fgsdm,line, date,date2, xlName, type); |
| 375 | } | 375 | } |
| 376 | 376 | ||
| 377 | @RequestMapping(value="/MapById",method = RequestMethod.GET) | 377 | @RequestMapping(value="/MapById",method = RequestMethod.GET) |
src/main/java/com/bsth/controller/report/ReportController.java
| @@ -21,17 +21,17 @@ public class ReportController { | @@ -21,17 +21,17 @@ public class ReportController { | ||
| 21 | @Autowired | 21 | @Autowired |
| 22 | ReportService service; | 22 | ReportService service; |
| 23 | 23 | ||
| 24 | - @RequestMapping(value="/queryListBczx" ,method = RequestMethod.POST) | 24 | + @RequestMapping(value="/queryListBczx" ,method = RequestMethod.GET) |
| 25 | public List<ScheduleRealInfo> queryListBczx(@RequestParam String clzbh,@RequestParam String line,@RequestParam String date){ | 25 | public List<ScheduleRealInfo> queryListBczx(@RequestParam String clzbh,@RequestParam String line,@RequestParam String date){ |
| 26 | return service.queryListBczx(line,date,clzbh); | 26 | return service.queryListBczx(line,date,clzbh); |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | - @RequestMapping(value="/queryListZdxx" ,method = RequestMethod.POST) | 29 | + @RequestMapping(value="/queryListZdxx" ,method = RequestMethod.GET) |
| 30 | public List<ArrivalInfo> queryListZdxx(@RequestParam String clzbh,@RequestParam String line, | 30 | public List<ArrivalInfo> queryListZdxx(@RequestParam String clzbh,@RequestParam String line, |
| 31 | @RequestParam String date,@RequestParam String fcsj,@RequestParam String ddsj){ | 31 | @RequestParam String date,@RequestParam String fcsj,@RequestParam String ddsj){ |
| 32 | return service.queryListZdxx(line,date,clzbh,fcsj,ddsj); | 32 | return service.queryListZdxx(line,date,clzbh,fcsj,ddsj); |
| 33 | } | 33 | } |
| 34 | - @RequestMapping(value="/queryListClzd" ,method = RequestMethod.POST) | 34 | + @RequestMapping(value="/queryListClzd" ,method = RequestMethod.GET) |
| 35 | public List<ArrivalInfo> queryListClzd(@RequestParam String zd,@RequestParam String line, | 35 | public List<ArrivalInfo> queryListClzd(@RequestParam String zd,@RequestParam String line, |
| 36 | @RequestParam String zdlx,@RequestParam String fcsj,@RequestParam String ddsj){ | 36 | @RequestParam String zdlx,@RequestParam String fcsj,@RequestParam String ddsj){ |
| 37 | return service.queryListClzd(line,zd,zdlx,fcsj,ddsj); | 37 | return service.queryListClzd(line,zd,zdlx,fcsj,ddsj); |
src/main/java/com/bsth/repository/SectionRepository.java
| @@ -113,5 +113,4 @@ public interface SectionRepository extends BaseRepository<Section, Integer> { | @@ -113,5 +113,4 @@ public interface SectionRepository extends BaseRepository<Section, Integer> { | ||
| 113 | Double speedLimit,String descriptions,Integer version,Integer createBy,String createDate, | 113 | Double speedLimit,String descriptions,Integer version,Integer createBy,String createDate, |
| 114 | 114 | ||
| 115 | Integer updateBy,String updateDate); | 115 | Integer updateBy,String updateDate); |
| 116 | - | ||
| 117 | } | 116 | } |
src/main/java/com/bsth/repository/SectionRouteRepository.java
| @@ -28,6 +28,14 @@ import com.bsth.entity.SectionRoute; | @@ -28,6 +28,14 @@ import com.bsth.entity.SectionRoute; | ||
| 28 | @Repository | 28 | @Repository |
| 29 | public interface SectionRouteRepository extends BaseRepository<SectionRoute, Integer> { | 29 | public interface SectionRouteRepository extends BaseRepository<SectionRoute, Integer> { |
| 30 | 30 | ||
| 31 | + // 查询最大ID | ||
| 32 | + @Query(value = "SELECT IFNULL(num,0) as maxId from (SELECT MAX(id) as num FROM bsth_c_sectionroute) k" , nativeQuery=true) | ||
| 33 | + public long sectionRouteMaxId(); | ||
| 34 | + | ||
| 35 | + // 查询最大ID | ||
| 36 | + @Query(value = "SELECT IFNULL(num,0) as maxId from (SELECT MAX(sectionroute_code) as num FROM bsth_c_sectionroute where line_code = 601010 and directions = 1 and destroy = 0) k" , nativeQuery=true) | ||
| 37 | + public int sectionRouteCodeMaxId(); | ||
| 38 | + | ||
| 31 | /** | 39 | /** |
| 32 | * @Description :TODO(查询路段信息) | 40 | * @Description :TODO(查询路段信息) |
| 33 | * | 41 | * |
| @@ -162,4 +170,8 @@ public interface SectionRouteRepository extends BaseRepository<SectionRoute, Int | @@ -162,4 +170,8 @@ public interface SectionRouteRepository extends BaseRepository<SectionRoute, Int | ||
| 162 | @Modifying | 170 | @Modifying |
| 163 | @Query(value="UPDATE bsth_c_sectionroute set is_roade_speed = ?1 where line= ?2 and directions=?3 ",nativeQuery = true) | 171 | @Query(value="UPDATE bsth_c_sectionroute set is_roade_speed = ?1 where line= ?2 and directions=?3 ",nativeQuery = true) |
| 164 | void isRoadSpeedUpd(Integer isR,Integer line,Integer directions); | 172 | void isRoadSpeedUpd(Integer isR,Integer line,Integer directions); |
| 173 | + | ||
| 174 | + @Modifying | ||
| 175 | + @Query(value="update bsth_c_sectionroute set directions = case directions when 1 then 0 when 0 then 1 end where line_code = ?1 ", nativeQuery=true) | ||
| 176 | + public void sectionRouteDir(Integer line); | ||
| 165 | } | 177 | } |
src/main/java/com/bsth/repository/StationRouteRepository.java
| @@ -268,4 +268,8 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int | @@ -268,4 +268,8 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int | ||
| 268 | "ORDER BY " + | 268 | "ORDER BY " + |
| 269 | "lineCode,directions,stationRouteCode") | 269 | "lineCode,directions,stationRouteCode") |
| 270 | List<Object[]> findAllLineWithYgc(); | 270 | List<Object[]> findAllLineWithYgc(); |
| 271 | + | ||
| 272 | + @Modifying | ||
| 273 | + @Query(value="update bsth_c_stationroute set directions = case directions when 1 then 0 when 0 then 1 end where line_code = ?1 ", nativeQuery=true) | ||
| 274 | + public void stationRouteDir(Integer line); | ||
| 271 | } | 275 | } |
src/main/java/com/bsth/repository/realcontrol/ScheduleRealInfoRepository.java
| @@ -151,8 +151,8 @@ public interface ScheduleRealInfoRepository extends BaseRepository<ScheduleRealI | @@ -151,8 +151,8 @@ public interface ScheduleRealInfoRepository extends BaseRepository<ScheduleRealI | ||
| 151 | 151 | ||
| 152 | //按照时间段统计 | 152 | //按照时间段统计 |
| 153 | @EntityGraph(value = "scheduleRealInfo_cTasks", type = EntityGraph.EntityGraphType.FETCH) | 153 | @EntityGraph(value = "scheduleRealInfo_cTasks", type = EntityGraph.EntityGraphType.FETCH) |
| 154 | - @Query(value="select DISTINCT s from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') between ?2 and ?3 and s.bcType not in ('in','out') order by s.xlBm") | ||
| 155 | - List<ScheduleRealInfo> scheduleByDateAndLineTj(String line,String date,String date2); | 154 | + @Query(value="select DISTINCT s from ScheduleRealInfo s where s.xlBm like %?1% and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') between ?2 and ?3 and s.bcType not in ('in','out') and gsBm like %?4% and fgsBm like %?5% order by s.xlBm") |
| 155 | + List<ScheduleRealInfo> scheduleByDateAndLineTj(String line,String date,String date2,String gsdm,String fgsdm); | ||
| 156 | 156 | ||
| 157 | //按照时间段统计 | 157 | //按照时间段统计 |
| 158 | @Query(value="select DISTINCT s from ScheduleRealInfo s where s.xlBm = ?1 and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') between ?2 and ?3 and s.bcType not in ('in','out') order by s.xlBm") | 158 | @Query(value="select DISTINCT s from ScheduleRealInfo s where s.xlBm = ?1 and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') between ?2 and ?3 and s.bcType not in ('in','out') order by s.xlBm") |
src/main/java/com/bsth/service/SectionRouteService.java
| @@ -41,4 +41,6 @@ public interface SectionRouteService extends BaseService<SectionRoute, Integer> | @@ -41,4 +41,6 @@ public interface SectionRouteService extends BaseService<SectionRoute, Integer> | ||
| 41 | * @return List<Map<String, Object>> | 41 | * @return List<Map<String, Object>> |
| 42 | */ | 42 | */ |
| 43 | List<Map<String, Object>> findUpSectionRouteCode(Map<String, Object> map); | 43 | List<Map<String, Object>> findUpSectionRouteCode(Map<String, Object> map); |
| 44 | + | ||
| 45 | + Map<String, Object> quoteSection(Map<String, Object> map); | ||
| 44 | } | 46 | } |
src/main/java/com/bsth/service/StationRouteService.java
| @@ -79,5 +79,7 @@ public interface StationRouteService extends BaseService<StationRoute, Integer> | @@ -79,5 +79,7 @@ public interface StationRouteService extends BaseService<StationRoute, Integer> | ||
| 79 | */ | 79 | */ |
| 80 | List<Map<String, Object>> findStationRouteInfo(Map<String, Object> map); | 80 | List<Map<String, Object>> findStationRouteInfo(Map<String, Object> map); |
| 81 | 81 | ||
| 82 | - Map<String, Object> findByMultiLine(String lineIds); | 82 | + Map<String, Object> findByMultiLine(String lineIds); |
| 83 | + | ||
| 84 | + Map<String, Object> updSwitchDir(String lineIds); | ||
| 83 | } | 85 | } |
src/main/java/com/bsth/service/impl/SectionRouteServiceImpl.java
| @@ -8,7 +8,12 @@ import java.util.Map; | @@ -8,7 +8,12 @@ import java.util.Map; | ||
| 8 | import org.springframework.beans.factory.annotation.Autowired; | 8 | import org.springframework.beans.factory.annotation.Autowired; |
| 9 | import org.springframework.stereotype.Service; | 9 | import org.springframework.stereotype.Service; |
| 10 | 10 | ||
| 11 | +import com.bsth.common.ResponseCode; | ||
| 12 | +import com.bsth.entity.Line; | ||
| 13 | +import com.bsth.entity.Section; | ||
| 11 | import com.bsth.entity.SectionRoute; | 14 | import com.bsth.entity.SectionRoute; |
| 15 | +import com.bsth.repository.LineRepository; | ||
| 16 | +import com.bsth.repository.SectionRepository; | ||
| 12 | import com.bsth.repository.SectionRouteRepository; | 17 | import com.bsth.repository.SectionRouteRepository; |
| 13 | import com.bsth.service.SectionRouteService; | 18 | import com.bsth.service.SectionRouteService; |
| 14 | 19 | ||
| @@ -34,6 +39,12 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | @@ -34,6 +39,12 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | ||
| 34 | @Autowired | 39 | @Autowired |
| 35 | SectionRouteRepository repository; | 40 | SectionRouteRepository repository; |
| 36 | 41 | ||
| 42 | + @Autowired | ||
| 43 | + SectionRepository repository2; | ||
| 44 | + | ||
| 45 | + @Autowired | ||
| 46 | + LineRepository lineRepository; | ||
| 47 | + | ||
| 37 | /** | 48 | /** |
| 38 | * @Description :TODO(查询路段信息) | 49 | * @Description :TODO(查询路段信息) |
| 39 | * | 50 | * |
| @@ -43,21 +54,13 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | @@ -43,21 +54,13 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | ||
| 43 | */ | 54 | */ |
| 44 | @Override | 55 | @Override |
| 45 | public List<Map<String, Object>> getSectionRoute(Map<String, Object> map) { | 56 | public List<Map<String, Object>> getSectionRoute(Map<String, Object> map) { |
| 46 | - | ||
| 47 | int lineId = map.get("line.id_eq").equals("") ? 0 : Integer.parseInt(map.get("line.id_eq").toString()); | 57 | int lineId = map.get("line.id_eq").equals("") ? 0 : Integer.parseInt(map.get("line.id_eq").toString()); |
| 48 | - | ||
| 49 | int directions = map.get("directions_eq").equals("") ? 0 : Integer.parseInt(map.get("directions_eq").toString()); | 58 | int directions = map.get("directions_eq").equals("") ? 0 : Integer.parseInt(map.get("directions_eq").toString()); |
| 50 | - | ||
| 51 | List<Object[]> listObjArray = repository.getSectionRoute(lineId, directions); | 59 | List<Object[]> listObjArray = repository.getSectionRoute(lineId, directions); |
| 52 | - | ||
| 53 | List<Map<String, Object>> resultList = new ArrayList<Map<String,Object>>(); | 60 | List<Map<String, Object>> resultList = new ArrayList<Map<String,Object>>(); |
| 54 | - | ||
| 55 | if(listObjArray.size()>0) { | 61 | if(listObjArray.size()>0) { |
| 56 | - | ||
| 57 | for(int i = 0 ; i<listObjArray.size() ; i++){ | 62 | for(int i = 0 ; i<listObjArray.size() ; i++){ |
| 58 | - | ||
| 59 | Map<String, Object> tempM = new HashMap<String, Object>(); | 63 | Map<String, Object> tempM = new HashMap<String, Object>(); |
| 60 | - | ||
| 61 | tempM.put("sectionrouteId",listObjArray.get(i)[0]); | 64 | tempM.put("sectionrouteId",listObjArray.get(i)[0]); |
| 62 | tempM.put("sectionrouteLine",listObjArray.get(i)[1]); | 65 | tempM.put("sectionrouteLine",listObjArray.get(i)[1]); |
| 63 | tempM.put("sectionrouteLineCode",listObjArray.get(i)[2]); | 66 | tempM.put("sectionrouteLineCode",listObjArray.get(i)[2]); |
| @@ -81,12 +84,12 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | @@ -81,12 +84,12 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | ||
| 81 | tempM.put("sectionTime",listObjArray.get(i)[20]); | 84 | tempM.put("sectionTime",listObjArray.get(i)[20]); |
| 82 | tempM.put("sectiondbType",listObjArray.get(i)[21]); | 85 | tempM.put("sectiondbType",listObjArray.get(i)[21]); |
| 83 | tempM.put("sectionSpeedLimet",listObjArray.get(i)[22]); | 86 | tempM.put("sectionSpeedLimet",listObjArray.get(i)[22]); |
| 87 | + tempM.put("destroy",listObjArray.get(i)[23]); | ||
| 88 | + tempM.put("versions",listObjArray.get(i)[24]); | ||
| 89 | + tempM.put("descriptions",listObjArray.get(i)[25]); | ||
| 84 | resultList.add(tempM); | 90 | resultList.add(tempM); |
| 85 | - | ||
| 86 | } | 91 | } |
| 87 | - | ||
| 88 | } | 92 | } |
| 89 | - | ||
| 90 | return resultList; | 93 | return resultList; |
| 91 | } | 94 | } |
| 92 | 95 | ||
| @@ -228,5 +231,68 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | @@ -228,5 +231,68 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | ||
| 228 | 231 | ||
| 229 | return list; | 232 | return list; |
| 230 | } | 233 | } |
| 234 | + | ||
| 235 | + @Override | ||
| 236 | + public Map<String, Object> quoteSection(Map<String, Object> map) { | ||
| 237 | + Map<String, Object> resultMap = new HashMap<String, Object>(); | ||
| 238 | + try { | ||
| 239 | + Integer line = map.get("lineId") ==null ? null : Integer.parseInt(map.get("lineId").toString()); | ||
| 240 | + Integer dir = map.get("dir")==null ? null : Integer.parseInt(map.get("dir").toString()); | ||
| 241 | + Integer toDir = map.get("toDir")==null ? null : Integer.parseInt(map.get("toDir").toString()); | ||
| 242 | + if(line!=null && dir!=null) { | ||
| 243 | + List<Object[]> list = repository.getSectionRoute(line, dir); | ||
| 244 | + int src = repository.sectionRouteCodeMaxId(); | ||
| 245 | + for(int i = 0 ; i<list.size() ; i++) { | ||
| 246 | + int sectionId = Integer.parseInt(String.valueOf(repository2.sectionMaxId())) + 1 ; | ||
| 247 | + String sectionCode = String.valueOf(sectionId); | ||
| 248 | + String sectionName = list.get(i)[9] == null ? null : list.get(i)[9].toString(); | ||
| 249 | + String crosesRoad = list.get(i)[10] == null ? null : list.get(i)[10].toString(); | ||
| 250 | + String endNode = list.get(i)[11] == null ? null : list.get(i)[11].toString(); | ||
| 251 | + String startNode = list.get(i)[12] == null ? null : list.get(i)[12].toString(); | ||
| 252 | + String middleNode = list.get(i)[13] == null ? null : list.get(i)[13].toString(); | ||
| 253 | + String sectionType = list.get(i)[14] == null ? null : list.get(i)[14].toString(); | ||
| 254 | + String csectionVector = list.get(i)[15] == null ? null : list.get(i)[15].toString(); | ||
| 255 | + String bsectionVector = list.get(i)[16] == null ? null : list.get(i)[16].toString(); | ||
| 256 | + String gsectionVector = list.get(i)[17] == null ? null : list.get(i)[17].toString(); | ||
| 257 | + String roadCoding = list.get(i)[18] == null ? null : list.get(i)[18].toString(); | ||
| 258 | + Double sectionDistance = list.get(i)[19] == null ? null : Double.parseDouble(list.get(i)[19].toString()); | ||
| 259 | + Double sectionTime = list.get(i)[20] == null ? null : Double.parseDouble(list.get(i)[20].toString()); | ||
| 260 | + String dbType = list.get(i)[21] == null ? null : list.get(i)[21].toString(); | ||
| 261 | + Double speedLimit = list.get(i)[22] == null ? null : Double.parseDouble(list.get(i)[22].toString()); | ||
| 262 | + Integer destroy = list.get(i)[23] == null ? null : Integer.parseInt(list.get(i)[23].toString()); | ||
| 263 | + Integer versions = list.get(i)[24] == null ? null : Integer.parseInt(list.get(i)[24].toString()); | ||
| 264 | + String descriptions = list.get(i)[25] == null ? null : list.get(i)[25].toString(); | ||
| 265 | + repository2.systemSave(sectionCode, | ||
| 266 | + sectionName, crosesRoad, endNode, startNode, middleNode, | ||
| 267 | + gsectionVector, bsectionVector, | ||
| 268 | + sectionType, csectionVector, roadCoding, | ||
| 269 | + sectionDistance, sectionTime, dbType, speedLimit, descriptions, versions, sectionId); | ||
| 270 | + int sectionRouteId = Integer.parseInt(String.valueOf(repository.sectionRouteMaxId())) + 1 ; | ||
| 271 | + SectionRoute sr = new SectionRoute(); | ||
| 272 | + Line lineObject = lineRepository.findOne(line); | ||
| 273 | + Section section = repository2.findOne(sectionId); | ||
| 274 | + Integer xh = (src == 0 ? (toDir ==1? (list.size()-i)*10 : (list.size()+i)*10) : toDir==1? (src + (list.size()-i)*10) : (src + (list.size()+i)*10)) ; | ||
| 275 | + sr.setId(sectionRouteId); | ||
| 276 | + sr.setSectionrouteCode(xh); | ||
| 277 | + sr.setLineCode(lineObject.getLineCode()); | ||
| 278 | + sr.setSectionCode(sectionCode); | ||
| 279 | + sr.setDirections(toDir); | ||
| 280 | + sr.setVersions(versions); | ||
| 281 | + sr.setDestroy(destroy); | ||
| 282 | + sr.setLine(lineObject); | ||
| 283 | + sr.setSection(section); | ||
| 284 | + sr.setSectionCode(section.getSectionCode()); | ||
| 285 | + sr.setDescriptions(descriptions); | ||
| 286 | + sr.setIsRoadeSpeed(1); | ||
| 287 | + repository.save(sr); | ||
| 288 | + } | ||
| 289 | + } | ||
| 290 | + resultMap.put("status", ResponseCode.SUCCESS); | ||
| 291 | + } catch (Exception e) { | ||
| 292 | + resultMap.put("status", ResponseCode.ERROR); | ||
| 293 | + logger.error("save erro.", e); | ||
| 294 | + } | ||
| 295 | + return resultMap; | ||
| 296 | + } | ||
| 231 | 297 | ||
| 232 | } | 298 | } |
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
| @@ -17,6 +17,7 @@ import com.bsth.util.db.DBUtils_MS; | @@ -17,6 +17,7 @@ import com.bsth.util.db.DBUtils_MS; | ||
| 17 | import com.google.common.base.Splitter; | 17 | import com.google.common.base.Splitter; |
| 18 | import org.springframework.beans.factory.annotation.Autowired; | 18 | import org.springframework.beans.factory.annotation.Autowired; |
| 19 | import org.springframework.stereotype.Service; | 19 | import org.springframework.stereotype.Service; |
| 20 | +import org.springframework.transaction.annotation.Transactional; | ||
| 20 | 21 | ||
| 21 | import java.io.ByteArrayInputStream; | 22 | import java.io.ByteArrayInputStream; |
| 22 | import java.io.File; | 23 | import java.io.File; |
| @@ -1080,4 +1081,23 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | @@ -1080,4 +1081,23 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | ||
| 1080 | 1081 | ||
| 1081 | return rs; | 1082 | return rs; |
| 1082 | } | 1083 | } |
| 1084 | + | ||
| 1085 | + @Override | ||
| 1086 | + @Transactional | ||
| 1087 | + public Map<String, Object> updSwitchDir(String lineIds) { | ||
| 1088 | + Map<String, Object> rs = new HashMap<>(); | ||
| 1089 | + try{ | ||
| 1090 | + if(lineIds!=null && lineIds !="") { | ||
| 1091 | + Integer lineId = Integer.parseInt(lineIds); | ||
| 1092 | + // 上行站点切换到下行. | ||
| 1093 | + repository.stationRouteDir(lineId); | ||
| 1094 | + routeRepository.sectionRouteDir(lineId); | ||
| 1095 | + } | ||
| 1096 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 1097 | + }catch(Exception e){ | ||
| 1098 | + logger.error("", e); | ||
| 1099 | + rs.put("status", ResponseCode.ERROR); | ||
| 1100 | + } | ||
| 1101 | + return rs; | ||
| 1102 | + } | ||
| 1083 | } | 1103 | } |
src/main/java/com/bsth/service/oil/impl/DlbServiceImpl.java
| @@ -327,7 +327,6 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS | @@ -327,7 +327,6 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS | ||
| 327 | }else{ | 327 | }else{ |
| 328 | t.setXlbm(""); | 328 | t.setXlbm(""); |
| 329 | } | 329 | } |
| 330 | - t.setJcsx(1); | ||
| 331 | boolean status=true; | 330 | boolean status=true; |
| 332 | for (int j = 0; j < ylListBe.size(); j++) { | 331 | for (int j = 0; j < ylListBe.size(); j++) { |
| 333 | Dlb b=ylListBe.get(j); | 332 | Dlb b=ylListBe.get(j); |
src/main/java/com/bsth/service/realcontrol/ScheduleRealInfoService.java
| @@ -112,7 +112,7 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | @@ -112,7 +112,7 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | ||
| 112 | 112 | ||
| 113 | List<Map<String,Object>> statisticsDaily(String line, String date, String xlName, String type); | 113 | List<Map<String,Object>> statisticsDaily(String line, String date, String xlName, String type); |
| 114 | 114 | ||
| 115 | - List<Map<String,Object>> statisticsDailyTj(String line, String date,String date2, String xlName, String type); | 115 | + List<Map<String,Object>> statisticsDailyTj(String gsdm,String fgsdm,String line, String date,String date2, String xlName, String type); |
| 116 | 116 | ||
| 117 | //List<Object> scheduleDaily(String line,String date); | 117 | //List<Object> scheduleDaily(String line,String date); |
| 118 | 118 |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -1576,6 +1576,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1576,6 +1576,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1576 | remarks += "(烂班)"; | 1576 | remarks += "(烂班)"; |
| 1577 | s.setRemarks(remarks); | 1577 | s.setRemarks(remarks); |
| 1578 | } | 1578 | } |
| 1579 | + | ||
| 1579 | listSchedule.add(s); | 1580 | listSchedule.add(s); |
| 1580 | //计算营运里程,空驶里程 | 1581 | //计算营运里程,空驶里程 |
| 1581 | if (!childTaskPlans.isEmpty()) { | 1582 | if (!childTaskPlans.isEmpty()) { |
| @@ -1600,657 +1601,110 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1600,657 +1601,110 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1600 | t.setAdjustExps("子"); | 1601 | t.setAdjustExps("子"); |
| 1601 | listSchedule.add(t); | 1602 | listSchedule.add(t); |
| 1602 | } | 1603 | } |
| 1603 | - /* String sqlPc = "select * from bsth_c_s_child_task where schedule=" + s.getId() + " order by start_date "; | ||
| 1604 | - List<ScheduleRealInfo> lists = jdbcTemplate.query(sqlPc, | ||
| 1605 | - new RowMapper<ScheduleRealInfo>() { | ||
| 1606 | - @Override | ||
| 1607 | - public ScheduleRealInfo mapRow(ResultSet rs, int rowNum) throws SQLException { | ||
| 1608 | - ScheduleRealInfo t = new ScheduleRealInfo(); | ||
| 1609 | - if (rs.getInt("destroy") == 0) { | ||
| 1610 | - t.setFcsjActual(rs.getString("start_date")); | ||
| 1611 | - t.setZdsjActual(rs.getString("end_date")); | ||
| 1612 | - t.setJhlc(rs.getDouble("mileage")); | ||
| 1613 | - } else { | ||
| 1614 | - t.setFcsjActual(""); | ||
| 1615 | - t.setZdsjActual(""); | ||
| 1616 | - t.setJhlc(0.0); | ||
| 1617 | - } | ||
| 1618 | - t.setQdzName(rs.getString("start_station_name")); | ||
| 1619 | - t.setZdzName(rs.getString("end_station_name")); | ||
| 1620 | - t.setRemarks(rs.getString("remarks")); | ||
| 1621 | - t.setAdjustExps("子"); | ||
| 1622 | - return t; | ||
| 1623 | - } | ||
| 1624 | - }); | ||
| 1625 | - for (int j = 0; j < lists.size(); j++) { | ||
| 1626 | - ScheduleRealInfo t = lists.get(j); | ||
| 1627 | - listSchedule.add(t); | ||
| 1628 | - }*/ | ||
| 1629 | - } | ||
| 1630 | - } | ||
| 1631 | - | ||
| 1632 | - return listSchedule; | ||
| 1633 | - } | ||
| 1634 | - | ||
| 1635 | - @Override | ||
| 1636 | - public Map<String, Object> removeChildTask(Long taskId) { | ||
| 1637 | - Map<String, Object> rs = new HashMap<>(); | ||
| 1638 | - ChildTaskPlan chTask = cTaskPlanRepository.findOne(taskId); | ||
| 1639 | - | ||
| 1640 | - ScheduleRealInfo sch = dayOfSchedule.get(chTask.getSchedule().getId()); | ||
| 1641 | - try { | ||
| 1642 | - | ||
| 1643 | - sch.getcTasks().remove(chTask); | ||
| 1644 | - scheduleRealInfoRepository.save(sch); | ||
| 1645 | - rs.put("status", ResponseCode.SUCCESS); | ||
| 1646 | - } catch (Exception e) { | ||
| 1647 | - logger.error("", e); | ||
| 1648 | - rs.put("status", ResponseCode.ERROR); | ||
| 1649 | - } | ||
| 1650 | - return rs; | ||
| 1651 | - } | ||
| 1652 | - @Override | ||
| 1653 | - public List<Map<String, Object>> statisticsDaily(String line, String date, | ||
| 1654 | - String xlName, String type) { | ||
| 1655 | - List<Map<String, Object>> lMap= new ArrayList<Map<String, Object>>(); | ||
| 1656 | - List<ScheduleRealInfo> lists = scheduleRealInfoRepository.scheduleByDateAndLine2(line, date); | ||
| 1657 | - Map<String, Object> map = new HashMap<String, Object>(); | ||
| 1658 | - map.put("xlName", xlName); | ||
| 1659 | - map.put("jhlc", culateService.culateJhgl(lists)); | ||
| 1660 | - map.put("sjgl", Arith.add(culateService.culateSjgl(lists),culateService.culateLjgl(lists))); | ||
| 1661 | - map.put("ssgl", culateService.culateLbgl(lists)); | ||
| 1662 | - map.put("ssgl_lz", culateService.culateCJLC(lists, "路阻")); | ||
| 1663 | - map.put("ssgl_dm", culateService.culateCJLC(lists, "吊慢")); | ||
| 1664 | - map.put("ssgl_gz", culateService.culateCJLC(lists, "故障")); | ||
| 1665 | - map.put("ssgl_jf", culateService.culateCJLC(lists, "纠纷")); | ||
| 1666 | - map.put("ssgl_zs", culateService.culateCJLC(lists, "肇事")); | ||
| 1667 | - map.put("ssgl_qr", culateService.culateCJLC(lists, "缺人")); | ||
| 1668 | - map.put("ssgl_qc", culateService.culateCJLC(lists, "缺车")); | ||
| 1669 | - map.put("ssgl_kx", culateService.culateCJLC(lists, "客稀")); | ||
| 1670 | - map.put("ssgl_qh", culateService.culateCJLC(lists, "气候")); | ||
| 1671 | - map.put("ssgl_yw", culateService.culateCJLC(lists, "援外")); | ||
| 1672 | - map.put("ssgl_other", culateService.culateCJLC(lists, "其他")); | ||
| 1673 | - map.put("ssbc", culateService.culateLbbc(lists)); | ||
| 1674 | - map.put("ljgl", culateService.culateLjgl(lists)); | ||
| 1675 | - map.put("jhbc", culateService.culateJhbc(lists,"")); | ||
| 1676 | - map.put("jhbc_m", culateService.culateJhbc(lists, "zgf")); | ||
| 1677 | - map.put("jhbc_a", culateService.culateJhbc(lists, "wgf")); | ||
| 1678 | - map.put("sjbc", culateService.culateSjbc(lists,"")); | ||
| 1679 | - map.put("sjbc_m", culateService.culateSjbc(lists,"zgf")); | ||
| 1680 | - map.put("sjbc_a", culateService.culateSjbc(lists,"wgf")); | ||
| 1681 | - map.put("ljbc", culateService.culateLjbc(lists,"")); | ||
| 1682 | - map.put("ljbc_m", culateService.culateLjbc(lists,"zgf")); | ||
| 1683 | - map.put("ljbc_a", culateService.culateLjbc(lists,"wgf")); | ||
| 1684 | - map.put("fzbc", culateService.culateFzbc(lists, "")); | ||
| 1685 | - map.put("fzbc_m", culateService.culateFzbc(lists, "zgf")); | ||
| 1686 | - map.put("fzbc_a", culateService.culateFzbc(lists, "wgf")); | ||
| 1687 | - map.put("dtbc", 0); | ||
| 1688 | - map.put("dtbc_m", 0); | ||
| 1689 | - map.put("dtbc_a", 0); | ||
| 1690 | - map.put("djg", 0); | ||
| 1691 | - map.put("djg_m", 0); | ||
| 1692 | - map.put("djg_a", 0); | ||
| 1693 | - map.put("djg_time", 0); | ||
| 1694 | - lMap.add(map); | ||
| 1695 | - return lMap; | ||
| 1696 | - } | ||
| 1697 | - | ||
| 1698 | - /* @Override | ||
| 1699 | - public List<Map<String, Object>> statisticsDaily(String line, String date, | ||
| 1700 | - String xlName, String type) { | ||
| 1701 | - List<ScheduleRealInfo> list = new ArrayList<ScheduleRealInfo>(); | ||
| 1702 | - if (date.length() == 10) | ||
| 1703 | - list = scheduleRealInfoRepository.scheduleByDateAndLine2(line, date); | ||
| 1704 | - else if (date.length() == 7) | ||
| 1705 | - list = scheduleRealInfoRepository.scheduleByDateAndLine3(line, date); | ||
| 1706 | - | ||
| 1707 | - | ||
| 1708 | - List<Map<String, Object>> lMap = new ArrayList<Map<String, Object>>(); | ||
| 1709 | - DecimalFormat format = new DecimalFormat("0.00"); | ||
| 1710 | - double jhlc = 0, tempJhlc = 0, childMileage = 0,jhlcOrig=0; | ||
| 1711 | - float sjgl = 0f, ssgl = 0f, ssgl_lz = 0f, ssgl_dm = 0f, ssgl_gz = 0f, ssgl_jf = 0f, ssgl_zs = 0f, ssgl_qr = 0f, ssgl_qc = 0f, ssgl_kx = 0f, ssgl_qh = 0f, ssgl_yw = 0f, ssgl_other = 0f, ljgl = 0f; | ||
| 1712 | - //班次 | ||
| 1713 | - int ssbc = 0, ssbc_lz = 0, ssbc_dm = 0, ssbc_gz = 0, ssbc_jf = 0, ssbc_zs = 0, ssbc_qr = 0, ssbc_qc = 0, ssbc_kx = 0, ssbc_qh = 0, ssbc_yw = 0, ssbc_other = 0; | ||
| 1714 | - int sj_0 = 6 * 60 + 31, sj_1 = 8 * 60 + 30, sj_2 = 16 * 60 + 1, sj_3 = 18 * 60; | ||
| 1715 | - int jhbc = 0, jhbc_m = 0, jhbc_a = 0; | ||
| 1716 | - int sjbc = 0, sjbc_m = 0, sjbc_a = 0; | ||
| 1717 | - int ljbc = 0, ljbc_m = 0, ljbc_a = 0; | ||
| 1718 | - int fzbc = 0, fzbc_m = 0, fzbc_a = 0; | ||
| 1719 | - int dtbc = 0, dtbc_m = 0, dtbc_a = 0; | ||
| 1720 | - int djg = 0, djg_m = 0, djg_a = 0, djg_time = 0; | ||
| 1721 | - | ||
| 1722 | - double jhlcZ = 0, tempJhlcZ = 0, childMileageZ = 0; | ||
| 1723 | - float sjglZ = 0f, ssglZ = 0f, ssgl_lzZ = 0f, ssgl_dmZ = 0f, | ||
| 1724 | - ssgl_gzZ = 0f, ssgl_jfZ = 0f, ssgl_zsZ = 0f, ssgl_qrZ = 0f, ssgl_qcZ = 0f, | ||
| 1725 | - ssgl_kxZ = 0f, ssgl_qhZ = 0f, ssgl_ywZ = 0f, ssgl_otherZ = 0f, ljglZ = 0f; | ||
| 1726 | - //班次 | ||
| 1727 | - int ssbcZ = 0, ssbc_lzZ = 0, ssbc_dmZ = 0, ssbc_gzZ = 0, ssbc_jfZ = 0, ssbc_zsZ = 0, ssbc_qrZ = 0, ssbc_qcZ = 0, ssbc_kxZ = 0, ssbc_qhZ = 0, ssbc_ywZ = 0, ssbc_otherZ = 0; | ||
| 1728 | - int jhbcZ = 0, jhbc_mZ = 0, jhbc_aZ = 0; | ||
| 1729 | - int sjbcZ = 0, sjbc_mZ = 0, sjbc_aZ = 0; | ||
| 1730 | - int ljbcZ = 0, ljbc_mZ = 0, ljbc_aZ = 0; | ||
| 1731 | - int fzbcZ = 0, fzbc_mZ = 0, fzbc_aZ = 0; | ||
| 1732 | - int dtbcZ = 0, dtbc_mZ = 0, dtbc_aZ = 0; | ||
| 1733 | - int djgZ = 0, djg_mZ = 0, djg_aZ = 0, djg_timeZ = 0; | ||
| 1734 | - Map<String, Object> map = null; | ||
| 1735 | - | ||
| 1736 | - double xgssgl=0,xgljgl=0,lj=0,cj=0; | ||
| 1737 | - for (int i = 0; i < list.size(); i++) { | ||
| 1738 | - ScheduleRealInfo scheduleRealInfo = list.get(i); | ||
| 1739 | - | ||
| 1740 | - if (scheduleRealInfo != null) { | ||
| 1741 | - Set<ChildTaskPlan> childTaskPlans = scheduleRealInfo.getcTasks(); | ||
| 1742 | - //计算实际里程,少驶里程,计划里程=实际里程+少驶里程 | ||
| 1743 | - if(!scheduleRealInfo.isSflj()){ | ||
| 1744 | - jhlc += tempJhlc; | ||
| 1745 | - jhlcZ += tempJhlc; | ||
| 1746 | - } | ||
| 1747 | - if (childTaskPlans.isEmpty()) { | ||
| 1748 | - tempJhlc = scheduleRealInfo.getJhlc() == null ? 0 : scheduleRealInfo.getJhlc(); | ||
| 1749 | - jhlcOrig = scheduleRealInfo.getJhlcOrig() == null ? 0 : scheduleRealInfo.getJhlcOrig(); | ||
| 1750 | - | ||
| 1751 | - if(jhlcOrig-tempJhlc>0){ | ||
| 1752 | - xgssgl +=jhlcOrig-tempJhlc; | ||
| 1753 | - cj += jhlcOrig-tempJhlc; | ||
| 1754 | - }else{ | ||
| 1755 | - xgljgl +=tempJhlc-jhlcOrig; | ||
| 1756 | - lj +=tempJhlc-jhlcOrig; | ||
| 1757 | - } | ||
| 1758 | - //临加公里 | ||
| 1759 | - if (scheduleRealInfo.isSflj()) { | ||
| 1760 | - ljgl += tempJhlc; | ||
| 1761 | - ljglZ += tempJhlc; | ||
| 1762 | - } | ||
| 1763 | - | ||
| 1764 | - if (scheduleRealInfo.getStatus() == -1) { | ||
| 1765 | - ssgl += tempJhlc; | ||
| 1766 | - ssglZ += tempJhlc; | ||
| 1767 | - ssbc++; | ||
| 1768 | - ssbcZ++; | ||
| 1769 | - if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("路阻") != -1) { | ||
| 1770 | - ssgl_lz += tempJhlc; | ||
| 1771 | - ssgl_lzZ += tempJhlc; | ||
| 1772 | - ssbc_lz++; | ||
| 1773 | - ssbc_lzZ++; | ||
| 1774 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("吊慢") != -1) { | ||
| 1775 | - ssgl_dm += tempJhlc; | ||
| 1776 | - ssgl_dmZ += tempJhlc; | ||
| 1777 | - ssbc_dm++; | ||
| 1778 | - ssbc_dmZ++; | ||
| 1779 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("故障") != -1) { | ||
| 1780 | - ssgl_gz += tempJhlc; | ||
| 1781 | - ssgl_gzZ += tempJhlc; | ||
| 1782 | - ssbc_gz++; | ||
| 1783 | - ssbc_gzZ++; | ||
| 1784 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("纠纷") != -1) { | ||
| 1785 | - ssgl_jf += tempJhlc; | ||
| 1786 | - ssgl_jfZ += tempJhlc; | ||
| 1787 | - ssbc_jf++; | ||
| 1788 | - ssbc_jfZ++; | ||
| 1789 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("肇事") != -1) { | ||
| 1790 | - ssgl_zs += tempJhlc; | ||
| 1791 | - ssgl_zsZ += tempJhlc; | ||
| 1792 | - ssbc_zs++; | ||
| 1793 | - ssbc_zsZ++; | ||
| 1794 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺人") != -1) { | ||
| 1795 | - ssgl_qr += tempJhlc; | ||
| 1796 | - ssgl_qrZ += tempJhlc; | ||
| 1797 | - ssbc_qr++; | ||
| 1798 | - ssbc_qrZ++; | ||
| 1799 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("缺车") != -1) { | ||
| 1800 | - ssgl_qc += tempJhlc; | ||
| 1801 | - ssgl_qcZ += tempJhlc; | ||
| 1802 | - ssbc_qc++; | ||
| 1803 | - ssbc_qcZ++; | ||
| 1804 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("客稀") != -1) { | ||
| 1805 | - ssgl_kx += tempJhlc; | ||
| 1806 | - ssgl_kxZ += tempJhlc; | ||
| 1807 | - ssbc_kx++; | ||
| 1808 | - ssbc_kxZ++; | ||
| 1809 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("气候") != -1) { | ||
| 1810 | - ssgl_qh += tempJhlc; | ||
| 1811 | - ssgl_qhZ += tempJhlc; | ||
| 1812 | - ssbc_qh++; | ||
| 1813 | - ssbc_qhZ++; | ||
| 1814 | - } else if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("援外") != -1) { | ||
| 1815 | - ssgl_yw += tempJhlc; | ||
| 1816 | - ssgl_ywZ += tempJhlc; | ||
| 1817 | - ssbc_yw++; | ||
| 1818 | - ssbc_ywZ++; | ||
| 1819 | - } else { | ||
| 1820 | - ssgl_other += tempJhlc; | ||
| 1821 | - ssgl_otherZ += tempJhlc; | ||
| 1822 | - ssbc_other++; | ||
| 1823 | - ssbc_otherZ++; | ||
| 1824 | - } | ||
| 1825 | - } else { | ||
| 1826 | - sjgl += tempJhlc; | ||
| 1827 | - sjglZ += tempJhlc; | ||
| 1828 | - } | ||
| 1829 | - } else { | ||
| 1830 | - Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | ||
| 1831 | - while (it.hasNext()) { | ||
| 1832 | - ChildTaskPlan childTaskPlan = it.next(); | ||
| 1833 | - childMileage = childTaskPlan.getMileage() == null ? 0 : childTaskPlan.getMileage(); | ||
| 1834 | - if (childTaskPlan.isDestroy()) { | ||
| 1835 | - ssgl += childMileage; | ||
| 1836 | - ssglZ += childMileage; | ||
| 1837 | - ssbc++; | ||
| 1838 | - ssbcZ++; | ||
| 1839 | - if (childTaskPlan.getDestroyReason().equals("路阻")) { | ||
| 1840 | - ssgl_lz += childTaskPlan.getMileage(); | ||
| 1841 | - ssgl_lzZ += childTaskPlan.getMileage(); | ||
| 1842 | - ssbc_lzZ++; | ||
| 1843 | - ssbc_lzZ++; | ||
| 1844 | - } else if (childTaskPlan.getDestroyReason().equals("吊慢")) { | ||
| 1845 | - ssgl_dm += childTaskPlan.getMileage(); | ||
| 1846 | - ssgl_dmZ += childTaskPlan.getMileage(); | ||
| 1847 | - ssbc_dm++; | ||
| 1848 | - ssbc_dmZ++; | ||
| 1849 | - } else if (childTaskPlan.getDestroyReason().equals("故障")) { | ||
| 1850 | - ssgl_gz += childTaskPlan.getMileage(); | ||
| 1851 | - ssgl_gzZ += childTaskPlan.getMileage(); | ||
| 1852 | - ssbc_gz++; | ||
| 1853 | - ssbc_gzZ++; | ||
| 1854 | - } else if (childTaskPlan.getDestroyReason().equals("纠纷")) { | ||
| 1855 | - ssgl_jf += childTaskPlan.getMileage(); | ||
| 1856 | - ssgl_jfZ += childTaskPlan.getMileage(); | ||
| 1857 | - ssbc_jf++; | ||
| 1858 | - ssbc_jfZ++; | ||
| 1859 | - } else if (childTaskPlan.getDestroyReason().equals("肇事")) { | ||
| 1860 | - ssgl_zs += childTaskPlan.getMileage(); | ||
| 1861 | - ssgl_zsZ += childTaskPlan.getMileage(); | ||
| 1862 | - ssbc_zs++; | ||
| 1863 | - ssbc_zsZ++; | ||
| 1864 | - } else if (childTaskPlan.getDestroyReason().equals("缺人")) { | ||
| 1865 | - ssgl_qr += childTaskPlan.getMileage(); | ||
| 1866 | - ssgl_qrZ += childTaskPlan.getMileage(); | ||
| 1867 | - ssbc_qr++; | ||
| 1868 | - ssbc_qrZ++; | ||
| 1869 | - } else if (childTaskPlan.getDestroyReason().equals("缺车")) { | ||
| 1870 | - ssgl_qc += childTaskPlan.getMileage(); | ||
| 1871 | - ssgl_qcZ += childTaskPlan.getMileage(); | ||
| 1872 | - ssbc_qc++; | ||
| 1873 | - ssbc_qcZ++; | ||
| 1874 | - } else if (childTaskPlan.getDestroyReason().equals("客稀")) { | ||
| 1875 | - ssgl_kx += childTaskPlan.getMileage(); | ||
| 1876 | - ssgl_kxZ += childTaskPlan.getMileage(); | ||
| 1877 | - ssbc_kx++; | ||
| 1878 | - ssbc_kxZ++; | ||
| 1879 | - } else if (childTaskPlan.getDestroyReason().equals("气候")) { | ||
| 1880 | - ssgl_qh += childTaskPlan.getMileage(); | ||
| 1881 | - ssgl_qhZ += childTaskPlan.getMileage(); | ||
| 1882 | - ssbc_qh++; | ||
| 1883 | - ssbc_qhZ++; | ||
| 1884 | - } else if (childTaskPlan.getDestroyReason().equals("援外")) { | ||
| 1885 | - ssgl_yw += childTaskPlan.getMileage(); | ||
| 1886 | - ssgl_ywZ += childTaskPlan.getMileage(); | ||
| 1887 | - ssbc_yw++; | ||
| 1888 | - ssbc_ywZ++; | ||
| 1889 | - } else { | ||
| 1890 | - ssgl_other += childTaskPlan.getMileage(); | ||
| 1891 | - ssgl_otherZ += childTaskPlan.getMileage(); | ||
| 1892 | - ssbc_other++; | ||
| 1893 | - ssbc_otherZ++; | ||
| 1894 | - } | ||
| 1895 | - } else { | ||
| 1896 | - if (scheduleRealInfo.isSflj()) { | ||
| 1897 | - ljgl += tempJhlc; | ||
| 1898 | - ljglZ += tempJhlc; | ||
| 1899 | - } else{ | ||
| 1900 | - sjgl += childMileage; | ||
| 1901 | - sjglZ += childMileage; | ||
| 1902 | - } | ||
| 1903 | - } | ||
| 1904 | - } | ||
| 1905 | - } | ||
| 1906 | - | ||
| 1907 | - //班次 | ||
| 1908 | - jhbc++; | ||
| 1909 | - jhbcZ++; | ||
| 1910 | - String[] fcsj = scheduleRealInfo.getFcsj().split(":"); | ||
| 1911 | - String[] fcsjActual = (scheduleRealInfo.getFcsjActual() == null ? "0:00" : scheduleRealInfo.getFcsjActual()).split(":"); | ||
| 1912 | - if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_0 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_1) { | ||
| 1913 | - jhbc_m++; | ||
| 1914 | - jhbc_mZ++; | ||
| 1915 | - } else if ((Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) > sj_2 && (Integer.parseInt(fcsj[0]) * 60 + Integer.parseInt(fcsj[1])) < sj_3) { | ||
| 1916 | - jhbc_a++; | ||
| 1917 | - jhbc_aZ++; | ||
| 1918 | - } | ||
| 1919 | - if (scheduleRealInfo.getStatus() != -1) { | ||
| 1920 | - sjbc++; | ||
| 1921 | - sjbcZ++; | ||
| 1922 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | ||
| 1923 | - sjbc_m++; | ||
| 1924 | - sjbc_mZ++; | ||
| 1925 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | ||
| 1926 | - sjbc_a++; | ||
| 1927 | - sjbc_aZ++; | ||
| 1928 | - } | ||
| 1929 | - } | ||
| 1930 | - if (scheduleRealInfo.isSflj()) { | ||
| 1931 | - ljbc++; | ||
| 1932 | - ljbcZ++; | ||
| 1933 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | ||
| 1934 | - ljbc_m++; | ||
| 1935 | - ljbc_mZ++; | ||
| 1936 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | ||
| 1937 | - ljbc_a++; | ||
| 1938 | - ljbc_aZ++; | ||
| 1939 | - } | ||
| 1940 | - } | ||
| 1941 | - if (scheduleRealInfo.getBcType().equals("venting")) { | ||
| 1942 | - fzbc++; | ||
| 1943 | - fzbcZ++; | ||
| 1944 | - if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_0 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_1) { | ||
| 1945 | - fzbc_m++; | ||
| 1946 | - fzbc_mZ++; | ||
| 1947 | - } else if ((Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) > sj_2 && (Integer.parseInt(fcsjActual[0]) * 60 + Integer.parseInt(fcsjActual[1])) < sj_3) { | ||
| 1948 | - fzbc_a++; | ||
| 1949 | - fzbc_aZ++; | ||
| 1950 | - } | ||
| 1951 | - } | ||
| 1952 | - | ||
| 1953 | - if (i < list.size() - 1) { | ||
| 1954 | - if (!scheduleRealInfo.getXlBm().equals(list.get(i + 1).getXlBm())) { | ||
| 1955 | - map = new HashMap<String, Object>(); | ||
| 1956 | - map.put("xlName", scheduleRealInfo.getXlName()); | ||
| 1957 | - map.put("jhlc", format.format(jhlc)); | ||
| 1958 | - map.put("sjgl", format.format(sjgl)); | ||
| 1959 | - map.put("ssgl", format.format(ssgl+cj)); | ||
| 1960 | - map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | ||
| 1961 | - map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | ||
| 1962 | - map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | ||
| 1963 | - map.put("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | ||
| 1964 | - map.put("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | ||
| 1965 | - map.put("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | ||
| 1966 | - map.put("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | ||
| 1967 | - map.put("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | ||
| 1968 | - map.put("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | ||
| 1969 | - map.put("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | ||
| 1970 | - map.put("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | ||
| 1971 | - map.put("ssbc", ssbc); | ||
| 1972 | - map.put("ssbc_lz", ssbc_lz); | ||
| 1973 | - map.put("ssbc_dm", ssbc_dm); | ||
| 1974 | - map.put("ssbc_gz", ssbc_gz); | ||
| 1975 | - map.put("ssbc_jf", ssbc_jf); | ||
| 1976 | - map.put("ssbc_zs", ssbc_zs); | ||
| 1977 | - map.put("ssbc_qr", ssbc_qr); | ||
| 1978 | - map.put("ssbc_qc", ssbc_qc); | ||
| 1979 | - map.put("ssbc_kx", ssbc_kx); | ||
| 1980 | - map.put("ssbc_qh", ssbc_qh); | ||
| 1981 | - map.put("ssbc_yw", ssbc_yw); | ||
| 1982 | - map.put("ssbc_other", ssbc_other); | ||
| 1983 | - map.put("ljgl", format.format(ljgl+lj)); | ||
| 1984 | - map.put("jhbc", jhbc); | ||
| 1985 | - map.put("jhbc_m", jhbc_m); | ||
| 1986 | - map.put("jhbc_a", jhbc_a); | ||
| 1987 | - map.put("sjbc", sjbc); | ||
| 1988 | - map.put("sjbc_m", sjbc_m); | ||
| 1989 | - map.put("sjbc_a", sjbc_a); | ||
| 1990 | - map.put("ljbc", ljbc); | ||
| 1991 | - map.put("ljbc_m", ljbc_m); | ||
| 1992 | - map.put("ljbc_a", ljbc_a); | ||
| 1993 | - map.put("fzbc", fzbc); | ||
| 1994 | - map.put("fzbc_m", fzbc_m); | ||
| 1995 | - map.put("fzbc_a", fzbc_a); | ||
| 1996 | - map.put("dtbc", dtbc); | ||
| 1997 | - map.put("dtbc_m", dtbc_m); | ||
| 1998 | - map.put("dtbc_a", dtbc_a); | ||
| 1999 | - map.put("djg", djg); | ||
| 2000 | - map.put("djg_m", djg_m); | ||
| 2001 | - map.put("djg_a", djg_a); | ||
| 2002 | - map.put("djg_time", djg_time); | ||
| 2003 | - lMap.add(map); | ||
| 2004 | - jhlc = 0; | ||
| 2005 | - tempJhlc = 0; | ||
| 2006 | - childMileage = 0; | ||
| 2007 | - sjgl = 0f; | ||
| 2008 | - ssgl = 0f; | ||
| 2009 | - ssgl_lz = 0f; | ||
| 2010 | - ssgl_dm = 0f; | ||
| 2011 | - ssgl_gz = 0f; | ||
| 2012 | - ssgl_jf = 0f; | ||
| 2013 | - ssgl_zs = 0f; | ||
| 2014 | - ssgl_qr = 0f; | ||
| 2015 | - ssgl_qc = 0f; | ||
| 2016 | - ssgl_kx = 0f; | ||
| 2017 | - ssgl_qh = 0f; | ||
| 2018 | - ssgl_yw = 0f; | ||
| 2019 | - ssgl_other = 0f; | ||
| 2020 | - ljgl = 0f; | ||
| 2021 | - //班次 | ||
| 2022 | - jhbc = 0; | ||
| 2023 | - jhbc_m = 0; | ||
| 2024 | - jhbc_a = 0; | ||
| 2025 | - sjbc = 0; | ||
| 2026 | - sjbc_m = 0; | ||
| 2027 | - sjbc_a = 0; | ||
| 2028 | - ljbc = 0; | ||
| 2029 | - ljbc_m = 0; | ||
| 2030 | - ljbc_a = 0; | ||
| 2031 | - fzbc = 0; | ||
| 2032 | - fzbc_m = 0; | ||
| 2033 | - fzbc_a = 0; | ||
| 2034 | - dtbc = 0; | ||
| 2035 | - dtbc_m = 0; | ||
| 2036 | - dtbc_a = 0; | ||
| 2037 | - djg = 0; | ||
| 2038 | - djg_m = 0; | ||
| 2039 | - djg_a = 0; | ||
| 2040 | - djg_time = 0; | ||
| 2041 | - lj=0; | ||
| 2042 | - cj=0; | ||
| 2043 | - } | ||
| 2044 | - } else { | ||
| 2045 | - map = new HashMap<String, Object>(); | ||
| 2046 | - map.put("xlName", scheduleRealInfo.getXlName()); | ||
| 2047 | - map.put("jhlc", format.format(jhlc)); | ||
| 2048 | - map.put("sjgl", format.format(sjgl)); | ||
| 2049 | - map.put("ssgl", format.format(ssgl+cj)); | ||
| 2050 | - map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | ||
| 2051 | - map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | ||
| 2052 | - map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | ||
| 2053 | - map.put("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | ||
| 2054 | - map.put("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | ||
| 2055 | - map.put("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | ||
| 2056 | - map.put("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | ||
| 2057 | - map.put("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | ||
| 2058 | - map.put("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | ||
| 2059 | - map.put("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | ||
| 2060 | - map.put("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | ||
| 2061 | - map.put("ssbc", ssbc); | ||
| 2062 | - map.put("ssbc_lz", ssbc_lz); | ||
| 2063 | - map.put("ssbc_dm", ssbc_dm); | ||
| 2064 | - map.put("ssbc_gz", ssbc_gz); | ||
| 2065 | - map.put("ssbc_jf", ssbc_jf); | ||
| 2066 | - map.put("ssbc_zs", ssbc_zs); | ||
| 2067 | - map.put("ssbc_qr", ssbc_qr); | ||
| 2068 | - map.put("ssbc_qc", ssbc_qc); | ||
| 2069 | - map.put("ssbc_kx", ssbc_kx); | ||
| 2070 | - map.put("ssbc_qh", ssbc_qh); | ||
| 2071 | - map.put("ssbc_yw", ssbc_yw); | ||
| 2072 | - map.put("ssbc_other", ssbc_other); | ||
| 2073 | - map.put("ljgl", format.format(ljgl+lj)); | ||
| 2074 | - map.put("jhbc", jhbc); | ||
| 2075 | - map.put("jhbc_m", jhbc_m); | ||
| 2076 | - map.put("jhbc_a", jhbc_a); | ||
| 2077 | - map.put("sjbc", sjbc); | ||
| 2078 | - map.put("sjbc_m", sjbc_m); | ||
| 2079 | - map.put("sjbc_a", sjbc_a); | ||
| 2080 | - map.put("ljbc", ljbc); | ||
| 2081 | - map.put("ljbc_m", ljbc_m); | ||
| 2082 | - map.put("ljbc_a", ljbc_a); | ||
| 2083 | - map.put("fzbc", fzbc); | ||
| 2084 | - map.put("fzbc_m", fzbc_m); | ||
| 2085 | - map.put("fzbc_a", fzbc_a); | ||
| 2086 | - map.put("dtbc", dtbc); | ||
| 2087 | - map.put("dtbc_m", dtbc_m); | ||
| 2088 | - map.put("dtbc_a", dtbc_a); | ||
| 2089 | - map.put("djg", djg); | ||
| 2090 | - map.put("djg_m", djg_m); | ||
| 2091 | - map.put("djg_a", djg_a); | ||
| 2092 | - map.put("djg_time", djg_time); | ||
| 2093 | - lMap.add(map); | ||
| 2094 | - jhlc = 0; | ||
| 2095 | - tempJhlc = 0; | ||
| 2096 | - childMileage = 0; | ||
| 2097 | - sjgl = 0f; | ||
| 2098 | - ssgl = 0f; | ||
| 2099 | - ssgl_lz = 0f; | ||
| 2100 | - ssgl_dm = 0f; | ||
| 2101 | - ssgl_gz = 0f; | ||
| 2102 | - ssgl_jf = 0f; | ||
| 2103 | - ssgl_zs = 0f; | ||
| 2104 | - ssgl_qr = 0f; | ||
| 2105 | - ssgl_qc = 0f; | ||
| 2106 | - ssgl_kx = 0f; | ||
| 2107 | - ssgl_qh = 0f; | ||
| 2108 | - ssgl_yw = 0f; | ||
| 2109 | - ssgl_other = 0f; | ||
| 2110 | - ljgl = 0f; | ||
| 2111 | - //班次 | ||
| 2112 | - jhbc = 0; | ||
| 2113 | - jhbc_m = 0; | ||
| 2114 | - jhbc_a = 0; | ||
| 2115 | - sjbc = 0; | ||
| 2116 | - sjbc_m = 0; | ||
| 2117 | - sjbc_a = 0; | ||
| 2118 | - ljbc = 0; | ||
| 2119 | - ljbc_m = 0; | ||
| 2120 | - ljbc_a = 0; | ||
| 2121 | - fzbc = 0; | ||
| 2122 | - fzbc_m = 0; | ||
| 2123 | - fzbc_a = 0; | ||
| 2124 | - dtbc = 0; | ||
| 2125 | - dtbc_m = 0; | ||
| 2126 | - dtbc_a = 0; | ||
| 2127 | - djg = 0; | ||
| 2128 | - djg_m = 0; | ||
| 2129 | - djg_a = 0; | ||
| 2130 | - djg_time = 0; | ||
| 2131 | - lj=0; | ||
| 2132 | - cj=0; | ||
| 2133 | - } | 1604 | + /* String sqlPc = "select * from bsth_c_s_child_task where schedule=" + s.getId() + " order by start_date "; |
| 1605 | + List<ScheduleRealInfo> lists = jdbcTemplate.query(sqlPc, | ||
| 1606 | + new RowMapper<ScheduleRealInfo>() { | ||
| 1607 | + @Override | ||
| 1608 | + public ScheduleRealInfo mapRow(ResultSet rs, int rowNum) throws SQLException { | ||
| 1609 | + ScheduleRealInfo t = new ScheduleRealInfo(); | ||
| 1610 | + if (rs.getInt("destroy") == 0) { | ||
| 1611 | + t.setFcsjActual(rs.getString("start_date")); | ||
| 1612 | + t.setZdsjActual(rs.getString("end_date")); | ||
| 1613 | + t.setJhlc(rs.getDouble("mileage")); | ||
| 1614 | + } else { | ||
| 1615 | + t.setFcsjActual(""); | ||
| 1616 | + t.setZdsjActual(""); | ||
| 1617 | + t.setJhlc(0.0); | ||
| 1618 | + } | ||
| 1619 | + t.setQdzName(rs.getString("start_station_name")); | ||
| 1620 | + t.setZdzName(rs.getString("end_station_name")); | ||
| 1621 | + t.setRemarks(rs.getString("remarks")); | ||
| 1622 | + t.setAdjustExps("子"); | ||
| 1623 | + return t; | ||
| 1624 | + } | ||
| 1625 | + }); | ||
| 1626 | + for (int j = 0; j < lists.size(); j++) { | ||
| 1627 | + ScheduleRealInfo t = lists.get(j); | ||
| 1628 | + listSchedule.add(t); | ||
| 1629 | + }*/ | ||
| 2134 | } | 1630 | } |
| 2135 | } | 1631 | } |
| 2136 | - map = new HashMap<String, Object>(); | ||
| 2137 | - map.put("xlName", "合计"); | ||
| 2138 | - map.put("jhlc", format.format(jhlcZ)); | ||
| 2139 | - map.put("sjgl", format.format(sjglZ)); | ||
| 2140 | - map.put("ssgl", format.format(ssglZ+xgssgl)); | ||
| 2141 | - map.put("ssgl_lz", ssgl_lzZ == 0 ? 0 : format.format(ssgl_lzZ)); | ||
| 2142 | - map.put("ssgl_dm", ssgl_dmZ == 0 ? 0 : format.format(ssgl_dmZ)); | ||
| 2143 | - map.put("ssgl_gz", ssgl_gzZ == 0 ? 0 : format.format(ssgl_gzZ)); | ||
| 2144 | - map.put("ssgl_jf", ssgl_jfZ == 0 ? 0 : format.format(ssgl_jfZ)); | ||
| 2145 | - map.put("ssgl_zs", ssgl_zsZ == 0 ? 0 : format.format(ssgl_zsZ)); | ||
| 2146 | - map.put("ssgl_qr", ssgl_qrZ == 0 ? 0 : format.format(ssgl_qrZ)); | ||
| 2147 | - map.put("ssgl_qc", ssgl_qcZ == 0 ? 0 : format.format(ssgl_qcZ)); | ||
| 2148 | - map.put("ssgl_kx", ssgl_kxZ == 0 ? 0 : format.format(ssgl_kxZ)); | ||
| 2149 | - map.put("ssgl_qh", ssgl_qhZ == 0 ? 0 : format.format(ssgl_qhZ)); | ||
| 2150 | - map.put("ssgl_yw", ssgl_ywZ == 0 ? 0 : format.format(ssgl_ywZ)); | ||
| 2151 | - map.put("ssgl_other", ssgl_otherZ == 0 ? 0 : format.format(ssgl_otherZ)); | ||
| 2152 | - map.put("ssbc", ssbcZ); | ||
| 2153 | - map.put("ssbc_lz", ssbc_lzZ); | ||
| 2154 | - map.put("ssbc_dm", ssbc_lzZ); | ||
| 2155 | - map.put("ssbc_gz", ssbc_gzZ); | ||
| 2156 | - map.put("ssbc_jf", ssbc_jfZ); | ||
| 2157 | - map.put("ssbc_zs", ssbc_zsZ); | ||
| 2158 | - map.put("ssbc_qr", ssbc_qrZ); | ||
| 2159 | - map.put("ssbc_qc", ssbc_qcZ); | ||
| 2160 | - map.put("ssbc_kx", ssbc_qcZ); | ||
| 2161 | - map.put("ssbc_qh", ssbc_qhZ); | ||
| 2162 | - map.put("ssbc_yw", ssbc_ywZ); | ||
| 2163 | - map.put("ssbc_other", ssbc_otherZ); | ||
| 2164 | - map.put("ljgl", format.format(ljglZ+xgljgl)); | ||
| 2165 | - map.put("jhbc", jhbcZ); | ||
| 2166 | - map.put("jhbc_m", jhbc_mZ); | ||
| 2167 | - map.put("jhbc_a", jhbc_aZ); | ||
| 2168 | - map.put("sjbc", sjbcZ); | ||
| 2169 | - map.put("sjbc_m", sjbc_mZ); | ||
| 2170 | - map.put("sjbc_a", sjbc_aZ); | ||
| 2171 | - map.put("ljbc", ljbcZ); | ||
| 2172 | - map.put("ljbc_m", ljbc_mZ); | ||
| 2173 | - map.put("ljbc_a", ljbc_aZ); | ||
| 2174 | - map.put("fzbc", fzbcZ); | ||
| 2175 | - map.put("fzbc_m", fzbc_mZ); | ||
| 2176 | - map.put("fzbc_a", fzbc_aZ); | ||
| 2177 | - map.put("dtbc", dtbcZ); | ||
| 2178 | - map.put("dtbc_m", dtbc_mZ); | ||
| 2179 | - map.put("dtbc_a", dtbc_aZ); | ||
| 2180 | - map.put("djg", djgZ); | ||
| 2181 | - map.put("djg_m", djg_mZ); | ||
| 2182 | - map.put("djg_a", djg_aZ); | ||
| 2183 | - map.put("djg_time", djg_timeZ); | ||
| 2184 | - lMap.add(map); | ||
| 2185 | - for (int i = 0; i < lMap.size(); i++) { | ||
| 2186 | - Map<String, Object> m=lMap.get(i); | ||
| 2187 | -// m.get("")) | ||
| 2188 | - jhlc += Double.parseDouble(m.get("jhlc").toString()); | ||
| 2189 | - sjgl += Double.parseDouble(m.get("sjgl").toString()); | ||
| 2190 | - ssgl += Double.parseDouble( m.get("ssgl").toString()); | ||
| 2191 | - ssgl_lz += Double.parseDouble( m.get("ssgl_lz").toString()); | ||
| 2192 | - ssgl_dm += Double.parseDouble(m.get("ssgl_dm").toString()); | ||
| 2193 | - ssgl_gz += Double.parseDouble( m.get("ssgl_gz").toString()); | ||
| 2194 | - ssgl_jf += m.get("ssgl_jf", ssgl_jf == 0 ? 0 : format.format(ssgl_jf)); | ||
| 2195 | - m.get("ssgl_zs", ssgl_zs == 0 ? 0 : format.format(ssgl_zs)); | ||
| 2196 | - m.get("ssgl_qr", ssgl_qr == 0 ? 0 : format.format(ssgl_qr)); | ||
| 2197 | - m.get("ssgl_qc", ssgl_qc == 0 ? 0 : format.format(ssgl_qc)); | ||
| 2198 | - m.get("ssgl_kx", ssgl_kx == 0 ? 0 : format.format(ssgl_kx)); | ||
| 2199 | - m.get("ssgl_qh", ssgl_qh == 0 ? 0 : format.format(ssgl_qh)); | ||
| 2200 | - m.get("ssgl_yw", ssgl_yw == 0 ? 0 : format.format(ssgl_yw)); | ||
| 2201 | - m.get("ssgl_other", ssgl_other == 0 ? 0 : format.format(ssgl_other)); | ||
| 2202 | - m.get("ljgl", ljgl == 0 ? 0 : format.format(ljgl)); | ||
| 2203 | - m.get("jhbc", jhbc); | ||
| 2204 | - m.get("jhbc_m", jhbc_m); | ||
| 2205 | - m.get("jhbc_a", jhbc_a); | ||
| 2206 | - m.get("sjbc", sjbc); | ||
| 2207 | - m.get("sjbc_m", sjbc_m); | ||
| 2208 | - m.get("sjbc_a", sjbc_a); | ||
| 2209 | - m.get("ljbc", ljbc); | ||
| 2210 | - m.get("ljbc_m", ljbc_m); | ||
| 2211 | - m.get("ljbc_a", ljbc_a); | ||
| 2212 | - m.get("fzbc", fzbc); | ||
| 2213 | - m.get("fzbc_m", fzbc_m); | ||
| 2214 | - m.get("fzbc_a", fzbc_a); | ||
| 2215 | - m.get("dtbc", dtbc); | ||
| 2216 | - m.get("dtbc_m", dtbc_m); | ||
| 2217 | - m.get("dtbc_a", dtbc_a); | ||
| 2218 | - m.get("djg", djg); | ||
| 2219 | - m.get("djg_m", djg_m); | ||
| 2220 | - m.get("djg_a", djg_a); | ||
| 2221 | - m.get("djg_time", djg_time); | ||
| 2222 | - } | ||
| 2223 | 1632 | ||
| 2224 | - if (type != null && type.length() != 0 && type.equals("export")) { | ||
| 2225 | - SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | ||
| 2226 | - sdfSimple = new SimpleDateFormat("yyyyMMdd"); | ||
| 2227 | - List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | ||
| 2228 | - Map<String, Object> m = new HashMap<String, Object>(); | ||
| 2229 | - ReportUtils ee = new ReportUtils(); | ||
| 2230 | - try { | ||
| 2231 | - listI.add(lMap.iterator()); | ||
| 2232 | - String path = this.getClass().getResource("/").getPath() + "static/pages/forms/"; | ||
| 2233 | - ee.excelReplace(listI, new Object[]{m}, path + "mould/statisticsDaily_.xls", | ||
| 2234 | - path + "export/统计日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); | ||
| 2235 | - } catch (Exception e) { | ||
| 2236 | - // TODO: handle exception | ||
| 2237 | - e.printStackTrace(); | ||
| 2238 | - } | ||
| 2239 | - } | 1633 | + return listSchedule; |
| 1634 | + } | ||
| 2240 | 1635 | ||
| 2241 | - return lMap; | ||
| 2242 | - }*/ | ||
| 2243 | - | ||
| 2244 | @Override | 1636 | @Override |
| 2245 | - public List<Map<String, Object>> statisticsDailyTj(String line, String date,String date2, | 1637 | + public Map<String, Object> removeChildTask(Long taskId) { |
| 1638 | + Map<String, Object> rs = new HashMap<>(); | ||
| 1639 | + ChildTaskPlan chTask = cTaskPlanRepository.findOne(taskId); | ||
| 1640 | + | ||
| 1641 | + ScheduleRealInfo sch = dayOfSchedule.get(chTask.getSchedule().getId()); | ||
| 1642 | + try { | ||
| 1643 | + | ||
| 1644 | + sch.getcTasks().remove(chTask); | ||
| 1645 | + scheduleRealInfoRepository.save(sch); | ||
| 1646 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 1647 | + } catch (Exception e) { | ||
| 1648 | + logger.error("", e); | ||
| 1649 | + rs.put("status", ResponseCode.ERROR); | ||
| 1650 | + } | ||
| 1651 | + return rs; | ||
| 1652 | + } | ||
| 1653 | + @Override | ||
| 1654 | + public List<Map<String, Object>> statisticsDaily(String line, String date, | ||
| 1655 | + String xlName, String type) { | ||
| 1656 | + List<Map<String, Object>> lMap= new ArrayList<Map<String, Object>>(); | ||
| 1657 | + List<ScheduleRealInfo> lists = scheduleRealInfoRepository.scheduleByDateAndLine2(line, date); | ||
| 1658 | + Map<String, Object> map = new HashMap<String, Object>(); | ||
| 1659 | + map.put("xlName", xlName); | ||
| 1660 | + map.put("jhlc", culateService.culateJhgl(lists)); | ||
| 1661 | + map.put("sjgl", Arith.add(culateService.culateSjgl(lists),culateService.culateLjgl(lists))); | ||
| 1662 | + map.put("ssgl", culateService.culateLbgl(lists)); | ||
| 1663 | + map.put("ssgl_lz", culateService.culateCJLC(lists, "路阻")); | ||
| 1664 | + map.put("ssgl_dm", culateService.culateCJLC(lists, "吊慢")); | ||
| 1665 | + map.put("ssgl_gz", culateService.culateCJLC(lists, "故障")); | ||
| 1666 | + map.put("ssgl_jf", culateService.culateCJLC(lists, "纠纷")); | ||
| 1667 | + map.put("ssgl_zs", culateService.culateCJLC(lists, "肇事")); | ||
| 1668 | + map.put("ssgl_qr", culateService.culateCJLC(lists, "缺人")); | ||
| 1669 | + map.put("ssgl_qc", culateService.culateCJLC(lists, "缺车")); | ||
| 1670 | + map.put("ssgl_kx", culateService.culateCJLC(lists, "客稀")); | ||
| 1671 | + map.put("ssgl_qh", culateService.culateCJLC(lists, "气候")); | ||
| 1672 | + map.put("ssgl_yw", culateService.culateCJLC(lists, "援外")); | ||
| 1673 | + map.put("ssgl_other", culateService.culateCJLC(lists, "其他")); | ||
| 1674 | + map.put("ssbc", culateService.culateLbbc(lists)); | ||
| 1675 | + map.put("ljgl", culateService.culateLjgl(lists)); | ||
| 1676 | + map.put("jhbc", culateService.culateJhbc(lists,"")); | ||
| 1677 | + map.put("jhbc_m", culateService.culateJhbc(lists, "zgf")); | ||
| 1678 | + map.put("jhbc_a", culateService.culateJhbc(lists, "wgf")); | ||
| 1679 | + map.put("sjbc", culateService.culateSjbc(lists,"")); | ||
| 1680 | + map.put("sjbc_m", culateService.culateSjbc(lists,"zgf")); | ||
| 1681 | + map.put("sjbc_a", culateService.culateSjbc(lists,"wgf")); | ||
| 1682 | + map.put("ljbc", culateService.culateLjbc(lists,"")); | ||
| 1683 | + map.put("ljbc_m", culateService.culateLjbc(lists,"zgf")); | ||
| 1684 | + map.put("ljbc_a", culateService.culateLjbc(lists,"wgf")); | ||
| 1685 | + map.put("fzbc", culateService.culateFzbc(lists, "")); | ||
| 1686 | + map.put("fzbc_m", culateService.culateFzbc(lists, "zgf")); | ||
| 1687 | + map.put("fzbc_a", culateService.culateFzbc(lists, "wgf")); | ||
| 1688 | + map.put("dtbc", 0); | ||
| 1689 | + map.put("dtbc_m", 0); | ||
| 1690 | + map.put("dtbc_a", 0); | ||
| 1691 | + map.put("djg", 0); | ||
| 1692 | + map.put("djg_m", 0); | ||
| 1693 | + map.put("djg_a", 0); | ||
| 1694 | + map.put("djg_time", 0); | ||
| 1695 | + lMap.add(map); | ||
| 1696 | + return lMap; | ||
| 1697 | + } | ||
| 1698 | + | ||
| 1699 | + /* @Override | ||
| 1700 | + public List<Map<String, Object>> statisticsDaily(String line, String date, | ||
| 2246 | String xlName, String type) { | 1701 | String xlName, String type) { |
| 2247 | List<ScheduleRealInfo> list = new ArrayList<ScheduleRealInfo>(); | 1702 | List<ScheduleRealInfo> list = new ArrayList<ScheduleRealInfo>(); |
| 2248 | - if(line!=null){ | ||
| 2249 | - list = scheduleRealInfoRepository.scheduleByDateAndLineTj2(line, date,date2); | ||
| 2250 | - }else{ | ||
| 2251 | - list = scheduleRealInfoRepository.scheduleByDateAndLineTj(line, date,date2); | ||
| 2252 | - } | ||
| 2253 | - | 1703 | + if (date.length() == 10) |
| 1704 | + list = scheduleRealInfoRepository.scheduleByDateAndLine2(line, date); | ||
| 1705 | + else if (date.length() == 7) | ||
| 1706 | + list = scheduleRealInfoRepository.scheduleByDateAndLine3(line, date); | ||
| 1707 | + | ||
| 2254 | 1708 | ||
| 2255 | List<Map<String, Object>> lMap = new ArrayList<Map<String, Object>>(); | 1709 | List<Map<String, Object>> lMap = new ArrayList<Map<String, Object>>(); |
| 2256 | DecimalFormat format = new DecimalFormat("0.00"); | 1710 | DecimalFormat format = new DecimalFormat("0.00"); |
| @@ -2378,8 +1832,6 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2378,8 +1832,6 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2378 | while (it.hasNext()) { | 1832 | while (it.hasNext()) { |
| 2379 | ChildTaskPlan childTaskPlan = it.next(); | 1833 | ChildTaskPlan childTaskPlan = it.next(); |
| 2380 | childMileage = childTaskPlan.getMileage() == null ? 0 : childTaskPlan.getMileage(); | 1834 | childMileage = childTaskPlan.getMileage() == null ? 0 : childTaskPlan.getMileage(); |
| 2381 | - jhlc += childMileage; | ||
| 2382 | - jhlcZ += childMileage; | ||
| 2383 | if (childTaskPlan.isDestroy()) { | 1835 | if (childTaskPlan.isDestroy()) { |
| 2384 | ssgl += childMileage; | 1836 | ssgl += childMileage; |
| 2385 | ssglZ += childMileage; | 1837 | ssglZ += childMileage; |
| @@ -2529,7 +1981,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2529,7 +1981,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2529 | map.put("ssbc_qh", ssbc_qh); | 1981 | map.put("ssbc_qh", ssbc_qh); |
| 2530 | map.put("ssbc_yw", ssbc_yw); | 1982 | map.put("ssbc_yw", ssbc_yw); |
| 2531 | map.put("ssbc_other", ssbc_other); | 1983 | map.put("ssbc_other", ssbc_other); |
| 2532 | - map.put("ljgl", (ljgl+lj) == 0 ? 0 : format.format(ljgl+lj)); | 1984 | + map.put("ljgl", format.format(ljgl+lj)); |
| 2533 | map.put("jhbc", jhbc); | 1985 | map.put("jhbc", jhbc); |
| 2534 | map.put("jhbc_m", jhbc_m); | 1986 | map.put("jhbc_m", jhbc_m); |
| 2535 | map.put("jhbc_a", jhbc_a); | 1987 | map.put("jhbc_a", jhbc_a); |
| @@ -2594,8 +2046,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2594,8 +2046,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2594 | map = new HashMap<String, Object>(); | 2046 | map = new HashMap<String, Object>(); |
| 2595 | map.put("xlName", scheduleRealInfo.getXlName()); | 2047 | map.put("xlName", scheduleRealInfo.getXlName()); |
| 2596 | map.put("jhlc", format.format(jhlc)); | 2048 | map.put("jhlc", format.format(jhlc)); |
| 2597 | - map.put("sjgl", format.format(sjgl+cj)); | ||
| 2598 | - map.put("ssgl", format.format(ssgl)); | 2049 | + map.put("sjgl", format.format(sjgl)); |
| 2050 | + map.put("ssgl", format.format(ssgl+cj)); | ||
| 2599 | map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); | 2051 | map.put("ssgl_lz", ssgl_lz == 0 ? 0 : format.format(ssgl_lz)); |
| 2600 | map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); | 2052 | map.put("ssgl_dm", ssgl_dm == 0 ? 0 : format.format(ssgl_dm)); |
| 2601 | map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); | 2053 | map.put("ssgl_gz", ssgl_gz == 0 ? 0 : format.format(ssgl_gz)); |
| @@ -2731,7 +2183,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2731,7 +2183,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2731 | map.put("djg_a", djg_aZ); | 2183 | map.put("djg_a", djg_aZ); |
| 2732 | map.put("djg_time", djg_timeZ); | 2184 | map.put("djg_time", djg_timeZ); |
| 2733 | lMap.add(map); | 2185 | lMap.add(map); |
| 2734 | - /* for (int i = 0; i < lMap.size(); i++) { | 2186 | + for (int i = 0; i < lMap.size(); i++) { |
| 2735 | Map<String, Object> m=lMap.get(i); | 2187 | Map<String, Object> m=lMap.get(i); |
| 2736 | // m.get("")) | 2188 | // m.get("")) |
| 2737 | jhlc += Double.parseDouble(m.get("jhlc").toString()); | 2189 | jhlc += Double.parseDouble(m.get("jhlc").toString()); |
| @@ -2768,8 +2220,145 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2768,8 +2220,145 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2768 | m.get("djg_m", djg_m); | 2220 | m.get("djg_m", djg_m); |
| 2769 | m.get("djg_a", djg_a); | 2221 | m.get("djg_a", djg_a); |
| 2770 | m.get("djg_time", djg_time); | 2222 | m.get("djg_time", djg_time); |
| 2771 | - }*/ | 2223 | + } |
| 2224 | + | ||
| 2225 | + if (type != null && type.length() != 0 && type.equals("export")) { | ||
| 2226 | + SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | ||
| 2227 | + sdfSimple = new SimpleDateFormat("yyyyMMdd"); | ||
| 2228 | + List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | ||
| 2229 | + Map<String, Object> m = new HashMap<String, Object>(); | ||
| 2230 | + ReportUtils ee = new ReportUtils(); | ||
| 2231 | + try { | ||
| 2232 | + listI.add(lMap.iterator()); | ||
| 2233 | + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/"; | ||
| 2234 | + ee.excelReplace(listI, new Object[]{m}, path + "mould/statisticsDaily_.xls", | ||
| 2235 | + path + "export/统计日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); | ||
| 2236 | + } catch (Exception e) { | ||
| 2237 | + // TODO: handle exception | ||
| 2238 | + e.printStackTrace(); | ||
| 2239 | + } | ||
| 2240 | + } | ||
| 2772 | 2241 | ||
| 2242 | + return lMap; | ||
| 2243 | + }*/ | ||
| 2244 | + | ||
| 2245 | + public final Map<String, Object> staticTj(List<ScheduleRealInfo> lists){ | ||
| 2246 | + Map<String, Object> map = new HashMap<String, Object>(); | ||
| 2247 | + map.put("xlName", lists.get(0).getXlName()); | ||
| 2248 | + map.put("jhlc", culateService.culateJhgl(lists)); | ||
| 2249 | + map.put("sjgl", Arith.add(culateService.culateSjgl(lists),culateService.culateLjgl(lists))); | ||
| 2250 | + map.put("ssgl", culateService.culateLbgl(lists)); | ||
| 2251 | + map.put("ssgl_lz", culateService.culateCJLC(lists, "路阻")); | ||
| 2252 | + map.put("ssgl_dm", culateService.culateCJLC(lists, "吊慢")); | ||
| 2253 | + map.put("ssgl_gz", culateService.culateCJLC(lists, "故障")); | ||
| 2254 | + map.put("ssgl_jf", culateService.culateCJLC(lists, "纠纷")); | ||
| 2255 | + map.put("ssgl_zs", culateService.culateCJLC(lists, "肇事")); | ||
| 2256 | + map.put("ssgl_qr", culateService.culateCJLC(lists, "缺人")); | ||
| 2257 | + map.put("ssgl_qc", culateService.culateCJLC(lists, "缺车")); | ||
| 2258 | + map.put("ssgl_kx", culateService.culateCJLC(lists, "客稀")); | ||
| 2259 | + map.put("ssgl_qh", culateService.culateCJLC(lists, "气候")); | ||
| 2260 | + map.put("ssgl_yw", culateService.culateCJLC(lists, "援外")); | ||
| 2261 | + map.put("ssgl_other", culateService.culateCJLC(lists, "其他")); | ||
| 2262 | + map.put("ssbc", culateService.culateLbbc(lists)); | ||
| 2263 | + map.put("ljgl", culateService.culateLjgl(lists)); | ||
| 2264 | + map.put("jhbc", culateService.culateJhbc(lists,"")); | ||
| 2265 | + map.put("jhbc_m", culateService.culateJhbc(lists, "zgf")); | ||
| 2266 | + map.put("jhbc_a", culateService.culateJhbc(lists, "wgf")); | ||
| 2267 | + map.put("sjbc", culateService.culateSjbc(lists,"")); | ||
| 2268 | + map.put("sjbc_m", culateService.culateSjbc(lists,"zgf")); | ||
| 2269 | + map.put("sjbc_a", culateService.culateSjbc(lists,"wgf")); | ||
| 2270 | + map.put("ljbc", culateService.culateLjbc(lists,"")); | ||
| 2271 | + map.put("ljbc_m", culateService.culateLjbc(lists,"zgf")); | ||
| 2272 | + map.put("ljbc_a", culateService.culateLjbc(lists,"wgf")); | ||
| 2273 | + map.put("fzbc", culateService.culateFzbc(lists, "")); | ||
| 2274 | + map.put("fzbc_m", culateService.culateFzbc(lists, "zgf")); | ||
| 2275 | + map.put("fzbc_a", culateService.culateFzbc(lists, "wgf")); | ||
| 2276 | + map.put("dtbc", 0); | ||
| 2277 | + map.put("dtbc_m", 0); | ||
| 2278 | + map.put("dtbc_a", 0); | ||
| 2279 | + map.put("djg", 0); | ||
| 2280 | + map.put("djg_m", 0); | ||
| 2281 | + map.put("djg_a", 0); | ||
| 2282 | + map.put("djg_time", 0); | ||
| 2283 | + return map; | ||
| 2284 | + } | ||
| 2285 | + | ||
| 2286 | + @Override | ||
| 2287 | + public List<Map<String, Object>> statisticsDailyTj(String gsdm,String fgsdm,String line, String date,String date2, | ||
| 2288 | + String xlName, String type) { | ||
| 2289 | + List<ScheduleRealInfo> list = new ArrayList<ScheduleRealInfo>(); | ||
| 2290 | + List<ScheduleRealInfo> lists = new ArrayList<ScheduleRealInfo>(); | ||
| 2291 | + line =line.trim(); | ||
| 2292 | + if(line.equals("")){ | ||
| 2293 | + //查询所有线路 | ||
| 2294 | + list = scheduleRealInfoRepository.scheduleByDateAndLineTj(line, date,date2,gsdm,fgsdm); | ||
| 2295 | + }else{ | ||
| 2296 | + //查询单条线路 | ||
| 2297 | + list = scheduleRealInfoRepository.scheduleByDateAndLineTj2(line, date,date2); | ||
| 2298 | + } | ||
| 2299 | + List<Map<String, Object>> lMap = new ArrayList<Map<String, Object>>(); | ||
| 2300 | + for (int i = 0; i < list.size(); i++) { | ||
| 2301 | + if(i<list.size()-1){ | ||
| 2302 | + if(list.get(i+1).getXlBm().equals(list.get(i).getXlBm())){ | ||
| 2303 | + lists.add(list.get(i)); | ||
| 2304 | + }else{ | ||
| 2305 | + lists.add(list.get(i)); | ||
| 2306 | + Map<String, Object> map=staticTj(lists); | ||
| 2307 | + lMap.add(map); | ||
| 2308 | + lists=new ArrayList<ScheduleRealInfo>(); | ||
| 2309 | + } | ||
| 2310 | + }else{ | ||
| 2311 | + if(list.get(i).getXlBm().equals(list.get(i-1).getXlBm())){ | ||
| 2312 | + lists.add(list.get(i)); | ||
| 2313 | + Map<String, Object> map=staticTj(lists); | ||
| 2314 | + lMap.add(map); | ||
| 2315 | + }else{ | ||
| 2316 | + lists=new ArrayList<ScheduleRealInfo>(); | ||
| 2317 | + lists.add(list.get(i)); | ||
| 2318 | + Map<String, Object> map=staticTj(lists); | ||
| 2319 | + lMap.add(map); | ||
| 2320 | + } | ||
| 2321 | + } | ||
| 2322 | + } | ||
| 2323 | + | ||
| 2324 | + Map<String, Object> map = new HashMap<String, Object>(); | ||
| 2325 | + map.put("xlName", "合计"); | ||
| 2326 | + map.put("jhlc", culateService.culateJhgl(list)); | ||
| 2327 | + map.put("sjgl", Arith.add(culateService.culateSjgl(list),culateService.culateLjgl(list))); | ||
| 2328 | + map.put("ssgl", culateService.culateLbgl(list)); | ||
| 2329 | + map.put("ssgl_lz", culateService.culateCJLC(list, "路阻")); | ||
| 2330 | + map.put("ssgl_dm", culateService.culateCJLC(list, "吊慢")); | ||
| 2331 | + map.put("ssgl_gz", culateService.culateCJLC(list, "故障")); | ||
| 2332 | + map.put("ssgl_jf", culateService.culateCJLC(list, "纠纷")); | ||
| 2333 | + map.put("ssgl_zs", culateService.culateCJLC(list, "肇事")); | ||
| 2334 | + map.put("ssgl_qr", culateService.culateCJLC(list, "缺人")); | ||
| 2335 | + map.put("ssgl_qc", culateService.culateCJLC(list, "缺车")); | ||
| 2336 | + map.put("ssgl_kx", culateService.culateCJLC(list, "客稀")); | ||
| 2337 | + map.put("ssgl_qh", culateService.culateCJLC(list, "气候")); | ||
| 2338 | + map.put("ssgl_yw", culateService.culateCJLC(list, "援外")); | ||
| 2339 | + map.put("ssgl_other", culateService.culateCJLC(list, "其他")); | ||
| 2340 | + map.put("ssbc", culateService.culateLbbc(list)); | ||
| 2341 | + map.put("ljgl", culateService.culateLjgl(list)); | ||
| 2342 | + map.put("jhbc", culateService.culateJhbc(list,"")); | ||
| 2343 | + map.put("jhbc_m", culateService.culateJhbc(list, "zgf")); | ||
| 2344 | + map.put("jhbc_a", culateService.culateJhbc(list, "wgf")); | ||
| 2345 | + map.put("sjbc", culateService.culateSjbc(list,"")); | ||
| 2346 | + map.put("sjbc_m", culateService.culateSjbc(list,"zgf")); | ||
| 2347 | + map.put("sjbc_a", culateService.culateSjbc(list,"wgf")); | ||
| 2348 | + map.put("ljbc", culateService.culateLjbc(list,"")); | ||
| 2349 | + map.put("ljbc_m", culateService.culateLjbc(list,"zgf")); | ||
| 2350 | + map.put("ljbc_a", culateService.culateLjbc(list,"wgf")); | ||
| 2351 | + map.put("fzbc", culateService.culateFzbc(list, "")); | ||
| 2352 | + map.put("fzbc_m", culateService.culateFzbc(list, "zgf")); | ||
| 2353 | + map.put("fzbc_a", culateService.culateFzbc(list, "wgf")); | ||
| 2354 | + map.put("dtbc", 0); | ||
| 2355 | + map.put("dtbc_m", 0); | ||
| 2356 | + map.put("dtbc_a", 0); | ||
| 2357 | + map.put("djg", 0); | ||
| 2358 | + map.put("djg_m", 0); | ||
| 2359 | + map.put("djg_a", 0); | ||
| 2360 | + map.put("djg_time", 0); | ||
| 2361 | + lMap.add(map); | ||
| 2773 | if (type != null && type.length() != 0 && type.equals("export")) { | 2362 | if (type != null && type.length() != 0 && type.equals("export")) { |
| 2774 | SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), | 2363 | SimpleDateFormat sdfMonth = new SimpleDateFormat("yyyy-MM-dd"), |
| 2775 | sdfSimple = new SimpleDateFormat("yyyyMMdd"); | 2364 | sdfSimple = new SimpleDateFormat("yyyyMMdd"); |
| @@ -3860,13 +3449,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3860,13 +3449,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3860 | ScheduleRealInfo s = scheduleRealInfoRepository.findOne(id); | 3449 | ScheduleRealInfo s = scheduleRealInfoRepository.findOne(id); |
| 3861 | String xlbm = s.getXlBm(); | 3450 | String xlbm = s.getXlBm(); |
| 3862 | String fcrq = s.getScheduleDateStr(); | 3451 | String fcrq = s.getScheduleDateStr(); |
| 3863 | - //保留两位小数 | ||
| 3864 | - DecimalFormat df = new DecimalFormat("#.00"); | ||
| 3865 | List<Ylxxb> listYlxxb = ylxxbRepository.queryListYlxxb(s.getClZbh(), fcrq); | 3452 | List<Ylxxb> listYlxxb = ylxxbRepository.queryListYlxxb(s.getClZbh(), fcrq); |
| 3866 | Double jzl = 0.0; | 3453 | Double jzl = 0.0; |
| 3867 | for (int t = 0; t < listYlxxb.size(); t++) { | 3454 | for (int t = 0; t < listYlxxb.size(); t++) { |
| 3868 | Ylxxb y = listYlxxb.get(t); | 3455 | Ylxxb y = listYlxxb.get(t); |
| 3869 | - jzl += y.getJzl(); | 3456 | + jzl = Arith.add(jzl, y.getJzl()); |
| 3870 | } | 3457 | } |
| 3871 | 3458 | ||
| 3872 | List<Ylb> listYlb = ylbRepository.queryListYlb(fcrq, s.getClZbh(), s.getjGh()); | 3459 | List<Ylb> listYlb = ylbRepository.queryListYlb(fcrq, s.getClZbh(), s.getjGh()); |
| @@ -3875,12 +3462,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3875,12 +3462,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3875 | Double yh = 0.0; | 3462 | Double yh = 0.0; |
| 3876 | for (int i = 0; i < listYlb.size(); i++) { | 3463 | for (int i = 0; i < listYlb.size(); i++) { |
| 3877 | Ylb y = listYlb.get(i); | 3464 | Ylb y = listYlb.get(i); |
| 3878 | - ccyl += y.getCzyl(); | ||
| 3879 | - jcyl += y.getJzyl(); | ||
| 3880 | - yh += y.getYh(); | ||
| 3881 | - | 3465 | + ccyl=Arith.add(ccyl, y.getCzyl()); |
| 3466 | + jcyl=Arith.add(jcyl, y.getJzyl()); | ||
| 3467 | + yh =Arith.add(yh ,y.getYh()); | ||
| 3882 | } | 3468 | } |
| 3883 | - map.put("jzl", df.format(jzl)); | 3469 | + map.put("jzl", jzl); |
| 3884 | map.put("yh", yh); | 3470 | map.put("yh", yh); |
| 3885 | map.put("ccyl", ccyl); | 3471 | map.put("ccyl", ccyl); |
| 3886 | map.put("jcyl", jcyl); | 3472 | map.put("jcyl", jcyl); |
| @@ -3981,18 +3567,20 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3981,18 +3567,20 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3981 | 3567 | ||
| 3982 | if (scheduleRealInfo.getsGh() != null) { | 3568 | if (scheduleRealInfo.getsGh() != null) { |
| 3983 | if (!scheduleRealInfo.getsGh().equals(sgh)) { | 3569 | if (!scheduleRealInfo.getsGh().equals(sgh)) { |
| 3984 | - sgh = scheduleRealInfo.getsGh(); | ||
| 3985 | - if (map.get("sjb1") != null) { | ||
| 3986 | - if (map.get("sjb2") != null) { | ||
| 3987 | - map.put("sjb3", scheduleRealInfo.getsGh() + "/" + | ||
| 3988 | - scheduleRealInfo.getFcsjActual()); | ||
| 3989 | - } else { | ||
| 3990 | - map.put("sjb2", scheduleRealInfo.getsGh() + "/" + | ||
| 3991 | - scheduleRealInfo.getFcsjActual()); | ||
| 3992 | - } | ||
| 3993 | - } else { | ||
| 3994 | - map.put("sjb1", scheduleRealInfo.getsGh() + "/" + | ||
| 3995 | - scheduleRealInfo.getFcsjActual()); | 3570 | + sgh = scheduleRealInfo.getsGh()==null?"":scheduleRealInfo.getsGh(); |
| 3571 | + if(!sgh.equals("")){ | ||
| 3572 | + if (map.get("sjb1") != null) { | ||
| 3573 | + if (map.get("sjb2") != null) { | ||
| 3574 | + map.put("sjb3", scheduleRealInfo.getsGh() + "/" + | ||
| 3575 | + scheduleRealInfo.getFcsjActual()); | ||
| 3576 | + } else { | ||
| 3577 | + map.put("sjb2", scheduleRealInfo.getsGh() + "/" + | ||
| 3578 | + scheduleRealInfo.getFcsjActual()); | ||
| 3579 | + } | ||
| 3580 | + } else { | ||
| 3581 | + map.put("sjb1", scheduleRealInfo.getsGh() + "/" + | ||
| 3582 | + scheduleRealInfo.getFcsjActual()); | ||
| 3583 | + } | ||
| 3996 | } | 3584 | } |
| 3997 | } | 3585 | } |
| 3998 | } | 3586 | } |
src/main/java/com/bsth/service/report/impl/ReportServiceImpl.java
| @@ -162,7 +162,7 @@ public class ReportServiceImpl implements ReportService{ | @@ -162,7 +162,7 @@ public class ReportServiceImpl implements ReportService{ | ||
| 162 | arr.setLineCode(rs.getString("line_id")); | 162 | arr.setLineCode(rs.getString("line_id")); |
| 163 | arr.setUpDown(rs.getInt("up_down")); | 163 | arr.setUpDown(rs.getInt("up_down")); |
| 164 | arr.setStopNo(rs.getString("stop_no")); | 164 | arr.setStopNo(rs.getString("stop_no")); |
| 165 | - arr.setStopName(BasicData.stationCode2NameMap.get(arr.getStopNo())); | 165 | + arr.setStopName(BasicData.stationCode2NameMap.get(rs.getString("line_id")+"_"+rs.getInt("up_down")+"_"+rs.getString("stop_no"))); |
| 166 | arr.setInOut(rs.getInt("in_out")); | 166 | arr.setInOut(rs.getInt("in_out")); |
| 167 | arr.setCreateDate(rs.getLong("create_timestamp")); | 167 | arr.setCreateDate(rs.getLong("create_timestamp")); |
| 168 | arr.setWeeksYear(rs.getInt("weeks_year")); | 168 | arr.setWeeksYear(rs.getInt("weeks_year")); |
src/main/resources/datatools/ktrs/carsConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>车辆配置信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>templatepath</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>模版文件路径</description> | ||
| 21 | - </parameter> | ||
| 22 | - <parameter> | ||
| 23 | - <name>xlid</name> | ||
| 24 | - <default_value/> | ||
| 25 | - <description>线路id</description> | ||
| 26 | - </parameter> | ||
| 27 | - </parameters> | ||
| 28 | - <log> | ||
| 29 | -<trans-log-table><connection/> | ||
| 30 | -<schema/> | ||
| 31 | -<table/> | ||
| 32 | -<size_limit_lines/> | ||
| 33 | -<interval/> | ||
| 34 | -<timeout_days/> | ||
| 35 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 36 | -<perf-log-table><connection/> | ||
| 37 | -<schema/> | ||
| 38 | -<table/> | ||
| 39 | -<interval/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 42 | -<channel-log-table><connection/> | ||
| 43 | -<schema/> | ||
| 44 | -<table/> | ||
| 45 | -<timeout_days/> | ||
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 47 | -<step-log-table><connection/> | ||
| 48 | -<schema/> | ||
| 49 | -<table/> | ||
| 50 | -<timeout_days/> | ||
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 52 | -<metrics-log-table><connection/> | ||
| 53 | -<schema/> | ||
| 54 | -<table/> | ||
| 55 | -<timeout_days/> | ||
| 56 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 57 | - </log> | ||
| 58 | - <maxdate> | ||
| 59 | - <connection/> | ||
| 60 | - <table/> | ||
| 61 | - <field/> | ||
| 62 | - <offset>0.0</offset> | ||
| 63 | - <maxdiff>0.0</maxdiff> | ||
| 64 | - </maxdate> | ||
| 65 | - <size_rowset>10000</size_rowset> | ||
| 66 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 67 | - <sleep_time_full>50</sleep_time_full> | ||
| 68 | - <unique_connections>N</unique_connections> | ||
| 69 | - <feedback_shown>Y</feedback_shown> | ||
| 70 | - <feedback_size>50000</feedback_size> | ||
| 71 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 72 | - <shared_objects_file/> | ||
| 73 | - <capture_step_performance>N</capture_step_performance> | ||
| 74 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 75 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 76 | - <dependencies> | ||
| 77 | - </dependencies> | ||
| 78 | - <partitionschemas> | ||
| 79 | - </partitionschemas> | ||
| 80 | - <slaveservers> | ||
| 81 | - </slaveservers> | ||
| 82 | - <clusterschemas> | ||
| 83 | - </clusterschemas> | ||
| 84 | - <created_user>-</created_user> | ||
| 85 | - <created_date>2017/01/11 14:14:13.722</created_date> | ||
| 86 | - <modified_user>-</modified_user> | ||
| 87 | - <modified_date>2017/01/11 14:14:13.722</modified_date> | ||
| 88 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 89 | - <is_key_private>N</is_key_private> | ||
| 90 | - </info> | ||
| 91 | - <notepads> | ||
| 92 | - <notepad> | ||
| 93 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 94 | - <xloc>81</xloc> | ||
| 95 | - <yloc>172</yloc> | ||
| 96 | - <width>333</width> | ||
| 97 | - <heigth>90</heigth> | ||
| 98 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 99 | - <fontsize>12</fontsize> | ||
| 100 | - <fontbold>N</fontbold> | ||
| 101 | - <fontitalic>N</fontitalic> | ||
| 102 | - <fontcolorred>0</fontcolorred> | ||
| 103 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 104 | - <fontcolorblue>0</fontcolorblue> | ||
| 105 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 106 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 107 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 108 | - <bordercolorred>100</bordercolorred> | ||
| 109 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 110 | - <bordercolorblue>100</bordercolorblue> | ||
| 111 | - <drawshadow>Y</drawshadow> | ||
| 112 | - </notepad> | ||
| 113 | - </notepads> | ||
| 114 | - <connection> | ||
| 115 | - <name>bus_control_variable</name> | ||
| 116 | - <server>${v_db_ip}</server> | ||
| 117 | - <type>MYSQL</type> | ||
| 118 | - <access>Native</access> | ||
| 119 | - <database>${v_db_dname}</database> | ||
| 120 | - <port>3306</port> | ||
| 121 | - <username>${v_db_uname}</username> | ||
| 122 | - <password>${v_db_pwd}</password> | ||
| 123 | - <servername/> | ||
| 124 | - <data_tablespace/> | ||
| 125 | - <index_tablespace/> | ||
| 126 | - <attributes> | ||
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 128 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 129 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 130 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 131 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 133 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 134 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 135 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 136 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 137 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 138 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 140 | - </attributes> | ||
| 141 | - </connection> | ||
| 142 | - <connection> | ||
| 143 | - <name>bus_control_公司_201</name> | ||
| 144 | - <server>localhost</server> | ||
| 145 | - <type>MYSQL</type> | ||
| 146 | - <access>Native</access> | ||
| 147 | - <database>control</database> | ||
| 148 | - <port>3306</port> | ||
| 149 | - <username>root</username> | ||
| 150 | - <password>Encrypted </password> | ||
| 151 | - <servername/> | ||
| 152 | - <data_tablespace/> | ||
| 153 | - <index_tablespace/> | ||
| 154 | - <attributes> | ||
| 155 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 156 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 157 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 158 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 160 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 161 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 162 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 163 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 164 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 165 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 167 | - </attributes> | ||
| 168 | - </connection> | ||
| 169 | - <connection> | ||
| 170 | - <name>bus_control_本机</name> | ||
| 171 | - <server>localhost</server> | ||
| 172 | - <type>MYSQL</type> | ||
| 173 | - <access>Native</access> | ||
| 174 | - <database>control</database> | ||
| 175 | - <port>3306</port> | ||
| 176 | - <username>root</username> | ||
| 177 | - <password>Encrypted </password> | ||
| 178 | - <servername/> | ||
| 179 | - <data_tablespace/> | ||
| 180 | - <index_tablespace/> | ||
| 181 | - <attributes> | ||
| 182 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 183 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 184 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 185 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 187 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 188 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 189 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 190 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 191 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 192 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 193 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 194 | - </attributes> | ||
| 195 | - </connection> | ||
| 196 | - <connection> | ||
| 197 | - <name>xlab_mysql_youle</name> | ||
| 198 | - <server>101.231.124.8</server> | ||
| 199 | - <type>MYSQL</type> | ||
| 200 | - <access>Native</access> | ||
| 201 | - <database>xlab_youle</database> | ||
| 202 | - <port>45687</port> | ||
| 203 | - <username>xlab-youle</username> | ||
| 204 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 205 | - <servername/> | ||
| 206 | - <data_tablespace/> | ||
| 207 | - <index_tablespace/> | ||
| 208 | - <attributes> | ||
| 209 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 210 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 211 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 212 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 215 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 216 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 217 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 218 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 219 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 221 | - </attributes> | ||
| 222 | - </connection> | ||
| 223 | - <connection> | ||
| 224 | - <name>xlab_mysql_youle(本机)</name> | ||
| 225 | - <server>localhost</server> | ||
| 226 | - <type>MYSQL</type> | ||
| 227 | - <access>Native</access> | ||
| 228 | - <database>xlab_youle</database> | ||
| 229 | - <port>3306</port> | ||
| 230 | - <username>root</username> | ||
| 231 | - <password>Encrypted </password> | ||
| 232 | - <servername/> | ||
| 233 | - <data_tablespace/> | ||
| 234 | - <index_tablespace/> | ||
| 235 | - <attributes> | ||
| 236 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 237 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 238 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 240 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 241 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 242 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 243 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 244 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 245 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 246 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 247 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 248 | - </attributes> | ||
| 249 | - </connection> | ||
| 250 | - <connection> | ||
| 251 | - <name>xlab_youle</name> | ||
| 252 | - <server/> | ||
| 253 | - <type>MYSQL</type> | ||
| 254 | - <access>JNDI</access> | ||
| 255 | - <database>xlab_youle</database> | ||
| 256 | - <port>1521</port> | ||
| 257 | - <username/> | ||
| 258 | - <password>Encrypted </password> | ||
| 259 | - <servername/> | ||
| 260 | - <data_tablespace/> | ||
| 261 | - <index_tablespace/> | ||
| 262 | - <attributes> | ||
| 263 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 264 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 265 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 266 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 267 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 268 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 269 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 270 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 271 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 272 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 273 | - </attributes> | ||
| 274 | - </connection> | ||
| 275 | - <order> | ||
| 276 | - <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 277 | - <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | ||
| 278 | - <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | ||
| 279 | - <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 280 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 281 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 282 | - </order> | ||
| 283 | - <step> | ||
| 284 | - <name>Excel输出</name> | ||
| 285 | - <type>ExcelOutput</type> | ||
| 286 | - <description/> | ||
| 287 | - <distribute>Y</distribute> | ||
| 288 | - <custom_distribution/> | ||
| 289 | - <copies>1</copies> | ||
| 290 | - <partitioning> | ||
| 291 | - <method>none</method> | ||
| 292 | - <schema_name/> | ||
| 293 | - </partitioning> | ||
| 294 | - <header>Y</header> | ||
| 295 | - <footer>N</footer> | ||
| 296 | - <encoding/> | ||
| 297 | - <append>N</append> | ||
| 298 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 299 | - <file> | ||
| 300 | - <name>${filepath}</name> | ||
| 301 | - <extention/> | ||
| 302 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 303 | - <create_parent_folder>N</create_parent_folder> | ||
| 304 | - <split>N</split> | ||
| 305 | - <add_date>N</add_date> | ||
| 306 | - <add_time>N</add_time> | ||
| 307 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 308 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 309 | - <sheetname>工作表1</sheetname> | ||
| 310 | - <autosizecolums>N</autosizecolums> | ||
| 311 | - <nullisblank>N</nullisblank> | ||
| 312 | - <protect_sheet>N</protect_sheet> | ||
| 313 | - <password>Encrypted </password> | ||
| 314 | - <splitevery>0</splitevery> | ||
| 315 | - <usetempfiles>N</usetempfiles> | ||
| 316 | - <tempdirectory/> | ||
| 317 | - </file> | ||
| 318 | - <template> | ||
| 319 | - <enabled>N</enabled> | ||
| 320 | - <append>N</append> | ||
| 321 | - <filename>template.xls</filename> | ||
| 322 | - </template> | ||
| 323 | - <fields> | ||
| 324 | - <field> | ||
| 325 | - <name>线路</name> | ||
| 326 | - <type>String</type> | ||
| 327 | - <format/> | ||
| 328 | - </field> | ||
| 329 | - <field> | ||
| 330 | - <name>内部编码</name> | ||
| 331 | - <type>String</type> | ||
| 332 | - <format/> | ||
| 333 | - </field> | ||
| 334 | - <field> | ||
| 335 | - <name>启用日期</name> | ||
| 336 | - <type>String</type> | ||
| 337 | - <format/> | ||
| 338 | - </field> | ||
| 339 | - <field> | ||
| 340 | - <name>终结日期</name> | ||
| 341 | - <type>String</type> | ||
| 342 | - <format/> | ||
| 343 | - </field> | ||
| 344 | - <field> | ||
| 345 | - <name>停车点</name> | ||
| 346 | - <type>String</type> | ||
| 347 | - <format/> | ||
| 348 | - </field> | ||
| 349 | - </fields> | ||
| 350 | - <custom> | ||
| 351 | - <header_font_name>arial</header_font_name> | ||
| 352 | - <header_font_size>10</header_font_size> | ||
| 353 | - <header_font_bold>N</header_font_bold> | ||
| 354 | - <header_font_italic>N</header_font_italic> | ||
| 355 | - <header_font_underline>no</header_font_underline> | ||
| 356 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | - <header_font_color>black</header_font_color> | ||
| 358 | - <header_background_color>none</header_background_color> | ||
| 359 | - <header_row_height>255</header_row_height> | ||
| 360 | - <header_alignment>left</header_alignment> | ||
| 361 | - <header_image/> | ||
| 362 | - <row_font_name>arial</row_font_name> | ||
| 363 | - <row_font_size>10</row_font_size> | ||
| 364 | - <row_font_color>black</row_font_color> | ||
| 365 | - <row_background_color>none</row_background_color> | ||
| 366 | - </custom> | ||
| 367 | - <cluster_schema/> | ||
| 368 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | - <xloc>596</xloc> | ||
| 370 | - <yloc>265</yloc> | ||
| 371 | - <draw>Y</draw> | ||
| 372 | - </GUI> | ||
| 373 | - </step> | ||
| 374 | - | ||
| 375 | - <step> | ||
| 376 | - <name>字段选择</name> | ||
| 377 | - <type>SelectValues</type> | ||
| 378 | - <description/> | ||
| 379 | - <distribute>Y</distribute> | ||
| 380 | - <custom_distribution/> | ||
| 381 | - <copies>1</copies> | ||
| 382 | - <partitioning> | ||
| 383 | - <method>none</method> | ||
| 384 | - <schema_name/> | ||
| 385 | - </partitioning> | ||
| 386 | - <fields> <field> <name>xlmc</name> | ||
| 387 | - <rename>线路</rename> | ||
| 388 | - <length>-2</length> | ||
| 389 | - <precision>-2</precision> | ||
| 390 | - </field> <field> <name>zbh</name> | ||
| 391 | - <rename>内部编码</rename> | ||
| 392 | - <length>-2</length> | ||
| 393 | - <precision>-2</precision> | ||
| 394 | - </field> <field> <name>qyrq</name> | ||
| 395 | - <rename>启用日期</rename> | ||
| 396 | - <length>-2</length> | ||
| 397 | - <precision>-2</precision> | ||
| 398 | - </field> <field> <name>zzrq</name> | ||
| 399 | - <rename>终结日期</rename> | ||
| 400 | - <length>-2</length> | ||
| 401 | - <precision>-2</precision> | ||
| 402 | - </field> <field> <name>tcd</name> | ||
| 403 | - <rename>停车点</rename> | ||
| 404 | - <length>-2</length> | ||
| 405 | - <precision>-2</precision> | ||
| 406 | - </field> <select_unspecified>N</select_unspecified> | ||
| 407 | - </fields> <cluster_schema/> | ||
| 408 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 409 | - <xloc>595</xloc> | ||
| 410 | - <yloc>167</yloc> | ||
| 411 | - <draw>Y</draw> | ||
| 412 | - </GUI> | ||
| 413 | - </step> | ||
| 414 | - | ||
| 415 | - <step> | ||
| 416 | - <name>排序记录</name> | ||
| 417 | - <type>SortRows</type> | ||
| 418 | - <description/> | ||
| 419 | - <distribute>Y</distribute> | ||
| 420 | - <custom_distribution/> | ||
| 421 | - <copies>1</copies> | ||
| 422 | - <partitioning> | ||
| 423 | - <method>none</method> | ||
| 424 | - <schema_name/> | ||
| 425 | - </partitioning> | ||
| 426 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 427 | - <prefix>out</prefix> | ||
| 428 | - <sort_size>1000000</sort_size> | ||
| 429 | - <free_memory/> | ||
| 430 | - <compress>N</compress> | ||
| 431 | - <compress_variable/> | ||
| 432 | - <unique_rows>N</unique_rows> | ||
| 433 | - <fields> | ||
| 434 | - <field> | ||
| 435 | - <name>xlmc</name> | ||
| 436 | - <ascending>Y</ascending> | ||
| 437 | - <case_sensitive>N</case_sensitive> | ||
| 438 | - <presorted>N</presorted> | ||
| 439 | - </field> | ||
| 440 | - <field> | ||
| 441 | - <name>zbh</name> | ||
| 442 | - <ascending>Y</ascending> | ||
| 443 | - <case_sensitive>N</case_sensitive> | ||
| 444 | - <presorted>N</presorted> | ||
| 445 | - </field> | ||
| 446 | - <field> | ||
| 447 | - <name>qyrq</name> | ||
| 448 | - <ascending>Y</ascending> | ||
| 449 | - <case_sensitive>N</case_sensitive> | ||
| 450 | - <presorted>N</presorted> | ||
| 451 | - </field> | ||
| 452 | - </fields> | ||
| 453 | - <cluster_schema/> | ||
| 454 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 455 | - <xloc>592</xloc> | ||
| 456 | - <yloc>66</yloc> | ||
| 457 | - <draw>Y</draw> | ||
| 458 | - </GUI> | ||
| 459 | - </step> | ||
| 460 | - | ||
| 461 | - <step> | ||
| 462 | - <name>格式化日期</name> | ||
| 463 | - <type>SelectValues</type> | ||
| 464 | - <description/> | ||
| 465 | - <distribute>Y</distribute> | ||
| 466 | - <custom_distribution/> | ||
| 467 | - <copies>1</copies> | ||
| 468 | - <partitioning> | ||
| 469 | - <method>none</method> | ||
| 470 | - <schema_name/> | ||
| 471 | - </partitioning> | ||
| 472 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 473 | - <meta> <name>qyrq</name> | ||
| 474 | - <rename>qyrq</rename> | ||
| 475 | - <type>String</type> | ||
| 476 | - <length>-2</length> | ||
| 477 | - <precision>-2</precision> | ||
| 478 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 479 | - <date_format_lenient>false</date_format_lenient> | ||
| 480 | - <date_format_locale/> | ||
| 481 | - <date_format_timezone/> | ||
| 482 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 483 | - <encoding/> | ||
| 484 | - <decimal_symbol/> | ||
| 485 | - <grouping_symbol/> | ||
| 486 | - <currency_symbol/> | ||
| 487 | - <storage_type/> | ||
| 488 | - </meta> <meta> <name>zzrq</name> | ||
| 489 | - <rename>zzrq</rename> | ||
| 490 | - <type>String</type> | ||
| 491 | - <length>-2</length> | ||
| 492 | - <precision>-2</precision> | ||
| 493 | - <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 494 | - <date_format_lenient>false</date_format_lenient> | ||
| 495 | - <date_format_locale/> | ||
| 496 | - <date_format_timezone/> | ||
| 497 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 498 | - <encoding/> | ||
| 499 | - <decimal_symbol/> | ||
| 500 | - <grouping_symbol/> | ||
| 501 | - <currency_symbol/> | ||
| 502 | - <storage_type/> | ||
| 503 | - </meta> </fields> <cluster_schema/> | ||
| 504 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 505 | - <xloc>478</xloc> | ||
| 506 | - <yloc>66</yloc> | ||
| 507 | - <draw>Y</draw> | ||
| 508 | - </GUI> | ||
| 509 | - </step> | ||
| 510 | - | ||
| 511 | - <step> | ||
| 512 | - <name>线路查询</name> | ||
| 513 | - <type>DBLookup</type> | ||
| 514 | - <description/> | ||
| 515 | - <distribute>Y</distribute> | ||
| 516 | - <custom_distribution/> | ||
| 517 | - <copies>1</copies> | ||
| 518 | - <partitioning> | ||
| 519 | - <method>none</method> | ||
| 520 | - <schema_name/> | ||
| 521 | - </partitioning> | ||
| 522 | - <connection>bus_control_variable</connection> | ||
| 523 | - <cache>Y</cache> | ||
| 524 | - <cache_load_all>Y</cache_load_all> | ||
| 525 | - <cache_size>0</cache_size> | ||
| 526 | - <lookup> | ||
| 527 | - <schema/> | ||
| 528 | - <table>bsth_c_line</table> | ||
| 529 | - <orderby/> | ||
| 530 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 531 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 532 | - <key> | ||
| 533 | - <name>xl</name> | ||
| 534 | - <field>id</field> | ||
| 535 | - <condition>=</condition> | ||
| 536 | - <name2/> | ||
| 537 | - </key> | ||
| 538 | - <value> | ||
| 539 | - <name>name</name> | ||
| 540 | - <rename>xlmc</rename> | ||
| 541 | - <default/> | ||
| 542 | - <type>String</type> | ||
| 543 | - </value> | ||
| 544 | - </lookup> | ||
| 545 | - <cluster_schema/> | ||
| 546 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 547 | - <xloc>248</xloc> | ||
| 548 | - <yloc>67</yloc> | ||
| 549 | - <draw>Y</draw> | ||
| 550 | - </GUI> | ||
| 551 | - </step> | ||
| 552 | - | ||
| 553 | - <step> | ||
| 554 | - <name>车辆查询</name> | ||
| 555 | - <type>DBLookup</type> | ||
| 556 | - <description/> | ||
| 557 | - <distribute>Y</distribute> | ||
| 558 | - <custom_distribution/> | ||
| 559 | - <copies>1</copies> | ||
| 560 | - <partitioning> | ||
| 561 | - <method>none</method> | ||
| 562 | - <schema_name/> | ||
| 563 | - </partitioning> | ||
| 564 | - <connection>bus_control_variable</connection> | ||
| 565 | - <cache>N</cache> | ||
| 566 | - <cache_load_all>N</cache_load_all> | ||
| 567 | - <cache_size>0</cache_size> | ||
| 568 | - <lookup> | ||
| 569 | - <schema/> | ||
| 570 | - <table>bsth_c_cars</table> | ||
| 571 | - <orderby/> | ||
| 572 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 573 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 574 | - <key> | ||
| 575 | - <name>cl</name> | ||
| 576 | - <field>id</field> | ||
| 577 | - <condition>=</condition> | ||
| 578 | - <name2/> | ||
| 579 | - </key> | ||
| 580 | - <value> | ||
| 581 | - <name>inside_code</name> | ||
| 582 | - <rename>zbh</rename> | ||
| 583 | - <default/> | ||
| 584 | - <type>String</type> | ||
| 585 | - </value> | ||
| 586 | - </lookup> | ||
| 587 | - <cluster_schema/> | ||
| 588 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 589 | - <xloc>361</xloc> | ||
| 590 | - <yloc>67</yloc> | ||
| 591 | - <draw>Y</draw> | ||
| 592 | - </GUI> | ||
| 593 | - </step> | ||
| 594 | - | ||
| 595 | - <step> | ||
| 596 | - <name>车辆配置(没有作废)</name> | ||
| 597 | - <type>TableInput</type> | ||
| 598 | - <description/> | ||
| 599 | - <distribute>Y</distribute> | ||
| 600 | - <custom_distribution/> | ||
| 601 | - <copies>1</copies> | ||
| 602 | - <partitioning> | ||
| 603 | - <method>none</method> | ||
| 604 | - <schema_name/> | ||
| 605 | - </partitioning> | ||
| 606 | - <connection>bus_control_variable</connection> | ||
| 607 | - <sql>select * from bsth_c_s_ccinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 608 | - <limit>0</limit> | ||
| 609 | - <lookup/> | ||
| 610 | - <execute_each_row>N</execute_each_row> | ||
| 611 | - <variables_active>Y</variables_active> | ||
| 612 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 613 | - <cluster_schema/> | ||
| 614 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 615 | - <xloc>106</xloc> | ||
| 616 | - <yloc>68</yloc> | ||
| 617 | - <draw>Y</draw> | ||
| 618 | - </GUI> | ||
| 619 | - </step> | ||
| 620 | - | ||
| 621 | - <step_error_handling> | ||
| 622 | - </step_error_handling> | ||
| 623 | - <slave-step-copy-partition-distribution> | ||
| 624 | -</slave-step-copy-partition-distribution> | ||
| 625 | - <slave_transformation>N</slave_transformation> | ||
| 626 | - | ||
| 627 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>车辆配置信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>templatepath</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>模版文件路径</description> | ||
| 21 | + </parameter> | ||
| 22 | + <parameter> | ||
| 23 | + <name>xlid</name> | ||
| 24 | + <default_value/> | ||
| 25 | + <description>线路id</description> | ||
| 26 | + </parameter> | ||
| 27 | + </parameters> | ||
| 28 | + <log> | ||
| 29 | +<trans-log-table><connection/> | ||
| 30 | +<schema/> | ||
| 31 | +<table/> | ||
| 32 | +<size_limit_lines/> | ||
| 33 | +<interval/> | ||
| 34 | +<timeout_days/> | ||
| 35 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 36 | +<perf-log-table><connection/> | ||
| 37 | +<schema/> | ||
| 38 | +<table/> | ||
| 39 | +<interval/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 42 | +<channel-log-table><connection/> | ||
| 43 | +<schema/> | ||
| 44 | +<table/> | ||
| 45 | +<timeout_days/> | ||
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 47 | +<step-log-table><connection/> | ||
| 48 | +<schema/> | ||
| 49 | +<table/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 52 | +<metrics-log-table><connection/> | ||
| 53 | +<schema/> | ||
| 54 | +<table/> | ||
| 55 | +<timeout_days/> | ||
| 56 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 57 | + </log> | ||
| 58 | + <maxdate> | ||
| 59 | + <connection/> | ||
| 60 | + <table/> | ||
| 61 | + <field/> | ||
| 62 | + <offset>0.0</offset> | ||
| 63 | + <maxdiff>0.0</maxdiff> | ||
| 64 | + </maxdate> | ||
| 65 | + <size_rowset>10000</size_rowset> | ||
| 66 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 67 | + <sleep_time_full>50</sleep_time_full> | ||
| 68 | + <unique_connections>N</unique_connections> | ||
| 69 | + <feedback_shown>Y</feedback_shown> | ||
| 70 | + <feedback_size>50000</feedback_size> | ||
| 71 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 72 | + <shared_objects_file/> | ||
| 73 | + <capture_step_performance>N</capture_step_performance> | ||
| 74 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 75 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 76 | + <dependencies> | ||
| 77 | + </dependencies> | ||
| 78 | + <partitionschemas> | ||
| 79 | + </partitionschemas> | ||
| 80 | + <slaveservers> | ||
| 81 | + </slaveservers> | ||
| 82 | + <clusterschemas> | ||
| 83 | + </clusterschemas> | ||
| 84 | + <created_user>-</created_user> | ||
| 85 | + <created_date>2017/01/11 14:14:13.722</created_date> | ||
| 86 | + <modified_user>-</modified_user> | ||
| 87 | + <modified_date>2017/01/11 14:14:13.722</modified_date> | ||
| 88 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 89 | + <is_key_private>N</is_key_private> | ||
| 90 | + </info> | ||
| 91 | + <notepads> | ||
| 92 | + <notepad> | ||
| 93 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 94 | + <xloc>81</xloc> | ||
| 95 | + <yloc>172</yloc> | ||
| 96 | + <width>333</width> | ||
| 97 | + <heigth>90</heigth> | ||
| 98 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 99 | + <fontsize>12</fontsize> | ||
| 100 | + <fontbold>N</fontbold> | ||
| 101 | + <fontitalic>N</fontitalic> | ||
| 102 | + <fontcolorred>0</fontcolorred> | ||
| 103 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 104 | + <fontcolorblue>0</fontcolorblue> | ||
| 105 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 106 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 107 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 108 | + <bordercolorred>100</bordercolorred> | ||
| 109 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 110 | + <bordercolorblue>100</bordercolorblue> | ||
| 111 | + <drawshadow>Y</drawshadow> | ||
| 112 | + </notepad> | ||
| 113 | + </notepads> | ||
| 114 | + <connection> | ||
| 115 | + <name>bus_control_variable</name> | ||
| 116 | + <server>${v_db_ip}</server> | ||
| 117 | + <type>MYSQL</type> | ||
| 118 | + <access>Native</access> | ||
| 119 | + <database>${v_db_dname}</database> | ||
| 120 | + <port>3306</port> | ||
| 121 | + <username>${v_db_uname}</username> | ||
| 122 | + <password>${v_db_pwd}</password> | ||
| 123 | + <servername/> | ||
| 124 | + <data_tablespace/> | ||
| 125 | + <index_tablespace/> | ||
| 126 | + <attributes> | ||
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 128 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 129 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 130 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 131 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 133 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 134 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 135 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 136 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 137 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 138 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 140 | + </attributes> | ||
| 141 | + </connection> | ||
| 142 | + <connection> | ||
| 143 | + <name>bus_control_公司_201</name> | ||
| 144 | + <server>localhost</server> | ||
| 145 | + <type>MYSQL</type> | ||
| 146 | + <access>Native</access> | ||
| 147 | + <database>control</database> | ||
| 148 | + <port>3306</port> | ||
| 149 | + <username>root</username> | ||
| 150 | + <password>Encrypted </password> | ||
| 151 | + <servername/> | ||
| 152 | + <data_tablespace/> | ||
| 153 | + <index_tablespace/> | ||
| 154 | + <attributes> | ||
| 155 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 156 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 157 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 158 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 161 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 162 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 163 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 164 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 165 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 167 | + </attributes> | ||
| 168 | + </connection> | ||
| 169 | + <connection> | ||
| 170 | + <name>bus_control_本机</name> | ||
| 171 | + <server>localhost</server> | ||
| 172 | + <type>MYSQL</type> | ||
| 173 | + <access>Native</access> | ||
| 174 | + <database>control</database> | ||
| 175 | + <port>3306</port> | ||
| 176 | + <username>root</username> | ||
| 177 | + <password>Encrypted </password> | ||
| 178 | + <servername/> | ||
| 179 | + <data_tablespace/> | ||
| 180 | + <index_tablespace/> | ||
| 181 | + <attributes> | ||
| 182 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 183 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 184 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 185 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 188 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 189 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 190 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 191 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 192 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 193 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 194 | + </attributes> | ||
| 195 | + </connection> | ||
| 196 | + <connection> | ||
| 197 | + <name>xlab_mysql_youle</name> | ||
| 198 | + <server>101.231.124.8</server> | ||
| 199 | + <type>MYSQL</type> | ||
| 200 | + <access>Native</access> | ||
| 201 | + <database>xlab_youle</database> | ||
| 202 | + <port>45687</port> | ||
| 203 | + <username>xlab-youle</username> | ||
| 204 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 205 | + <servername/> | ||
| 206 | + <data_tablespace/> | ||
| 207 | + <index_tablespace/> | ||
| 208 | + <attributes> | ||
| 209 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 210 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 211 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 212 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 215 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 216 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 217 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 218 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 219 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 221 | + </attributes> | ||
| 222 | + </connection> | ||
| 223 | + <connection> | ||
| 224 | + <name>xlab_mysql_youle(本机)</name> | ||
| 225 | + <server>localhost</server> | ||
| 226 | + <type>MYSQL</type> | ||
| 227 | + <access>Native</access> | ||
| 228 | + <database>xlab_youle</database> | ||
| 229 | + <port>3306</port> | ||
| 230 | + <username>root</username> | ||
| 231 | + <password>Encrypted </password> | ||
| 232 | + <servername/> | ||
| 233 | + <data_tablespace/> | ||
| 234 | + <index_tablespace/> | ||
| 235 | + <attributes> | ||
| 236 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 237 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 238 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 240 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 241 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 242 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 243 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 244 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 245 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 246 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 247 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 248 | + </attributes> | ||
| 249 | + </connection> | ||
| 250 | + <connection> | ||
| 251 | + <name>xlab_youle</name> | ||
| 252 | + <server/> | ||
| 253 | + <type>MYSQL</type> | ||
| 254 | + <access>JNDI</access> | ||
| 255 | + <database>xlab_youle</database> | ||
| 256 | + <port>1521</port> | ||
| 257 | + <username/> | ||
| 258 | + <password>Encrypted </password> | ||
| 259 | + <servername/> | ||
| 260 | + <data_tablespace/> | ||
| 261 | + <index_tablespace/> | ||
| 262 | + <attributes> | ||
| 263 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 264 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 265 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 266 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 267 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 268 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 269 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 270 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 271 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 272 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 273 | + </attributes> | ||
| 274 | + </connection> | ||
| 275 | + <order> | ||
| 276 | + <hop> <from>车辆配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 277 | + <hop> <from>线路查询</from><to>车辆查询</to><enabled>Y</enabled> </hop> | ||
| 278 | + <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> | ||
| 279 | + <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 280 | + <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 281 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 282 | + </order> | ||
| 283 | + <step> | ||
| 284 | + <name>Excel输出</name> | ||
| 285 | + <type>ExcelOutput</type> | ||
| 286 | + <description/> | ||
| 287 | + <distribute>Y</distribute> | ||
| 288 | + <custom_distribution/> | ||
| 289 | + <copies>1</copies> | ||
| 290 | + <partitioning> | ||
| 291 | + <method>none</method> | ||
| 292 | + <schema_name/> | ||
| 293 | + </partitioning> | ||
| 294 | + <header>Y</header> | ||
| 295 | + <footer>N</footer> | ||
| 296 | + <encoding/> | ||
| 297 | + <append>N</append> | ||
| 298 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 299 | + <file> | ||
| 300 | + <name>${filepath}</name> | ||
| 301 | + <extention/> | ||
| 302 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 303 | + <create_parent_folder>N</create_parent_folder> | ||
| 304 | + <split>N</split> | ||
| 305 | + <add_date>N</add_date> | ||
| 306 | + <add_time>N</add_time> | ||
| 307 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 308 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 309 | + <sheetname>工作表1</sheetname> | ||
| 310 | + <autosizecolums>N</autosizecolums> | ||
| 311 | + <nullisblank>N</nullisblank> | ||
| 312 | + <protect_sheet>N</protect_sheet> | ||
| 313 | + <password>Encrypted </password> | ||
| 314 | + <splitevery>0</splitevery> | ||
| 315 | + <usetempfiles>N</usetempfiles> | ||
| 316 | + <tempdirectory/> | ||
| 317 | + </file> | ||
| 318 | + <template> | ||
| 319 | + <enabled>N</enabled> | ||
| 320 | + <append>N</append> | ||
| 321 | + <filename>template.xls</filename> | ||
| 322 | + </template> | ||
| 323 | + <fields> | ||
| 324 | + <field> | ||
| 325 | + <name>线路</name> | ||
| 326 | + <type>String</type> | ||
| 327 | + <format/> | ||
| 328 | + </field> | ||
| 329 | + <field> | ||
| 330 | + <name>内部编码</name> | ||
| 331 | + <type>String</type> | ||
| 332 | + <format/> | ||
| 333 | + </field> | ||
| 334 | + <field> | ||
| 335 | + <name>启用日期</name> | ||
| 336 | + <type>String</type> | ||
| 337 | + <format/> | ||
| 338 | + </field> | ||
| 339 | + <field> | ||
| 340 | + <name>终结日期</name> | ||
| 341 | + <type>String</type> | ||
| 342 | + <format/> | ||
| 343 | + </field> | ||
| 344 | + <field> | ||
| 345 | + <name>停车点</name> | ||
| 346 | + <type>String</type> | ||
| 347 | + <format/> | ||
| 348 | + </field> | ||
| 349 | + </fields> | ||
| 350 | + <custom> | ||
| 351 | + <header_font_name>arial</header_font_name> | ||
| 352 | + <header_font_size>10</header_font_size> | ||
| 353 | + <header_font_bold>N</header_font_bold> | ||
| 354 | + <header_font_italic>N</header_font_italic> | ||
| 355 | + <header_font_underline>no</header_font_underline> | ||
| 356 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | + <header_font_color>black</header_font_color> | ||
| 358 | + <header_background_color>none</header_background_color> | ||
| 359 | + <header_row_height>255</header_row_height> | ||
| 360 | + <header_alignment>left</header_alignment> | ||
| 361 | + <header_image/> | ||
| 362 | + <row_font_name>arial</row_font_name> | ||
| 363 | + <row_font_size>10</row_font_size> | ||
| 364 | + <row_font_color>black</row_font_color> | ||
| 365 | + <row_background_color>none</row_background_color> | ||
| 366 | + </custom> | ||
| 367 | + <cluster_schema/> | ||
| 368 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | + <xloc>596</xloc> | ||
| 370 | + <yloc>265</yloc> | ||
| 371 | + <draw>Y</draw> | ||
| 372 | + </GUI> | ||
| 373 | + </step> | ||
| 374 | + | ||
| 375 | + <step> | ||
| 376 | + <name>字段选择</name> | ||
| 377 | + <type>SelectValues</type> | ||
| 378 | + <description/> | ||
| 379 | + <distribute>Y</distribute> | ||
| 380 | + <custom_distribution/> | ||
| 381 | + <copies>1</copies> | ||
| 382 | + <partitioning> | ||
| 383 | + <method>none</method> | ||
| 384 | + <schema_name/> | ||
| 385 | + </partitioning> | ||
| 386 | + <fields> <field> <name>xlmc</name> | ||
| 387 | + <rename>线路</rename> | ||
| 388 | + <length>-2</length> | ||
| 389 | + <precision>-2</precision> | ||
| 390 | + </field> <field> <name>zbh</name> | ||
| 391 | + <rename>内部编码</rename> | ||
| 392 | + <length>-2</length> | ||
| 393 | + <precision>-2</precision> | ||
| 394 | + </field> <field> <name>qyrq</name> | ||
| 395 | + <rename>启用日期</rename> | ||
| 396 | + <length>-2</length> | ||
| 397 | + <precision>-2</precision> | ||
| 398 | + </field> <field> <name>zzrq</name> | ||
| 399 | + <rename>终结日期</rename> | ||
| 400 | + <length>-2</length> | ||
| 401 | + <precision>-2</precision> | ||
| 402 | + </field> <field> <name>tcd</name> | ||
| 403 | + <rename>停车点</rename> | ||
| 404 | + <length>-2</length> | ||
| 405 | + <precision>-2</precision> | ||
| 406 | + </field> <select_unspecified>N</select_unspecified> | ||
| 407 | + </fields> <cluster_schema/> | ||
| 408 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 409 | + <xloc>595</xloc> | ||
| 410 | + <yloc>167</yloc> | ||
| 411 | + <draw>Y</draw> | ||
| 412 | + </GUI> | ||
| 413 | + </step> | ||
| 414 | + | ||
| 415 | + <step> | ||
| 416 | + <name>排序记录</name> | ||
| 417 | + <type>SortRows</type> | ||
| 418 | + <description/> | ||
| 419 | + <distribute>Y</distribute> | ||
| 420 | + <custom_distribution/> | ||
| 421 | + <copies>1</copies> | ||
| 422 | + <partitioning> | ||
| 423 | + <method>none</method> | ||
| 424 | + <schema_name/> | ||
| 425 | + </partitioning> | ||
| 426 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 427 | + <prefix>out</prefix> | ||
| 428 | + <sort_size>1000000</sort_size> | ||
| 429 | + <free_memory/> | ||
| 430 | + <compress>N</compress> | ||
| 431 | + <compress_variable/> | ||
| 432 | + <unique_rows>N</unique_rows> | ||
| 433 | + <fields> | ||
| 434 | + <field> | ||
| 435 | + <name>xlmc</name> | ||
| 436 | + <ascending>Y</ascending> | ||
| 437 | + <case_sensitive>N</case_sensitive> | ||
| 438 | + <presorted>N</presorted> | ||
| 439 | + </field> | ||
| 440 | + <field> | ||
| 441 | + <name>zbh</name> | ||
| 442 | + <ascending>Y</ascending> | ||
| 443 | + <case_sensitive>N</case_sensitive> | ||
| 444 | + <presorted>N</presorted> | ||
| 445 | + </field> | ||
| 446 | + <field> | ||
| 447 | + <name>qyrq</name> | ||
| 448 | + <ascending>Y</ascending> | ||
| 449 | + <case_sensitive>N</case_sensitive> | ||
| 450 | + <presorted>N</presorted> | ||
| 451 | + </field> | ||
| 452 | + </fields> | ||
| 453 | + <cluster_schema/> | ||
| 454 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 455 | + <xloc>592</xloc> | ||
| 456 | + <yloc>66</yloc> | ||
| 457 | + <draw>Y</draw> | ||
| 458 | + </GUI> | ||
| 459 | + </step> | ||
| 460 | + | ||
| 461 | + <step> | ||
| 462 | + <name>格式化日期</name> | ||
| 463 | + <type>SelectValues</type> | ||
| 464 | + <description/> | ||
| 465 | + <distribute>Y</distribute> | ||
| 466 | + <custom_distribution/> | ||
| 467 | + <copies>1</copies> | ||
| 468 | + <partitioning> | ||
| 469 | + <method>none</method> | ||
| 470 | + <schema_name/> | ||
| 471 | + </partitioning> | ||
| 472 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 473 | + <meta> <name>qyrq</name> | ||
| 474 | + <rename>qyrq</rename> | ||
| 475 | + <type>String</type> | ||
| 476 | + <length>-2</length> | ||
| 477 | + <precision>-2</precision> | ||
| 478 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 479 | + <date_format_lenient>false</date_format_lenient> | ||
| 480 | + <date_format_locale/> | ||
| 481 | + <date_format_timezone/> | ||
| 482 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 483 | + <encoding/> | ||
| 484 | + <decimal_symbol/> | ||
| 485 | + <grouping_symbol/> | ||
| 486 | + <currency_symbol/> | ||
| 487 | + <storage_type/> | ||
| 488 | + </meta> <meta> <name>zzrq</name> | ||
| 489 | + <rename>zzrq</rename> | ||
| 490 | + <type>String</type> | ||
| 491 | + <length>-2</length> | ||
| 492 | + <precision>-2</precision> | ||
| 493 | + <conversion_mask>yyyy-MM-dd</conversion_mask> | ||
| 494 | + <date_format_lenient>false</date_format_lenient> | ||
| 495 | + <date_format_locale/> | ||
| 496 | + <date_format_timezone/> | ||
| 497 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 498 | + <encoding/> | ||
| 499 | + <decimal_symbol/> | ||
| 500 | + <grouping_symbol/> | ||
| 501 | + <currency_symbol/> | ||
| 502 | + <storage_type/> | ||
| 503 | + </meta> </fields> <cluster_schema/> | ||
| 504 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 505 | + <xloc>478</xloc> | ||
| 506 | + <yloc>66</yloc> | ||
| 507 | + <draw>Y</draw> | ||
| 508 | + </GUI> | ||
| 509 | + </step> | ||
| 510 | + | ||
| 511 | + <step> | ||
| 512 | + <name>线路查询</name> | ||
| 513 | + <type>DBLookup</type> | ||
| 514 | + <description/> | ||
| 515 | + <distribute>Y</distribute> | ||
| 516 | + <custom_distribution/> | ||
| 517 | + <copies>1</copies> | ||
| 518 | + <partitioning> | ||
| 519 | + <method>none</method> | ||
| 520 | + <schema_name/> | ||
| 521 | + </partitioning> | ||
| 522 | + <connection>bus_control_variable</connection> | ||
| 523 | + <cache>Y</cache> | ||
| 524 | + <cache_load_all>Y</cache_load_all> | ||
| 525 | + <cache_size>0</cache_size> | ||
| 526 | + <lookup> | ||
| 527 | + <schema/> | ||
| 528 | + <table>bsth_c_line</table> | ||
| 529 | + <orderby/> | ||
| 530 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 531 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 532 | + <key> | ||
| 533 | + <name>xl</name> | ||
| 534 | + <field>id</field> | ||
| 535 | + <condition>=</condition> | ||
| 536 | + <name2/> | ||
| 537 | + </key> | ||
| 538 | + <value> | ||
| 539 | + <name>name</name> | ||
| 540 | + <rename>xlmc</rename> | ||
| 541 | + <default/> | ||
| 542 | + <type>String</type> | ||
| 543 | + </value> | ||
| 544 | + </lookup> | ||
| 545 | + <cluster_schema/> | ||
| 546 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 547 | + <xloc>248</xloc> | ||
| 548 | + <yloc>67</yloc> | ||
| 549 | + <draw>Y</draw> | ||
| 550 | + </GUI> | ||
| 551 | + </step> | ||
| 552 | + | ||
| 553 | + <step> | ||
| 554 | + <name>车辆查询</name> | ||
| 555 | + <type>DBLookup</type> | ||
| 556 | + <description/> | ||
| 557 | + <distribute>Y</distribute> | ||
| 558 | + <custom_distribution/> | ||
| 559 | + <copies>1</copies> | ||
| 560 | + <partitioning> | ||
| 561 | + <method>none</method> | ||
| 562 | + <schema_name/> | ||
| 563 | + </partitioning> | ||
| 564 | + <connection>bus_control_variable</connection> | ||
| 565 | + <cache>N</cache> | ||
| 566 | + <cache_load_all>N</cache_load_all> | ||
| 567 | + <cache_size>0</cache_size> | ||
| 568 | + <lookup> | ||
| 569 | + <schema/> | ||
| 570 | + <table>bsth_c_cars</table> | ||
| 571 | + <orderby/> | ||
| 572 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 573 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 574 | + <key> | ||
| 575 | + <name>cl</name> | ||
| 576 | + <field>id</field> | ||
| 577 | + <condition>=</condition> | ||
| 578 | + <name2/> | ||
| 579 | + </key> | ||
| 580 | + <value> | ||
| 581 | + <name>inside_code</name> | ||
| 582 | + <rename>zbh</rename> | ||
| 583 | + <default/> | ||
| 584 | + <type>String</type> | ||
| 585 | + </value> | ||
| 586 | + </lookup> | ||
| 587 | + <cluster_schema/> | ||
| 588 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 589 | + <xloc>361</xloc> | ||
| 590 | + <yloc>67</yloc> | ||
| 591 | + <draw>Y</draw> | ||
| 592 | + </GUI> | ||
| 593 | + </step> | ||
| 594 | + | ||
| 595 | + <step> | ||
| 596 | + <name>车辆配置(没有作废)</name> | ||
| 597 | + <type>TableInput</type> | ||
| 598 | + <description/> | ||
| 599 | + <distribute>Y</distribute> | ||
| 600 | + <custom_distribution/> | ||
| 601 | + <copies>1</copies> | ||
| 602 | + <partitioning> | ||
| 603 | + <method>none</method> | ||
| 604 | + <schema_name/> | ||
| 605 | + </partitioning> | ||
| 606 | + <connection>bus_control_variable</connection> | ||
| 607 | + <sql>select * from bsth_c_s_ccinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 608 | + <limit>0</limit> | ||
| 609 | + <lookup/> | ||
| 610 | + <execute_each_row>N</execute_each_row> | ||
| 611 | + <variables_active>Y</variables_active> | ||
| 612 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 613 | + <cluster_schema/> | ||
| 614 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 615 | + <xloc>106</xloc> | ||
| 616 | + <yloc>68</yloc> | ||
| 617 | + <draw>Y</draw> | ||
| 618 | + </GUI> | ||
| 619 | + </step> | ||
| 620 | + | ||
| 621 | + <step_error_handling> | ||
| 622 | + </step_error_handling> | ||
| 623 | + <slave-step-copy-partition-distribution> | ||
| 624 | +</slave-step-copy-partition-distribution> | ||
| 625 | + <slave_transformation>N</slave_transformation> | ||
| 626 | + | ||
| 627 | +</transformation> |
src/main/resources/datatools/ktrs/employeesConfigDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>人员配置信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>xlid</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>线路id</description> | ||
| 21 | - </parameter> | ||
| 22 | - </parameters> | ||
| 23 | - <log> | ||
| 24 | -<trans-log-table><connection/> | ||
| 25 | -<schema/> | ||
| 26 | -<table/> | ||
| 27 | -<size_limit_lines/> | ||
| 28 | -<interval/> | ||
| 29 | -<timeout_days/> | ||
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | -<perf-log-table><connection/> | ||
| 32 | -<schema/> | ||
| 33 | -<table/> | ||
| 34 | -<interval/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | -<channel-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | -<step-log-table><connection/> | ||
| 43 | -<schema/> | ||
| 44 | -<table/> | ||
| 45 | -<timeout_days/> | ||
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | -<metrics-log-table><connection/> | ||
| 48 | -<schema/> | ||
| 49 | -<table/> | ||
| 50 | -<timeout_days/> | ||
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | - </log> | ||
| 53 | - <maxdate> | ||
| 54 | - <connection/> | ||
| 55 | - <table/> | ||
| 56 | - <field/> | ||
| 57 | - <offset>0.0</offset> | ||
| 58 | - <maxdiff>0.0</maxdiff> | ||
| 59 | - </maxdate> | ||
| 60 | - <size_rowset>10000</size_rowset> | ||
| 61 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | - <sleep_time_full>50</sleep_time_full> | ||
| 63 | - <unique_connections>N</unique_connections> | ||
| 64 | - <feedback_shown>Y</feedback_shown> | ||
| 65 | - <feedback_size>50000</feedback_size> | ||
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | - <shared_objects_file/> | ||
| 68 | - <capture_step_performance>N</capture_step_performance> | ||
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | - <dependencies> | ||
| 72 | - </dependencies> | ||
| 73 | - <partitionschemas> | ||
| 74 | - </partitionschemas> | ||
| 75 | - <slaveservers> | ||
| 76 | - </slaveservers> | ||
| 77 | - <clusterschemas> | ||
| 78 | - </clusterschemas> | ||
| 79 | - <created_user>-</created_user> | ||
| 80 | - <created_date>2017/01/11 15:36:10.101</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2017/01/11 15:36:10.101</modified_date> | ||
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | - <is_key_private>N</is_key_private> | ||
| 85 | - </info> | ||
| 86 | - <notepads> | ||
| 87 | - <notepad> | ||
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 89 | - <xloc>66</xloc> | ||
| 90 | - <yloc>151</yloc> | ||
| 91 | - <width>333</width> | ||
| 92 | - <heigth>90</heigth> | ||
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 94 | - <fontsize>12</fontsize> | ||
| 95 | - <fontbold>N</fontbold> | ||
| 96 | - <fontitalic>N</fontitalic> | ||
| 97 | - <fontcolorred>0</fontcolorred> | ||
| 98 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 99 | - <fontcolorblue>0</fontcolorblue> | ||
| 100 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 103 | - <bordercolorred>100</bordercolorred> | ||
| 104 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 105 | - <bordercolorblue>100</bordercolorblue> | ||
| 106 | - <drawshadow>Y</drawshadow> | ||
| 107 | - </notepad> | ||
| 108 | - </notepads> | ||
| 109 | - <connection> | ||
| 110 | - <name>bus_control_variable</name> | ||
| 111 | - <server>${v_db_ip}</server> | ||
| 112 | - <type>MYSQL</type> | ||
| 113 | - <access>Native</access> | ||
| 114 | - <database>${v_db_dname}</database> | ||
| 115 | - <port>3306</port> | ||
| 116 | - <username>${v_db_uname}</username> | ||
| 117 | - <password>${v_db_pwd}</password> | ||
| 118 | - <servername/> | ||
| 119 | - <data_tablespace/> | ||
| 120 | - <index_tablespace/> | ||
| 121 | - <attributes> | ||
| 122 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 123 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 124 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 125 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 126 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 127 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 128 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 129 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 130 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 131 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 133 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 134 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 135 | - </attributes> | ||
| 136 | - </connection> | ||
| 137 | - <connection> | ||
| 138 | - <name>bus_control_公司_201</name> | ||
| 139 | - <server>localhost</server> | ||
| 140 | - <type>MYSQL</type> | ||
| 141 | - <access>Native</access> | ||
| 142 | - <database>control</database> | ||
| 143 | - <port>3306</port> | ||
| 144 | - <username>root</username> | ||
| 145 | - <password>Encrypted </password> | ||
| 146 | - <servername/> | ||
| 147 | - <data_tablespace/> | ||
| 148 | - <index_tablespace/> | ||
| 149 | - <attributes> | ||
| 150 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 151 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 152 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 153 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 154 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 155 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 156 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 157 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 158 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 160 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 161 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 162 | - </attributes> | ||
| 163 | - </connection> | ||
| 164 | - <connection> | ||
| 165 | - <name>bus_control_本机</name> | ||
| 166 | - <server>localhost</server> | ||
| 167 | - <type>MYSQL</type> | ||
| 168 | - <access>Native</access> | ||
| 169 | - <database>control</database> | ||
| 170 | - <port>3306</port> | ||
| 171 | - <username>root</username> | ||
| 172 | - <password>Encrypted </password> | ||
| 173 | - <servername/> | ||
| 174 | - <data_tablespace/> | ||
| 175 | - <index_tablespace/> | ||
| 176 | - <attributes> | ||
| 177 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 178 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 179 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 180 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 181 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 182 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 183 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 184 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 185 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 186 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 187 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 188 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 189 | - </attributes> | ||
| 190 | - </connection> | ||
| 191 | - <connection> | ||
| 192 | - <name>xlab_mysql_youle</name> | ||
| 193 | - <server>101.231.124.8</server> | ||
| 194 | - <type>MYSQL</type> | ||
| 195 | - <access>Native</access> | ||
| 196 | - <database>xlab_youle</database> | ||
| 197 | - <port>45687</port> | ||
| 198 | - <username>xlab-youle</username> | ||
| 199 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 200 | - <servername/> | ||
| 201 | - <data_tablespace/> | ||
| 202 | - <index_tablespace/> | ||
| 203 | - <attributes> | ||
| 204 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 205 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 206 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 207 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 208 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 209 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 210 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 211 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 212 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 213 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 215 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 216 | - </attributes> | ||
| 217 | - </connection> | ||
| 218 | - <connection> | ||
| 219 | - <name>xlab_mysql_youle(本机)</name> | ||
| 220 | - <server>localhost</server> | ||
| 221 | - <type>MYSQL</type> | ||
| 222 | - <access>Native</access> | ||
| 223 | - <database>xlab_youle</database> | ||
| 224 | - <port>3306</port> | ||
| 225 | - <username>root</username> | ||
| 226 | - <password>Encrypted </password> | ||
| 227 | - <servername/> | ||
| 228 | - <data_tablespace/> | ||
| 229 | - <index_tablespace/> | ||
| 230 | - <attributes> | ||
| 231 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 232 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 233 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 234 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 235 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 236 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 237 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 238 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 240 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 241 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 242 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 243 | - </attributes> | ||
| 244 | - </connection> | ||
| 245 | - <connection> | ||
| 246 | - <name>xlab_youle</name> | ||
| 247 | - <server/> | ||
| 248 | - <type>MYSQL</type> | ||
| 249 | - <access>JNDI</access> | ||
| 250 | - <database>xlab_youle</database> | ||
| 251 | - <port>1521</port> | ||
| 252 | - <username/> | ||
| 253 | - <password>Encrypted </password> | ||
| 254 | - <servername/> | ||
| 255 | - <data_tablespace/> | ||
| 256 | - <index_tablespace/> | ||
| 257 | - <attributes> | ||
| 258 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 259 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 260 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 261 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 262 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 263 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 264 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 265 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 266 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 267 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 268 | - </attributes> | ||
| 269 | - </connection> | ||
| 270 | - <order> | ||
| 271 | - <hop> <from>人员配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 272 | - <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | ||
| 273 | - <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | ||
| 274 | - <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 275 | - <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 276 | - <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 277 | - </order> | ||
| 278 | - <step> | ||
| 279 | - <name>Excel输出</name> | ||
| 280 | - <type>ExcelOutput</type> | ||
| 281 | - <description/> | ||
| 282 | - <distribute>Y</distribute> | ||
| 283 | - <custom_distribution/> | ||
| 284 | - <copies>1</copies> | ||
| 285 | - <partitioning> | ||
| 286 | - <method>none</method> | ||
| 287 | - <schema_name/> | ||
| 288 | - </partitioning> | ||
| 289 | - <header>Y</header> | ||
| 290 | - <footer>N</footer> | ||
| 291 | - <encoding/> | ||
| 292 | - <append>N</append> | ||
| 293 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 294 | - <file> | ||
| 295 | - <name>${filepath}</name> | ||
| 296 | - <extention/> | ||
| 297 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 298 | - <create_parent_folder>N</create_parent_folder> | ||
| 299 | - <split>N</split> | ||
| 300 | - <add_date>N</add_date> | ||
| 301 | - <add_time>N</add_time> | ||
| 302 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 303 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 304 | - <sheetname>工作表1</sheetname> | ||
| 305 | - <autosizecolums>N</autosizecolums> | ||
| 306 | - <nullisblank>N</nullisblank> | ||
| 307 | - <protect_sheet>N</protect_sheet> | ||
| 308 | - <password>Encrypted </password> | ||
| 309 | - <splitevery>0</splitevery> | ||
| 310 | - <usetempfiles>N</usetempfiles> | ||
| 311 | - <tempdirectory/> | ||
| 312 | - </file> | ||
| 313 | - <template> | ||
| 314 | - <enabled>N</enabled> | ||
| 315 | - <append>N</append> | ||
| 316 | - <filename>template.xls</filename> | ||
| 317 | - </template> | ||
| 318 | - <fields> | ||
| 319 | - <field> | ||
| 320 | - <name>线路</name> | ||
| 321 | - <type>String</type> | ||
| 322 | - <format/> | ||
| 323 | - </field> | ||
| 324 | - <field> | ||
| 325 | - <name>搭班编码</name> | ||
| 326 | - <type>String</type> | ||
| 327 | - <format/> | ||
| 328 | - </field> | ||
| 329 | - <field> | ||
| 330 | - <name>驾驶员工号</name> | ||
| 331 | - <type>String</type> | ||
| 332 | - <format/> | ||
| 333 | - </field> | ||
| 334 | - <field> | ||
| 335 | - <name>驾驶员</name> | ||
| 336 | - <type>String</type> | ||
| 337 | - <format/> | ||
| 338 | - </field> | ||
| 339 | - <field> | ||
| 340 | - <name>售票员工号</name> | ||
| 341 | - <type>String</type> | ||
| 342 | - <format/> | ||
| 343 | - </field> | ||
| 344 | - <field> | ||
| 345 | - <name>售票员</name> | ||
| 346 | - <type>String</type> | ||
| 347 | - <format/> | ||
| 348 | - </field> | ||
| 349 | - </fields> | ||
| 350 | - <custom> | ||
| 351 | - <header_font_name>arial</header_font_name> | ||
| 352 | - <header_font_size>10</header_font_size> | ||
| 353 | - <header_font_bold>N</header_font_bold> | ||
| 354 | - <header_font_italic>N</header_font_italic> | ||
| 355 | - <header_font_underline>no</header_font_underline> | ||
| 356 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | - <header_font_color>black</header_font_color> | ||
| 358 | - <header_background_color>none</header_background_color> | ||
| 359 | - <header_row_height>255</header_row_height> | ||
| 360 | - <header_alignment>left</header_alignment> | ||
| 361 | - <header_image/> | ||
| 362 | - <row_font_name>arial</row_font_name> | ||
| 363 | - <row_font_size>10</row_font_size> | ||
| 364 | - <row_font_color>black</row_font_color> | ||
| 365 | - <row_background_color>none</row_background_color> | ||
| 366 | - </custom> | ||
| 367 | - <cluster_schema/> | ||
| 368 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | - <xloc>696</xloc> | ||
| 370 | - <yloc>257</yloc> | ||
| 371 | - <draw>Y</draw> | ||
| 372 | - </GUI> | ||
| 373 | - </step> | ||
| 374 | - | ||
| 375 | - <step> | ||
| 376 | - <name>人员配置(没有作废)</name> | ||
| 377 | - <type>TableInput</type> | ||
| 378 | - <description/> | ||
| 379 | - <distribute>Y</distribute> | ||
| 380 | - <custom_distribution/> | ||
| 381 | - <copies>1</copies> | ||
| 382 | - <partitioning> | ||
| 383 | - <method>none</method> | ||
| 384 | - <schema_name/> | ||
| 385 | - </partitioning> | ||
| 386 | - <connection>bus_control_variable</connection> | ||
| 387 | - <sql>select * from bsth_c_s_ecinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 388 | - <limit>0</limit> | ||
| 389 | - <lookup/> | ||
| 390 | - <execute_each_row>N</execute_each_row> | ||
| 391 | - <variables_active>Y</variables_active> | ||
| 392 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 393 | - <cluster_schema/> | ||
| 394 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 395 | - <xloc>90</xloc> | ||
| 396 | - <yloc>59</yloc> | ||
| 397 | - <draw>Y</draw> | ||
| 398 | - </GUI> | ||
| 399 | - </step> | ||
| 400 | - | ||
| 401 | - <step> | ||
| 402 | - <name>售票员查询</name> | ||
| 403 | - <type>DBJoin</type> | ||
| 404 | - <description/> | ||
| 405 | - <distribute>Y</distribute> | ||
| 406 | - <custom_distribution/> | ||
| 407 | - <copies>1</copies> | ||
| 408 | - <partitioning> | ||
| 409 | - <method>none</method> | ||
| 410 | - <schema_name/> | ||
| 411 | - </partitioning> | ||
| 412 | - <connection>bus_control_variable</connection> | ||
| 413 | - <rowlimit>1</rowlimit> | ||
| 414 | - <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | ||
| 415 | - <outer_join>Y</outer_join> | ||
| 416 | - <replace_vars>N</replace_vars> | ||
| 417 | - <parameter> | ||
| 418 | - <field> | ||
| 419 | - <name>spy</name> | ||
| 420 | - <type>Integer</type> | ||
| 421 | - </field> | ||
| 422 | - </parameter> | ||
| 423 | - <cluster_schema/> | ||
| 424 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 425 | - <xloc>491</xloc> | ||
| 426 | - <yloc>60</yloc> | ||
| 427 | - <draw>Y</draw> | ||
| 428 | - </GUI> | ||
| 429 | - </step> | ||
| 430 | - | ||
| 431 | - <step> | ||
| 432 | - <name>字段选择</name> | ||
| 433 | - <type>SelectValues</type> | ||
| 434 | - <description/> | ||
| 435 | - <distribute>Y</distribute> | ||
| 436 | - <custom_distribution/> | ||
| 437 | - <copies>1</copies> | ||
| 438 | - <partitioning> | ||
| 439 | - <method>none</method> | ||
| 440 | - <schema_name/> | ||
| 441 | - </partitioning> | ||
| 442 | - <fields> <field> <name>xlmc</name> | ||
| 443 | - <rename>线路</rename> | ||
| 444 | - <length>-2</length> | ||
| 445 | - <precision>-2</precision> | ||
| 446 | - </field> <field> <name>dbbm</name> | ||
| 447 | - <rename>搭班编码</rename> | ||
| 448 | - <length>-2</length> | ||
| 449 | - <precision>-2</precision> | ||
| 450 | - </field> <field> <name>jcode</name> | ||
| 451 | - <rename>驾驶员工号</rename> | ||
| 452 | - <length>-2</length> | ||
| 453 | - <precision>-2</precision> | ||
| 454 | - </field> <field> <name>jname</name> | ||
| 455 | - <rename>驾驶员</rename> | ||
| 456 | - <length>-2</length> | ||
| 457 | - <precision>-2</precision> | ||
| 458 | - </field> <field> <name>scode</name> | ||
| 459 | - <rename>售票员工号</rename> | ||
| 460 | - <length>-2</length> | ||
| 461 | - <precision>-2</precision> | ||
| 462 | - </field> <field> <name>sname</name> | ||
| 463 | - <rename>售票员</rename> | ||
| 464 | - <length>-2</length> | ||
| 465 | - <precision>-2</precision> | ||
| 466 | - </field> <select_unspecified>N</select_unspecified> | ||
| 467 | - </fields> <cluster_schema/> | ||
| 468 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 469 | - <xloc>492</xloc> | ||
| 470 | - <yloc>164</yloc> | ||
| 471 | - <draw>Y</draw> | ||
| 472 | - </GUI> | ||
| 473 | - </step> | ||
| 474 | - | ||
| 475 | - <step> | ||
| 476 | - <name>排序记录</name> | ||
| 477 | - <type>SortRows</type> | ||
| 478 | - <description/> | ||
| 479 | - <distribute>Y</distribute> | ||
| 480 | - <custom_distribution/> | ||
| 481 | - <copies>1</copies> | ||
| 482 | - <partitioning> | ||
| 483 | - <method>none</method> | ||
| 484 | - <schema_name/> | ||
| 485 | - </partitioning> | ||
| 486 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 487 | - <prefix>out</prefix> | ||
| 488 | - <sort_size>1000000</sort_size> | ||
| 489 | - <free_memory/> | ||
| 490 | - <compress>N</compress> | ||
| 491 | - <compress_variable/> | ||
| 492 | - <unique_rows>N</unique_rows> | ||
| 493 | - <fields> | ||
| 494 | - <field> | ||
| 495 | - <name>线路</name> | ||
| 496 | - <ascending>Y</ascending> | ||
| 497 | - <case_sensitive>N</case_sensitive> | ||
| 498 | - <presorted>N</presorted> | ||
| 499 | - </field> | ||
| 500 | - <field> | ||
| 501 | - <name>搭班编码</name> | ||
| 502 | - <ascending>Y</ascending> | ||
| 503 | - <case_sensitive>N</case_sensitive> | ||
| 504 | - <presorted>N</presorted> | ||
| 505 | - </field> | ||
| 506 | - </fields> | ||
| 507 | - <cluster_schema/> | ||
| 508 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 509 | - <xloc>692</xloc> | ||
| 510 | - <yloc>164</yloc> | ||
| 511 | - <draw>Y</draw> | ||
| 512 | - </GUI> | ||
| 513 | - </step> | ||
| 514 | - | ||
| 515 | - <step> | ||
| 516 | - <name>线路查询</name> | ||
| 517 | - <type>DBLookup</type> | ||
| 518 | - <description/> | ||
| 519 | - <distribute>Y</distribute> | ||
| 520 | - <custom_distribution/> | ||
| 521 | - <copies>1</copies> | ||
| 522 | - <partitioning> | ||
| 523 | - <method>none</method> | ||
| 524 | - <schema_name/> | ||
| 525 | - </partitioning> | ||
| 526 | - <connection>bus_control_variable</connection> | ||
| 527 | - <cache>Y</cache> | ||
| 528 | - <cache_load_all>Y</cache_load_all> | ||
| 529 | - <cache_size>0</cache_size> | ||
| 530 | - <lookup> | ||
| 531 | - <schema/> | ||
| 532 | - <table>bsth_c_line</table> | ||
| 533 | - <orderby/> | ||
| 534 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 535 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 536 | - <key> | ||
| 537 | - <name>xl</name> | ||
| 538 | - <field>id</field> | ||
| 539 | - <condition>=</condition> | ||
| 540 | - <name2/> | ||
| 541 | - </key> | ||
| 542 | - <value> | ||
| 543 | - <name>name</name> | ||
| 544 | - <rename>xlmc</rename> | ||
| 545 | - <default/> | ||
| 546 | - <type>String</type> | ||
| 547 | - </value> | ||
| 548 | - </lookup> | ||
| 549 | - <cluster_schema/> | ||
| 550 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | - <xloc>227</xloc> | ||
| 552 | - <yloc>59</yloc> | ||
| 553 | - <draw>Y</draw> | ||
| 554 | - </GUI> | ||
| 555 | - </step> | ||
| 556 | - | ||
| 557 | - <step> | ||
| 558 | - <name>驾驶员查询</name> | ||
| 559 | - <type>DBJoin</type> | ||
| 560 | - <description/> | ||
| 561 | - <distribute>Y</distribute> | ||
| 562 | - <custom_distribution/> | ||
| 563 | - <copies>1</copies> | ||
| 564 | - <partitioning> | ||
| 565 | - <method>none</method> | ||
| 566 | - <schema_name/> | ||
| 567 | - </partitioning> | ||
| 568 | - <connection>bus_control_variable</connection> | ||
| 569 | - <rowlimit>1</rowlimit> | ||
| 570 | - <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | ||
| 571 | - <outer_join>Y</outer_join> | ||
| 572 | - <replace_vars>N</replace_vars> | ||
| 573 | - <parameter> | ||
| 574 | - <field> | ||
| 575 | - <name>jsy</name> | ||
| 576 | - <type>Integer</type> | ||
| 577 | - </field> | ||
| 578 | - </parameter> | ||
| 579 | - <cluster_schema/> | ||
| 580 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 581 | - <xloc>366</xloc> | ||
| 582 | - <yloc>60</yloc> | ||
| 583 | - <draw>Y</draw> | ||
| 584 | - </GUI> | ||
| 585 | - </step> | ||
| 586 | - | ||
| 587 | - <step_error_handling> | ||
| 588 | - </step_error_handling> | ||
| 589 | - <slave-step-copy-partition-distribution> | ||
| 590 | -</slave-step-copy-partition-distribution> | ||
| 591 | - <slave_transformation>N</slave_transformation> | ||
| 592 | - | ||
| 593 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>人员配置信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>xlid</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>线路id</description> | ||
| 21 | + </parameter> | ||
| 22 | + </parameters> | ||
| 23 | + <log> | ||
| 24 | +<trans-log-table><connection/> | ||
| 25 | +<schema/> | ||
| 26 | +<table/> | ||
| 27 | +<size_limit_lines/> | ||
| 28 | +<interval/> | ||
| 29 | +<timeout_days/> | ||
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | +<perf-log-table><connection/> | ||
| 32 | +<schema/> | ||
| 33 | +<table/> | ||
| 34 | +<interval/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | +<channel-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | +<step-log-table><connection/> | ||
| 43 | +<schema/> | ||
| 44 | +<table/> | ||
| 45 | +<timeout_days/> | ||
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | +<metrics-log-table><connection/> | ||
| 48 | +<schema/> | ||
| 49 | +<table/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | + </log> | ||
| 53 | + <maxdate> | ||
| 54 | + <connection/> | ||
| 55 | + <table/> | ||
| 56 | + <field/> | ||
| 57 | + <offset>0.0</offset> | ||
| 58 | + <maxdiff>0.0</maxdiff> | ||
| 59 | + </maxdate> | ||
| 60 | + <size_rowset>10000</size_rowset> | ||
| 61 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | + <sleep_time_full>50</sleep_time_full> | ||
| 63 | + <unique_connections>N</unique_connections> | ||
| 64 | + <feedback_shown>Y</feedback_shown> | ||
| 65 | + <feedback_size>50000</feedback_size> | ||
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | + <shared_objects_file/> | ||
| 68 | + <capture_step_performance>N</capture_step_performance> | ||
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | + <dependencies> | ||
| 72 | + </dependencies> | ||
| 73 | + <partitionschemas> | ||
| 74 | + </partitionschemas> | ||
| 75 | + <slaveservers> | ||
| 76 | + </slaveservers> | ||
| 77 | + <clusterschemas> | ||
| 78 | + </clusterschemas> | ||
| 79 | + <created_user>-</created_user> | ||
| 80 | + <created_date>2017/01/11 15:36:10.101</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2017/01/11 15:36:10.101</modified_date> | ||
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | + <is_key_private>N</is_key_private> | ||
| 85 | + </info> | ||
| 86 | + <notepads> | ||
| 87 | + <notepad> | ||
| 88 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 89 | + <xloc>66</xloc> | ||
| 90 | + <yloc>151</yloc> | ||
| 91 | + <width>333</width> | ||
| 92 | + <heigth>90</heigth> | ||
| 93 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 94 | + <fontsize>12</fontsize> | ||
| 95 | + <fontbold>N</fontbold> | ||
| 96 | + <fontitalic>N</fontitalic> | ||
| 97 | + <fontcolorred>0</fontcolorred> | ||
| 98 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 99 | + <fontcolorblue>0</fontcolorblue> | ||
| 100 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 101 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 102 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 103 | + <bordercolorred>100</bordercolorred> | ||
| 104 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 105 | + <bordercolorblue>100</bordercolorblue> | ||
| 106 | + <drawshadow>Y</drawshadow> | ||
| 107 | + </notepad> | ||
| 108 | + </notepads> | ||
| 109 | + <connection> | ||
| 110 | + <name>bus_control_variable</name> | ||
| 111 | + <server>${v_db_ip}</server> | ||
| 112 | + <type>MYSQL</type> | ||
| 113 | + <access>Native</access> | ||
| 114 | + <database>${v_db_dname}</database> | ||
| 115 | + <port>3306</port> | ||
| 116 | + <username>${v_db_uname}</username> | ||
| 117 | + <password>${v_db_pwd}</password> | ||
| 118 | + <servername/> | ||
| 119 | + <data_tablespace/> | ||
| 120 | + <index_tablespace/> | ||
| 121 | + <attributes> | ||
| 122 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 123 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 124 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 125 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 126 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 127 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 128 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 129 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 130 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 131 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 133 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 134 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 135 | + </attributes> | ||
| 136 | + </connection> | ||
| 137 | + <connection> | ||
| 138 | + <name>bus_control_公司_201</name> | ||
| 139 | + <server>localhost</server> | ||
| 140 | + <type>MYSQL</type> | ||
| 141 | + <access>Native</access> | ||
| 142 | + <database>control</database> | ||
| 143 | + <port>3306</port> | ||
| 144 | + <username>root</username> | ||
| 145 | + <password>Encrypted </password> | ||
| 146 | + <servername/> | ||
| 147 | + <data_tablespace/> | ||
| 148 | + <index_tablespace/> | ||
| 149 | + <attributes> | ||
| 150 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 151 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 152 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 153 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 154 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 155 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 156 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 157 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 158 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 160 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 161 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 162 | + </attributes> | ||
| 163 | + </connection> | ||
| 164 | + <connection> | ||
| 165 | + <name>bus_control_本机</name> | ||
| 166 | + <server>localhost</server> | ||
| 167 | + <type>MYSQL</type> | ||
| 168 | + <access>Native</access> | ||
| 169 | + <database>control</database> | ||
| 170 | + <port>3306</port> | ||
| 171 | + <username>root</username> | ||
| 172 | + <password>Encrypted </password> | ||
| 173 | + <servername/> | ||
| 174 | + <data_tablespace/> | ||
| 175 | + <index_tablespace/> | ||
| 176 | + <attributes> | ||
| 177 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 178 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 179 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 180 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 181 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 182 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 183 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 184 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 185 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 186 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 187 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 188 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 189 | + </attributes> | ||
| 190 | + </connection> | ||
| 191 | + <connection> | ||
| 192 | + <name>xlab_mysql_youle</name> | ||
| 193 | + <server>101.231.124.8</server> | ||
| 194 | + <type>MYSQL</type> | ||
| 195 | + <access>Native</access> | ||
| 196 | + <database>xlab_youle</database> | ||
| 197 | + <port>45687</port> | ||
| 198 | + <username>xlab-youle</username> | ||
| 199 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 200 | + <servername/> | ||
| 201 | + <data_tablespace/> | ||
| 202 | + <index_tablespace/> | ||
| 203 | + <attributes> | ||
| 204 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 205 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 206 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 207 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 208 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 209 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 210 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 211 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 212 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 213 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 215 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 216 | + </attributes> | ||
| 217 | + </connection> | ||
| 218 | + <connection> | ||
| 219 | + <name>xlab_mysql_youle(本机)</name> | ||
| 220 | + <server>localhost</server> | ||
| 221 | + <type>MYSQL</type> | ||
| 222 | + <access>Native</access> | ||
| 223 | + <database>xlab_youle</database> | ||
| 224 | + <port>3306</port> | ||
| 225 | + <username>root</username> | ||
| 226 | + <password>Encrypted </password> | ||
| 227 | + <servername/> | ||
| 228 | + <data_tablespace/> | ||
| 229 | + <index_tablespace/> | ||
| 230 | + <attributes> | ||
| 231 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 232 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 233 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 234 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 235 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 236 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 237 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 238 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 240 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 241 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 242 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 243 | + </attributes> | ||
| 244 | + </connection> | ||
| 245 | + <connection> | ||
| 246 | + <name>xlab_youle</name> | ||
| 247 | + <server/> | ||
| 248 | + <type>MYSQL</type> | ||
| 249 | + <access>JNDI</access> | ||
| 250 | + <database>xlab_youle</database> | ||
| 251 | + <port>1521</port> | ||
| 252 | + <username/> | ||
| 253 | + <password>Encrypted </password> | ||
| 254 | + <servername/> | ||
| 255 | + <data_tablespace/> | ||
| 256 | + <index_tablespace/> | ||
| 257 | + <attributes> | ||
| 258 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 259 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 260 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 261 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 262 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 263 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 264 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 265 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 266 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 267 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 268 | + </attributes> | ||
| 269 | + </connection> | ||
| 270 | + <order> | ||
| 271 | + <hop> <from>人员配置(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 272 | + <hop> <from>线路查询</from><to>驾驶员查询</to><enabled>Y</enabled> </hop> | ||
| 273 | + <hop> <from>驾驶员查询</from><to>售票员查询</to><enabled>Y</enabled> </hop> | ||
| 274 | + <hop> <from>售票员查询</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 275 | + <hop> <from>字段选择</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 276 | + <hop> <from>排序记录</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 277 | + </order> | ||
| 278 | + <step> | ||
| 279 | + <name>Excel输出</name> | ||
| 280 | + <type>ExcelOutput</type> | ||
| 281 | + <description/> | ||
| 282 | + <distribute>Y</distribute> | ||
| 283 | + <custom_distribution/> | ||
| 284 | + <copies>1</copies> | ||
| 285 | + <partitioning> | ||
| 286 | + <method>none</method> | ||
| 287 | + <schema_name/> | ||
| 288 | + </partitioning> | ||
| 289 | + <header>Y</header> | ||
| 290 | + <footer>N</footer> | ||
| 291 | + <encoding/> | ||
| 292 | + <append>N</append> | ||
| 293 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 294 | + <file> | ||
| 295 | + <name>${filepath}</name> | ||
| 296 | + <extention/> | ||
| 297 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 298 | + <create_parent_folder>N</create_parent_folder> | ||
| 299 | + <split>N</split> | ||
| 300 | + <add_date>N</add_date> | ||
| 301 | + <add_time>N</add_time> | ||
| 302 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 303 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 304 | + <sheetname>工作表1</sheetname> | ||
| 305 | + <autosizecolums>N</autosizecolums> | ||
| 306 | + <nullisblank>N</nullisblank> | ||
| 307 | + <protect_sheet>N</protect_sheet> | ||
| 308 | + <password>Encrypted </password> | ||
| 309 | + <splitevery>0</splitevery> | ||
| 310 | + <usetempfiles>N</usetempfiles> | ||
| 311 | + <tempdirectory/> | ||
| 312 | + </file> | ||
| 313 | + <template> | ||
| 314 | + <enabled>N</enabled> | ||
| 315 | + <append>N</append> | ||
| 316 | + <filename>template.xls</filename> | ||
| 317 | + </template> | ||
| 318 | + <fields> | ||
| 319 | + <field> | ||
| 320 | + <name>线路</name> | ||
| 321 | + <type>String</type> | ||
| 322 | + <format/> | ||
| 323 | + </field> | ||
| 324 | + <field> | ||
| 325 | + <name>搭班编码</name> | ||
| 326 | + <type>String</type> | ||
| 327 | + <format/> | ||
| 328 | + </field> | ||
| 329 | + <field> | ||
| 330 | + <name>驾驶员工号</name> | ||
| 331 | + <type>String</type> | ||
| 332 | + <format/> | ||
| 333 | + </field> | ||
| 334 | + <field> | ||
| 335 | + <name>驾驶员</name> | ||
| 336 | + <type>String</type> | ||
| 337 | + <format/> | ||
| 338 | + </field> | ||
| 339 | + <field> | ||
| 340 | + <name>售票员工号</name> | ||
| 341 | + <type>String</type> | ||
| 342 | + <format/> | ||
| 343 | + </field> | ||
| 344 | + <field> | ||
| 345 | + <name>售票员</name> | ||
| 346 | + <type>String</type> | ||
| 347 | + <format/> | ||
| 348 | + </field> | ||
| 349 | + </fields> | ||
| 350 | + <custom> | ||
| 351 | + <header_font_name>arial</header_font_name> | ||
| 352 | + <header_font_size>10</header_font_size> | ||
| 353 | + <header_font_bold>N</header_font_bold> | ||
| 354 | + <header_font_italic>N</header_font_italic> | ||
| 355 | + <header_font_underline>no</header_font_underline> | ||
| 356 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 357 | + <header_font_color>black</header_font_color> | ||
| 358 | + <header_background_color>none</header_background_color> | ||
| 359 | + <header_row_height>255</header_row_height> | ||
| 360 | + <header_alignment>left</header_alignment> | ||
| 361 | + <header_image/> | ||
| 362 | + <row_font_name>arial</row_font_name> | ||
| 363 | + <row_font_size>10</row_font_size> | ||
| 364 | + <row_font_color>black</row_font_color> | ||
| 365 | + <row_background_color>none</row_background_color> | ||
| 366 | + </custom> | ||
| 367 | + <cluster_schema/> | ||
| 368 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 369 | + <xloc>696</xloc> | ||
| 370 | + <yloc>257</yloc> | ||
| 371 | + <draw>Y</draw> | ||
| 372 | + </GUI> | ||
| 373 | + </step> | ||
| 374 | + | ||
| 375 | + <step> | ||
| 376 | + <name>人员配置(没有作废)</name> | ||
| 377 | + <type>TableInput</type> | ||
| 378 | + <description/> | ||
| 379 | + <distribute>Y</distribute> | ||
| 380 | + <custom_distribution/> | ||
| 381 | + <copies>1</copies> | ||
| 382 | + <partitioning> | ||
| 383 | + <method>none</method> | ||
| 384 | + <schema_name/> | ||
| 385 | + </partitioning> | ||
| 386 | + <connection>bus_control_variable</connection> | ||
| 387 | + <sql>select * from bsth_c_s_ecinfo where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 388 | + <limit>0</limit> | ||
| 389 | + <lookup/> | ||
| 390 | + <execute_each_row>N</execute_each_row> | ||
| 391 | + <variables_active>Y</variables_active> | ||
| 392 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 393 | + <cluster_schema/> | ||
| 394 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 395 | + <xloc>90</xloc> | ||
| 396 | + <yloc>59</yloc> | ||
| 397 | + <draw>Y</draw> | ||
| 398 | + </GUI> | ||
| 399 | + </step> | ||
| 400 | + | ||
| 401 | + <step> | ||
| 402 | + <name>售票员查询</name> | ||
| 403 | + <type>DBJoin</type> | ||
| 404 | + <description/> | ||
| 405 | + <distribute>Y</distribute> | ||
| 406 | + <custom_distribution/> | ||
| 407 | + <copies>1</copies> | ||
| 408 | + <partitioning> | ||
| 409 | + <method>none</method> | ||
| 410 | + <schema_name/> | ||
| 411 | + </partitioning> | ||
| 412 | + <connection>bus_control_variable</connection> | ||
| 413 | + <rowlimit>1</rowlimit> | ||
| 414 | + <sql>select job_code as scode, personnel_name as sname from bsth_c_personnel
where id = ?</sql> | ||
| 415 | + <outer_join>Y</outer_join> | ||
| 416 | + <replace_vars>N</replace_vars> | ||
| 417 | + <parameter> | ||
| 418 | + <field> | ||
| 419 | + <name>spy</name> | ||
| 420 | + <type>Integer</type> | ||
| 421 | + </field> | ||
| 422 | + </parameter> | ||
| 423 | + <cluster_schema/> | ||
| 424 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 425 | + <xloc>491</xloc> | ||
| 426 | + <yloc>60</yloc> | ||
| 427 | + <draw>Y</draw> | ||
| 428 | + </GUI> | ||
| 429 | + </step> | ||
| 430 | + | ||
| 431 | + <step> | ||
| 432 | + <name>字段选择</name> | ||
| 433 | + <type>SelectValues</type> | ||
| 434 | + <description/> | ||
| 435 | + <distribute>Y</distribute> | ||
| 436 | + <custom_distribution/> | ||
| 437 | + <copies>1</copies> | ||
| 438 | + <partitioning> | ||
| 439 | + <method>none</method> | ||
| 440 | + <schema_name/> | ||
| 441 | + </partitioning> | ||
| 442 | + <fields> <field> <name>xlmc</name> | ||
| 443 | + <rename>线路</rename> | ||
| 444 | + <length>-2</length> | ||
| 445 | + <precision>-2</precision> | ||
| 446 | + </field> <field> <name>dbbm</name> | ||
| 447 | + <rename>搭班编码</rename> | ||
| 448 | + <length>-2</length> | ||
| 449 | + <precision>-2</precision> | ||
| 450 | + </field> <field> <name>jcode</name> | ||
| 451 | + <rename>驾驶员工号</rename> | ||
| 452 | + <length>-2</length> | ||
| 453 | + <precision>-2</precision> | ||
| 454 | + </field> <field> <name>jname</name> | ||
| 455 | + <rename>驾驶员</rename> | ||
| 456 | + <length>-2</length> | ||
| 457 | + <precision>-2</precision> | ||
| 458 | + </field> <field> <name>scode</name> | ||
| 459 | + <rename>售票员工号</rename> | ||
| 460 | + <length>-2</length> | ||
| 461 | + <precision>-2</precision> | ||
| 462 | + </field> <field> <name>sname</name> | ||
| 463 | + <rename>售票员</rename> | ||
| 464 | + <length>-2</length> | ||
| 465 | + <precision>-2</precision> | ||
| 466 | + </field> <select_unspecified>N</select_unspecified> | ||
| 467 | + </fields> <cluster_schema/> | ||
| 468 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 469 | + <xloc>492</xloc> | ||
| 470 | + <yloc>164</yloc> | ||
| 471 | + <draw>Y</draw> | ||
| 472 | + </GUI> | ||
| 473 | + </step> | ||
| 474 | + | ||
| 475 | + <step> | ||
| 476 | + <name>排序记录</name> | ||
| 477 | + <type>SortRows</type> | ||
| 478 | + <description/> | ||
| 479 | + <distribute>Y</distribute> | ||
| 480 | + <custom_distribution/> | ||
| 481 | + <copies>1</copies> | ||
| 482 | + <partitioning> | ||
| 483 | + <method>none</method> | ||
| 484 | + <schema_name/> | ||
| 485 | + </partitioning> | ||
| 486 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 487 | + <prefix>out</prefix> | ||
| 488 | + <sort_size>1000000</sort_size> | ||
| 489 | + <free_memory/> | ||
| 490 | + <compress>N</compress> | ||
| 491 | + <compress_variable/> | ||
| 492 | + <unique_rows>N</unique_rows> | ||
| 493 | + <fields> | ||
| 494 | + <field> | ||
| 495 | + <name>线路</name> | ||
| 496 | + <ascending>Y</ascending> | ||
| 497 | + <case_sensitive>N</case_sensitive> | ||
| 498 | + <presorted>N</presorted> | ||
| 499 | + </field> | ||
| 500 | + <field> | ||
| 501 | + <name>搭班编码</name> | ||
| 502 | + <ascending>Y</ascending> | ||
| 503 | + <case_sensitive>N</case_sensitive> | ||
| 504 | + <presorted>N</presorted> | ||
| 505 | + </field> | ||
| 506 | + </fields> | ||
| 507 | + <cluster_schema/> | ||
| 508 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 509 | + <xloc>692</xloc> | ||
| 510 | + <yloc>164</yloc> | ||
| 511 | + <draw>Y</draw> | ||
| 512 | + </GUI> | ||
| 513 | + </step> | ||
| 514 | + | ||
| 515 | + <step> | ||
| 516 | + <name>线路查询</name> | ||
| 517 | + <type>DBLookup</type> | ||
| 518 | + <description/> | ||
| 519 | + <distribute>Y</distribute> | ||
| 520 | + <custom_distribution/> | ||
| 521 | + <copies>1</copies> | ||
| 522 | + <partitioning> | ||
| 523 | + <method>none</method> | ||
| 524 | + <schema_name/> | ||
| 525 | + </partitioning> | ||
| 526 | + <connection>bus_control_variable</connection> | ||
| 527 | + <cache>Y</cache> | ||
| 528 | + <cache_load_all>Y</cache_load_all> | ||
| 529 | + <cache_size>0</cache_size> | ||
| 530 | + <lookup> | ||
| 531 | + <schema/> | ||
| 532 | + <table>bsth_c_line</table> | ||
| 533 | + <orderby/> | ||
| 534 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 535 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 536 | + <key> | ||
| 537 | + <name>xl</name> | ||
| 538 | + <field>id</field> | ||
| 539 | + <condition>=</condition> | ||
| 540 | + <name2/> | ||
| 541 | + </key> | ||
| 542 | + <value> | ||
| 543 | + <name>name</name> | ||
| 544 | + <rename>xlmc</rename> | ||
| 545 | + <default/> | ||
| 546 | + <type>String</type> | ||
| 547 | + </value> | ||
| 548 | + </lookup> | ||
| 549 | + <cluster_schema/> | ||
| 550 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | + <xloc>227</xloc> | ||
| 552 | + <yloc>59</yloc> | ||
| 553 | + <draw>Y</draw> | ||
| 554 | + </GUI> | ||
| 555 | + </step> | ||
| 556 | + | ||
| 557 | + <step> | ||
| 558 | + <name>驾驶员查询</name> | ||
| 559 | + <type>DBJoin</type> | ||
| 560 | + <description/> | ||
| 561 | + <distribute>Y</distribute> | ||
| 562 | + <custom_distribution/> | ||
| 563 | + <copies>1</copies> | ||
| 564 | + <partitioning> | ||
| 565 | + <method>none</method> | ||
| 566 | + <schema_name/> | ||
| 567 | + </partitioning> | ||
| 568 | + <connection>bus_control_variable</connection> | ||
| 569 | + <rowlimit>1</rowlimit> | ||
| 570 | + <sql>select job_code as jcode, personnel_name as jname from bsth_c_personnel
where id = ?</sql> | ||
| 571 | + <outer_join>Y</outer_join> | ||
| 572 | + <replace_vars>N</replace_vars> | ||
| 573 | + <parameter> | ||
| 574 | + <field> | ||
| 575 | + <name>jsy</name> | ||
| 576 | + <type>Integer</type> | ||
| 577 | + </field> | ||
| 578 | + </parameter> | ||
| 579 | + <cluster_schema/> | ||
| 580 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 581 | + <xloc>366</xloc> | ||
| 582 | + <yloc>60</yloc> | ||
| 583 | + <draw>Y</draw> | ||
| 584 | + </GUI> | ||
| 585 | + </step> | ||
| 586 | + | ||
| 587 | + <step_error_handling> | ||
| 588 | + </step_error_handling> | ||
| 589 | + <slave-step-copy-partition-distribution> | ||
| 590 | +</slave-step-copy-partition-distribution> | ||
| 591 | + <slave_transformation>N</slave_transformation> | ||
| 592 | + | ||
| 593 | +</transformation> |
src/main/resources/datatools/ktrs/guideboardDataOutput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>路牌信息导出</name> | ||
| 5 | - <description/> | ||
| 6 | - <extended_description/> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>filepath</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>excel文件路径</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>xlid</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>线路id</description> | ||
| 21 | - </parameter> | ||
| 22 | - </parameters> | ||
| 23 | - <log> | ||
| 24 | -<trans-log-table><connection/> | ||
| 25 | -<schema/> | ||
| 26 | -<table/> | ||
| 27 | -<size_limit_lines/> | ||
| 28 | -<interval/> | ||
| 29 | -<timeout_days/> | ||
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | -<perf-log-table><connection/> | ||
| 32 | -<schema/> | ||
| 33 | -<table/> | ||
| 34 | -<interval/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | -<channel-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | -<step-log-table><connection/> | ||
| 43 | -<schema/> | ||
| 44 | -<table/> | ||
| 45 | -<timeout_days/> | ||
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | -<metrics-log-table><connection/> | ||
| 48 | -<schema/> | ||
| 49 | -<table/> | ||
| 50 | -<timeout_days/> | ||
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | - </log> | ||
| 53 | - <maxdate> | ||
| 54 | - <connection/> | ||
| 55 | - <table/> | ||
| 56 | - <field/> | ||
| 57 | - <offset>0.0</offset> | ||
| 58 | - <maxdiff>0.0</maxdiff> | ||
| 59 | - </maxdate> | ||
| 60 | - <size_rowset>10000</size_rowset> | ||
| 61 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | - <sleep_time_full>50</sleep_time_full> | ||
| 63 | - <unique_connections>N</unique_connections> | ||
| 64 | - <feedback_shown>Y</feedback_shown> | ||
| 65 | - <feedback_size>50000</feedback_size> | ||
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | - <shared_objects_file/> | ||
| 68 | - <capture_step_performance>N</capture_step_performance> | ||
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | - <dependencies> | ||
| 72 | - </dependencies> | ||
| 73 | - <partitionschemas> | ||
| 74 | - </partitionschemas> | ||
| 75 | - <slaveservers> | ||
| 76 | - </slaveservers> | ||
| 77 | - <clusterschemas> | ||
| 78 | - </clusterschemas> | ||
| 79 | - <created_user>-</created_user> | ||
| 80 | - <created_date>2017/02/06 11:05:17.781</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2017/02/06 11:05:17.781</modified_date> | ||
| 83 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | - <is_key_private>N</is_key_private> | ||
| 85 | - </info> | ||
| 86 | - <notepads> | ||
| 87 | - </notepads> | ||
| 88 | - <connection> | ||
| 89 | - <name>bus_control_variable</name> | ||
| 90 | - <server>${v_db_ip}</server> | ||
| 91 | - <type>MYSQL</type> | ||
| 92 | - <access>Native</access> | ||
| 93 | - <database>${v_db_dname}</database> | ||
| 94 | - <port>3306</port> | ||
| 95 | - <username>${v_db_uname}</username> | ||
| 96 | - <password>${v_db_pwd}</password> | ||
| 97 | - <servername/> | ||
| 98 | - <data_tablespace/> | ||
| 99 | - <index_tablespace/> | ||
| 100 | - <attributes> | ||
| 101 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 102 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 103 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 104 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 105 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 106 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 107 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 108 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 109 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 110 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 111 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 112 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 113 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 114 | - </attributes> | ||
| 115 | - </connection> | ||
| 116 | - <connection> | ||
| 117 | - <name>bus_control_公司_201</name> | ||
| 118 | - <server>localhost</server> | ||
| 119 | - <type>MYSQL</type> | ||
| 120 | - <access>Native</access> | ||
| 121 | - <database>control</database> | ||
| 122 | - <port>3306</port> | ||
| 123 | - <username>root</username> | ||
| 124 | - <password>Encrypted </password> | ||
| 125 | - <servername/> | ||
| 126 | - <data_tablespace/> | ||
| 127 | - <index_tablespace/> | ||
| 128 | - <attributes> | ||
| 129 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 130 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 131 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 133 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 134 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 135 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 136 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 137 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 138 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 140 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 141 | - </attributes> | ||
| 142 | - </connection> | ||
| 143 | - <connection> | ||
| 144 | - <name>bus_control_本机</name> | ||
| 145 | - <server>localhost</server> | ||
| 146 | - <type>MYSQL</type> | ||
| 147 | - <access>Native</access> | ||
| 148 | - <database>control</database> | ||
| 149 | - <port>3306</port> | ||
| 150 | - <username>root</username> | ||
| 151 | - <password>Encrypted </password> | ||
| 152 | - <servername/> | ||
| 153 | - <data_tablespace/> | ||
| 154 | - <index_tablespace/> | ||
| 155 | - <attributes> | ||
| 156 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 157 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 158 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 160 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 161 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 162 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 163 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 164 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 165 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 167 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 168 | - </attributes> | ||
| 169 | - </connection> | ||
| 170 | - <connection> | ||
| 171 | - <name>xlab_mysql_youle</name> | ||
| 172 | - <server>101.231.124.8</server> | ||
| 173 | - <type>MYSQL</type> | ||
| 174 | - <access>Native</access> | ||
| 175 | - <database>xlab_youle</database> | ||
| 176 | - <port>45687</port> | ||
| 177 | - <username>xlab-youle</username> | ||
| 178 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 179 | - <servername/> | ||
| 180 | - <data_tablespace/> | ||
| 181 | - <index_tablespace/> | ||
| 182 | - <attributes> | ||
| 183 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 184 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 185 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 187 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 188 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 189 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 190 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 191 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 192 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 193 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 194 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 195 | - </attributes> | ||
| 196 | - </connection> | ||
| 197 | - <connection> | ||
| 198 | - <name>xlab_mysql_youle(本机)</name> | ||
| 199 | - <server>localhost</server> | ||
| 200 | - <type>MYSQL</type> | ||
| 201 | - <access>Native</access> | ||
| 202 | - <database>xlab_youle</database> | ||
| 203 | - <port>3306</port> | ||
| 204 | - <username>root</username> | ||
| 205 | - <password>Encrypted </password> | ||
| 206 | - <servername/> | ||
| 207 | - <data_tablespace/> | ||
| 208 | - <index_tablespace/> | ||
| 209 | - <attributes> | ||
| 210 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 211 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 212 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 215 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 216 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 217 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 218 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 219 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 221 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 222 | - </attributes> | ||
| 223 | - </connection> | ||
| 224 | - <connection> | ||
| 225 | - <name>xlab_youle</name> | ||
| 226 | - <server/> | ||
| 227 | - <type>MYSQL</type> | ||
| 228 | - <access>JNDI</access> | ||
| 229 | - <database>xlab_youle</database> | ||
| 230 | - <port>1521</port> | ||
| 231 | - <username/> | ||
| 232 | - <password>Encrypted </password> | ||
| 233 | - <servername/> | ||
| 234 | - <data_tablespace/> | ||
| 235 | - <index_tablespace/> | ||
| 236 | - <attributes> | ||
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 240 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 241 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 242 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 243 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 244 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 245 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 246 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 247 | - </attributes> | ||
| 248 | - </connection> | ||
| 249 | - <order> | ||
| 250 | - <hop> <from>路牌数据(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 251 | - <hop> <from>线路查询</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 252 | - <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 253 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 254 | - </order> | ||
| 255 | - <step> | ||
| 256 | - <name>Excel输出</name> | ||
| 257 | - <type>ExcelOutput</type> | ||
| 258 | - <description/> | ||
| 259 | - <distribute>Y</distribute> | ||
| 260 | - <custom_distribution/> | ||
| 261 | - <copies>1</copies> | ||
| 262 | - <partitioning> | ||
| 263 | - <method>none</method> | ||
| 264 | - <schema_name/> | ||
| 265 | - </partitioning> | ||
| 266 | - <header>Y</header> | ||
| 267 | - <footer>N</footer> | ||
| 268 | - <encoding/> | ||
| 269 | - <append>N</append> | ||
| 270 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 271 | - <file> | ||
| 272 | - <name>${filepath}</name> | ||
| 273 | - <extention/> | ||
| 274 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 275 | - <create_parent_folder>N</create_parent_folder> | ||
| 276 | - <split>N</split> | ||
| 277 | - <add_date>N</add_date> | ||
| 278 | - <add_time>N</add_time> | ||
| 279 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 280 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 281 | - <sheetname>工作表1</sheetname> | ||
| 282 | - <autosizecolums>N</autosizecolums> | ||
| 283 | - <nullisblank>N</nullisblank> | ||
| 284 | - <protect_sheet>N</protect_sheet> | ||
| 285 | - <password>Encrypted </password> | ||
| 286 | - <splitevery>0</splitevery> | ||
| 287 | - <usetempfiles>N</usetempfiles> | ||
| 288 | - <tempdirectory/> | ||
| 289 | - </file> | ||
| 290 | - <template> | ||
| 291 | - <enabled>N</enabled> | ||
| 292 | - <append>N</append> | ||
| 293 | - <filename>template.xls</filename> | ||
| 294 | - </template> | ||
| 295 | - <fields> | ||
| 296 | - <field> | ||
| 297 | - <name>线路</name> | ||
| 298 | - <type>String</type> | ||
| 299 | - <format/> | ||
| 300 | - </field> | ||
| 301 | - <field> | ||
| 302 | - <name>路牌编号</name> | ||
| 303 | - <type>String</type> | ||
| 304 | - <format/> | ||
| 305 | - </field> | ||
| 306 | - <field> | ||
| 307 | - <name>路牌名称</name> | ||
| 308 | - <type>String</type> | ||
| 309 | - <format/> | ||
| 310 | - </field> | ||
| 311 | - <field> | ||
| 312 | - <name>路牌类型</name> | ||
| 313 | - <type>String</type> | ||
| 314 | - <format/> | ||
| 315 | - </field> | ||
| 316 | - </fields> | ||
| 317 | - <custom> | ||
| 318 | - <header_font_name>arial</header_font_name> | ||
| 319 | - <header_font_size>10</header_font_size> | ||
| 320 | - <header_font_bold>N</header_font_bold> | ||
| 321 | - <header_font_italic>N</header_font_italic> | ||
| 322 | - <header_font_underline>no</header_font_underline> | ||
| 323 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 324 | - <header_font_color>black</header_font_color> | ||
| 325 | - <header_background_color>none</header_background_color> | ||
| 326 | - <header_row_height>255</header_row_height> | ||
| 327 | - <header_alignment>left</header_alignment> | ||
| 328 | - <header_image/> | ||
| 329 | - <row_font_name>arial</row_font_name> | ||
| 330 | - <row_font_size>10</row_font_size> | ||
| 331 | - <row_font_color>black</row_font_color> | ||
| 332 | - <row_background_color>none</row_background_color> | ||
| 333 | - </custom> | ||
| 334 | - <cluster_schema/> | ||
| 335 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 336 | - <xloc>644</xloc> | ||
| 337 | - <yloc>92</yloc> | ||
| 338 | - <draw>Y</draw> | ||
| 339 | - </GUI> | ||
| 340 | - </step> | ||
| 341 | - | ||
| 342 | - <step> | ||
| 343 | - <name>字段选择</name> | ||
| 344 | - <type>SelectValues</type> | ||
| 345 | - <description/> | ||
| 346 | - <distribute>Y</distribute> | ||
| 347 | - <custom_distribution/> | ||
| 348 | - <copies>1</copies> | ||
| 349 | - <partitioning> | ||
| 350 | - <method>none</method> | ||
| 351 | - <schema_name/> | ||
| 352 | - </partitioning> | ||
| 353 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 354 | - <meta> <name>xlmc</name> | ||
| 355 | - <rename>线路</rename> | ||
| 356 | - <type>None</type> | ||
| 357 | - <length>-2</length> | ||
| 358 | - <precision>-2</precision> | ||
| 359 | - <conversion_mask/> | ||
| 360 | - <date_format_lenient>false</date_format_lenient> | ||
| 361 | - <date_format_locale/> | ||
| 362 | - <date_format_timezone/> | ||
| 363 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 364 | - <encoding/> | ||
| 365 | - <decimal_symbol/> | ||
| 366 | - <grouping_symbol/> | ||
| 367 | - <currency_symbol/> | ||
| 368 | - <storage_type/> | ||
| 369 | - </meta> <meta> <name>lp_no</name> | ||
| 370 | - <rename>路牌编号</rename> | ||
| 371 | - <type>String</type> | ||
| 372 | - <length>-2</length> | ||
| 373 | - <precision>-2</precision> | ||
| 374 | - <conversion_mask>#</conversion_mask> | ||
| 375 | - <date_format_lenient>false</date_format_lenient> | ||
| 376 | - <date_format_locale/> | ||
| 377 | - <date_format_timezone/> | ||
| 378 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 379 | - <encoding/> | ||
| 380 | - <decimal_symbol/> | ||
| 381 | - <grouping_symbol/> | ||
| 382 | - <currency_symbol/> | ||
| 383 | - <storage_type/> | ||
| 384 | - </meta> <meta> <name>lp_name</name> | ||
| 385 | - <rename>路牌名称</rename> | ||
| 386 | - <type>None</type> | ||
| 387 | - <length>-2</length> | ||
| 388 | - <precision>-2</precision> | ||
| 389 | - <conversion_mask/> | ||
| 390 | - <date_format_lenient>false</date_format_lenient> | ||
| 391 | - <date_format_locale/> | ||
| 392 | - <date_format_timezone/> | ||
| 393 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 394 | - <encoding/> | ||
| 395 | - <decimal_symbol/> | ||
| 396 | - <grouping_symbol/> | ||
| 397 | - <currency_symbol/> | ||
| 398 | - <storage_type/> | ||
| 399 | - </meta> <meta> <name>lp_type</name> | ||
| 400 | - <rename>路牌类型</rename> | ||
| 401 | - <type>None</type> | ||
| 402 | - <length>-2</length> | ||
| 403 | - <precision>-2</precision> | ||
| 404 | - <conversion_mask/> | ||
| 405 | - <date_format_lenient>false</date_format_lenient> | ||
| 406 | - <date_format_locale/> | ||
| 407 | - <date_format_timezone/> | ||
| 408 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 409 | - <encoding/> | ||
| 410 | - <decimal_symbol/> | ||
| 411 | - <grouping_symbol/> | ||
| 412 | - <currency_symbol/> | ||
| 413 | - <storage_type/> | ||
| 414 | - </meta> </fields> <cluster_schema/> | ||
| 415 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 416 | - <xloc>507</xloc> | ||
| 417 | - <yloc>91</yloc> | ||
| 418 | - <draw>Y</draw> | ||
| 419 | - </GUI> | ||
| 420 | - </step> | ||
| 421 | - | ||
| 422 | - <step> | ||
| 423 | - <name>排序记录</name> | ||
| 424 | - <type>SortRows</type> | ||
| 425 | - <description/> | ||
| 426 | - <distribute>Y</distribute> | ||
| 427 | - <custom_distribution/> | ||
| 428 | - <copies>1</copies> | ||
| 429 | - <partitioning> | ||
| 430 | - <method>none</method> | ||
| 431 | - <schema_name/> | ||
| 432 | - </partitioning> | ||
| 433 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 434 | - <prefix>out</prefix> | ||
| 435 | - <sort_size>1000000</sort_size> | ||
| 436 | - <free_memory/> | ||
| 437 | - <compress>N</compress> | ||
| 438 | - <compress_variable/> | ||
| 439 | - <unique_rows>N</unique_rows> | ||
| 440 | - <fields> | ||
| 441 | - <field> | ||
| 442 | - <name>xl</name> | ||
| 443 | - <ascending>Y</ascending> | ||
| 444 | - <case_sensitive>N</case_sensitive> | ||
| 445 | - <presorted>N</presorted> | ||
| 446 | - </field> | ||
| 447 | - <field> | ||
| 448 | - <name>lp_no</name> | ||
| 449 | - <ascending>Y</ascending> | ||
| 450 | - <case_sensitive>N</case_sensitive> | ||
| 451 | - <presorted>N</presorted> | ||
| 452 | - </field> | ||
| 453 | - <field> | ||
| 454 | - <name>is_cancel</name> | ||
| 455 | - <ascending>N</ascending> | ||
| 456 | - <case_sensitive>N</case_sensitive> | ||
| 457 | - <presorted>N</presorted> | ||
| 458 | - </field> | ||
| 459 | - </fields> | ||
| 460 | - <cluster_schema/> | ||
| 461 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 462 | - <xloc>384</xloc> | ||
| 463 | - <yloc>91</yloc> | ||
| 464 | - <draw>Y</draw> | ||
| 465 | - </GUI> | ||
| 466 | - </step> | ||
| 467 | - | ||
| 468 | - <step> | ||
| 469 | - <name>线路查询</name> | ||
| 470 | - <type>DBLookup</type> | ||
| 471 | - <description/> | ||
| 472 | - <distribute>Y</distribute> | ||
| 473 | - <custom_distribution/> | ||
| 474 | - <copies>1</copies> | ||
| 475 | - <partitioning> | ||
| 476 | - <method>none</method> | ||
| 477 | - <schema_name/> | ||
| 478 | - </partitioning> | ||
| 479 | - <connection>bus_control_variable</connection> | ||
| 480 | - <cache>Y</cache> | ||
| 481 | - <cache_load_all>Y</cache_load_all> | ||
| 482 | - <cache_size>0</cache_size> | ||
| 483 | - <lookup> | ||
| 484 | - <schema/> | ||
| 485 | - <table>bsth_c_line</table> | ||
| 486 | - <orderby/> | ||
| 487 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 488 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 489 | - <key> | ||
| 490 | - <name>xl</name> | ||
| 491 | - <field>id</field> | ||
| 492 | - <condition>=</condition> | ||
| 493 | - <name2/> | ||
| 494 | - </key> | ||
| 495 | - <value> | ||
| 496 | - <name>name</name> | ||
| 497 | - <rename>xlmc</rename> | ||
| 498 | - <default/> | ||
| 499 | - <type>String</type> | ||
| 500 | - </value> | ||
| 501 | - </lookup> | ||
| 502 | - <cluster_schema/> | ||
| 503 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 504 | - <xloc>262</xloc> | ||
| 505 | - <yloc>92</yloc> | ||
| 506 | - <draw>Y</draw> | ||
| 507 | - </GUI> | ||
| 508 | - </step> | ||
| 509 | - | ||
| 510 | - <step> | ||
| 511 | - <name>路牌数据(没有作废)</name> | ||
| 512 | - <type>TableInput</type> | ||
| 513 | - <description/> | ||
| 514 | - <distribute>Y</distribute> | ||
| 515 | - <custom_distribution/> | ||
| 516 | - <copies>1</copies> | ||
| 517 | - <partitioning> | ||
| 518 | - <method>none</method> | ||
| 519 | - <schema_name/> | ||
| 520 | - </partitioning> | ||
| 521 | - <connection>bus_control_variable</connection> | ||
| 522 | - <sql>select * from bsth_c_s_gbi
where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 523 | - <limit>0</limit> | ||
| 524 | - <lookup/> | ||
| 525 | - <execute_each_row>N</execute_each_row> | ||
| 526 | - <variables_active>Y</variables_active> | ||
| 527 | - <lazy_conversion_active>N</lazy_conversion_active> | ||
| 528 | - <cluster_schema/> | ||
| 529 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 530 | - <xloc>134</xloc> | ||
| 531 | - <yloc>92</yloc> | ||
| 532 | - <draw>Y</draw> | ||
| 533 | - </GUI> | ||
| 534 | - </step> | ||
| 535 | - | ||
| 536 | - <step_error_handling> | ||
| 537 | - </step_error_handling> | ||
| 538 | - <slave-step-copy-partition-distribution> | ||
| 539 | -</slave-step-copy-partition-distribution> | ||
| 540 | - <slave_transformation>N</slave_transformation> | ||
| 541 | - | ||
| 542 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>路牌信息导出</name> | ||
| 5 | + <description/> | ||
| 6 | + <extended_description/> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>filepath</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>excel文件路径</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>xlid</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>线路id</description> | ||
| 21 | + </parameter> | ||
| 22 | + </parameters> | ||
| 23 | + <log> | ||
| 24 | +<trans-log-table><connection/> | ||
| 25 | +<schema/> | ||
| 26 | +<table/> | ||
| 27 | +<size_limit_lines/> | ||
| 28 | +<interval/> | ||
| 29 | +<timeout_days/> | ||
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | +<perf-log-table><connection/> | ||
| 32 | +<schema/> | ||
| 33 | +<table/> | ||
| 34 | +<interval/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | +<channel-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | +<step-log-table><connection/> | ||
| 43 | +<schema/> | ||
| 44 | +<table/> | ||
| 45 | +<timeout_days/> | ||
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | +<metrics-log-table><connection/> | ||
| 48 | +<schema/> | ||
| 49 | +<table/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | + </log> | ||
| 53 | + <maxdate> | ||
| 54 | + <connection/> | ||
| 55 | + <table/> | ||
| 56 | + <field/> | ||
| 57 | + <offset>0.0</offset> | ||
| 58 | + <maxdiff>0.0</maxdiff> | ||
| 59 | + </maxdate> | ||
| 60 | + <size_rowset>10000</size_rowset> | ||
| 61 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | + <sleep_time_full>50</sleep_time_full> | ||
| 63 | + <unique_connections>N</unique_connections> | ||
| 64 | + <feedback_shown>Y</feedback_shown> | ||
| 65 | + <feedback_size>50000</feedback_size> | ||
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | + <shared_objects_file/> | ||
| 68 | + <capture_step_performance>N</capture_step_performance> | ||
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | + <dependencies> | ||
| 72 | + </dependencies> | ||
| 73 | + <partitionschemas> | ||
| 74 | + </partitionschemas> | ||
| 75 | + <slaveservers> | ||
| 76 | + </slaveservers> | ||
| 77 | + <clusterschemas> | ||
| 78 | + </clusterschemas> | ||
| 79 | + <created_user>-</created_user> | ||
| 80 | + <created_date>2017/02/06 11:05:17.781</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2017/02/06 11:05:17.781</modified_date> | ||
| 83 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 84 | + <is_key_private>N</is_key_private> | ||
| 85 | + </info> | ||
| 86 | + <notepads> | ||
| 87 | + </notepads> | ||
| 88 | + <connection> | ||
| 89 | + <name>bus_control_variable</name> | ||
| 90 | + <server>${v_db_ip}</server> | ||
| 91 | + <type>MYSQL</type> | ||
| 92 | + <access>Native</access> | ||
| 93 | + <database>${v_db_dname}</database> | ||
| 94 | + <port>3306</port> | ||
| 95 | + <username>${v_db_uname}</username> | ||
| 96 | + <password>${v_db_pwd}</password> | ||
| 97 | + <servername/> | ||
| 98 | + <data_tablespace/> | ||
| 99 | + <index_tablespace/> | ||
| 100 | + <attributes> | ||
| 101 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 102 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 103 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 104 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 105 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 106 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 107 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 108 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 109 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 110 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 111 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 112 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 113 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 114 | + </attributes> | ||
| 115 | + </connection> | ||
| 116 | + <connection> | ||
| 117 | + <name>bus_control_公司_201</name> | ||
| 118 | + <server>localhost</server> | ||
| 119 | + <type>MYSQL</type> | ||
| 120 | + <access>Native</access> | ||
| 121 | + <database>control</database> | ||
| 122 | + <port>3306</port> | ||
| 123 | + <username>root</username> | ||
| 124 | + <password>Encrypted </password> | ||
| 125 | + <servername/> | ||
| 126 | + <data_tablespace/> | ||
| 127 | + <index_tablespace/> | ||
| 128 | + <attributes> | ||
| 129 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 130 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 131 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 132 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 133 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 134 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 135 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 136 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 137 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 138 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 139 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 140 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 141 | + </attributes> | ||
| 142 | + </connection> | ||
| 143 | + <connection> | ||
| 144 | + <name>bus_control_本机</name> | ||
| 145 | + <server>localhost</server> | ||
| 146 | + <type>MYSQL</type> | ||
| 147 | + <access>Native</access> | ||
| 148 | + <database>control</database> | ||
| 149 | + <port>3306</port> | ||
| 150 | + <username>root</username> | ||
| 151 | + <password>Encrypted </password> | ||
| 152 | + <servername/> | ||
| 153 | + <data_tablespace/> | ||
| 154 | + <index_tablespace/> | ||
| 155 | + <attributes> | ||
| 156 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 157 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 158 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 159 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 161 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 162 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 163 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 164 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 165 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 166 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 167 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 168 | + </attributes> | ||
| 169 | + </connection> | ||
| 170 | + <connection> | ||
| 171 | + <name>xlab_mysql_youle</name> | ||
| 172 | + <server>101.231.124.8</server> | ||
| 173 | + <type>MYSQL</type> | ||
| 174 | + <access>Native</access> | ||
| 175 | + <database>xlab_youle</database> | ||
| 176 | + <port>45687</port> | ||
| 177 | + <username>xlab-youle</username> | ||
| 178 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 179 | + <servername/> | ||
| 180 | + <data_tablespace/> | ||
| 181 | + <index_tablespace/> | ||
| 182 | + <attributes> | ||
| 183 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 184 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 185 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 186 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 188 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 189 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 190 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 191 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 192 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 193 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 194 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 195 | + </attributes> | ||
| 196 | + </connection> | ||
| 197 | + <connection> | ||
| 198 | + <name>xlab_mysql_youle(本机)</name> | ||
| 199 | + <server>localhost</server> | ||
| 200 | + <type>MYSQL</type> | ||
| 201 | + <access>Native</access> | ||
| 202 | + <database>xlab_youle</database> | ||
| 203 | + <port>3306</port> | ||
| 204 | + <username>root</username> | ||
| 205 | + <password>Encrypted </password> | ||
| 206 | + <servername/> | ||
| 207 | + <data_tablespace/> | ||
| 208 | + <index_tablespace/> | ||
| 209 | + <attributes> | ||
| 210 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 211 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 212 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 213 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 215 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 216 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 217 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 218 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 219 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 220 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 221 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 222 | + </attributes> | ||
| 223 | + </connection> | ||
| 224 | + <connection> | ||
| 225 | + <name>xlab_youle</name> | ||
| 226 | + <server/> | ||
| 227 | + <type>MYSQL</type> | ||
| 228 | + <access>JNDI</access> | ||
| 229 | + <database>xlab_youle</database> | ||
| 230 | + <port>1521</port> | ||
| 231 | + <username/> | ||
| 232 | + <password>Encrypted </password> | ||
| 233 | + <servername/> | ||
| 234 | + <data_tablespace/> | ||
| 235 | + <index_tablespace/> | ||
| 236 | + <attributes> | ||
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 240 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 241 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 242 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 243 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 244 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 245 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 246 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 247 | + </attributes> | ||
| 248 | + </connection> | ||
| 249 | + <order> | ||
| 250 | + <hop> <from>路牌数据(没有作废)</from><to>线路查询</to><enabled>Y</enabled> </hop> | ||
| 251 | + <hop> <from>线路查询</from><to>排序记录</to><enabled>Y</enabled> </hop> | ||
| 252 | + <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 253 | + <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | ||
| 254 | + </order> | ||
| 255 | + <step> | ||
| 256 | + <name>Excel输出</name> | ||
| 257 | + <type>ExcelOutput</type> | ||
| 258 | + <description/> | ||
| 259 | + <distribute>Y</distribute> | ||
| 260 | + <custom_distribution/> | ||
| 261 | + <copies>1</copies> | ||
| 262 | + <partitioning> | ||
| 263 | + <method>none</method> | ||
| 264 | + <schema_name/> | ||
| 265 | + </partitioning> | ||
| 266 | + <header>Y</header> | ||
| 267 | + <footer>N</footer> | ||
| 268 | + <encoding/> | ||
| 269 | + <append>N</append> | ||
| 270 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 271 | + <file> | ||
| 272 | + <name>${filepath}</name> | ||
| 273 | + <extention/> | ||
| 274 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 275 | + <create_parent_folder>N</create_parent_folder> | ||
| 276 | + <split>N</split> | ||
| 277 | + <add_date>N</add_date> | ||
| 278 | + <add_time>N</add_time> | ||
| 279 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 280 | + <date_time_format>yyyyMMddHHmmss</date_time_format> | ||
| 281 | + <sheetname>工作表1</sheetname> | ||
| 282 | + <autosizecolums>N</autosizecolums> | ||
| 283 | + <nullisblank>N</nullisblank> | ||
| 284 | + <protect_sheet>N</protect_sheet> | ||
| 285 | + <password>Encrypted </password> | ||
| 286 | + <splitevery>0</splitevery> | ||
| 287 | + <usetempfiles>N</usetempfiles> | ||
| 288 | + <tempdirectory/> | ||
| 289 | + </file> | ||
| 290 | + <template> | ||
| 291 | + <enabled>N</enabled> | ||
| 292 | + <append>N</append> | ||
| 293 | + <filename>template.xls</filename> | ||
| 294 | + </template> | ||
| 295 | + <fields> | ||
| 296 | + <field> | ||
| 297 | + <name>线路</name> | ||
| 298 | + <type>String</type> | ||
| 299 | + <format/> | ||
| 300 | + </field> | ||
| 301 | + <field> | ||
| 302 | + <name>路牌编号</name> | ||
| 303 | + <type>String</type> | ||
| 304 | + <format/> | ||
| 305 | + </field> | ||
| 306 | + <field> | ||
| 307 | + <name>路牌名称</name> | ||
| 308 | + <type>String</type> | ||
| 309 | + <format/> | ||
| 310 | + </field> | ||
| 311 | + <field> | ||
| 312 | + <name>路牌类型</name> | ||
| 313 | + <type>String</type> | ||
| 314 | + <format/> | ||
| 315 | + </field> | ||
| 316 | + </fields> | ||
| 317 | + <custom> | ||
| 318 | + <header_font_name>arial</header_font_name> | ||
| 319 | + <header_font_size>10</header_font_size> | ||
| 320 | + <header_font_bold>N</header_font_bold> | ||
| 321 | + <header_font_italic>N</header_font_italic> | ||
| 322 | + <header_font_underline>no</header_font_underline> | ||
| 323 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 324 | + <header_font_color>black</header_font_color> | ||
| 325 | + <header_background_color>none</header_background_color> | ||
| 326 | + <header_row_height>255</header_row_height> | ||
| 327 | + <header_alignment>left</header_alignment> | ||
| 328 | + <header_image/> | ||
| 329 | + <row_font_name>arial</row_font_name> | ||
| 330 | + <row_font_size>10</row_font_size> | ||
| 331 | + <row_font_color>black</row_font_color> | ||
| 332 | + <row_background_color>none</row_background_color> | ||
| 333 | + </custom> | ||
| 334 | + <cluster_schema/> | ||
| 335 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 336 | + <xloc>644</xloc> | ||
| 337 | + <yloc>92</yloc> | ||
| 338 | + <draw>Y</draw> | ||
| 339 | + </GUI> | ||
| 340 | + </step> | ||
| 341 | + | ||
| 342 | + <step> | ||
| 343 | + <name>字段选择</name> | ||
| 344 | + <type>SelectValues</type> | ||
| 345 | + <description/> | ||
| 346 | + <distribute>Y</distribute> | ||
| 347 | + <custom_distribution/> | ||
| 348 | + <copies>1</copies> | ||
| 349 | + <partitioning> | ||
| 350 | + <method>none</method> | ||
| 351 | + <schema_name/> | ||
| 352 | + </partitioning> | ||
| 353 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 354 | + <meta> <name>xlmc</name> | ||
| 355 | + <rename>线路</rename> | ||
| 356 | + <type>None</type> | ||
| 357 | + <length>-2</length> | ||
| 358 | + <precision>-2</precision> | ||
| 359 | + <conversion_mask/> | ||
| 360 | + <date_format_lenient>false</date_format_lenient> | ||
| 361 | + <date_format_locale/> | ||
| 362 | + <date_format_timezone/> | ||
| 363 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 364 | + <encoding/> | ||
| 365 | + <decimal_symbol/> | ||
| 366 | + <grouping_symbol/> | ||
| 367 | + <currency_symbol/> | ||
| 368 | + <storage_type/> | ||
| 369 | + </meta> <meta> <name>lp_no</name> | ||
| 370 | + <rename>路牌编号</rename> | ||
| 371 | + <type>String</type> | ||
| 372 | + <length>-2</length> | ||
| 373 | + <precision>-2</precision> | ||
| 374 | + <conversion_mask>#</conversion_mask> | ||
| 375 | + <date_format_lenient>false</date_format_lenient> | ||
| 376 | + <date_format_locale/> | ||
| 377 | + <date_format_timezone/> | ||
| 378 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 379 | + <encoding/> | ||
| 380 | + <decimal_symbol/> | ||
| 381 | + <grouping_symbol/> | ||
| 382 | + <currency_symbol/> | ||
| 383 | + <storage_type/> | ||
| 384 | + </meta> <meta> <name>lp_name</name> | ||
| 385 | + <rename>路牌名称</rename> | ||
| 386 | + <type>None</type> | ||
| 387 | + <length>-2</length> | ||
| 388 | + <precision>-2</precision> | ||
| 389 | + <conversion_mask/> | ||
| 390 | + <date_format_lenient>false</date_format_lenient> | ||
| 391 | + <date_format_locale/> | ||
| 392 | + <date_format_timezone/> | ||
| 393 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 394 | + <encoding/> | ||
| 395 | + <decimal_symbol/> | ||
| 396 | + <grouping_symbol/> | ||
| 397 | + <currency_symbol/> | ||
| 398 | + <storage_type/> | ||
| 399 | + </meta> <meta> <name>lp_type</name> | ||
| 400 | + <rename>路牌类型</rename> | ||
| 401 | + <type>None</type> | ||
| 402 | + <length>-2</length> | ||
| 403 | + <precision>-2</precision> | ||
| 404 | + <conversion_mask/> | ||
| 405 | + <date_format_lenient>false</date_format_lenient> | ||
| 406 | + <date_format_locale/> | ||
| 407 | + <date_format_timezone/> | ||
| 408 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 409 | + <encoding/> | ||
| 410 | + <decimal_symbol/> | ||
| 411 | + <grouping_symbol/> | ||
| 412 | + <currency_symbol/> | ||
| 413 | + <storage_type/> | ||
| 414 | + </meta> </fields> <cluster_schema/> | ||
| 415 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 416 | + <xloc>507</xloc> | ||
| 417 | + <yloc>91</yloc> | ||
| 418 | + <draw>Y</draw> | ||
| 419 | + </GUI> | ||
| 420 | + </step> | ||
| 421 | + | ||
| 422 | + <step> | ||
| 423 | + <name>排序记录</name> | ||
| 424 | + <type>SortRows</type> | ||
| 425 | + <description/> | ||
| 426 | + <distribute>Y</distribute> | ||
| 427 | + <custom_distribution/> | ||
| 428 | + <copies>1</copies> | ||
| 429 | + <partitioning> | ||
| 430 | + <method>none</method> | ||
| 431 | + <schema_name/> | ||
| 432 | + </partitioning> | ||
| 433 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 434 | + <prefix>out</prefix> | ||
| 435 | + <sort_size>1000000</sort_size> | ||
| 436 | + <free_memory/> | ||
| 437 | + <compress>N</compress> | ||
| 438 | + <compress_variable/> | ||
| 439 | + <unique_rows>N</unique_rows> | ||
| 440 | + <fields> | ||
| 441 | + <field> | ||
| 442 | + <name>xl</name> | ||
| 443 | + <ascending>Y</ascending> | ||
| 444 | + <case_sensitive>N</case_sensitive> | ||
| 445 | + <presorted>N</presorted> | ||
| 446 | + </field> | ||
| 447 | + <field> | ||
| 448 | + <name>lp_no</name> | ||
| 449 | + <ascending>Y</ascending> | ||
| 450 | + <case_sensitive>N</case_sensitive> | ||
| 451 | + <presorted>N</presorted> | ||
| 452 | + </field> | ||
| 453 | + <field> | ||
| 454 | + <name>is_cancel</name> | ||
| 455 | + <ascending>N</ascending> | ||
| 456 | + <case_sensitive>N</case_sensitive> | ||
| 457 | + <presorted>N</presorted> | ||
| 458 | + </field> | ||
| 459 | + </fields> | ||
| 460 | + <cluster_schema/> | ||
| 461 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 462 | + <xloc>384</xloc> | ||
| 463 | + <yloc>91</yloc> | ||
| 464 | + <draw>Y</draw> | ||
| 465 | + </GUI> | ||
| 466 | + </step> | ||
| 467 | + | ||
| 468 | + <step> | ||
| 469 | + <name>线路查询</name> | ||
| 470 | + <type>DBLookup</type> | ||
| 471 | + <description/> | ||
| 472 | + <distribute>Y</distribute> | ||
| 473 | + <custom_distribution/> | ||
| 474 | + <copies>1</copies> | ||
| 475 | + <partitioning> | ||
| 476 | + <method>none</method> | ||
| 477 | + <schema_name/> | ||
| 478 | + </partitioning> | ||
| 479 | + <connection>bus_control_variable</connection> | ||
| 480 | + <cache>Y</cache> | ||
| 481 | + <cache_load_all>Y</cache_load_all> | ||
| 482 | + <cache_size>0</cache_size> | ||
| 483 | + <lookup> | ||
| 484 | + <schema/> | ||
| 485 | + <table>bsth_c_line</table> | ||
| 486 | + <orderby/> | ||
| 487 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 488 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 489 | + <key> | ||
| 490 | + <name>xl</name> | ||
| 491 | + <field>id</field> | ||
| 492 | + <condition>=</condition> | ||
| 493 | + <name2/> | ||
| 494 | + </key> | ||
| 495 | + <value> | ||
| 496 | + <name>name</name> | ||
| 497 | + <rename>xlmc</rename> | ||
| 498 | + <default/> | ||
| 499 | + <type>String</type> | ||
| 500 | + </value> | ||
| 501 | + </lookup> | ||
| 502 | + <cluster_schema/> | ||
| 503 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 504 | + <xloc>262</xloc> | ||
| 505 | + <yloc>92</yloc> | ||
| 506 | + <draw>Y</draw> | ||
| 507 | + </GUI> | ||
| 508 | + </step> | ||
| 509 | + | ||
| 510 | + <step> | ||
| 511 | + <name>路牌数据(没有作废)</name> | ||
| 512 | + <type>TableInput</type> | ||
| 513 | + <description/> | ||
| 514 | + <distribute>Y</distribute> | ||
| 515 | + <custom_distribution/> | ||
| 516 | + <copies>1</copies> | ||
| 517 | + <partitioning> | ||
| 518 | + <method>none</method> | ||
| 519 | + <schema_name/> | ||
| 520 | + </partitioning> | ||
| 521 | + <connection>bus_control_variable</connection> | ||
| 522 | + <sql>select * from bsth_c_s_gbi
where is_cancel = 0 and xl = ${xlid}</sql> | ||
| 523 | + <limit>0</limit> | ||
| 524 | + <lookup/> | ||
| 525 | + <execute_each_row>N</execute_each_row> | ||
| 526 | + <variables_active>Y</variables_active> | ||
| 527 | + <lazy_conversion_active>N</lazy_conversion_active> | ||
| 528 | + <cluster_schema/> | ||
| 529 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 530 | + <xloc>134</xloc> | ||
| 531 | + <yloc>92</yloc> | ||
| 532 | + <draw>Y</draw> | ||
| 533 | + </GUI> | ||
| 534 | + </step> | ||
| 535 | + | ||
| 536 | + <step_error_handling> | ||
| 537 | + </step_error_handling> | ||
| 538 | + <slave-step-copy-partition-distribution> | ||
| 539 | +</slave-step-copy-partition-distribution> | ||
| 540 | + <slave_transformation>N</slave_transformation> | ||
| 541 | + | ||
| 542 | +</transformation> |