Commit e38abc758ebbaf8cd73a5fe51b34fb0d4fa944ef
Update
Showing
9 changed files
with
833 additions
and
775 deletions
Too many changes to show.
To preserve performance only 9 of 96 files are displayed.
src/main/java/com/bsth/controller/SectionRouteController.java
| @@ -35,6 +35,17 @@ public class SectionRouteController extends BaseController<SectionRoute, Integer | @@ -35,6 +35,17 @@ public class SectionRouteController extends BaseController<SectionRoute, Integer | ||
| 35 | @Autowired | 35 | @Autowired |
| 36 | SectionRouteService routeService; | 36 | SectionRouteService routeService; |
| 37 | 37 | ||
| 38 | + /** | ||
| 39 | + * @param @param map | ||
| 40 | + * @throws | ||
| 41 | + * @Title: list | ||
| 42 | + * @Description: TODO(多条件查询) | ||
| 43 | + */ | ||
| 44 | + @RequestMapping(value = "/all", method = RequestMethod.GET) | ||
| 45 | + public Iterable<SectionRoute> list(@RequestParam Map<String, Object> map) { | ||
| 46 | + return routeService.list(map); | ||
| 47 | + } | ||
| 48 | + | ||
| 38 | /** | 49 | /** |
| 39 | * @Description :TODO(查询路段信息) | 50 | * @Description :TODO(查询路段信息) |
| 40 | * | 51 | * |
src/main/java/com/bsth/data/BasicData.java
| @@ -31,7 +31,7 @@ public class BasicData implements CommandLineRunner { | @@ -31,7 +31,7 @@ public class BasicData implements CommandLineRunner { | ||
| 31 | //公司代码和公司名对照(K: 公司编码,V:公司名) | 31 | //公司代码和公司名对照(K: 公司编码,V:公司名) |
| 32 | public static Map<String, String> businessCodeNameMap; | 32 | public static Map<String, String> businessCodeNameMap; |
| 33 | 33 | ||
| 34 | - //分公司公司代码和分公司公司名对照(K: 公司编码+分公司编码,V:分公司公司名) | 34 | + //分公司公司代码和分公司公司名对照(K: 公司编码_分公司编码,V:分公司公司名) |
| 35 | public static Map<String, String> businessFgsCodeNameMap; | 35 | public static Map<String, String> businessFgsCodeNameMap; |
| 36 | 36 | ||
| 37 | //设备号和车辆自编号 (K: 设备编码 ,V:车辆自编号) | 37 | //设备号和车辆自编号 (K: 设备编码 ,V:车辆自编号) |
| @@ -333,7 +333,7 @@ public class BasicData implements CommandLineRunner { | @@ -333,7 +333,7 @@ public class BasicData implements CommandLineRunner { | ||
| 333 | 333 | ||
| 334 | perTempMap.put(jobCode, p); | 334 | perTempMap.put(jobCode, p); |
| 335 | 335 | ||
| 336 | - allPersonMap.put(jobCode.substring(jobCode.indexOf("-")+1), p.getPersonnelName()); | 336 | + allPersonMap.put(jobCode, p.getPersonnelName()); |
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | jsyMap = jsyTempMap; | 339 | jsyMap = jsyTempMap; |
src/main/java/com/bsth/repository/oil/YlbRepository.java
| @@ -56,8 +56,8 @@ public interface YlbRepository extends BaseRepository<Ylb, Integer>{ | @@ -56,8 +56,8 @@ public interface YlbRepository extends BaseRepository<Ylb, Integer>{ | ||
| 56 | */ | 56 | */ |
| 57 | @Transactional | 57 | @Transactional |
| 58 | @Modifying | 58 | @Modifying |
| 59 | - @Query(value="select ifnull(jzl,0),ifnull(zlc,0),ifnull(sh,0) from bsth_c_ylb where nbbm=?1 and rq=?2 and xlbm like %?3%",nativeQuery=true) | ||
| 60 | - List<Object[]> sumLcYl(String nbbm,Date rq,String xlbm); | 59 | + @Query(value="select ifnull(jzl,0),ifnull(zlc,0),ifnull(sh,0) from bsth_c_ylb where nbbm=?1 and rq=?2 and xlbm like %?3% and ssgsdm like %?4% and fgsdm like %?5%",nativeQuery=true) |
| 60 | + List<Object[]> sumLcYl(String nbbm,Date rq,String xlbm,String fgsbm,String gsbm); | ||
| 61 | 61 | ||
| 62 | /** | 62 | /** |
| 63 | * | 63 | * |
src/main/java/com/bsth/service/SectionRouteService.java
| @@ -22,6 +22,14 @@ import com.bsth.entity.SectionRoute; | @@ -22,6 +22,14 @@ import com.bsth.entity.SectionRoute; | ||
| 22 | */ | 22 | */ |
| 23 | public interface SectionRouteService extends BaseService<SectionRoute, Integer> { | 23 | public interface SectionRouteService extends BaseService<SectionRoute, Integer> { |
| 24 | 24 | ||
| 25 | + /** | ||
| 26 | + * | ||
| 27 | + * @Title: list | ||
| 28 | + * @Description: TODO(多条件查询) | ||
| 29 | + * @throws | ||
| 30 | + */ | ||
| 31 | + Iterable<SectionRoute> list(Map<String, Object> map); | ||
| 32 | + | ||
| 25 | List<Map<String, Object>> getSectionRoute(Map<String, Object> map); | 33 | List<Map<String, Object>> getSectionRoute(Map<String, Object> map); |
| 26 | 34 | ||
| 27 | /** | 35 | /** |
src/main/java/com/bsth/service/impl/SectionRouteServiceImpl.java
| @@ -6,12 +6,15 @@ import java.util.List; | @@ -6,12 +6,15 @@ import java.util.List; | ||
| 6 | import java.util.Map; | 6 | import java.util.Map; |
| 7 | 7 | ||
| 8 | import org.springframework.beans.factory.annotation.Autowired; | 8 | import org.springframework.beans.factory.annotation.Autowired; |
| 9 | +import org.springframework.data.domain.Sort; | ||
| 10 | +import org.springframework.data.domain.Sort.Direction; | ||
| 9 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
| 10 | 12 | ||
| 11 | import com.bsth.common.ResponseCode; | 13 | import com.bsth.common.ResponseCode; |
| 12 | import com.bsth.entity.Line; | 14 | import com.bsth.entity.Line; |
| 13 | import com.bsth.entity.Section; | 15 | import com.bsth.entity.Section; |
| 14 | import com.bsth.entity.SectionRoute; | 16 | import com.bsth.entity.SectionRoute; |
| 17 | +import com.bsth.entity.search.CustomerSpecs; | ||
| 15 | import com.bsth.repository.LineRepository; | 18 | import com.bsth.repository.LineRepository; |
| 16 | import com.bsth.repository.SectionRepository; | 19 | import com.bsth.repository.SectionRepository; |
| 17 | import com.bsth.repository.SectionRouteRepository; | 20 | import com.bsth.repository.SectionRouteRepository; |
| @@ -46,6 +49,14 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | @@ -46,6 +49,14 @@ public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integ | ||
| 46 | @Autowired | 49 | @Autowired |
| 47 | LineRepository lineRepository; | 50 | LineRepository lineRepository; |
| 48 | 51 | ||
| 52 | + @Override | ||
| 53 | + public Iterable<SectionRoute> list(Map<String, Object> map) { | ||
| 54 | + List<Sort.Order> orderList = new ArrayList<>(); | ||
| 55 | + orderList.add(new Sort.Order(Direction.ASC, "directions")); | ||
| 56 | + orderList.add(new Sort.Order(Direction.ASC, "sectionrouteCode")); | ||
| 57 | + return repository.findAll(new CustomerSpecs<SectionRoute>(map), new Sort(orderList)); | ||
| 58 | + } | ||
| 59 | + | ||
| 49 | /** | 60 | /** |
| 50 | * @Description :TODO(查询路段信息) | 61 | * @Description :TODO(查询路段信息) |
| 51 | * | 62 | * |
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
| @@ -413,34 +413,22 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | @@ -413,34 +413,22 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | ||
| 413 | */ | 413 | */ |
| 414 | @Override | 414 | @Override |
| 415 | public List<Map<String, Object>> findUpStationRouteCode(Map<String, Object> map) { | 415 | public List<Map<String, Object>> findUpStationRouteCode(Map<String, Object> map) { |
| 416 | - | ||
| 417 | Integer lineId = map.get("lineId").equals("") ? null : Integer.parseInt(map.get("lineId").toString()); | 416 | Integer lineId = map.get("lineId").equals("") ? null : Integer.parseInt(map.get("lineId").toString()); |
| 418 | - | ||
| 419 | Integer direction = map.get("direction").equals("") ? null : Integer.parseInt(map.get("direction").toString()); | 417 | Integer direction = map.get("direction").equals("") ? null : Integer.parseInt(map.get("direction").toString()); |
| 420 | - | ||
| 421 | Integer stationRouteCode = map.get("stationRouteCode").equals("") ? null : Integer.parseInt(map.get("stationRouteCode").toString()); | 418 | Integer stationRouteCode = map.get("stationRouteCode").equals("") ? null : Integer.parseInt(map.get("stationRouteCode").toString()); |
| 422 | - | ||
| 423 | List<Object[]> reslutList = repository.findUpStationRouteCode(lineId, direction, stationRouteCode); | 419 | List<Object[]> reslutList = repository.findUpStationRouteCode(lineId, direction, stationRouteCode); |
| 424 | - | ||
| 425 | List<Map<String, Object>> list = new ArrayList<Map<String,Object>>(); | 420 | List<Map<String, Object>> list = new ArrayList<Map<String,Object>>(); |
| 426 | - | ||
| 427 | if(reslutList.size()>0) { | 421 | if(reslutList.size()>0) { |
| 428 | - | ||
| 429 | for(int i = 0 ; i <reslutList.size() ;i++){ | 422 | for(int i = 0 ; i <reslutList.size() ;i++){ |
| 430 | Map<String, Object> tempM = new HashMap<String, Object>(); | 423 | Map<String, Object> tempM = new HashMap<String, Object>(); |
| 431 | tempM.put("stationRouteCode", reslutList.get(i)[0]); | 424 | tempM.put("stationRouteCode", reslutList.get(i)[0]); |
| 432 | tempM.put("stationRouteMarke", reslutList.get(i)[1]); | 425 | tempM.put("stationRouteMarke", reslutList.get(i)[1]); |
| 433 | - | ||
| 434 | list.add(tempM); | 426 | list.add(tempM); |
| 435 | - | ||
| 436 | } | 427 | } |
| 437 | - | ||
| 438 | } | 428 | } |
| 439 | - | ||
| 440 | return list; | 429 | return list; |
| 441 | } | 430 | } |
| 442 | 431 | ||
| 443 | - | ||
| 444 | /** | 432 | /** |
| 445 | * @Description :TODO(查询线路某方向下所有站点的中心百度坐标) | 433 | * @Description :TODO(查询线路某方向下所有站点的中心百度坐标) |
| 446 | * | 434 | * |
src/main/java/com/bsth/service/oil/impl/YlbServiceImpl.java
| @@ -180,7 +180,10 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -180,7 +180,10 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 180 | t.setJhsj(map.get("fcsj")==null?"":map.get("fcsj").toString()); | 180 | t.setJhsj(map.get("fcsj")==null?"":map.get("fcsj").toString()); |
| 181 | t.setRq(sdf.parse(rq)); | 181 | t.setRq(sdf.parse(rq)); |
| 182 | t.setCreatetime(dNow); | 182 | t.setCreatetime(dNow); |
| 183 | - repository.save(t); | 183 | + if(!(t.getSsgsdm().equals("") || t.getFgsdm().equals(""))){ |
| 184 | + repository.save(t); | ||
| 185 | + } | ||
| 186 | + | ||
| 184 | 187 | ||
| 185 | } | 188 | } |
| 186 | result = "success"; | 189 | result = "success"; |
| @@ -330,12 +333,14 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -330,12 +333,14 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 330 | t.setJhsj(map.get("fcsj")==null?"":map.get("fcsj").toString()); | 333 | t.setJhsj(map.get("fcsj")==null?"":map.get("fcsj").toString()); |
| 331 | t.setRq(sdf.parse(rq)); | 334 | t.setRq(sdf.parse(rq)); |
| 332 | t.setCreatetime(date); | 335 | t.setCreatetime(date); |
| 333 | - if(type.equals("add")){ | ||
| 334 | - addList.add(t); | ||
| 335 | - }else{ | ||
| 336 | - updateList.add(t); | ||
| 337 | - ins += t.getId().toString()+","; | ||
| 338 | - } | 336 | + if(!(t.getSsgsdm().equals("") || t.getFgsdm().equals(""))){ |
| 337 | + if(type.equals("add")){ | ||
| 338 | + addList.add(t); | ||
| 339 | + }else{ | ||
| 340 | + updateList.add(t); | ||
| 341 | + ins += t.getId().toString()+","; | ||
| 342 | + } | ||
| 343 | + } | ||
| 339 | // repository.save(t); | 344 | // repository.save(t); |
| 340 | newMap.put("status", ResponseCode.SUCCESS); | 345 | newMap.put("status", ResponseCode.SUCCESS); |
| 341 | 346 | ||
| @@ -405,7 +410,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -405,7 +410,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 405 | String nbbm_eq = ylb.getNbbm(); | 410 | String nbbm_eq = ylb.getNbbm(); |
| 406 | Date rq_eq = ylb.getRq(); | 411 | Date rq_eq = ylb.getRq(); |
| 407 | // 得到一天总的加油和里程(根据车,时间) | 412 | // 得到一天总的加油和里程(根据车,时间) |
| 408 | - List<Object[]> sumList = repository.sumLcYl(nbbm_eq, rq_eq,ylb.getXlbm()); | 413 | + List<Object[]> sumList = repository.sumLcYl(nbbm_eq, rq_eq,ylb.getXlbm(),gsbm,fgsbm); |
| 409 | // 保存总的加油量 | 414 | // 保存总的加油量 |
| 410 | Double jzl = 0.0; | 415 | Double jzl = 0.0; |
| 411 | // 保存总的里程 | 416 | // 保存总的里程 |
| @@ -436,14 +441,14 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -436,14 +441,14 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 436 | if(t.getNbbm().equals(ylb.getNbbm())){ | 441 | if(t.getNbbm().equals(ylb.getNbbm())){ |
| 437 | if (t.getJcsx() == 1) { | 442 | if (t.getJcsx() == 1) { |
| 438 | // 进场等于出场的操作 既 最后进场存油量等于第一次的出场存油量 | 443 | // 进场等于出场的操作 既 最后进场存油量等于第一次的出场存油量 |
| 439 | - Double yl = t.getCzyl(); | ||
| 440 | - Double jcyl = t.getCzyl(); | ||
| 441 | - zyl =Arith.sub( Arith.add(jcyl, jzl),yl); | 444 | +// Double yl = t.getCzyl(); |
| 445 | +// Double jcyl = t.getCzyl(); | ||
| 446 | + zyl =jzl; | ||
| 442 | Double yh=0.0; | 447 | Double yh=0.0; |
| 443 | if(zlc>0){ | 448 | if(zlc>0){ |
| 444 | yh = Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); | 449 | yh = Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); |
| 445 | } | 450 | } |
| 446 | - nextJzyl =Arith.sub( Arith.add(t.getJzl(), t.getCzyl()),yh); | 451 | + nextJzyl =Arith.sub( Arith.add(Arith.sub(t.getJzl(),t.getSh()), t.getCzyl()),yh); |
| 447 | //把进场油量的小数和整数分别取出 | 452 | //把进场油量的小数和整数分别取出 |
| 448 | // int ylxs=(int) nextJzyl; 10.6--11 10.3--10 | 453 | // int ylxs=(int) nextJzyl; 10.6--11 10.3--10 |
| 449 | long l=Math.round(nextJzyl); | 454 | long l=Math.round(nextJzyl); |
| @@ -459,7 +464,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -459,7 +464,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 459 | if(zlc>0){ | 464 | if(zlc>0){ |
| 460 | yh= Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); | 465 | yh= Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); |
| 461 | } | 466 | } |
| 462 | - nextJzyl =Arith.sub( Arith.add(t.getJzl(),nextJzyl),yh); | 467 | + nextJzyl =Arith.sub( Arith.add(Arith.sub(t.getJzl(),t.getSh()),nextJzyl),yh); |
| 463 | long l=Math.round(nextJzyl); | 468 | long l=Math.round(nextJzyl); |
| 464 | double ylxs=l*100/100; | 469 | double ylxs=l*100/100; |
| 465 | // nextJzyl = Arith.add(nextJzyl,Arith.sub(nextJzyl,ylxs)); | 470 | // nextJzyl = Arith.add(nextJzyl,Arith.sub(nextJzyl,ylxs)); |
| @@ -744,10 +749,11 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -744,10 +749,11 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 744 | // double jzyl=Arith.add(t.getJzl(), t.getCzyl()); | 749 | // double jzyl=Arith.add(t.getJzl(), t.getCzyl()); |
| 745 | t.setJzyl(Arith.add(t.getJzl(), t.getCzyl())); | 750 | t.setJzyl(Arith.add(t.getJzl(), t.getCzyl())); |
| 746 | t.setYh(0.0); | 751 | t.setYh(0.0); |
| 747 | - if(fgsdm.equals(fgsbm)){ | 752 | + if(!(t.getSsgsdm().equals("") || t.getFgsdm().equals(""))){ |
| 748 | repository.save(t); | 753 | repository.save(t); |
| 749 | if(null!=cyl){ | 754 | if(null!=cyl){ |
| 750 | cyl.setCyl(Arith.add(t.getJzl(), t.getCzyl())); | 755 | cyl.setCyl(Arith.add(t.getJzl(), t.getCzyl())); |
| 756 | + cyl.setUpdatetime(y1.getYyrq()); | ||
| 751 | cylRepository.save(cyl); | 757 | cylRepository.save(cyl); |
| 752 | } | 758 | } |
| 753 | } | 759 | } |
| @@ -1090,7 +1096,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -1090,7 +1096,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 1090 | String nbbm_eq = ylb.getNbbm(); | 1096 | String nbbm_eq = ylb.getNbbm(); |
| 1091 | Date rq_eq = ylb.getRq(); | 1097 | Date rq_eq = ylb.getRq(); |
| 1092 | // 得到一天总的加油和里程(根据车,时间) | 1098 | // 得到一天总的加油和里程(根据车,时间) |
| 1093 | - List<Object[]> sumList = repository.sumLcYl(nbbm_eq, rq_eq,ylb.getXlbm()); | 1099 | + List<Object[]> sumList = repository.sumLcYl(nbbm_eq, rq_eq,ylb.getXlbm(),ylb.getSsgsdm(),ylb.getFgsdm()); |
| 1094 | // 保存总的加油量 | 1100 | // 保存总的加油量 |
| 1095 | Double jzl = 0.0; | 1101 | Double jzl = 0.0; |
| 1096 | // 保存总的里程 | 1102 | // 保存总的里程 |
| @@ -1102,7 +1108,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -1102,7 +1108,7 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 1102 | zlc = Arith.add(zlc, Double.valueOf(sumList.get(j)[1].toString())); | 1108 | zlc = Arith.add(zlc, Double.valueOf(sumList.get(j)[1].toString())); |
| 1103 | zsh = Arith.add(zsh, Double.valueOf(sumList.get(j)[2].toString())); | 1109 | zsh = Arith.add(zsh, Double.valueOf(sumList.get(j)[2].toString())); |
| 1104 | } | 1110 | } |
| 1105 | - jzl = Arith.sub(jzl, zsh); | 1111 | +// jzl = Arith.sub(jzl, zsh); |
| 1106 | //新的 损耗不等于 旧的损耗 总损耗从新算 | 1112 | //新的 损耗不等于 旧的损耗 总损耗从新算 |
| 1107 | if(Arith.sub(ylb.getSh(),sh )!=0){ | 1113 | if(Arith.sub(ylb.getSh(),sh )!=0){ |
| 1108 | zsh =Arith.add(Arith.sub(zsh, ylb.getSh()), sh); | 1114 | zsh =Arith.add(Arith.sub(zsh, ylb.getSh()), sh); |
| @@ -1126,8 +1132,8 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | @@ -1126,8 +1132,8 @@ public class YlbServiceImpl extends BaseServiceImpl<Ylb,Integer> implements YlbS | ||
| 1126 | t.setSh(sh); | 1132 | t.setSh(sh); |
| 1127 | t.setShyy(shyy); | 1133 | t.setShyy(shyy); |
| 1128 | } | 1134 | } |
| 1129 | - Double jcyl = t.getCzyl(); | ||
| 1130 | - zyl = Arith.sub(Arith.add(jcyl, jzl), yl); | 1135 | +// Double jcyl = t.getCzyl(); |
| 1136 | + zyl = jzl; | ||
| 1131 | Double yh = 0.0; | 1137 | Double yh = 0.0; |
| 1132 | if (zlc > 0 && t.getZlc() > 0) { | 1138 | if (zlc > 0 && t.getZlc() > 0) { |
| 1133 | yh = Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); | 1139 | yh = Double.parseDouble(df.format(zyl * (t.getZlc() / zlc))); |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -341,10 +341,36 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -341,10 +341,36 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 341 | rs.put("msg", "驾驶员工号不能为空!"); | 341 | rs.put("msg", "驾驶员工号不能为空!"); |
| 342 | return rs; | 342 | return rs; |
| 343 | } | 343 | } |
| 344 | - //截取工号 | 344 | + //截取驾驶员工号 |
| 345 | if (t.getjGh().indexOf("-") != -1) { | 345 | if (t.getjGh().indexOf("-") != -1) { |
| 346 | t.setjGh(t.getjGh().split("-")[1]); | 346 | t.setjGh(t.getjGh().split("-")[1]); |
| 347 | } | 347 | } |
| 348 | + //检查驾驶员工号 | ||
| 349 | + String jName = BasicData.allPerson.get(t.getGsBm() + '-' + t.getjGh()); | ||
| 350 | + if(StringUtils.isEmpty(jName)){ | ||
| 351 | + rs.put("msg", t.getXlName() + "所属的公司编码下找不到工号为【" + t.getjGh() + "】的驾驶员"); | ||
| 352 | + rs.put("status", ResponseCode.ERROR); | ||
| 353 | + return rs; | ||
| 354 | + } | ||
| 355 | + else if(StringUtils.isEmpty(t.getjName())){ | ||
| 356 | + t.setjName(jName);//补上驾驶员名称 | ||
| 357 | + } | ||
| 358 | + | ||
| 359 | + //有售票员 | ||
| 360 | + if(StringUtils.isNotEmpty(t.getsGh())){ | ||
| 361 | + String sName = BasicData.allPerson.get(t.getGsBm() + '-' + t.getsGh()); | ||
| 362 | + if(StringUtils.isEmpty(sName)){ | ||
| 363 | + rs.put("msg", t.getXlName() + "所属的公司编码下找不到工号为【" + t.getjGh() + "】的售票员"); | ||
| 364 | + rs.put("status", ResponseCode.ERROR); | ||
| 365 | + return rs; | ||
| 366 | + }else if(StringUtils.isEmpty(t.getsName())){ | ||
| 367 | + t.setsName(sName);//补上售票员名称 | ||
| 368 | + } | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | + //公司 和 分公司名称 | ||
| 372 | + t.setGsName(BasicData.businessCodeNameMap.get(t.getGsBm())); | ||
| 373 | + t.setFgsName(BasicData.businessFgsCodeNameMap.get(t.getGsBm() + "_" + t.getFgsBm())); | ||
| 348 | 374 | ||
| 349 | t.setScheduleDateStr(schDate); | 375 | t.setScheduleDateStr(schDate); |
| 350 | t.setScheduleDate(sdfyyyyMMdd.parse(schDate)); | 376 | t.setScheduleDate(sdfyyyyMMdd.parse(schDate)); |
| @@ -2842,13 +2868,21 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2842,13 +2868,21 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2842 | continue; | 2868 | continue; |
| 2843 | 2869 | ||
| 2844 | if (StringUtils.isNotEmpty(cpc.getJsy())) { | 2870 | if (StringUtils.isNotEmpty(cpc.getJsy())) { |
| 2871 | + String jGh = cpc.getJsy().split("/")[0]; | ||
| 2872 | + if(!BasicData.allPerson.containsKey(sch.getGsBm()+"-"+jGh)){ | ||
| 2873 | + rs.put("msg", sch.getXlName() + "所属的公司编码下找不到工号为【" + jGh + "】的驾驶员"); | ||
| 2874 | + rs.put("status", ResponseCode.ERROR); | ||
| 2875 | + return rs; | ||
| 2876 | + } | ||
| 2845 | //换驾驶员 | 2877 | //换驾驶员 |
| 2846 | - persoChange(sch, cpc.getJsy().split("/")[0]); | 2878 | + persoChange(sch, jGh); |
| 2879 | + set.add(sch); | ||
| 2847 | } | 2880 | } |
| 2848 | 2881 | ||
| 2849 | //换售票员 | 2882 | //换售票员 |
| 2850 | if (StringUtils.isNotEmpty(cpc.getSpy())) { | 2883 | if (StringUtils.isNotEmpty(cpc.getSpy())) { |
| 2851 | persoChangeSPY(sch, cpc.getSpy().split("/")[0]); | 2884 | persoChangeSPY(sch, cpc.getSpy().split("/")[0]); |
| 2885 | + set.add(sch); | ||
| 2852 | } | 2886 | } |
| 2853 | 2887 | ||
| 2854 | //换车 | 2888 | //换车 |
| @@ -2872,7 +2906,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2872,7 +2906,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2872 | public void persoChange(ScheduleRealInfo sch, String jGh) { | 2906 | public void persoChange(ScheduleRealInfo sch, String jGh) { |
| 2873 | if (sch.getjGh().equals(jGh)) | 2907 | if (sch.getjGh().equals(jGh)) |
| 2874 | return; | 2908 | return; |
| 2875 | - String jName = BasicData.allPerson.get(jGh); | 2909 | + String jName = BasicData.allPerson.get(sch.getGsBm() + "-"+ jGh); |
| 2876 | if (StringUtils.isNotEmpty(jName)) { | 2910 | if (StringUtils.isNotEmpty(jName)) { |
| 2877 | 2911 | ||
| 2878 | if (jGh.indexOf("-") != -1) | 2912 | if (jGh.indexOf("-") != -1) |
src/main/resources/datatools/ktrs/employeesDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>人员信息导入</name> | ||
| 5 | - <description>人员基础信息导入</description> | ||
| 6 | - <extended_description>人员基础信息</extended_description> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - <parameter> | ||
| 13 | - <name>erroroutputdir</name> | ||
| 14 | - <default_value/> | ||
| 15 | - <description>ktr step配置的错误输出目录</description> | ||
| 16 | - </parameter> | ||
| 17 | - <parameter> | ||
| 18 | - <name>filepath</name> | ||
| 19 | - <default_value/> | ||
| 20 | - <description>待处理导入的excel文件</description> | ||
| 21 | - </parameter> | ||
| 22 | - </parameters> | ||
| 23 | - <log> | ||
| 24 | -<trans-log-table><connection/> | ||
| 25 | -<schema/> | ||
| 26 | -<table/> | ||
| 27 | -<size_limit_lines/> | ||
| 28 | -<interval/> | ||
| 29 | -<timeout_days/> | ||
| 30 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | -<perf-log-table><connection/> | ||
| 32 | -<schema/> | ||
| 33 | -<table/> | ||
| 34 | -<interval/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | -<channel-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | -<step-log-table><connection/> | ||
| 43 | -<schema/> | ||
| 44 | -<table/> | ||
| 45 | -<timeout_days/> | ||
| 46 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | -<metrics-log-table><connection/> | ||
| 48 | -<schema/> | ||
| 49 | -<table/> | ||
| 50 | -<timeout_days/> | ||
| 51 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | - </log> | ||
| 53 | - <maxdate> | ||
| 54 | - <connection/> | ||
| 55 | - <table/> | ||
| 56 | - <field/> | ||
| 57 | - <offset>0.0</offset> | ||
| 58 | - <maxdiff>0.0</maxdiff> | ||
| 59 | - </maxdate> | ||
| 60 | - <size_rowset>10000</size_rowset> | ||
| 61 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | - <sleep_time_full>50</sleep_time_full> | ||
| 63 | - <unique_connections>N</unique_connections> | ||
| 64 | - <feedback_shown>Y</feedback_shown> | ||
| 65 | - <feedback_size>50000</feedback_size> | ||
| 66 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | - <shared_objects_file/> | ||
| 68 | - <capture_step_performance>N</capture_step_performance> | ||
| 69 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | - <dependencies> | ||
| 72 | - </dependencies> | ||
| 73 | - <partitionschemas> | ||
| 74 | - </partitionschemas> | ||
| 75 | - <slaveservers> | ||
| 76 | - </slaveservers> | ||
| 77 | - <clusterschemas> | ||
| 78 | - </clusterschemas> | ||
| 79 | - <created_user>-</created_user> | ||
| 80 | - <created_date>2016/06/29 10:18:56.974</created_date> | ||
| 81 | - <modified_user>-</modified_user> | ||
| 82 | - <modified_date>2016/06/29 10:18:56.974</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>192.168.168.1_jwgl_dw</name> | ||
| 90 | - <server>192.168.168.1</server> | ||
| 91 | - <type>ORACLE</type> | ||
| 92 | - <access>Native</access> | ||
| 93 | - <database>orcl</database> | ||
| 94 | - <port>1521</port> | ||
| 95 | - <username>jwgl_dw</username> | ||
| 96 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 97 | - <servername/> | ||
| 98 | - <data_tablespace/> | ||
| 99 | - <index_tablespace/> | ||
| 100 | - <attributes> | ||
| 101 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 102 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 103 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 104 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 105 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 106 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 107 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 108 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 109 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 110 | - </attributes> | ||
| 111 | - </connection> | ||
| 112 | - <connection> | ||
| 113 | - <name>bus_control_variable</name> | ||
| 114 | - <server>${v_db_ip}</server> | ||
| 115 | - <type>MYSQL</type> | ||
| 116 | - <access>Native</access> | ||
| 117 | - <database>${v_db_dname}</database> | ||
| 118 | - <port>3306</port> | ||
| 119 | - <username>${v_db_uname}</username> | ||
| 120 | - <password>${v_db_pwd}</password> | ||
| 121 | - <servername/> | ||
| 122 | - <data_tablespace/> | ||
| 123 | - <index_tablespace/> | ||
| 124 | - <attributes> | ||
| 125 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 126 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 127 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 128 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 129 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 130 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 131 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 132 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 133 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 134 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 135 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 136 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 137 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 138 | - </attributes> | ||
| 139 | - </connection> | ||
| 140 | - <connection> | ||
| 141 | - <name>bus_control_公司_201</name> | ||
| 142 | - <server>localhost</server> | ||
| 143 | - <type>MYSQL</type> | ||
| 144 | - <access>Native</access> | ||
| 145 | - <database>control</database> | ||
| 146 | - <port>3306</port> | ||
| 147 | - <username>root</username> | ||
| 148 | - <password>Encrypted </password> | ||
| 149 | - <servername/> | ||
| 150 | - <data_tablespace/> | ||
| 151 | - <index_tablespace/> | ||
| 152 | - <attributes> | ||
| 153 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 154 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 155 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 156 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 157 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 158 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 159 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 160 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 161 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 162 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 163 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 164 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 165 | - </attributes> | ||
| 166 | - </connection> | ||
| 167 | - <connection> | ||
| 168 | - <name>bus_control_本机</name> | ||
| 169 | - <server>localhost</server> | ||
| 170 | - <type>MYSQL</type> | ||
| 171 | - <access>Native</access> | ||
| 172 | - <database>control</database> | ||
| 173 | - <port>3306</port> | ||
| 174 | - <username>root</username> | ||
| 175 | - <password>Encrypted </password> | ||
| 176 | - <servername/> | ||
| 177 | - <data_tablespace/> | ||
| 178 | - <index_tablespace/> | ||
| 179 | - <attributes> | ||
| 180 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 181 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 182 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 183 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 184 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 185 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 186 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 187 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 188 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 189 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 190 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 191 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 192 | - </attributes> | ||
| 193 | - </connection> | ||
| 194 | - <connection> | ||
| 195 | - <name>xlab_mysql_youle</name> | ||
| 196 | - <server>101.231.124.8</server> | ||
| 197 | - <type>MYSQL</type> | ||
| 198 | - <access>Native</access> | ||
| 199 | - <database>xlab_youle</database> | ||
| 200 | - <port>45687</port> | ||
| 201 | - <username>xlab-youle</username> | ||
| 202 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 203 | - <servername/> | ||
| 204 | - <data_tablespace/> | ||
| 205 | - <index_tablespace/> | ||
| 206 | - <attributes> | ||
| 207 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 208 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 209 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 210 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 211 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 212 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 213 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 214 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 215 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 216 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 217 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 218 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 219 | - </attributes> | ||
| 220 | - </connection> | ||
| 221 | - <connection> | ||
| 222 | - <name>xlab_mysql_youle(本机)</name> | ||
| 223 | - <server>localhost</server> | ||
| 224 | - <type>MYSQL</type> | ||
| 225 | - <access>Native</access> | ||
| 226 | - <database>xlab_youle</database> | ||
| 227 | - <port>3306</port> | ||
| 228 | - <username>root</username> | ||
| 229 | - <password>Encrypted </password> | ||
| 230 | - <servername/> | ||
| 231 | - <data_tablespace/> | ||
| 232 | - <index_tablespace/> | ||
| 233 | - <attributes> | ||
| 234 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 235 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 236 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 237 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 239 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 240 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 241 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 242 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 243 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 244 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 245 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 246 | - </attributes> | ||
| 247 | - </connection> | ||
| 248 | - <connection> | ||
| 249 | - <name>xlab_youle</name> | ||
| 250 | - <server/> | ||
| 251 | - <type>MYSQL</type> | ||
| 252 | - <access>JNDI</access> | ||
| 253 | - <database>xlab_youle</database> | ||
| 254 | - <port>1521</port> | ||
| 255 | - <username/> | ||
| 256 | - <password>Encrypted </password> | ||
| 257 | - <servername/> | ||
| 258 | - <data_tablespace/> | ||
| 259 | - <index_tablespace/> | ||
| 260 | - <attributes> | ||
| 261 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 262 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 263 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 264 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 265 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 266 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 267 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 268 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 269 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 270 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 271 | - </attributes> | ||
| 272 | - </connection> | ||
| 273 | - <order> | ||
| 274 | - <hop> <from>插入/更新bsth_c_personnel</from><to>错误输出</to><enabled>Y</enabled> </hop> | ||
| 275 | - <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 276 | - <hop> <from>原始系统导出的Excel输入</from><to>过滤记录</to><enabled>Y</enabled> </hop> | ||
| 277 | - <hop> <from>过滤记录</from><to>JavaScript代码</to><enabled>Y</enabled> </hop> | ||
| 278 | - <hop> <from>JavaScript代码</from><to>插入/更新bsth_c_personnel</to><enabled>Y</enabled> </hop> | ||
| 279 | - </order> | ||
| 280 | - <step> | ||
| 281 | - <name>JavaScript代码</name> | ||
| 282 | - <type>ScriptValueMod</type> | ||
| 283 | - <description/> | ||
| 284 | - <distribute>Y</distribute> | ||
| 285 | - <custom_distribution/> | ||
| 286 | - <copies>1</copies> | ||
| 287 | - <partitioning> | ||
| 288 | - <method>none</method> | ||
| 289 | - <schema_name/> | ||
| 290 | - </partitioning> | ||
| 291 | - <compatible>N</compatible> | ||
| 292 | - <optimizationLevel>9</optimizationLevel> | ||
| 293 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 294 | - <jsScript_name>Script 1</jsScript_name> | ||
| 295 | - <jsScript_script>//Script here

var gh_calcu = 工号;

if (工号.indexOf(所属公司代码 + "-") < 0) {
 gh_calcu = 所属公司代码 + "-" + 工号;
} </jsScript_script> | ||
| 296 | - </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name> | ||
| 297 | - <rename>gh_calcu</rename> | ||
| 298 | - <type>String</type> | ||
| 299 | - <length>-1</length> | ||
| 300 | - <precision>-1</precision> | ||
| 301 | - <replace>N</replace> | ||
| 302 | - </field> </fields> <cluster_schema/> | ||
| 303 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 304 | - <xloc>362</xloc> | ||
| 305 | - <yloc>190</yloc> | ||
| 306 | - <draw>Y</draw> | ||
| 307 | - </GUI> | ||
| 308 | - </step> | ||
| 309 | - | ||
| 310 | - <step> | ||
| 311 | - <name>原始系统导出的Excel输入</name> | ||
| 312 | - <type>ExcelInput</type> | ||
| 313 | - <description/> | ||
| 314 | - <distribute>Y</distribute> | ||
| 315 | - <custom_distribution/> | ||
| 316 | - <copies>1</copies> | ||
| 317 | - <partitioning> | ||
| 318 | - <method>none</method> | ||
| 319 | - <schema_name/> | ||
| 320 | - </partitioning> | ||
| 321 | - <header>Y</header> | ||
| 322 | - <noempty>Y</noempty> | ||
| 323 | - <stoponempty>N</stoponempty> | ||
| 324 | - <filefield/> | ||
| 325 | - <sheetfield/> | ||
| 326 | - <sheetrownumfield/> | ||
| 327 | - <rownumfield/> | ||
| 328 | - <sheetfield/> | ||
| 329 | - <filefield/> | ||
| 330 | - <limit>0</limit> | ||
| 331 | - <encoding/> | ||
| 332 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 333 | - <accept_filenames>Y</accept_filenames> | ||
| 334 | - <accept_field>filepath_</accept_field> | ||
| 335 | - <accept_stepname>获取变量</accept_stepname> | ||
| 336 | - <file> | ||
| 337 | - <name/> | ||
| 338 | - <filemask/> | ||
| 339 | - <exclude_filemask/> | ||
| 340 | - <file_required>N</file_required> | ||
| 341 | - <include_subfolders>N</include_subfolders> | ||
| 342 | - </file> | ||
| 343 | - <fields> | ||
| 344 | - <field> | ||
| 345 | - <name>姓名</name> | ||
| 346 | - <type>String</type> | ||
| 347 | - <length>-1</length> | ||
| 348 | - <precision>-1</precision> | ||
| 349 | - <trim_type>none</trim_type> | ||
| 350 | - <repeat>N</repeat> | ||
| 351 | - <format/> | ||
| 352 | - <currency/> | ||
| 353 | - <decimal/> | ||
| 354 | - <group/> | ||
| 355 | - </field> | ||
| 356 | - <field> | ||
| 357 | - <name>工号</name> | ||
| 358 | - <type>String</type> | ||
| 359 | - <length>-1</length> | ||
| 360 | - <precision>-1</precision> | ||
| 361 | - <trim_type>none</trim_type> | ||
| 362 | - <repeat>N</repeat> | ||
| 363 | - <format>#</format> | ||
| 364 | - <currency/> | ||
| 365 | - <decimal/> | ||
| 366 | - <group/> | ||
| 367 | - </field> | ||
| 368 | - <field> | ||
| 369 | - <name>所属公司</name> | ||
| 370 | - <type>String</type> | ||
| 371 | - <length>-1</length> | ||
| 372 | - <precision>-1</precision> | ||
| 373 | - <trim_type>none</trim_type> | ||
| 374 | - <repeat>N</repeat> | ||
| 375 | - <format/> | ||
| 376 | - <currency/> | ||
| 377 | - <decimal/> | ||
| 378 | - <group/> | ||
| 379 | - </field> | ||
| 380 | - <field> | ||
| 381 | - <name>所属公司代码</name> | ||
| 382 | - <type>String</type> | ||
| 383 | - <length>-1</length> | ||
| 384 | - <precision>-1</precision> | ||
| 385 | - <trim_type>none</trim_type> | ||
| 386 | - <repeat>N</repeat> | ||
| 387 | - <format/> | ||
| 388 | - <currency/> | ||
| 389 | - <decimal/> | ||
| 390 | - <group/> | ||
| 391 | - </field> | ||
| 392 | - <field> | ||
| 393 | - <name>所属分公司</name> | ||
| 394 | - <type>String</type> | ||
| 395 | - <length>-1</length> | ||
| 396 | - <precision>-1</precision> | ||
| 397 | - <trim_type>none</trim_type> | ||
| 398 | - <repeat>N</repeat> | ||
| 399 | - <format/> | ||
| 400 | - <currency/> | ||
| 401 | - <decimal/> | ||
| 402 | - <group/> | ||
| 403 | - </field> | ||
| 404 | - <field> | ||
| 405 | - <name>所属分公司代码</name> | ||
| 406 | - <type>String</type> | ||
| 407 | - <length>-1</length> | ||
| 408 | - <precision>-1</precision> | ||
| 409 | - <trim_type>none</trim_type> | ||
| 410 | - <repeat>N</repeat> | ||
| 411 | - <format/> | ||
| 412 | - <currency/> | ||
| 413 | - <decimal/> | ||
| 414 | - <group/> | ||
| 415 | - </field> | ||
| 416 | - </fields> | ||
| 417 | - <sheets> | ||
| 418 | - <sheet> | ||
| 419 | - <name>工作表1</name> | ||
| 420 | - <startrow>0</startrow> | ||
| 421 | - <startcol>0</startcol> | ||
| 422 | - </sheet> | ||
| 423 | - </sheets> | ||
| 424 | - <strict_types>N</strict_types> | ||
| 425 | - <error_ignored>N</error_ignored> | ||
| 426 | - <error_line_skipped>N</error_line_skipped> | ||
| 427 | - <bad_line_files_destination_directory/> | ||
| 428 | - <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 429 | - <error_line_files_destination_directory/> | ||
| 430 | - <error_line_files_extension>error</error_line_files_extension> | ||
| 431 | - <line_number_files_destination_directory/> | ||
| 432 | - <line_number_files_extension>line</line_number_files_extension> | ||
| 433 | - <shortFileFieldName/> | ||
| 434 | - <pathFieldName/> | ||
| 435 | - <hiddenFieldName/> | ||
| 436 | - <lastModificationTimeFieldName/> | ||
| 437 | - <uriNameFieldName/> | ||
| 438 | - <rootUriNameFieldName/> | ||
| 439 | - <extensionFieldName/> | ||
| 440 | - <sizeFieldName/> | ||
| 441 | - <spreadsheet_type>JXL</spreadsheet_type> | ||
| 442 | - <cluster_schema/> | ||
| 443 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 444 | - <xloc>158</xloc> | ||
| 445 | - <yloc>57</yloc> | ||
| 446 | - <draw>Y</draw> | ||
| 447 | - </GUI> | ||
| 448 | - </step> | ||
| 449 | - | ||
| 450 | - <step> | ||
| 451 | - <name>插入/更新bsth_c_personnel</name> | ||
| 452 | - <type>InsertUpdate</type> | ||
| 453 | - <description/> | ||
| 454 | - <distribute>Y</distribute> | ||
| 455 | - <custom_distribution/> | ||
| 456 | - <copies>1</copies> | ||
| 457 | - <partitioning> | ||
| 458 | - <method>none</method> | ||
| 459 | - <schema_name/> | ||
| 460 | - </partitioning> | ||
| 461 | - <connection>bus_control_variable</connection> | ||
| 462 | - <commit>5000</commit> | ||
| 463 | - <update_bypassed>N</update_bypassed> | ||
| 464 | - <lookup> | ||
| 465 | - <schema/> | ||
| 466 | - <table>bsth_c_personnel</table> | ||
| 467 | - <key> | ||
| 468 | - <name>gh_calcu</name> | ||
| 469 | - <field>job_code</field> | ||
| 470 | - <condition>=</condition> | ||
| 471 | - <name2/> | ||
| 472 | - </key> | ||
| 473 | - <value> | ||
| 474 | - <name>personnel_name</name> | ||
| 475 | - <rename>姓名</rename> | ||
| 476 | - <update>Y</update> | ||
| 477 | - </value> | ||
| 478 | - <value> | ||
| 479 | - <name>company</name> | ||
| 480 | - <rename>所属公司</rename> | ||
| 481 | - <update>Y</update> | ||
| 482 | - </value> | ||
| 483 | - <value> | ||
| 484 | - <name>company_code</name> | ||
| 485 | - <rename>所属公司代码</rename> | ||
| 486 | - <update>Y</update> | ||
| 487 | - </value> | ||
| 488 | - <value> | ||
| 489 | - <name>branche_company</name> | ||
| 490 | - <rename>所属分公司</rename> | ||
| 491 | - <update>Y</update> | ||
| 492 | - </value> | ||
| 493 | - <value> | ||
| 494 | - <name>branche_company_code</name> | ||
| 495 | - <rename>所属分公司代码</rename> | ||
| 496 | - <update>Y</update> | ||
| 497 | - </value> | ||
| 498 | - <value> | ||
| 499 | - <name>job_code</name> | ||
| 500 | - <rename>gh_calcu</rename> | ||
| 501 | - <update>Y</update> | ||
| 502 | - </value> | ||
| 503 | - </lookup> | ||
| 504 | - <cluster_schema/> | ||
| 505 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 506 | - <xloc>576</xloc> | ||
| 507 | - <yloc>56</yloc> | ||
| 508 | - <draw>Y</draw> | ||
| 509 | - </GUI> | ||
| 510 | - </step> | ||
| 511 | - | ||
| 512 | - <step> | ||
| 513 | - <name>获取变量</name> | ||
| 514 | - <type>GetVariable</type> | ||
| 515 | - <description/> | ||
| 516 | - <distribute>Y</distribute> | ||
| 517 | - <custom_distribution/> | ||
| 518 | - <copies>1</copies> | ||
| 519 | - <partitioning> | ||
| 520 | - <method>none</method> | ||
| 521 | - <schema_name/> | ||
| 522 | - </partitioning> | ||
| 523 | - <fields> | ||
| 524 | - <field> | ||
| 525 | - <name>filepath_</name> | ||
| 526 | - <variable>${filepath}</variable> | ||
| 527 | - <type>String</type> | ||
| 528 | - <format/> | ||
| 529 | - <currency/> | ||
| 530 | - <decimal/> | ||
| 531 | - <group/> | ||
| 532 | - <length>-1</length> | ||
| 533 | - <precision>-1</precision> | ||
| 534 | - <trim_type>none</trim_type> | ||
| 535 | - </field> | ||
| 536 | - <field> | ||
| 537 | - <name>erroroutputdir_</name> | ||
| 538 | - <variable>${erroroutputdir}</variable> | ||
| 539 | - <type>String</type> | ||
| 540 | - <format/> | ||
| 541 | - <currency/> | ||
| 542 | - <decimal/> | ||
| 543 | - <group/> | ||
| 544 | - <length>-1</length> | ||
| 545 | - <precision>-1</precision> | ||
| 546 | - <trim_type>none</trim_type> | ||
| 547 | - </field> | ||
| 548 | - </fields> | ||
| 549 | - <cluster_schema/> | ||
| 550 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | - <xloc>90</xloc> | ||
| 552 | - <yloc>148</yloc> | ||
| 553 | - <draw>Y</draw> | ||
| 554 | - </GUI> | ||
| 555 | - </step> | ||
| 556 | - | ||
| 557 | - <step> | ||
| 558 | - <name>过滤记录</name> | ||
| 559 | - <type>FilterRows</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 | -<send_true_to/> | ||
| 569 | -<send_false_to/> | ||
| 570 | - <compare> | ||
| 571 | -<condition> | ||
| 572 | - <negated>N</negated> | ||
| 573 | - <conditions> | ||
| 574 | - <condition> | ||
| 575 | - <negated>N</negated> | ||
| 576 | - <leftvalue>工号</leftvalue> | ||
| 577 | - <function>IS NOT NULL</function> | ||
| 578 | - <rightvalue/> | ||
| 579 | - </condition> | ||
| 580 | - <condition> | ||
| 581 | - <negated>N</negated> | ||
| 582 | - <operator>AND</operator> | ||
| 583 | - <leftvalue>所属公司代码</leftvalue> | ||
| 584 | - <function>IS NOT NULL</function> | ||
| 585 | - <rightvalue/> | ||
| 586 | - </condition> | ||
| 587 | - </conditions> | ||
| 588 | - </condition> | ||
| 589 | - </compare> | ||
| 590 | - <cluster_schema/> | ||
| 591 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 592 | - <xloc>358</xloc> | ||
| 593 | - <yloc>57</yloc> | ||
| 594 | - <draw>Y</draw> | ||
| 595 | - </GUI> | ||
| 596 | - </step> | ||
| 597 | - | ||
| 598 | - <step> | ||
| 599 | - <name>错误输出</name> | ||
| 600 | - <type>ExcelOutput</type> | ||
| 601 | - <description/> | ||
| 602 | - <distribute>Y</distribute> | ||
| 603 | - <custom_distribution/> | ||
| 604 | - <copies>1</copies> | ||
| 605 | - <partitioning> | ||
| 606 | - <method>none</method> | ||
| 607 | - <schema_name/> | ||
| 608 | - </partitioning> | ||
| 609 | - <header>Y</header> | ||
| 610 | - <footer>N</footer> | ||
| 611 | - <encoding>UTF-8</encoding> | ||
| 612 | - <append>N</append> | ||
| 613 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 614 | - <file> | ||
| 615 | - <name>${erroroutputdir}/人员基础信息_错误</name> | ||
| 616 | - <extention>xls</extention> | ||
| 617 | - <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 618 | - <create_parent_folder>N</create_parent_folder> | ||
| 619 | - <split>N</split> | ||
| 620 | - <add_date>N</add_date> | ||
| 621 | - <add_time>N</add_time> | ||
| 622 | - <SpecifyFormat>N</SpecifyFormat> | ||
| 623 | - <date_time_format/> | ||
| 624 | - <sheetname>Sheet1</sheetname> | ||
| 625 | - <autosizecolums>N</autosizecolums> | ||
| 626 | - <nullisblank>N</nullisblank> | ||
| 627 | - <protect_sheet>N</protect_sheet> | ||
| 628 | - <password>Encrypted </password> | ||
| 629 | - <splitevery>0</splitevery> | ||
| 630 | - <usetempfiles>N</usetempfiles> | ||
| 631 | - <tempdirectory/> | ||
| 632 | - </file> | ||
| 633 | - <template> | ||
| 634 | - <enabled>N</enabled> | ||
| 635 | - <append>N</append> | ||
| 636 | - <filename>template.xls</filename> | ||
| 637 | - </template> | ||
| 638 | - <fields> | ||
| 639 | - <field> | ||
| 640 | - <name>姓名</name> | ||
| 641 | - <type>String</type> | ||
| 642 | - <format/> | ||
| 643 | - </field> | ||
| 644 | - <field> | ||
| 645 | - <name>工号</name> | ||
| 646 | - <type>String</type> | ||
| 647 | - <format/> | ||
| 648 | - </field> | ||
| 649 | - <field> | ||
| 650 | - <name>所属公司</name> | ||
| 651 | - <type>String</type> | ||
| 652 | - <format/> | ||
| 653 | - </field> | ||
| 654 | - <field> | ||
| 655 | - <name>所属公司代码</name> | ||
| 656 | - <type>String</type> | ||
| 657 | - <format/> | ||
| 658 | - </field> | ||
| 659 | - <field> | ||
| 660 | - <name>所属分公司</name> | ||
| 661 | - <type>String</type> | ||
| 662 | - <format/> | ||
| 663 | - </field> | ||
| 664 | - <field> | ||
| 665 | - <name>所属分公司代码</name> | ||
| 666 | - <type>String</type> | ||
| 667 | - <format/> | ||
| 668 | - </field> | ||
| 669 | - <field> | ||
| 670 | - <name>gh_calcu</name> | ||
| 671 | - <type>String</type> | ||
| 672 | - <format/> | ||
| 673 | - </field> | ||
| 674 | - <field> | ||
| 675 | - <name>error_count</name> | ||
| 676 | - <type>Integer</type> | ||
| 677 | - <format/> | ||
| 678 | - </field> | ||
| 679 | - <field> | ||
| 680 | - <name>error_desc</name> | ||
| 681 | - <type>String</type> | ||
| 682 | - <format/> | ||
| 683 | - </field> | ||
| 684 | - <field> | ||
| 685 | - <name>error_column1</name> | ||
| 686 | - <type>String</type> | ||
| 687 | - <format/> | ||
| 688 | - </field> | ||
| 689 | - <field> | ||
| 690 | - <name>error_column2</name> | ||
| 691 | - <type>String</type> | ||
| 692 | - <format/> | ||
| 693 | - </field> | ||
| 694 | - </fields> | ||
| 695 | - <custom> | ||
| 696 | - <header_font_name>arial</header_font_name> | ||
| 697 | - <header_font_size>10</header_font_size> | ||
| 698 | - <header_font_bold>N</header_font_bold> | ||
| 699 | - <header_font_italic>N</header_font_italic> | ||
| 700 | - <header_font_underline>no</header_font_underline> | ||
| 701 | - <header_font_orientation>horizontal</header_font_orientation> | ||
| 702 | - <header_font_color>black</header_font_color> | ||
| 703 | - <header_background_color>none</header_background_color> | ||
| 704 | - <header_row_height>255</header_row_height> | ||
| 705 | - <header_alignment>left</header_alignment> | ||
| 706 | - <header_image/> | ||
| 707 | - <row_font_name>arial</row_font_name> | ||
| 708 | - <row_font_size>10</row_font_size> | ||
| 709 | - <row_font_color>black</row_font_color> | ||
| 710 | - <row_background_color>none</row_background_color> | ||
| 711 | - </custom> | ||
| 712 | - <cluster_schema/> | ||
| 713 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | - <xloc>578</xloc> | ||
| 715 | - <yloc>223</yloc> | ||
| 716 | - <draw>Y</draw> | ||
| 717 | - </GUI> | ||
| 718 | - </step> | ||
| 719 | - | ||
| 720 | - <step_error_handling> | ||
| 721 | - <error> | ||
| 722 | - <source_step>插入/更新bsth_c_personnel</source_step> | ||
| 723 | - <target_step>错误输出</target_step> | ||
| 724 | - <is_enabled>Y</is_enabled> | ||
| 725 | - <nr_valuename>error_count</nr_valuename> | ||
| 726 | - <descriptions_valuename>error_desc</descriptions_valuename> | ||
| 727 | - <fields_valuename>error_column1</fields_valuename> | ||
| 728 | - <codes_valuename>error_column2</codes_valuename> | ||
| 729 | - <max_errors/> | ||
| 730 | - <max_pct_errors/> | ||
| 731 | - <min_pct_rows/> | ||
| 732 | - </error> | ||
| 733 | - </step_error_handling> | ||
| 734 | - <slave-step-copy-partition-distribution> | ||
| 735 | -</slave-step-copy-partition-distribution> | ||
| 736 | - <slave_transformation>N</slave_transformation> | ||
| 737 | - | ||
| 738 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>人员信息导入</name> | ||
| 5 | + <description>人员基础信息导入</description> | ||
| 6 | + <extended_description>人员基础信息</extended_description> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + <parameter> | ||
| 13 | + <name>erroroutputdir</name> | ||
| 14 | + <default_value/> | ||
| 15 | + <description>ktr step配置的错误输出目录</description> | ||
| 16 | + </parameter> | ||
| 17 | + <parameter> | ||
| 18 | + <name>filepath</name> | ||
| 19 | + <default_value/> | ||
| 20 | + <description>待处理导入的excel文件</description> | ||
| 21 | + </parameter> | ||
| 22 | + </parameters> | ||
| 23 | + <log> | ||
| 24 | +<trans-log-table><connection/> | ||
| 25 | +<schema/> | ||
| 26 | +<table/> | ||
| 27 | +<size_limit_lines/> | ||
| 28 | +<interval/> | ||
| 29 | +<timeout_days/> | ||
| 30 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 31 | +<perf-log-table><connection/> | ||
| 32 | +<schema/> | ||
| 33 | +<table/> | ||
| 34 | +<interval/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 37 | +<channel-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 42 | +<step-log-table><connection/> | ||
| 43 | +<schema/> | ||
| 44 | +<table/> | ||
| 45 | +<timeout_days/> | ||
| 46 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 47 | +<metrics-log-table><connection/> | ||
| 48 | +<schema/> | ||
| 49 | +<table/> | ||
| 50 | +<timeout_days/> | ||
| 51 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 52 | + </log> | ||
| 53 | + <maxdate> | ||
| 54 | + <connection/> | ||
| 55 | + <table/> | ||
| 56 | + <field/> | ||
| 57 | + <offset>0.0</offset> | ||
| 58 | + <maxdiff>0.0</maxdiff> | ||
| 59 | + </maxdate> | ||
| 60 | + <size_rowset>10000</size_rowset> | ||
| 61 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 62 | + <sleep_time_full>50</sleep_time_full> | ||
| 63 | + <unique_connections>N</unique_connections> | ||
| 64 | + <feedback_shown>Y</feedback_shown> | ||
| 65 | + <feedback_size>50000</feedback_size> | ||
| 66 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 67 | + <shared_objects_file/> | ||
| 68 | + <capture_step_performance>N</capture_step_performance> | ||
| 69 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 70 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 71 | + <dependencies> | ||
| 72 | + </dependencies> | ||
| 73 | + <partitionschemas> | ||
| 74 | + </partitionschemas> | ||
| 75 | + <slaveservers> | ||
| 76 | + </slaveservers> | ||
| 77 | + <clusterschemas> | ||
| 78 | + </clusterschemas> | ||
| 79 | + <created_user>-</created_user> | ||
| 80 | + <created_date>2016/06/29 10:18:56.974</created_date> | ||
| 81 | + <modified_user>-</modified_user> | ||
| 82 | + <modified_date>2016/06/29 10:18:56.974</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>192.168.168.1_jwgl_dw</name> | ||
| 90 | + <server>192.168.168.1</server> | ||
| 91 | + <type>ORACLE</type> | ||
| 92 | + <access>Native</access> | ||
| 93 | + <database>orcl</database> | ||
| 94 | + <port>1521</port> | ||
| 95 | + <username>jwgl_dw</username> | ||
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 97 | + <servername/> | ||
| 98 | + <data_tablespace/> | ||
| 99 | + <index_tablespace/> | ||
| 100 | + <attributes> | ||
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 110 | + </attributes> | ||
| 111 | + </connection> | ||
| 112 | + <connection> | ||
| 113 | + <name>bus_control_variable</name> | ||
| 114 | + <server>${v_db_ip}</server> | ||
| 115 | + <type>MYSQL</type> | ||
| 116 | + <access>Native</access> | ||
| 117 | + <database>${v_db_dname}</database> | ||
| 118 | + <port>3306</port> | ||
| 119 | + <username>${v_db_uname}</username> | ||
| 120 | + <password>${v_db_pwd}</password> | ||
| 121 | + <servername/> | ||
| 122 | + <data_tablespace/> | ||
| 123 | + <index_tablespace/> | ||
| 124 | + <attributes> | ||
| 125 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 126 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 127 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 129 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 130 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 131 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 132 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 133 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 134 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 135 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 136 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 137 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 138 | + </attributes> | ||
| 139 | + </connection> | ||
| 140 | + <connection> | ||
| 141 | + <name>bus_control_公司_201</name> | ||
| 142 | + <server>localhost</server> | ||
| 143 | + <type>MYSQL</type> | ||
| 144 | + <access>Native</access> | ||
| 145 | + <database>control</database> | ||
| 146 | + <port>3306</port> | ||
| 147 | + <username>root</username> | ||
| 148 | + <password>Encrypted </password> | ||
| 149 | + <servername/> | ||
| 150 | + <data_tablespace/> | ||
| 151 | + <index_tablespace/> | ||
| 152 | + <attributes> | ||
| 153 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 154 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 155 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 156 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 157 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 158 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 159 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 160 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 161 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 162 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 163 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 164 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 165 | + </attributes> | ||
| 166 | + </connection> | ||
| 167 | + <connection> | ||
| 168 | + <name>bus_control_本机</name> | ||
| 169 | + <server>localhost</server> | ||
| 170 | + <type>MYSQL</type> | ||
| 171 | + <access>Native</access> | ||
| 172 | + <database>control</database> | ||
| 173 | + <port>3306</port> | ||
| 174 | + <username>root</username> | ||
| 175 | + <password>Encrypted </password> | ||
| 176 | + <servername/> | ||
| 177 | + <data_tablespace/> | ||
| 178 | + <index_tablespace/> | ||
| 179 | + <attributes> | ||
| 180 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 181 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 182 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 183 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 184 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 185 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 186 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 187 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 188 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 189 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 190 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 191 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 192 | + </attributes> | ||
| 193 | + </connection> | ||
| 194 | + <connection> | ||
| 195 | + <name>xlab_mysql_youle</name> | ||
| 196 | + <server>101.231.124.8</server> | ||
| 197 | + <type>MYSQL</type> | ||
| 198 | + <access>Native</access> | ||
| 199 | + <database>xlab_youle</database> | ||
| 200 | + <port>45687</port> | ||
| 201 | + <username>xlab-youle</username> | ||
| 202 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 203 | + <servername/> | ||
| 204 | + <data_tablespace/> | ||
| 205 | + <index_tablespace/> | ||
| 206 | + <attributes> | ||
| 207 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 208 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 209 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 210 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 211 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 212 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 213 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 214 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 215 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 216 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 217 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 218 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 219 | + </attributes> | ||
| 220 | + </connection> | ||
| 221 | + <connection> | ||
| 222 | + <name>xlab_mysql_youle(本机)</name> | ||
| 223 | + <server>localhost</server> | ||
| 224 | + <type>MYSQL</type> | ||
| 225 | + <access>Native</access> | ||
| 226 | + <database>xlab_youle</database> | ||
| 227 | + <port>3306</port> | ||
| 228 | + <username>root</username> | ||
| 229 | + <password>Encrypted </password> | ||
| 230 | + <servername/> | ||
| 231 | + <data_tablespace/> | ||
| 232 | + <index_tablespace/> | ||
| 233 | + <attributes> | ||
| 234 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 235 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 236 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 237 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 238 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 239 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 240 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 241 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 242 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 243 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 244 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 245 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 246 | + </attributes> | ||
| 247 | + </connection> | ||
| 248 | + <connection> | ||
| 249 | + <name>xlab_youle</name> | ||
| 250 | + <server/> | ||
| 251 | + <type>MYSQL</type> | ||
| 252 | + <access>JNDI</access> | ||
| 253 | + <database>xlab_youle</database> | ||
| 254 | + <port>1521</port> | ||
| 255 | + <username/> | ||
| 256 | + <password>Encrypted </password> | ||
| 257 | + <servername/> | ||
| 258 | + <data_tablespace/> | ||
| 259 | + <index_tablespace/> | ||
| 260 | + <attributes> | ||
| 261 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 262 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 263 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 264 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 265 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 266 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 267 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 268 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 269 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 270 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 271 | + </attributes> | ||
| 272 | + </connection> | ||
| 273 | + <order> | ||
| 274 | + <hop> <from>插入/更新bsth_c_personnel</from><to>错误输出</to><enabled>Y</enabled> </hop> | ||
| 275 | + <hop> <from>获取变量</from><to>原始系统导出的Excel输入</to><enabled>Y</enabled> </hop> | ||
| 276 | + <hop> <from>原始系统导出的Excel输入</from><to>过滤记录</to><enabled>Y</enabled> </hop> | ||
| 277 | + <hop> <from>过滤记录</from><to>JavaScript代码</to><enabled>Y</enabled> </hop> | ||
| 278 | + <hop> <from>JavaScript代码</from><to>插入/更新bsth_c_personnel</to><enabled>Y</enabled> </hop> | ||
| 279 | + </order> | ||
| 280 | + <step> | ||
| 281 | + <name>JavaScript代码</name> | ||
| 282 | + <type>ScriptValueMod</type> | ||
| 283 | + <description/> | ||
| 284 | + <distribute>Y</distribute> | ||
| 285 | + <custom_distribution/> | ||
| 286 | + <copies>1</copies> | ||
| 287 | + <partitioning> | ||
| 288 | + <method>none</method> | ||
| 289 | + <schema_name/> | ||
| 290 | + </partitioning> | ||
| 291 | + <compatible>N</compatible> | ||
| 292 | + <optimizationLevel>9</optimizationLevel> | ||
| 293 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 294 | + <jsScript_name>Script 1</jsScript_name> | ||
| 295 | + <jsScript_script>//Script here

var gh_calcu = 工号;

if (工号.indexOf(所属公司代码 + "-") < 0) {
 gh_calcu = 所属公司代码 + "-" + 工号;
} </jsScript_script> | ||
| 296 | + </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name> | ||
| 297 | + <rename>gh_calcu</rename> | ||
| 298 | + <type>String</type> | ||
| 299 | + <length>-1</length> | ||
| 300 | + <precision>-1</precision> | ||
| 301 | + <replace>N</replace> | ||
| 302 | + </field> </fields> <cluster_schema/> | ||
| 303 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 304 | + <xloc>362</xloc> | ||
| 305 | + <yloc>190</yloc> | ||
| 306 | + <draw>Y</draw> | ||
| 307 | + </GUI> | ||
| 308 | + </step> | ||
| 309 | + | ||
| 310 | + <step> | ||
| 311 | + <name>原始系统导出的Excel输入</name> | ||
| 312 | + <type>ExcelInput</type> | ||
| 313 | + <description/> | ||
| 314 | + <distribute>Y</distribute> | ||
| 315 | + <custom_distribution/> | ||
| 316 | + <copies>1</copies> | ||
| 317 | + <partitioning> | ||
| 318 | + <method>none</method> | ||
| 319 | + <schema_name/> | ||
| 320 | + </partitioning> | ||
| 321 | + <header>Y</header> | ||
| 322 | + <noempty>Y</noempty> | ||
| 323 | + <stoponempty>N</stoponempty> | ||
| 324 | + <filefield/> | ||
| 325 | + <sheetfield/> | ||
| 326 | + <sheetrownumfield/> | ||
| 327 | + <rownumfield/> | ||
| 328 | + <sheetfield/> | ||
| 329 | + <filefield/> | ||
| 330 | + <limit>0</limit> | ||
| 331 | + <encoding/> | ||
| 332 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 333 | + <accept_filenames>Y</accept_filenames> | ||
| 334 | + <accept_field>filepath_</accept_field> | ||
| 335 | + <accept_stepname>获取变量</accept_stepname> | ||
| 336 | + <file> | ||
| 337 | + <name/> | ||
| 338 | + <filemask/> | ||
| 339 | + <exclude_filemask/> | ||
| 340 | + <file_required>N</file_required> | ||
| 341 | + <include_subfolders>N</include_subfolders> | ||
| 342 | + </file> | ||
| 343 | + <fields> | ||
| 344 | + <field> | ||
| 345 | + <name>姓名</name> | ||
| 346 | + <type>String</type> | ||
| 347 | + <length>-1</length> | ||
| 348 | + <precision>-1</precision> | ||
| 349 | + <trim_type>none</trim_type> | ||
| 350 | + <repeat>N</repeat> | ||
| 351 | + <format/> | ||
| 352 | + <currency/> | ||
| 353 | + <decimal/> | ||
| 354 | + <group/> | ||
| 355 | + </field> | ||
| 356 | + <field> | ||
| 357 | + <name>工号</name> | ||
| 358 | + <type>String</type> | ||
| 359 | + <length>-1</length> | ||
| 360 | + <precision>-1</precision> | ||
| 361 | + <trim_type>none</trim_type> | ||
| 362 | + <repeat>N</repeat> | ||
| 363 | + <format>#</format> | ||
| 364 | + <currency/> | ||
| 365 | + <decimal/> | ||
| 366 | + <group/> | ||
| 367 | + </field> | ||
| 368 | + <field> | ||
| 369 | + <name>所属公司</name> | ||
| 370 | + <type>String</type> | ||
| 371 | + <length>-1</length> | ||
| 372 | + <precision>-1</precision> | ||
| 373 | + <trim_type>none</trim_type> | ||
| 374 | + <repeat>N</repeat> | ||
| 375 | + <format/> | ||
| 376 | + <currency/> | ||
| 377 | + <decimal/> | ||
| 378 | + <group/> | ||
| 379 | + </field> | ||
| 380 | + <field> | ||
| 381 | + <name>所属公司代码</name> | ||
| 382 | + <type>String</type> | ||
| 383 | + <length>-1</length> | ||
| 384 | + <precision>-1</precision> | ||
| 385 | + <trim_type>none</trim_type> | ||
| 386 | + <repeat>N</repeat> | ||
| 387 | + <format/> | ||
| 388 | + <currency/> | ||
| 389 | + <decimal/> | ||
| 390 | + <group/> | ||
| 391 | + </field> | ||
| 392 | + <field> | ||
| 393 | + <name>所属分公司</name> | ||
| 394 | + <type>String</type> | ||
| 395 | + <length>-1</length> | ||
| 396 | + <precision>-1</precision> | ||
| 397 | + <trim_type>none</trim_type> | ||
| 398 | + <repeat>N</repeat> | ||
| 399 | + <format/> | ||
| 400 | + <currency/> | ||
| 401 | + <decimal/> | ||
| 402 | + <group/> | ||
| 403 | + </field> | ||
| 404 | + <field> | ||
| 405 | + <name>所属分公司代码</name> | ||
| 406 | + <type>String</type> | ||
| 407 | + <length>-1</length> | ||
| 408 | + <precision>-1</precision> | ||
| 409 | + <trim_type>none</trim_type> | ||
| 410 | + <repeat>N</repeat> | ||
| 411 | + <format/> | ||
| 412 | + <currency/> | ||
| 413 | + <decimal/> | ||
| 414 | + <group/> | ||
| 415 | + </field> | ||
| 416 | + </fields> | ||
| 417 | + <sheets> | ||
| 418 | + <sheet> | ||
| 419 | + <name>工作表1</name> | ||
| 420 | + <startrow>0</startrow> | ||
| 421 | + <startcol>0</startcol> | ||
| 422 | + </sheet> | ||
| 423 | + </sheets> | ||
| 424 | + <strict_types>N</strict_types> | ||
| 425 | + <error_ignored>N</error_ignored> | ||
| 426 | + <error_line_skipped>N</error_line_skipped> | ||
| 427 | + <bad_line_files_destination_directory/> | ||
| 428 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 429 | + <error_line_files_destination_directory/> | ||
| 430 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 431 | + <line_number_files_destination_directory/> | ||
| 432 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 433 | + <shortFileFieldName/> | ||
| 434 | + <pathFieldName/> | ||
| 435 | + <hiddenFieldName/> | ||
| 436 | + <lastModificationTimeFieldName/> | ||
| 437 | + <uriNameFieldName/> | ||
| 438 | + <rootUriNameFieldName/> | ||
| 439 | + <extensionFieldName/> | ||
| 440 | + <sizeFieldName/> | ||
| 441 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 442 | + <cluster_schema/> | ||
| 443 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 444 | + <xloc>158</xloc> | ||
| 445 | + <yloc>57</yloc> | ||
| 446 | + <draw>Y</draw> | ||
| 447 | + </GUI> | ||
| 448 | + </step> | ||
| 449 | + | ||
| 450 | + <step> | ||
| 451 | + <name>插入/更新bsth_c_personnel</name> | ||
| 452 | + <type>InsertUpdate</type> | ||
| 453 | + <description/> | ||
| 454 | + <distribute>Y</distribute> | ||
| 455 | + <custom_distribution/> | ||
| 456 | + <copies>1</copies> | ||
| 457 | + <partitioning> | ||
| 458 | + <method>none</method> | ||
| 459 | + <schema_name/> | ||
| 460 | + </partitioning> | ||
| 461 | + <connection>bus_control_variable</connection> | ||
| 462 | + <commit>5000</commit> | ||
| 463 | + <update_bypassed>N</update_bypassed> | ||
| 464 | + <lookup> | ||
| 465 | + <schema/> | ||
| 466 | + <table>bsth_c_personnel</table> | ||
| 467 | + <key> | ||
| 468 | + <name>gh_calcu</name> | ||
| 469 | + <field>job_code</field> | ||
| 470 | + <condition>=</condition> | ||
| 471 | + <name2/> | ||
| 472 | + </key> | ||
| 473 | + <value> | ||
| 474 | + <name>personnel_name</name> | ||
| 475 | + <rename>姓名</rename> | ||
| 476 | + <update>Y</update> | ||
| 477 | + </value> | ||
| 478 | + <value> | ||
| 479 | + <name>company</name> | ||
| 480 | + <rename>所属公司</rename> | ||
| 481 | + <update>Y</update> | ||
| 482 | + </value> | ||
| 483 | + <value> | ||
| 484 | + <name>company_code</name> | ||
| 485 | + <rename>所属公司代码</rename> | ||
| 486 | + <update>Y</update> | ||
| 487 | + </value> | ||
| 488 | + <value> | ||
| 489 | + <name>branche_company</name> | ||
| 490 | + <rename>所属分公司</rename> | ||
| 491 | + <update>Y</update> | ||
| 492 | + </value> | ||
| 493 | + <value> | ||
| 494 | + <name>branche_company_code</name> | ||
| 495 | + <rename>所属分公司代码</rename> | ||
| 496 | + <update>Y</update> | ||
| 497 | + </value> | ||
| 498 | + <value> | ||
| 499 | + <name>job_code</name> | ||
| 500 | + <rename>gh_calcu</rename> | ||
| 501 | + <update>Y</update> | ||
| 502 | + </value> | ||
| 503 | + </lookup> | ||
| 504 | + <cluster_schema/> | ||
| 505 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 506 | + <xloc>576</xloc> | ||
| 507 | + <yloc>56</yloc> | ||
| 508 | + <draw>Y</draw> | ||
| 509 | + </GUI> | ||
| 510 | + </step> | ||
| 511 | + | ||
| 512 | + <step> | ||
| 513 | + <name>获取变量</name> | ||
| 514 | + <type>GetVariable</type> | ||
| 515 | + <description/> | ||
| 516 | + <distribute>Y</distribute> | ||
| 517 | + <custom_distribution/> | ||
| 518 | + <copies>1</copies> | ||
| 519 | + <partitioning> | ||
| 520 | + <method>none</method> | ||
| 521 | + <schema_name/> | ||
| 522 | + </partitioning> | ||
| 523 | + <fields> | ||
| 524 | + <field> | ||
| 525 | + <name>filepath_</name> | ||
| 526 | + <variable>${filepath}</variable> | ||
| 527 | + <type>String</type> | ||
| 528 | + <format/> | ||
| 529 | + <currency/> | ||
| 530 | + <decimal/> | ||
| 531 | + <group/> | ||
| 532 | + <length>-1</length> | ||
| 533 | + <precision>-1</precision> | ||
| 534 | + <trim_type>none</trim_type> | ||
| 535 | + </field> | ||
| 536 | + <field> | ||
| 537 | + <name>erroroutputdir_</name> | ||
| 538 | + <variable>${erroroutputdir}</variable> | ||
| 539 | + <type>String</type> | ||
| 540 | + <format/> | ||
| 541 | + <currency/> | ||
| 542 | + <decimal/> | ||
| 543 | + <group/> | ||
| 544 | + <length>-1</length> | ||
| 545 | + <precision>-1</precision> | ||
| 546 | + <trim_type>none</trim_type> | ||
| 547 | + </field> | ||
| 548 | + </fields> | ||
| 549 | + <cluster_schema/> | ||
| 550 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 551 | + <xloc>90</xloc> | ||
| 552 | + <yloc>148</yloc> | ||
| 553 | + <draw>Y</draw> | ||
| 554 | + </GUI> | ||
| 555 | + </step> | ||
| 556 | + | ||
| 557 | + <step> | ||
| 558 | + <name>过滤记录</name> | ||
| 559 | + <type>FilterRows</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 | +<send_true_to/> | ||
| 569 | +<send_false_to/> | ||
| 570 | + <compare> | ||
| 571 | +<condition> | ||
| 572 | + <negated>N</negated> | ||
| 573 | + <conditions> | ||
| 574 | + <condition> | ||
| 575 | + <negated>N</negated> | ||
| 576 | + <leftvalue>工号</leftvalue> | ||
| 577 | + <function>IS NOT NULL</function> | ||
| 578 | + <rightvalue/> | ||
| 579 | + </condition> | ||
| 580 | + <condition> | ||
| 581 | + <negated>N</negated> | ||
| 582 | + <operator>AND</operator> | ||
| 583 | + <leftvalue>所属公司代码</leftvalue> | ||
| 584 | + <function>IS NOT NULL</function> | ||
| 585 | + <rightvalue/> | ||
| 586 | + </condition> | ||
| 587 | + </conditions> | ||
| 588 | + </condition> | ||
| 589 | + </compare> | ||
| 590 | + <cluster_schema/> | ||
| 591 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 592 | + <xloc>358</xloc> | ||
| 593 | + <yloc>57</yloc> | ||
| 594 | + <draw>Y</draw> | ||
| 595 | + </GUI> | ||
| 596 | + </step> | ||
| 597 | + | ||
| 598 | + <step> | ||
| 599 | + <name>错误输出</name> | ||
| 600 | + <type>ExcelOutput</type> | ||
| 601 | + <description/> | ||
| 602 | + <distribute>Y</distribute> | ||
| 603 | + <custom_distribution/> | ||
| 604 | + <copies>1</copies> | ||
| 605 | + <partitioning> | ||
| 606 | + <method>none</method> | ||
| 607 | + <schema_name/> | ||
| 608 | + </partitioning> | ||
| 609 | + <header>Y</header> | ||
| 610 | + <footer>N</footer> | ||
| 611 | + <encoding>UTF-8</encoding> | ||
| 612 | + <append>N</append> | ||
| 613 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 614 | + <file> | ||
| 615 | + <name>${erroroutputdir}/人员基础信息_错误</name> | ||
| 616 | + <extention>xls</extention> | ||
| 617 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | ||
| 618 | + <create_parent_folder>N</create_parent_folder> | ||
| 619 | + <split>N</split> | ||
| 620 | + <add_date>N</add_date> | ||
| 621 | + <add_time>N</add_time> | ||
| 622 | + <SpecifyFormat>N</SpecifyFormat> | ||
| 623 | + <date_time_format/> | ||
| 624 | + <sheetname>Sheet1</sheetname> | ||
| 625 | + <autosizecolums>N</autosizecolums> | ||
| 626 | + <nullisblank>N</nullisblank> | ||
| 627 | + <protect_sheet>N</protect_sheet> | ||
| 628 | + <password>Encrypted </password> | ||
| 629 | + <splitevery>0</splitevery> | ||
| 630 | + <usetempfiles>N</usetempfiles> | ||
| 631 | + <tempdirectory/> | ||
| 632 | + </file> | ||
| 633 | + <template> | ||
| 634 | + <enabled>N</enabled> | ||
| 635 | + <append>N</append> | ||
| 636 | + <filename>template.xls</filename> | ||
| 637 | + </template> | ||
| 638 | + <fields> | ||
| 639 | + <field> | ||
| 640 | + <name>姓名</name> | ||
| 641 | + <type>String</type> | ||
| 642 | + <format/> | ||
| 643 | + </field> | ||
| 644 | + <field> | ||
| 645 | + <name>工号</name> | ||
| 646 | + <type>String</type> | ||
| 647 | + <format/> | ||
| 648 | + </field> | ||
| 649 | + <field> | ||
| 650 | + <name>所属公司</name> | ||
| 651 | + <type>String</type> | ||
| 652 | + <format/> | ||
| 653 | + </field> | ||
| 654 | + <field> | ||
| 655 | + <name>所属公司代码</name> | ||
| 656 | + <type>String</type> | ||
| 657 | + <format/> | ||
| 658 | + </field> | ||
| 659 | + <field> | ||
| 660 | + <name>所属分公司</name> | ||
| 661 | + <type>String</type> | ||
| 662 | + <format/> | ||
| 663 | + </field> | ||
| 664 | + <field> | ||
| 665 | + <name>所属分公司代码</name> | ||
| 666 | + <type>String</type> | ||
| 667 | + <format/> | ||
| 668 | + </field> | ||
| 669 | + <field> | ||
| 670 | + <name>gh_calcu</name> | ||
| 671 | + <type>String</type> | ||
| 672 | + <format/> | ||
| 673 | + </field> | ||
| 674 | + <field> | ||
| 675 | + <name>error_count</name> | ||
| 676 | + <type>Integer</type> | ||
| 677 | + <format/> | ||
| 678 | + </field> | ||
| 679 | + <field> | ||
| 680 | + <name>error_desc</name> | ||
| 681 | + <type>String</type> | ||
| 682 | + <format/> | ||
| 683 | + </field> | ||
| 684 | + <field> | ||
| 685 | + <name>error_column1</name> | ||
| 686 | + <type>String</type> | ||
| 687 | + <format/> | ||
| 688 | + </field> | ||
| 689 | + <field> | ||
| 690 | + <name>error_column2</name> | ||
| 691 | + <type>String</type> | ||
| 692 | + <format/> | ||
| 693 | + </field> | ||
| 694 | + </fields> | ||
| 695 | + <custom> | ||
| 696 | + <header_font_name>arial</header_font_name> | ||
| 697 | + <header_font_size>10</header_font_size> | ||
| 698 | + <header_font_bold>N</header_font_bold> | ||
| 699 | + <header_font_italic>N</header_font_italic> | ||
| 700 | + <header_font_underline>no</header_font_underline> | ||
| 701 | + <header_font_orientation>horizontal</header_font_orientation> | ||
| 702 | + <header_font_color>black</header_font_color> | ||
| 703 | + <header_background_color>none</header_background_color> | ||
| 704 | + <header_row_height>255</header_row_height> | ||
| 705 | + <header_alignment>left</header_alignment> | ||
| 706 | + <header_image/> | ||
| 707 | + <row_font_name>arial</row_font_name> | ||
| 708 | + <row_font_size>10</row_font_size> | ||
| 709 | + <row_font_color>black</row_font_color> | ||
| 710 | + <row_background_color>none</row_background_color> | ||
| 711 | + </custom> | ||
| 712 | + <cluster_schema/> | ||
| 713 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | + <xloc>578</xloc> | ||
| 715 | + <yloc>223</yloc> | ||
| 716 | + <draw>Y</draw> | ||
| 717 | + </GUI> | ||
| 718 | + </step> | ||
| 719 | + | ||
| 720 | + <step_error_handling> | ||
| 721 | + <error> | ||
| 722 | + <source_step>插入/更新bsth_c_personnel</source_step> | ||
| 723 | + <target_step>错误输出</target_step> | ||
| 724 | + <is_enabled>Y</is_enabled> | ||
| 725 | + <nr_valuename>error_count</nr_valuename> | ||
| 726 | + <descriptions_valuename>error_desc</descriptions_valuename> | ||
| 727 | + <fields_valuename>error_column1</fields_valuename> | ||
| 728 | + <codes_valuename>error_column2</codes_valuename> | ||
| 729 | + <max_errors/> | ||
| 730 | + <max_pct_errors/> | ||
| 731 | + <min_pct_rows/> | ||
| 732 | + </error> | ||
| 733 | + </step_error_handling> | ||
| 734 | + <slave-step-copy-partition-distribution> | ||
| 735 | +</slave-step-copy-partition-distribution> | ||
| 736 | + <slave_transformation>N</slave_transformation> | ||
| 737 | + | ||
| 738 | +</transformation> |