Commit f6148eb393b2c8441f8e4e47f0b35cd8577ea6e3

Authored by 徐烜
2 parents e870d028 2c729139

Update

Showing 29 changed files with 3119 additions and 2804 deletions
src/main/java/com/bsth/controller/oil/CwjyController.java
@@ -2,6 +2,8 @@ package com.bsth.controller.oil; @@ -2,6 +2,8 @@ package com.bsth.controller.oil;
2 2
3 3
4 import java.util.Date; 4 import java.util.Date;
  5 +import java.util.HashMap;
  6 +import java.util.List;
5 import java.util.Map; 7 import java.util.Map;
6 8
7 import org.springframework.beans.factory.annotation.Autowired; 9 import org.springframework.beans.factory.annotation.Autowired;
@@ -31,9 +33,9 @@ public class CwjyController extends BaseController<Cwjy, Integer>{ @@ -31,9 +33,9 @@ public class CwjyController extends BaseController<Cwjy, Integer>{
31 return service.save(t); 33 return service.save(t);
32 } 34 }
33 35
34 - @RequestMapping(value = "/pagequery",method = RequestMethod.GET)  
35 - public PageObject<Ylxxb> pagequery(@RequestParam Map<String, Object> map){  
36 - PageObject<Ylxxb> pagequery=null; 36 + @RequestMapping(value = "/queryList",method = RequestMethod.GET)
  37 + public List<Ylxxb> queryList(@RequestParam Map<String, Object> map){
  38 + List<Ylxxb> pagequery=null;
37 map.put("curPage", map.get("page").toString()); 39 map.put("curPage", map.get("page").toString());
38 map.put("pageData","10"); 40 map.put("pageData","10");
39 pagequery=service.Pagequery(map); 41 pagequery=service.Pagequery(map);
@@ -56,9 +58,15 @@ public class CwjyController extends BaseController&lt;Cwjy, Integer&gt;{ @@ -56,9 +58,15 @@ public class CwjyController extends BaseController&lt;Cwjy, Integer&gt;{
56 * @throws 58 * @throws
57 */ 59 */
58 @RequestMapping(value="/savejzl",method = RequestMethod.POST) 60 @RequestMapping(value="/savejzl",method = RequestMethod.POST)
59 - public Map<String, Object> savejzl(Ylxxb t){  
60 - Map<String, Object> map=service.savejzl(t);  
61 - return map; 61 + public Map<String, Object> savejzl(Map<String, Object> map){
  62 + Map<String, Object> maps=new HashMap<>();
  63 + try {
  64 + maps = service.savejzl(map);
  65 + } catch (Exception e) {
  66 + // TODO Auto-generated catch block
  67 + e.printStackTrace();
  68 + }
  69 + return maps;
62 } 70 }
63 71
64 } 72 }
src/main/java/com/bsth/controller/oil/YlxxbController.java
1 package com.bsth.controller.oil; 1 package com.bsth.controller.oil;
2 2
  3 +import java.util.HashMap;
3 import java.util.Map; 4 import java.util.Map;
4 5
5 import org.springframework.beans.factory.annotation.Autowired; 6 import org.springframework.beans.factory.annotation.Autowired;
@@ -33,9 +34,15 @@ public class YlxxbController extends BaseController&lt;Ylxxb, Integer&gt;{ @@ -33,9 +34,15 @@ public class YlxxbController extends BaseController&lt;Ylxxb, Integer&gt;{
33 * @param map 34 * @param map
34 * @return 35 * @return
35 */ 36 */
36 - @RequestMapping(value = "/check",method = RequestMethod.GET) 37 + @RequestMapping(value = "/check",method = RequestMethod.POST)
37 public Map<String, Object> check(@RequestParam Map<String, Object> map){ 38 public Map<String, Object> check(@RequestParam Map<String, Object> map){
38 - Map<String, Object> list=service.checkJsy(map); 39 + Map<String, Object> list=new HashMap<>();
  40 + try {
  41 + list = service.checkJsy(map);
  42 + } catch (Exception e) {
  43 + // TODO Auto-generated catch block
  44 + e.printStackTrace();
  45 + }
39 return list; 46 return list;
40 } 47 }
41 } 48 }
src/main/java/com/bsth/controller/report/ReportController.java
@@ -108,4 +108,9 @@ public class ReportController { @@ -108,4 +108,9 @@ public class ReportController {
108 return service.carList(map); 108 return service.carList(map);
109 } 109 }
110 110
  111 + @RequestMapping(value="/userList",method = RequestMethod.GET)
  112 + public List<Map<String,String>> userList(@RequestParam Map<String, Object> map){
  113 + return service.userList(map);
  114 + }
  115 +
111 } 116 }
src/main/java/com/bsth/data/gpsdata/arrival/handlers/CorrectSignalHandle.java
@@ -6,6 +6,9 @@ import com.bsth.data.gpsdata.arrival.utils.CircleQueue; @@ -6,6 +6,9 @@ import com.bsth.data.gpsdata.arrival.utils.CircleQueue;
6 import com.bsth.data.schedule.DayOfSchedule; 6 import com.bsth.data.schedule.DayOfSchedule;
7 import com.bsth.entity.realcontrol.ChildTaskPlan; 7 import com.bsth.entity.realcontrol.ChildTaskPlan;
8 import com.bsth.entity.realcontrol.ScheduleRealInfo; 8 import com.bsth.entity.realcontrol.ScheduleRealInfo;
  9 +import com.bsth.service.directive.DirectiveService;
  10 +import org.slf4j.Logger;
  11 +import org.slf4j.LoggerFactory;
9 import org.springframework.beans.factory.annotation.Autowired; 12 import org.springframework.beans.factory.annotation.Autowired;
10 import org.springframework.stereotype.Component; 13 import org.springframework.stereotype.Component;
11 14
@@ -18,6 +21,10 @@ public class CorrectSignalHandle extends SignalHandle { @@ -18,6 +21,10 @@ public class CorrectSignalHandle extends SignalHandle {
18 21
19 @Autowired 22 @Autowired
20 DayOfSchedule dayOfSchedule; 23 DayOfSchedule dayOfSchedule;
  24 + @Autowired
  25 + DirectiveService directiveService;
  26 +
  27 + Logger logger = LoggerFactory.getLogger(this.getClass());
21 28
22 @Override 29 @Override
23 public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) { 30 public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) {
@@ -41,6 +48,11 @@ public class CorrectSignalHandle extends SignalHandle { @@ -41,6 +48,11 @@ public class CorrectSignalHandle extends SignalHandle {
41 gps.setState(0); 48 gps.setState(0);
42 } 49 }
43 50
  51 + /*if(gps.getState() != 0){
  52 + logger.info(gps.getNbbm() + " 纠正状态到营运");
  53 + //切换到营运状态
  54 + directiveService.send60Operation(sch.getClZbh(), 0, Integer.parseInt(sch.getXlDir()), null, "纠正@系统");
  55 + }*/
44 56
45 return true; 57 return true;
46 } 58 }
src/main/java/com/bsth/entity/schedule/temp/SchedulePlanRuleResult.java
1 -package com.bsth.entity.schedule.temp;  
2 -  
3 -import com.bsth.entity.schedule.SchedulePlan;  
4 -  
5 -import javax.persistence.Entity;  
6 -import javax.persistence.GeneratedValue;  
7 -import javax.persistence.Id;  
8 -import javax.persistence.Table;  
9 -import java.util.Date;  
10 -  
11 -/**  
12 - * 排班的中间结果数据,记录每次排班后规则的变化。  
13 - */  
14 -@Entity  
15 -@Table(name = "bsth_c_s_sp_rule_rst")  
16 -public class SchedulePlanRuleResult {  
17 - /** 主键Id */  
18 - @Id  
19 - @GeneratedValue  
20 - private Long id;  
21 -  
22 - /** 线路id */  
23 - private String xlId;  
24 - /** 线路名字 */  
25 - private String xlName;  
26 -  
27 - /** 排班规则id */  
28 - private String ruleId;  
29 - /** 车辆配置id */  
30 - private String ccId;  
31 - /** 车辆自编号 */  
32 - private String ccZbh;  
33 -  
34 - /** 路牌id列表字符串 */  
35 - private String gids;  
36 - /** 路牌名字列表字符串 */  
37 - private String gnames;  
38 - /** 翻到哪个路牌索引 */  
39 - private String gidindex;  
40 - /** 人员配置id列表字符串 */  
41 - private String ecids;  
42 - /** 人员配置搭班编码列表字符串 */  
43 - private String ecdbbms;  
44 - /** 翻到哪个人员配置索引 */  
45 - private String ecindex;  
46 -  
47 - /** 时刻表id */  
48 - private String ttinfoId;  
49 - /** 时刻表名字 */  
50 - private String ttinfoName;  
51 -  
52 - /** 排班日期 */  
53 - private Date scheduleDate;  
54 -  
55 - /** 操作人员id */  
56 - private String sysuserId;  
57 - /** 操作人员姓名 */  
58 - private String sysuserName;  
59 - /** 操作时间 */  
60 - private Date createDate;  
61 -  
62 - public SchedulePlanRuleResult() {  
63 -  
64 - }  
65 - public SchedulePlanRuleResult(SchedulePlan schedulePlan) {  
66 - this.sysuserId = schedulePlan.getCreateBy().getId().toString();  
67 - this.sysuserName = schedulePlan.getCreateBy().getName();  
68 -// this.createDate = schedulePlan.getCreateDate();  
69 - this.createDate = new Date();  
70 - }  
71 -  
72 - public Long getId() {  
73 - return id;  
74 - }  
75 -  
76 - public void setId(Long id) {  
77 - this.id = id;  
78 - }  
79 -  
80 - public String getRuleId() {  
81 - return ruleId;  
82 - }  
83 -  
84 - public void setRuleId(String ruleId) {  
85 - this.ruleId = ruleId;  
86 - }  
87 -  
88 - public String getCcId() {  
89 - return ccId;  
90 - }  
91 -  
92 - public void setCcId(String ccId) {  
93 - this.ccId = ccId;  
94 - }  
95 -  
96 - public String getCcZbh() {  
97 - return ccZbh;  
98 - }  
99 -  
100 - public void setCcZbh(String ccZbh) {  
101 - this.ccZbh = ccZbh;  
102 - }  
103 -  
104 - public String getGids() {  
105 - return gids;  
106 - }  
107 -  
108 - public void setGids(String gids) {  
109 - this.gids = gids;  
110 - }  
111 -  
112 - public String getGnames() {  
113 - return gnames;  
114 - }  
115 -  
116 - public void setGnames(String gnames) {  
117 - this.gnames = gnames;  
118 - }  
119 -  
120 - public String getGidindex() {  
121 - return gidindex;  
122 - }  
123 -  
124 - public void setGidindex(String gidindex) {  
125 - this.gidindex = gidindex;  
126 - }  
127 -  
128 - public String getEcids() {  
129 - return ecids;  
130 - }  
131 -  
132 - public void setEcids(String ecids) {  
133 - this.ecids = ecids;  
134 - }  
135 -  
136 - public String getEcdbbms() {  
137 - return ecdbbms;  
138 - }  
139 -  
140 - public void setEcdbbms(String ecdbbms) {  
141 - this.ecdbbms = ecdbbms;  
142 - }  
143 -  
144 - public String getEcindex() {  
145 - return ecindex;  
146 - }  
147 -  
148 - public void setEcindex(String ecindex) {  
149 - this.ecindex = ecindex;  
150 - }  
151 -  
152 - public Date getScheduleDate() {  
153 - return scheduleDate;  
154 - }  
155 -  
156 - public void setScheduleDate(Date scheduleDate) {  
157 - this.scheduleDate = scheduleDate;  
158 - }  
159 -  
160 - public String getSysuserId() {  
161 - return sysuserId;  
162 - }  
163 -  
164 - public void setSysuserId(String sysuserId) {  
165 - this.sysuserId = sysuserId;  
166 - }  
167 -  
168 - public String getSysuserName() {  
169 - return sysuserName;  
170 - }  
171 -  
172 - public void setSysuserName(String sysuserName) {  
173 - this.sysuserName = sysuserName;  
174 - }  
175 -  
176 - public Date getCreateDate() {  
177 - return createDate;  
178 - }  
179 -  
180 - public void setCreateDate(Date createDate) {  
181 - this.createDate = createDate;  
182 - }  
183 -  
184 - public String getXlId() {  
185 - return xlId;  
186 - }  
187 -  
188 - public void setXlId(String xlId) {  
189 - this.xlId = xlId;  
190 - }  
191 -  
192 - public String getXlName() {  
193 - return xlName;  
194 - }  
195 -  
196 - public void setXlName(String xlName) {  
197 - this.xlName = xlName;  
198 - }  
199 -  
200 - public String getTtinfoId() {  
201 - return ttinfoId;  
202 - }  
203 -  
204 - public void setTtinfoId(String ttinfoId) {  
205 - this.ttinfoId = ttinfoId;  
206 - }  
207 -  
208 - public String getTtinfoName() {  
209 - return ttinfoName;  
210 - }  
211 -  
212 - public void setTtinfoName(String ttinfoName) {  
213 - this.ttinfoName = ttinfoName;  
214 - }  
215 -} 1 +package com.bsth.entity.schedule.temp;
  2 +
  3 +import com.bsth.entity.schedule.SchedulePlan;
  4 +
  5 +import javax.persistence.Entity;
  6 +import javax.persistence.GeneratedValue;
  7 +import javax.persistence.Id;
  8 +import javax.persistence.Table;
  9 +import java.util.Date;
  10 +
  11 +/**
  12 + * 排班的中间结果数据,记录每次排班后规则的变化。
  13 + */
  14 +@Entity
  15 +@Table(name = "bsth_c_s_sp_rule_rst")
  16 +public class SchedulePlanRuleResult {
  17 + /** 主键Id */
  18 + @Id
  19 + @GeneratedValue
  20 + private Long id;
  21 +
  22 + /** 线路id */
  23 + private String xlId;
  24 + /** 线路名字 */
  25 + private String xlName;
  26 +
  27 + /** 排班规则id */
  28 + private String ruleId;
  29 + /** 车辆配置id */
  30 + private String ccId;
  31 + /** 车辆自编号 */
  32 + private String ccZbh;
  33 +
  34 + /** 路牌id列表字符串 */
  35 + private String gids;
  36 + /** 路牌名字列表字符串 */
  37 + private String gnames;
  38 + /** 翻到哪个路牌索引 */
  39 + private String gidindex;
  40 + /** 人员配置id列表字符串 */
  41 + private String ecids;
  42 + /** 人员配置搭班编码列表字符串 */
  43 + private String ecdbbms;
  44 + /** 翻到哪个人员配置索引 */
  45 + private String ecindex;
  46 +
  47 + /** 时刻表id */
  48 + private String ttinfoId;
  49 + /** 时刻表名字 */
  50 + private String ttinfoName;
  51 +
  52 + /** 排班日期 */
  53 + private Date scheduleDate;
  54 +
  55 + /** 操作人员id */
  56 + private String sysuserId;
  57 + /** 操作人员姓名 */
  58 + private String sysuserName;
  59 + /** 操作时间 */
  60 + private Date createDate;
  61 +
  62 + public SchedulePlanRuleResult() {
  63 +
  64 + }
  65 + public SchedulePlanRuleResult(SchedulePlan schedulePlan) {
  66 + this.sysuserId = schedulePlan.getCreateBy().getId().toString();
  67 + this.sysuserName = schedulePlan.getCreateBy().getName();
  68 +// this.createDate = schedulePlan.getCreateDate();
  69 + this.createDate = new Date();
  70 + }
  71 +
  72 + public Long getId() {
  73 + return id;
  74 + }
  75 +
  76 + public void setId(Long id) {
  77 + this.id = id;
  78 + }
  79 +
  80 + public String getRuleId() {
  81 + return ruleId;
  82 + }
  83 +
  84 + public void setRuleId(String ruleId) {
  85 + this.ruleId = ruleId;
  86 + }
  87 +
  88 + public String getCcId() {
  89 + return ccId;
  90 + }
  91 +
  92 + public void setCcId(String ccId) {
  93 + this.ccId = ccId;
  94 + }
  95 +
  96 + public String getCcZbh() {
  97 + return ccZbh;
  98 + }
  99 +
  100 + public void setCcZbh(String ccZbh) {
  101 + this.ccZbh = ccZbh;
  102 + }
  103 +
  104 + public String getGids() {
  105 + return gids;
  106 + }
  107 +
  108 + public void setGids(String gids) {
  109 + this.gids = gids;
  110 + }
  111 +
  112 + public String getGnames() {
  113 + return gnames;
  114 + }
  115 +
  116 + public void setGnames(String gnames) {
  117 + this.gnames = gnames;
  118 + }
  119 +
  120 + public String getGidindex() {
  121 + return gidindex;
  122 + }
  123 +
  124 + public void setGidindex(String gidindex) {
  125 + this.gidindex = gidindex;
  126 + }
  127 +
  128 + public String getEcids() {
  129 + return ecids;
  130 + }
  131 +
  132 + public void setEcids(String ecids) {
  133 + this.ecids = ecids;
  134 + }
  135 +
  136 + public String getEcdbbms() {
  137 + return ecdbbms;
  138 + }
  139 +
  140 + public void setEcdbbms(String ecdbbms) {
  141 + this.ecdbbms = ecdbbms;
  142 + }
  143 +
  144 + public String getEcindex() {
  145 + return ecindex;
  146 + }
  147 +
  148 + public void setEcindex(String ecindex) {
  149 + this.ecindex = ecindex;
  150 + }
  151 +
  152 + public Date getScheduleDate() {
  153 + return scheduleDate;
  154 + }
  155 +
  156 + public void setScheduleDate(Date scheduleDate) {
  157 + this.scheduleDate = scheduleDate;
  158 + }
  159 +
  160 + public String getSysuserId() {
  161 + return sysuserId;
  162 + }
  163 +
  164 + public void setSysuserId(String sysuserId) {
  165 + this.sysuserId = sysuserId;
  166 + }
  167 +
  168 + public String getSysuserName() {
  169 + return sysuserName;
  170 + }
  171 +
  172 + public void setSysuserName(String sysuserName) {
  173 + this.sysuserName = sysuserName;
  174 + }
  175 +
  176 + public Date getCreateDate() {
  177 + return createDate;
  178 + }
  179 +
  180 + public void setCreateDate(Date createDate) {
  181 + this.createDate = createDate;
  182 + }
  183 +
  184 + public String getXlId() {
  185 + return xlId;
  186 + }
  187 +
  188 + public void setXlId(String xlId) {
  189 + this.xlId = xlId;
  190 + }
  191 +
  192 + public String getXlName() {
  193 + return xlName;
  194 + }
  195 +
  196 + public void setXlName(String xlName) {
  197 + this.xlName = xlName;
  198 + }
  199 +
  200 + public String getTtinfoId() {
  201 + return ttinfoId;
  202 + }
  203 +
  204 + public void setTtinfoId(String ttinfoId) {
  205 + this.ttinfoId = ttinfoId;
  206 + }
  207 +
  208 + public String getTtinfoName() {
  209 + return ttinfoName;
  210 + }
  211 +
  212 + public void setTtinfoName(String ttinfoName) {
  213 + this.ttinfoName = ttinfoName;
  214 + }
  215 +}
src/main/java/com/bsth/repository/schedule/SchedulePlanRuleResultRepository.java
1 -package com.bsth.repository.schedule;  
2 -  
3 -import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;  
4 -import com.bsth.repository.BaseRepository;  
5 -import org.springframework.data.jpa.repository.Modifying;  
6 -import org.springframework.data.jpa.repository.Query;  
7 -import org.springframework.stereotype.Repository;  
8 -  
9 -import java.util.Date;  
10 -import java.util.List;  
11 -  
12 -/**  
13 - * Created by xu on 17/3/29.  
14 - */  
15 -@Repository  
16 -public interface SchedulePlanRuleResultRepository extends BaseRepository<SchedulePlanRuleResult, Long> {  
17 -  
18 - @Query("select t from SchedulePlanRuleResult t " +  
19 - "where not exists (select 1 from SchedulePlanRuleResult " +  
20 - "where createDate > t.createDate and scheduleDate < ?2 ) " +  
21 - "and t.xlId = ?1 and t.scheduleDate < ?2")  
22 - List<SchedulePlanRuleResult> findLastByXl(String xlid, Date from);  
23 -  
24 -// @Modifying  
25 -// @Query("delete from SchedulePlanRuleResult t " +  
26 -// "where t.xlId = ?1 and t.scheduleDate >= ?2 and t.scheduleDate <= ?3")  
27 -// void deleteByXlAndDate(String xlid, Date from, Date to);  
28 -} 1 +package com.bsth.repository.schedule;
  2 +
  3 +import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;
  4 +import com.bsth.repository.BaseRepository;
  5 +import org.springframework.data.jpa.repository.Modifying;
  6 +import org.springframework.data.jpa.repository.Query;
  7 +import org.springframework.stereotype.Repository;
  8 +
  9 +import java.util.Date;
  10 +import java.util.List;
  11 +
  12 +/**
  13 + * Created by xu on 17/3/29.
  14 + */
  15 +@Repository
  16 +public interface SchedulePlanRuleResultRepository extends BaseRepository<SchedulePlanRuleResult, Long> {
  17 +
  18 + @Query("select t from SchedulePlanRuleResult t " +
  19 + "where not exists (select 1 from SchedulePlanRuleResult " +
  20 + "where createDate > t.createDate and scheduleDate < ?2 ) " +
  21 + "and t.xlId = ?1 and t.scheduleDate < ?2")
  22 + List<SchedulePlanRuleResult> findLastByXl(String xlid, Date from);
  23 +
  24 +// @Modifying
  25 +// @Query("delete from SchedulePlanRuleResult t " +
  26 +// "where t.xlId = ?1 and t.scheduleDate >= ?2 and t.scheduleDate <= ?3")
  27 +// void deleteByXlAndDate(String xlid, Date from, Date to);
  28 +}
src/main/java/com/bsth/service/forms/impl/FormsServiceImpl.java
@@ -731,22 +731,33 @@ public class FormsServiceImpl implements FormsService { @@ -731,22 +731,33 @@ public class FormsServiceImpl implements FormsService {
731 731
732 @Override 732 @Override
733 public List<Daily> daily(Map<String, Object> map) { 733 public List<Daily> daily(Map<String, Object> map) {
  734 +
  735 + String gsbm="";
  736 + if(map.get("gsdmDaily")!=null){
  737 + gsbm=map.get("gsdmDaily").toString();
  738 + }
  739 +
  740 + String fgsbm="";
  741 + if(map.get("fgsdmDaily").toString()!=null){
  742 + fgsbm=map.get("fgsdmDaily").toString();
  743 + }
  744 +
734 String sql="select t.schedule_date_str," 745 String sql="select t.schedule_date_str,"
735 + " t.cl_zbh,t.j_gh,t.j_name,x.yh from (select r.schedule_date_str,r.xl_bm,r.xl_name," 746 + " t.cl_zbh,t.j_gh,t.j_name,x.yh from (select r.schedule_date_str,r.xl_bm,r.xl_name,"
736 + " r.cl_zbh,r.j_gh,r.j_name from bsth_c_s_sp_info_real r WHERE " 747 + " r.cl_zbh,r.j_gh,r.j_name from bsth_c_s_sp_info_real r WHERE "
737 - + " r.xl_bm='" + map.get("line").toString() + "' and to_days(r.schedule_date)=to_days('"+map.get("date").toString()+"') "  
738 - + " and r.gs_bm like '%"+map.get("gsdmDaily").toString()+"%' "  
739 - + " and r.fgs_bm like '%"+map.get("fgsdmDaily").toString()+"%' " 748 + + " r.xl_bm='" + map.get("line").toString() + "' "
  749 + + " and to_days(r.schedule_date)=to_days('"+map.get("date").toString()+"') "
  750 + + " and r.gs_bm like '%"+gsbm+"%' "
  751 + + " and r.fgs_bm like '%"+fgsbm+"%' "
740 + " GROUP BY r.schedule_date_str,r.xl_bm,r.xl_name,r.cl_zbh,r.j_gh,r.j_name) t" 752 + " GROUP BY r.schedule_date_str,r.xl_bm,r.xl_name,r.cl_zbh,r.j_gh,r.j_name) t"
741 + " left join (select * from bsth_c_ylb y where " 753 + " left join (select * from bsth_c_ylb y where "
742 + " to_days(y.rq)=to_days('"+map.get("date").toString()+"') " 754 + " to_days(y.rq)=to_days('"+map.get("date").toString()+"') "
743 + " and y.xlbm= '" + map.get("line").toString() + "'" 755 + " and y.xlbm= '" + map.get("line").toString() + "'"
744 - + " and y.ssgsdm like '%"+map.get("gsdmDaily").toString()+"%' "  
745 - + " and y.fgsdm like '%"+map.get("fgsdmDaily").toString()+"%'" 756 + + " and y.ssgsdm like '%"+gsbm+"%' "
  757 + + " and y.fgsdm like '%"+fgsbm+"%'"
746 + " ) x" 758 + " ) x"
747 + " on t.cl_zbh = x.nbbm "; 759 + " on t.cl_zbh = x.nbbm ";
748 760
749 - System.out.println(new Date());  
750 List<Daily> list = jdbcTemplate.query(sql, new RowMapper<Daily>() { 761 List<Daily> list = jdbcTemplate.query(sql, new RowMapper<Daily>() {
751 @Override 762 @Override
752 public Daily mapRow(ResultSet arg0, int arg1) throws SQLException { 763 public Daily mapRow(ResultSet arg0, int arg1) throws SQLException {
src/main/java/com/bsth/service/oil/CwjyService.java
1 package com.bsth.service.oil; 1 package com.bsth.service.oil;
2 2
3 3
  4 +import java.util.List;
4 import java.util.Map; 5 import java.util.Map;
5 6
6 import com.bsth.entity.oil.Cwjy; 7 import com.bsth.entity.oil.Cwjy;
@@ -9,8 +10,8 @@ import com.bsth.service.BaseService; @@ -9,8 +10,8 @@ import com.bsth.service.BaseService;
9 import com.bsth.util.PageObject; 10 import com.bsth.util.PageObject;
10 11
11 public interface CwjyService extends BaseService<Cwjy, Integer>{ 12 public interface CwjyService extends BaseService<Cwjy, Integer>{
12 - PageObject<Ylxxb> Pagequery(Map<String, Object> map) ; 13 + List<Ylxxb> Pagequery(Map<String, Object> map) ;
13 Ylxxb bynbbm(Map<String, Object> map); 14 Ylxxb bynbbm(Map<String, Object> map);
14 15
15 - Map<String, Object> savejzl(Ylxxb t); 16 + Map<String, Object> savejzl(Map<String, Object> map) throws Exception ;
16 } 17 }
src/main/java/com/bsth/service/oil/YlxxbService.java
@@ -9,6 +9,6 @@ import com.bsth.util.PageObject; @@ -9,6 +9,6 @@ import com.bsth.util.PageObject;
9 public interface YlxxbService extends BaseService<Ylxxb, Integer>{ 9 public interface YlxxbService extends BaseService<Ylxxb, Integer>{
10 PageObject<Ylxxb> Pagequery(Map<String, Object> map) ; 10 PageObject<Ylxxb> Pagequery(Map<String, Object> map) ;
11 11
12 - Map<String, Object> checkJsy(Map<String, Object> map); 12 + Map<String, Object> checkJsy(Map<String, Object> map) throws Exception;
13 13
14 } 14 }
src/main/java/com/bsth/service/oil/impl/CwjyServiceImpl.java
@@ -6,17 +6,26 @@ import java.text.ParseException; @@ -6,17 +6,26 @@ import java.text.ParseException;
6 import java.text.SimpleDateFormat; 6 import java.text.SimpleDateFormat;
7 import java.util.ArrayList; 7 import java.util.ArrayList;
8 import java.util.Arrays; 8 import java.util.Arrays;
  9 +import java.util.Date;
9 import java.util.HashMap; 10 import java.util.HashMap;
10 import java.util.List; 11 import java.util.List;
11 import java.util.Map; 12 import java.util.Map;
12 13
  14 +import javax.transaction.Transactional;
  15 +
  16 +import org.apache.commons.lang3.StringEscapeUtils;
  17 +import org.slf4j.Logger;
  18 +import org.slf4j.LoggerFactory;
13 import org.springframework.beans.factory.annotation.Autowired; 19 import org.springframework.beans.factory.annotation.Autowired;
14 import org.springframework.jdbc.core.JdbcTemplate; 20 import org.springframework.jdbc.core.JdbcTemplate;
15 import org.springframework.jdbc.core.RowMapper; 21 import org.springframework.jdbc.core.RowMapper;
16 import org.springframework.stereotype.Service; 22 import org.springframework.stereotype.Service;
17 23
  24 +import com.alibaba.fastjson.JSONArray;
  25 +import com.alibaba.fastjson.JSONObject;
18 import com.bsth.common.ResponseCode; 26 import com.bsth.common.ResponseCode;
19 import com.bsth.entity.oil.Cwjy; 27 import com.bsth.entity.oil.Cwjy;
  28 +import com.bsth.entity.oil.Cyl;
20 import com.bsth.entity.oil.Ylxxb; 29 import com.bsth.entity.oil.Ylxxb;
21 import com.bsth.repository.oil.CwjyRepository; 30 import com.bsth.repository.oil.CwjyRepository;
22 import com.bsth.repository.oil.YlxxbRepository; 31 import com.bsth.repository.oil.YlxxbRepository;
@@ -35,8 +44,8 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw @@ -35,8 +44,8 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw
35 44
36 @Autowired 45 @Autowired
37 JdbcTemplate jdbcTemplate; 46 JdbcTemplate jdbcTemplate;
38 -  
39 - @SuppressWarnings("unchecked") 47 + Logger logger = LoggerFactory.getLogger(this.getClass());
  48 + /*@SuppressWarnings("unchecked")
40 public PageObject<Ylxxb> Pagequery(Map<String, Object> map) { 49 public PageObject<Ylxxb> Pagequery(Map<String, Object> map) {
41 int page=Integer.parseInt(map.get("page").toString()); 50 int page=Integer.parseInt(map.get("page").toString());
42 SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); 51 SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
@@ -129,7 +138,7 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw @@ -129,7 +138,7 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw
129 return t; 138 return t;
130 } 139 }
131 }); 140 });
132 - /*List<Object[]> list=repository.obtainCwjycl(rq,nbbm); 141 + List<Object[]> list=repository.obtainCwjycl(rq,nbbm);
133 for (int i = 0; i < list.size(); i++) { 142 for (int i = 0; i < list.size(); i++) {
134 Ylxxb y=new Ylxxb(); 143 Ylxxb y=new Ylxxb();
135 y.setGsdm(list.get(i)[0]==null?"":list.get(i)[0].toString()); 144 y.setGsdm(list.get(i)[0]==null?"":list.get(i)[0].toString());
@@ -148,13 +157,13 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw @@ -148,13 +157,13 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw
148 e.printStackTrace(); 157 e.printStackTrace();
149 } 158 }
150 yList.add(y); 159 yList.add(y);
151 - }*/ 160 + }
152 PageHelper pageHelper = new PageHelper(listsize, map); 161 PageHelper pageHelper = new PageHelper(listsize, map);
153 pageHelper.getMap(); 162 pageHelper.getMap();
154 PageObject<Ylxxb> pageObject=pageHelper.getPageObject(); 163 PageObject<Ylxxb> pageObject=pageHelper.getPageObject();
155 pageObject.setDataList(yList); 164 pageObject.setDataList(yList);
156 return pageObject; 165 return pageObject;
157 - } 166 + }*/
158 167
159 @Override 168 @Override
160 public Ylxxb bynbbm(Map<String, Object> map) { 169 public Ylxxb bynbbm(Map<String, Object> map) {
@@ -188,28 +197,112 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw @@ -188,28 +197,112 @@ public class CwjyServiceImpl extends BaseServiceImpl&lt;Cwjy,Integer&gt; implements Cw
188 return y; 197 return y;
189 } 198 }
190 199
  200 + @Transactional
191 @Override 201 @Override
192 - public Map<String, Object> savejzl(Ylxxb t) { 202 + public Map<String, Object> savejzl(Map<String, Object> maps) throws Exception {
193 // TODO Auto-generated method stub 203 // TODO Auto-generated method stub
194 Map<String, Object> map=new HashMap<String,Object>(); 204 Map<String, Object> map=new HashMap<String,Object>();
195 try { 205 try {
196 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 206 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
197 - String rq = sdf.format(t.getYyrq());  
198 - String nbbm=t.getNbbm();  
199 - List<Ylxxb> yList=ylxxbRepository.obtainYlxx2(rq,nbbm);  
200 - if(yList.size()>0){  
201 - t.setId(yList.get(0).getId());  
202 - ylxxbRepository.save(t);  
203 - }else{  
204 - ylxxbRepository.save(t); 207 +// String rq = sdf.format(t.getYyrq());
  208 +// String nbbm=t.getNbbm();
  209 +// List<Ylxxb> yList=ylxxbRepository.obtainYlxx2(rq,nbbm);
  210 +// if(yList.size()>0){
  211 +// t.setId(yList.get(0).getId());
  212 +// ylxxbRepository.save(t);
  213 +// }else{
  214 +// ylxxbRepository.save(t);
  215 +// }
  216 + String gsbm=maps.get("gsbm").toString();
  217 + String fgsbm=maps.get("fgsbm").toString();
  218 + String rq=maps.get("rq").toString();
  219 + Date date=sdf.parse(rq);
  220 + String json =StringEscapeUtils.unescapeHtml4(maps.get("ylbList").toString());
  221 + JSONArray jsonArray=JSONArray.parseArray(json);
  222 + JSONObject jsonObject;
  223 + // 获取车辆存油信息
  224 + for (int i = 0; i < jsonArray.size(); i++) {
  225 + jsonObject=jsonArray.getJSONObject(i);
  226 + Integer id =jsonObject.getInteger("id");
  227 + String jsy=jsonObject.getString("jsy");
  228 + double jzl=jsonObject.getDoubleValue("jzl");
  229 + String stationid=jsonObject.getString("stationid");
  230 + int nylx=jsonObject.getIntValue("nylx");
  231 + String jyggh=jsonObject.getString("jyggh");
  232 + String bz=jsonObject.getString("bz");
  233 + Ylxxb y;
  234 + if(id>0){
  235 + y=ylxxbRepository.findOne(id);
  236 + y.setJsy(jsy);
  237 + y.setJzl(jzl);
  238 + y.setStationid(stationid);
  239 + y.setJyggh(jyggh);
  240 + y.setBz(bz);
  241 + y.setCreatetime(date);
  242 + ylxxbRepository.save(y);
  243 + }else{
  244 + y=new Ylxxb();
  245 + y.setGsdm(gsbm);
  246 + y.setJsy(jsy);
  247 + y.setJzl(jzl);
  248 + y.setStationid(stationid);
  249 + y.setJyggh(jyggh);
  250 + y.setBz(bz);
  251 + y.setCreatetime(date);
  252 + y.setJylx(1);
  253 + ylxxbRepository.save(y);
  254 + }
205 } 255 }
206 map.put("status", ResponseCode.SUCCESS); 256 map.put("status", ResponseCode.SUCCESS);
  257 +
207 } catch (Exception e) { 258 } catch (Exception e) {
208 map.put("status", ResponseCode.ERROR); 259 map.put("status", ResponseCode.ERROR);
209 - e.printStackTrace(); 260 + logger.error("save erro.", e);
  261 + throw e;
210 // TODO: handle exception 262 // TODO: handle exception
211 } 263 }
212 return map; 264 return map;
213 } 265 }
214 266
  267 + @Override
  268 + public List<Ylxxb> Pagequery(Map<String, Object> map) {
  269 + // TODO Auto-generated method stub
  270 + String rq=map.get("rq").toString();
  271 + String nbbm=map.get("nbbh").toString();
  272 + String sql="SELECT a.gsdm as gsdm,a.fgsdm as fgsdm,a.nbbm as nbbm,"
  273 + + "b.jyggh as jyggh,b.jzl as jzl ,b.stationid as stationid,b.jsy as jsy,"
  274 + + "b.nylx as nylx,b.yj as yj,b.bz as bz,b.id as id ,c.jsy as ldgh FROM bsth_c_cwjy a "+
  275 + " left join ("
  276 + + " select * from bsth_c_ylxxb b "
  277 + + "where to_days(b.yyrq)=to_days('"+rq+"') and jylx=1) b " +
  278 + " on a.nbbm=b.nbbm "
  279 + + "left join (select nbbm,group_concat(jsy) as jsy "
  280 + + "from bsth_c_ylb where to_days(rq)= to_days('"+rq+"' ) group by nbbm "+
  281 + " ) c on a.nbbm=c.nbbm "
  282 + + "where a.nbbm like '%"+nbbm+"%'";
  283 +
  284 + List<Ylxxb> yList= jdbcTemplate.query(sql,
  285 + new RowMapper<Ylxxb>(){
  286 + @Override
  287 + public Ylxxb mapRow(ResultSet rs, int rowNum) throws SQLException {
  288 + Ylxxb t=new Ylxxb();
  289 + t.setId(rs.getInt("id"));
  290 + t.setGsdm(rs.getString("gsdm"));
  291 + t.setFgsdm(rs.getString("fgsdm"));
  292 + t.setNbbm(rs.getString("nbbm"));
  293 + t.setJyggh(rs.getString("jyggh"));
  294 + t.setJsy(rs.getString("jsy"));
  295 + t.setJzl(rs.getDouble("jzl"));
  296 + t.setStationid(rs.getString("stationid"));
  297 + t.setNylx(rs.getInt("nylx"));
  298 + t.setYj(rs.getDouble("yj"));
  299 + t.setBz(rs.getString("bz"));
  300 + t.setJsy(rs.getString("ldgh"));
  301 + return t;
  302 + }
  303 + });
  304 +
  305 + return yList;
  306 + }
  307 +
215 } 308 }
src/main/java/com/bsth/service/oil/impl/YlbServiceImpl.java
@@ -135,11 +135,9 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -135,11 +135,9 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
135 Ylb ylb=ylListBe.get(i); 135 Ylb ylb=ylListBe.get(i);
136 if(map.get("clZbh").toString().equals(ylb.getNbbm())){ 136 if(map.get("clZbh").toString().equals(ylb.getNbbm())){
137 if(ylb.getJzyl()!=null){ 137 if(ylb.getJzyl()!=null){
138 - if(ylb.getJzyl()>0){  
139 - t.setCzyl(ylb.getJzyl());  
140 - fage=false;  
141 - break;  
142 - } 138 + t.setCzyl(ylb.getJzyl());
  139 + fage=false;
  140 + break;
143 } 141 }
144 142
145 } 143 }
@@ -272,7 +270,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -272,7 +270,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
272 for (int i = 0; i < ylListBe.size(); i++) { 270 for (int i = 0; i < ylListBe.size(); i++) {
273 Ylb ylb = ylListBe.get(i); 271 Ylb ylb = ylListBe.get(i);
274 if (map.get("clZbh").toString().equals(ylb.getNbbm())) { 272 if (map.get("clZbh").toString().equals(ylb.getNbbm())) {
275 - if(ylb.getJzyl()>0){ 273 + if(ylb.getJzyl()>=0){
276 t.setCzyl(ylb.getJzyl()); 274 t.setCzyl(ylb.getJzyl());
277 fage = false; 275 fage = false;
278 break; 276 break;
@@ -284,7 +282,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -284,7 +282,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
284 for (int y = 0; y < clyList.size(); y++) { 282 for (int y = 0; y < clyList.size(); y++) {
285 Cyl cyl = clyList.get(y); 283 Cyl cyl = clyList.get(y);
286 if (map.get("clZbh").toString().equals(cyl.getNbbm())) { 284 if (map.get("clZbh").toString().equals(cyl.getNbbm())) {
287 - if(cyl.getCyl()>0){ 285 + if(cyl.getCyl()>=0){
288 t.setCzyl(cyl.getCyl()); 286 t.setCzyl(cyl.getCyl());
289 fage = false; 287 fage = false;
290 break; 288 break;
@@ -680,7 +678,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -680,7 +678,7 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
680 if(map.get("nbbm_eq")!=null){ 678 if(map.get("nbbm_eq")!=null){
681 nbbm=map.get("nbbm_eq").toString(); 679 nbbm=map.get("nbbm_eq").toString();
682 } 680 }
683 - List<Ylb> ylListBe=repository.obtainYlbefore(rq, gsbm, fgsbm, xlbm, nbbm); 681 + List<Ylb> ylListBe=repository.obtainYlbefore(rq, gsbm, "", xlbm, nbbm);
684 List<Cyl> cylList=cylRepository.obtainCyl(nbbm, gsbm); 682 List<Cyl> cylList=cylRepository.obtainCyl(nbbm, gsbm);
685 List<Ylb> ylbList=repository.obtainYl(rq,gsbm,fgsbm,xlbm,nbbm,"nbbm"); 683 List<Ylb> ylbList=repository.obtainYl(rq,gsbm,fgsbm,xlbm,nbbm,"nbbm");
686 List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,0,gsbm); 684 List<Ylxxb> ylxxbList=ylxxbRepository.obtainYlxx(rq,0,gsbm);
@@ -703,10 +701,15 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -703,10 +701,15 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
703 t.setJsy(y1.getJsy()); 701 t.setJsy(y1.getJsy());
704 t.setJzl(y1.getJzl()); 702 t.setJzl(y1.getJzl());
705 t.setSsgsdm(y1.getGsdm()); 703 t.setSsgsdm(y1.getGsdm());
706 - t.setFgsdm(carsMap.get(y1.getNbbm())); 704 + String fgsdm=carsMap.get(y1.getNbbm());
  705 + t.setFgsdm(fgsdm);
  706 + t.setJcsx(1);
707 Line line= BasicData.nbbm2LineMap.get(y1.getNbbm()); 707 Line line= BasicData.nbbm2LineMap.get(y1.getNbbm());
708 - if(null !=line)  
709 - t.setXlbm(line.getLineCode()); 708 + if(null !=line){
  709 + t.setXlbm(line.getLineCode());
  710 + }else{
  711 + t.setXlbm("");
  712 + }
710 t.setJcsx(1); 713 t.setJcsx(1);
711 boolean status=true; 714 boolean status=true;
712 for (int j = 0; j < ylListBe.size(); j++) { 715 for (int j = 0; j < ylListBe.size(); j++) {
@@ -734,10 +737,12 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS @@ -734,10 +737,12 @@ public class YlbServiceImpl extends BaseServiceImpl&lt;Ylb,Integer&gt; implements YlbS
734 // double jzyl=Arith.add(t.getJzl(), t.getCzyl()); 737 // double jzyl=Arith.add(t.getJzl(), t.getCzyl());
735 t.setJzyl(Arith.add(t.getJzl(), t.getCzyl())); 738 t.setJzyl(Arith.add(t.getJzl(), t.getCzyl()));
736 t.setYh(0.0); 739 t.setYh(0.0);
737 - repository.save(t);  
738 - if(null!=cyl){  
739 - cyl.setCyl(Arith.add(t.getJzl(), t.getCzyl()));  
740 - cylRepository.save(cyl); 740 + if(fgsdm.equals("fgsbm")){
  741 + repository.save(t);
  742 + if(null!=cyl){
  743 + cyl.setCyl(Arith.add(t.getJzl(), t.getCzyl()));
  744 + cylRepository.save(cyl);
  745 + }
741 } 746 }
742 } 747 }
743 } 748 }
src/main/java/com/bsth/service/oil/impl/YlxxbServiceImpl.java
@@ -9,6 +9,9 @@ import java.util.HashMap; @@ -9,6 +9,9 @@ import java.util.HashMap;
9 import java.util.List; 9 import java.util.List;
10 import java.util.Map; 10 import java.util.Map;
11 11
  12 +import javax.transaction.Transactional;
  13 +
  14 +import org.apache.commons.lang3.StringEscapeUtils;
12 import org.slf4j.Logger; 15 import org.slf4j.Logger;
13 import org.slf4j.LoggerFactory; 16 import org.slf4j.LoggerFactory;
14 import org.springframework.beans.factory.annotation.Autowired; 17 import org.springframework.beans.factory.annotation.Autowired;
@@ -16,6 +19,8 @@ import org.springframework.jdbc.core.JdbcTemplate; @@ -16,6 +19,8 @@ import org.springframework.jdbc.core.JdbcTemplate;
16 import org.springframework.jdbc.core.RowMapper; 19 import org.springframework.jdbc.core.RowMapper;
17 import org.springframework.stereotype.Service; 20 import org.springframework.stereotype.Service;
18 21
  22 +import com.alibaba.fastjson.JSONArray;
  23 +import com.alibaba.fastjson.JSONObject;
19 import com.bsth.common.ResponseCode; 24 import com.bsth.common.ResponseCode;
20 import com.bsth.entity.excep.Offline; 25 import com.bsth.entity.excep.Offline;
21 import com.bsth.entity.oil.Ylb; 26 import com.bsth.entity.oil.Ylb;
@@ -44,12 +49,27 @@ public class YlxxbServiceImpl extends BaseServiceImpl&lt;Ylxxb,Integer&gt; implements @@ -44,12 +49,27 @@ public class YlxxbServiceImpl extends BaseServiceImpl&lt;Ylxxb,Integer&gt; implements
44 String rq=map.get("yyrq").toString(); 49 String rq=map.get("yyrq").toString();
45 String gsdm=map.get("gsdm_like").toString(); 50 String gsdm=map.get("gsdm_like").toString();
46 String fgsdm=map.get("fgsdm_like").toString(); 51 String fgsdm=map.get("fgsdm_like").toString();
47 - 52 + /*
48 String sql=" select x.*,y.jsy as ldgh,y.fgsdm as fgsdm from bsth_c_ylxxb x " 53 String sql=" select x.*,y.jsy as ldgh,y.fgsdm as fgsdm from bsth_c_ylxxb x "
49 + " left join bsth_c_ylb y on x.nbbm = y.nbbm and x.jsy !=y.jsy " 54 + " left join bsth_c_ylb y on x.nbbm = y.nbbm and x.jsy !=y.jsy "
50 + " where DATE_FORMAT(y.rq,'%Y-%m-%d')='"+rq+"' and y.ssgsdm='"+gsdm+"' " 55 + " where DATE_FORMAT(y.rq,'%Y-%m-%d')='"+rq+"' and y.ssgsdm='"+gsdm+"' "
51 + " and y.fgsdm='"+fgsdm+"' and DATE_FORMAT(x.yyrq,'%Y-%m-%d')='"+rq+"' " 56 + " and y.fgsdm='"+fgsdm+"' and DATE_FORMAT(x.yyrq,'%Y-%m-%d')='"+rq+"' "
52 - + " and x.gsdm='"+gsdm+"'"; 57 + + " and x.gsdm='"+gsdm+"'";*/
  58 +
  59 + String sql= "select v.*,u.jsy as ldgh from "
  60 + + " ( select * from bsth_c_ylxxb x where "
  61 + + " DATE_FORMAT(x.yyrq,'%Y-%m-%d')='"+rq+"' and x.gsdm='"+gsdm+"'"
  62 + + " and x.jsy not in ("
  63 + + " select jsy from bsth_c_ylb "
  64 + + " where DATE_FORMAT(rq,'%Y-%m-%d')='"+rq+"' "
  65 + + " and ssgsdm='"+gsdm+"' and fgsdm='"+fgsdm+"')"
  66 + + " and x.nbbm in (select nbbm from bsth_c_ylb "
  67 + + " where DATE_FORMAT(rq,'%Y-%m-%d')='"+rq+"' "
  68 + + " and ssgsdm='"+gsdm+"' and fgsdm='"+fgsdm+"' )) v "
  69 + + " left join (select * from bsth_c_ylb "
  70 + + " where DATE_FORMAT(rq,'%Y-%m-%d')='"+rq+"'"
  71 + + " and ssgsdm='"+gsdm+"' and fgsdm='"+fgsdm+"' ) u "
  72 + + " on v.nbbm=u.nbbm ";
53 73
54 //根具条件查询指定日期Ylxxb的数据 74 //根具条件查询指定日期Ylxxb的数据
55 // List<Ylxxb> iterator=repository.checkYlxx(rq,gsdm); 75 // List<Ylxxb> iterator=repository.checkYlxx(rq,gsdm);
@@ -114,21 +134,33 @@ public class YlxxbServiceImpl extends BaseServiceImpl&lt;Ylxxb,Integer&gt; implements @@ -114,21 +134,33 @@ public class YlxxbServiceImpl extends BaseServiceImpl&lt;Ylxxb,Integer&gt; implements
114 pageObject.setDataList(list); 134 pageObject.setDataList(list);
115 return pageObject; 135 return pageObject;
116 } 136 }
117 - 137 + @Transactional
118 @Override 138 @Override
119 - public Map<String, Object> checkJsy(Map<String, Object> map) { 139 + public Map<String, Object> checkJsy(Map<String, Object> map) throws Exception{
120 Map<String, Object> newMap=new HashMap<String,Object>(); 140 Map<String, Object> newMap=new HashMap<String,Object>();
121 // TODO Auto-generated method stub 141 // TODO Auto-generated method stub
122 try { 142 try {
123 - int id=Integer.parseInt(map.get("id").toString());  
124 - String jsy=map.get("jsy").toString();  
125 - Ylxxb ylxxb=repository.findOne(id);  
126 - ylxxb.setJsy(jsy);  
127 - repository.save(ylxxb); 143 +// int id=Integer.parseInt(map.get("id").toString());
  144 +// String jsy=map.get("jsy").toString();
  145 +// Ylxxb ylxxb=repository.findOne(id);
  146 +// ylxxb.setJsy(jsy);
  147 +// repository.save(ylxxb);
  148 + String json =StringEscapeUtils.unescapeHtml4(map.get("ylbList").toString());
  149 + JSONArray jsonArray=JSONArray.parseArray(json);
  150 + JSONObject jsonObject;
  151 + for (int x = 0; x < jsonArray.size(); x++) {
  152 + jsonObject=jsonArray.getJSONObject(x);
  153 + Integer id =jsonObject.getInteger("id");
  154 + String jsy =jsonObject.getString("jsy");
  155 + Ylxxb ylxxb=repository.findOne(id);
  156 + ylxxb.setJsy(jsy);
  157 + repository.save(ylxxb);
  158 + }
128 newMap.put("status", ResponseCode.SUCCESS); 159 newMap.put("status", ResponseCode.SUCCESS);
129 }catch(Exception e){ 160 }catch(Exception e){
130 newMap.put("status", ResponseCode.ERROR); 161 newMap.put("status", ResponseCode.ERROR);
131 logger.error("save erro.", e); 162 logger.error("save erro.", e);
  163 + throw e;
132 } 164 }
133 return newMap; 165 return newMap;
134 } 166 }
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
@@ -1579,10 +1579,12 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -1579,10 +1579,12 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
1579 listSchedule.add(s); 1579 listSchedule.add(s);
1580 //计算营运里程,空驶里程 1580 //计算营运里程,空驶里程
1581 if (!childTaskPlans.isEmpty()) { 1581 if (!childTaskPlans.isEmpty()) {
1582 - Iterator<ChildTaskPlan> it = childTaskPlans.iterator();  
1583 - while (it.hasNext()) { 1582 +// Iterator<ChildTaskPlan> it = childTaskPlans.iterator();
  1583 + List<ChildTaskPlan> listit=new ArrayList<ChildTaskPlan>(childTaskPlans);
  1584 + Collections.sort(listit, new ComparableChild());
  1585 + for (int j = 0; j < listit.size(); j++) {
1584 ScheduleRealInfo t = new ScheduleRealInfo(); 1586 ScheduleRealInfo t = new ScheduleRealInfo();
1585 - ChildTaskPlan childTaskPlan = it.next(); 1587 + ChildTaskPlan childTaskPlan = listit.get(j);
1586 if (childTaskPlan.isDestroy()) { 1588 if (childTaskPlan.isDestroy()) {
1587 t.setFcsjActual(""); 1589 t.setFcsjActual("");
1588 t.setZdsjActual(""); 1590 t.setZdsjActual("");
src/main/java/com/bsth/service/report/ReportService.java
@@ -38,4 +38,6 @@ public interface ReportService { @@ -38,4 +38,6 @@ public interface ReportService {
38 List<Map<String, Object>> lineList(); 38 List<Map<String, Object>> lineList();
39 39
40 List<Map<String, String>> carList(Map<String, Object> map); 40 List<Map<String, String>> carList(Map<String, Object> map);
  41 +
  42 + List<Map<String, String>> userList(Map<String, Object> map);
41 } 43 }
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
@@ -221,15 +221,29 @@ public class CulateMileageServiceImpl implements CulateMileageService{ @@ -221,15 +221,29 @@ public class CulateMileageServiceImpl implements CulateMileageService{
221 if (!(scheduleRealInfo.getBcType().equals("in") 221 if (!(scheduleRealInfo.getBcType().equals("in")
222 || scheduleRealInfo.getBcType().equals("out"))) { 222 || scheduleRealInfo.getBcType().equals("out"))) {
223 if(scheduleRealInfo.isSflj()){ 223 if(scheduleRealInfo.isSflj()){
224 - String[] fcsjStr = scheduleRealInfo.getFcsj().split(":");  
225 - long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]);  
226 - if(item.equals("zgf")){  
227 - if(fcsj>=zgf1 && fcsj<=zgf2){  
228 - ljbc++; 224 + if(item.equals("zgf") || item.equals("wgf")){
  225 + String time="";
  226 + if(scheduleRealInfo.getFcsjActual()!=null){
  227 + time=scheduleRealInfo.getFcsjActual();
229 } 228 }
230 - }else if(item.equals("wgf")){  
231 - if(fcsj>=wgf1 && fcsj<=wgf2){  
232 - ljbc++; 229 + if(time.equals("")){
  230 + if(scheduleRealInfo.getDfsj()!=null){
  231 + time=scheduleRealInfo.getDfsj();
  232 + }
  233 + }
  234 + if(!time.equals("")){
  235 + String[] fcsjStr = time.split(":");
  236 + long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]);
  237 +
  238 + if(item.equals("zgf")){
  239 + if(fcsj>=zgf1 && fcsj<=zgf2){
  240 + ljbc++;
  241 + }
  242 + }else if(item.equals("wgf")){
  243 + if(fcsj>=wgf1 && fcsj<=wgf2){
  244 + ljbc++;
  245 + }
  246 + }
233 } 247 }
234 }else{ 248 }else{
235 ljbc++; 249 ljbc++;
@@ -327,37 +341,24 @@ public class CulateMileageServiceImpl implements CulateMileageService{ @@ -327,37 +341,24 @@ public class CulateMileageServiceImpl implements CulateMileageService{
327 || scheduleRealInfo.getBcType().equals("out"))) { 341 || scheduleRealInfo.getBcType().equals("out"))) {
328 Set<ChildTaskPlan> childTaskPlans = scheduleRealInfo.getcTasks(); 342 Set<ChildTaskPlan> childTaskPlans = scheduleRealInfo.getcTasks();
329 if(!scheduleRealInfo.isSflj()){ 343 if(!scheduleRealInfo.isSflj()){
330 - String[] fcsjStr = scheduleRealInfo.getFcsj().split(":");  
331 - long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]);  
332 - if(childTaskPlans.isEmpty()){  
333 - if(scheduleRealInfo.getStatus()!=-1){  
334 - if(item.equals("zgf")){  
335 - if(fcsj>=zgf1 && fcsj<=zgf2){  
336 - sjbc++;  
337 - }  
338 - }else if(item.equals("wgf")){  
339 - if(fcsj>=wgf1 && fcsj<=wgf2){  
340 - sjbc++;  
341 - }  
342 - }else{  
343 - sjbc++; 344 + String time="";
  345 + if(item.equals("zgf") || item.equals("wgf")){
  346 + if(scheduleRealInfo.getFcsjActual()!=null){
  347 + time=scheduleRealInfo.getFcsjActual();
  348 + }
  349 + if(time.equals("")){
  350 + if(scheduleRealInfo.getDfsj()!=null){
  351 + time=scheduleRealInfo.getDfsj();
344 } 352 }
345 -  
346 } 353 }
347 }else{ 354 }else{
348 - if(scheduleRealInfo.getStatus() == -1){  
349 - boolean fage=false;  
350 - Iterator<ChildTaskPlan> it = childTaskPlans.iterator();  
351 - if(it.hasNext()){  
352 - ChildTaskPlan childTaskPlan = it.next();  
353 - if(!childTaskPlan.isDestroy()){  
354 - if(childTaskPlan.getMileageType().equals("service")){  
355 - fage=true;  
356 - }  
357 - }  
358 -  
359 - }  
360 - if(fage){ 355 + time=scheduleRealInfo.getFcsj();
  356 + }
  357 + if(!time.equals("")){
  358 + String[] fcsjStr = scheduleRealInfo.getFcsj().split(":");
  359 + long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]);
  360 + if(childTaskPlans.isEmpty()){
  361 + if(scheduleRealInfo.getStatus()!=-1){
361 if(item.equals("zgf")){ 362 if(item.equals("zgf")){
362 if(fcsj>=zgf1 && fcsj<=zgf2){ 363 if(fcsj>=zgf1 && fcsj<=zgf2){
363 sjbc++; 364 sjbc++;
@@ -369,19 +370,47 @@ public class CulateMileageServiceImpl implements CulateMileageService{ @@ -369,19 +370,47 @@ public class CulateMileageServiceImpl implements CulateMileageService{
369 }else{ 370 }else{
370 sjbc++; 371 sjbc++;
371 } 372 }
  373 +
372 } 374 }
373 -  
374 }else{ 375 }else{
375 - if(item.equals("zgf")){  
376 - if(fcsj>=zgf1 && fcsj<=zgf2){  
377 - sjbc++; 376 + if(scheduleRealInfo.getStatus() == -1){
  377 + boolean fage=false;
  378 + Iterator<ChildTaskPlan> it = childTaskPlans.iterator();
  379 + if(it.hasNext()){
  380 + ChildTaskPlan childTaskPlan = it.next();
  381 + if(!childTaskPlan.isDestroy()){
  382 + if(childTaskPlan.getMileageType().equals("service")){
  383 + fage=true;
  384 + }
  385 + }
  386 +
378 } 387 }
379 - }else if(item.equals("wgf")){  
380 - if(fcsj>=wgf1 && fcsj<=wgf2){  
381 - sjbc++; 388 + if(fage){
  389 + if(item.equals("zgf")){
  390 + if(fcsj>=zgf1 && fcsj<=zgf2){
  391 + sjbc++;
  392 + }
  393 + }else if(item.equals("wgf")){
  394 + if(fcsj>=wgf1 && fcsj<=wgf2){
  395 + sjbc++;
  396 + }
  397 + }else{
  398 + sjbc++;
  399 + }
382 } 400 }
  401 +
383 }else{ 402 }else{
384 - sjbc++; 403 + if(item.equals("zgf")){
  404 + if(fcsj>=zgf1 && fcsj<=zgf2){
  405 + sjbc++;
  406 + }
  407 + }else if(item.equals("wgf")){
  408 + if(fcsj>=wgf1 && fcsj<=wgf2){
  409 + sjbc++;
  410 + }
  411 + }else{
  412 + sjbc++;
  413 + }
385 } 414 }
386 } 415 }
387 } 416 }
src/main/java/com/bsth/service/report/impl/ReportServiceImpl.java
@@ -25,6 +25,7 @@ import org.springframework.stereotype.Service; @@ -25,6 +25,7 @@ import org.springframework.stereotype.Service;
25 25
26 import com.bsth.data.BasicData; 26 import com.bsth.data.BasicData;
27 import com.bsth.entity.Line; 27 import com.bsth.entity.Line;
  28 +import com.bsth.entity.Personnel;
28 import com.bsth.entity.StationRoute; 29 import com.bsth.entity.StationRoute;
29 import com.bsth.entity.excep.ArrivalInfo; 30 import com.bsth.entity.excep.ArrivalInfo;
30 import com.bsth.entity.oil.Ylb; 31 import com.bsth.entity.oil.Ylb;
@@ -1384,4 +1385,47 @@ public class ReportServiceImpl implements ReportService{ @@ -1384,4 +1385,47 @@ public class ReportServiceImpl implements ReportService{
1384 } 1385 }
1385 return list; 1386 return list;
1386 } 1387 }
  1388 +
  1389 +
  1390 + @Override
  1391 + public List<Map<String, String>> userList(Map<String, Object> maps) {
  1392 + // TODO Auto-generated method stub
  1393 + // 转大写
  1394 + String jsy =maps.get("jsy").toString().toUpperCase();
  1395 + String gsbm=maps.get("gsbm").toString().trim();
  1396 +// String fgsbm=maps.get("fgsbm").toString().trim();
  1397 + List<Map<String, String>> list = new ArrayList<Map<String, String>>();
  1398 + Map<String, String> map;
  1399 +// Set<String> allSet = BasicData.nbbm2CompanyCodeMap.keySet();
  1400 + Set<String> allJsy = BasicData.jsyMap.keySet();
  1401 +
  1402 + Personnel per;
  1403 + for (String k : allJsy) {
  1404 + if (k.indexOf(jsy) != -1) {
  1405 + // 所属线路
  1406 + boolean fage=true;
  1407 + map = new HashMap<>();
  1408 + per = BasicData.jsyMap.get(k);
  1409 + String rygsdm= per.getCompanyCode();
  1410 +
  1411 + map.put("id", k);
  1412 + map.put("text", k+"/"+per.getPersonnelName());
  1413 +
  1414 + if(!gsbm.equals("")){
  1415 + if(!rygsdm.equals(gsbm)){
  1416 + fage=false;
  1417 + }
  1418 + }
  1419 +
  1420 + if(fage){
  1421 + list.add(map);
  1422 + }
  1423 +
  1424 + }
  1425 +
  1426 + if (list.size() > 20)
  1427 + break;
  1428 + }
  1429 + return list;
  1430 + }
1387 } 1431 }
src/main/java/com/bsth/service/schedule/SchedulePlanRuleResultService.java
1 -package com.bsth.service.schedule;  
2 -  
3 -import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;  
4 -  
5 -/**  
6 - * Created by xu on 17/3/29.  
7 - */  
8 -public interface SchedulePlanRuleResultService extends BService<SchedulePlanRuleResult, Long> {  
9 -} 1 +package com.bsth.service.schedule;
  2 +
  3 +import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;
  4 +
  5 +/**
  6 + * Created by xu on 17/3/29.
  7 + */
  8 +public interface SchedulePlanRuleResultService extends BService<SchedulePlanRuleResult, Long> {
  9 +}
src/main/java/com/bsth/service/schedule/impl/SchedulePlanRuleResultServiceImpl.java
1 -package com.bsth.service.schedule.impl;  
2 -  
3 -import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;  
4 -import com.bsth.service.schedule.SchedulePlanRuleResultService;  
5 -import org.springframework.stereotype.Service;  
6 -  
7 -/**  
8 - * Created by xu on 17/3/29.  
9 - */  
10 -@Service  
11 -public class SchedulePlanRuleResultServiceImpl extends BServiceImpl<SchedulePlanRuleResult, Long> implements SchedulePlanRuleResultService {  
12 -} 1 +package com.bsth.service.schedule.impl;
  2 +
  3 +import com.bsth.entity.schedule.temp.SchedulePlanRuleResult;
  4 +import com.bsth.service.schedule.SchedulePlanRuleResultService;
  5 +import org.springframework.stereotype.Service;
  6 +
  7 +/**
  8 + * Created by xu on 17/3/29.
  9 + */
  10 +@Service
  11 +public class SchedulePlanRuleResultServiceImpl extends BServiceImpl<SchedulePlanRuleResult, Long> implements SchedulePlanRuleResultService {
  12 +}
src/main/java/com/bsth/util/ComparableChild.java 0 → 100644
  1 +package com.bsth.util;
  2 +
  3 +import java.util.Comparator;
  4 +import java.util.List;
  5 +
  6 +import com.bsth.entity.realcontrol.ChildTaskPlan;
  7 +
  8 +public class ComparableChild implements Comparator<ChildTaskPlan>{
  9 +
  10 + @Override
  11 + public int compare(ChildTaskPlan o1, ChildTaskPlan o2) {
  12 + // TODO Auto-generated method stub
  13 + return o1.getStartDate().compareTo(o2.getStartDate());
  14 + }
  15 +
  16 +}
src/main/resources/datatools/ktrs/carsDataInput.ktr
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<transformation>  
3 - <info>  
4 - <name>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</name>  
5 - <description>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>  
6 - <extended_description>&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>  
7 - <trans_version/>  
8 - <trans_type>Normal</trans_type>  
9 - <trans_status>0</trans_status>  
10 - <directory>&#x2f;</directory>  
11 - <parameters>  
12 - <parameter>  
13 - <name>erroroutputdir</name>  
14 - <default_value/>  
15 - <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>  
16 - </parameter>  
17 - <parameter>  
18 - <name>filepath</name>  
19 - <default_value/>  
20 - <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</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&#x2f;06&#x2f;23 17&#x3a;44&#x3a;46.781</created_date>  
81 - <modified_user>-</modified_user>  
82 - <modified_date>2016&#x2f;06&#x2f;23 17&#x3a;44&#x3a;46.781</modified_date>  
83 - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>  
84 - <is_key_private>N</is_key_private>  
85 - </info>  
86 - <notepads>  
87 - </notepads>  
88 - <connection>  
89 - <name>bus_control_variable</name>  
90 - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>  
91 - <type>MYSQL</type>  
92 - <access>Native</access>  
93 - <database>&#x24;&#x7b;v_db_dname&#x7d;</database>  
94 - <port>3306</port>  
95 - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>  
96 - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>  
97 - <servername/>  
98 - <data_tablespace/>  
99 - <index_tablespace/>  
100 - <attributes>  
101 - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>  
102 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
103 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
104 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
105 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
106 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
107 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
108 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
109 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
110 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
111 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
112 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
113 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
114 - </attributes>  
115 - </connection>  
116 - <connection>  
117 - <name>bus_control_&#x516c;&#x53f8;_201</name>  
118 - <server>localhost</server>  
119 - <type>MYSQL</type>  
120 - <access>Native</access>  
121 - <database>control</database>  
122 - <port>3306</port>  
123 - <username>root</username>  
124 - <password>Encrypted </password>  
125 - <servername/>  
126 - <data_tablespace/>  
127 - <index_tablespace/>  
128 - <attributes>  
129 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
130 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
131 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
132 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
133 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
134 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
135 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
136 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
137 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
138 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
139 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
140 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
141 - </attributes>  
142 - </connection>  
143 - <connection>  
144 - <name>bus_control_&#x672c;&#x673a;</name>  
145 - <server>localhost</server>  
146 - <type>MYSQL</type>  
147 - <access>Native</access>  
148 - <database>control</database>  
149 - <port>3306</port>  
150 - <username>root</username>  
151 - <password>Encrypted </password>  
152 - <servername/>  
153 - <data_tablespace/>  
154 - <index_tablespace/>  
155 - <attributes>  
156 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
157 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
158 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
159 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
160 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
161 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
162 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
163 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
164 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
165 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
166 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
167 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
168 - </attributes>  
169 - </connection>  
170 - <connection>  
171 - <name>xlab_mysql_youle</name>  
172 - <server>101.231.124.8</server>  
173 - <type>MYSQL</type>  
174 - <access>Native</access>  
175 - <database>xlab_youle</database>  
176 - <port>45687</port>  
177 - <username>xlab-youle</username>  
178 - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>  
179 - <servername/>  
180 - <data_tablespace/>  
181 - <index_tablespace/>  
182 - <attributes>  
183 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
184 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
185 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
186 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
187 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
188 - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>  
189 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
190 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
191 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
192 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
193 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
194 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
195 - </attributes>  
196 - </connection>  
197 - <connection>  
198 - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>  
199 - <server>localhost</server>  
200 - <type>MYSQL</type>  
201 - <access>Native</access>  
202 - <database>xlab_youle</database>  
203 - <port>3306</port>  
204 - <username>root</username>  
205 - <password>Encrypted </password>  
206 - <servername/>  
207 - <data_tablespace/>  
208 - <index_tablespace/>  
209 - <attributes>  
210 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
211 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
212 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
213 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
214 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
215 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
216 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
217 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
218 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
219 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
220 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
221 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
222 - </attributes>  
223 - </connection>  
224 - <connection>  
225 - <name>xlab_youle</name>  
226 - <server/>  
227 - <type>MYSQL</type>  
228 - <access>JNDI</access>  
229 - <database>xlab_youle</database>  
230 - <port>1521</port>  
231 - <username/>  
232 - <password>Encrypted </password>  
233 - <servername/>  
234 - <data_tablespace/>  
235 - <index_tablespace/>  
236 - <attributes>  
237 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
238 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
239 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
240 - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>  
241 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
242 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
243 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
244 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
245 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
246 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
247 - </attributes>  
248 - </connection>  
249 - <order>  
250 - <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>  
251 - <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</to><enabled>Y</enabled> </hop>  
252 - <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</to><enabled>Y</enabled> </hop>  
253 - </order>  
254 - <step>  
255 - <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>  
256 - <type>ExcelInput</type>  
257 - <description/>  
258 - <distribute>Y</distribute>  
259 - <custom_distribution/>  
260 - <copies>1</copies>  
261 - <partitioning>  
262 - <method>none</method>  
263 - <schema_name/>  
264 - </partitioning>  
265 - <header>Y</header>  
266 - <noempty>Y</noempty>  
267 - <stoponempty>N</stoponempty>  
268 - <filefield/>  
269 - <sheetfield/>  
270 - <sheetrownumfield/>  
271 - <rownumfield/>  
272 - <sheetfield/>  
273 - <filefield/>  
274 - <limit>0</limit>  
275 - <encoding/>  
276 - <add_to_result_filenames>Y</add_to_result_filenames>  
277 - <accept_filenames>Y</accept_filenames>  
278 - <accept_field>filepath_</accept_field>  
279 - <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>  
280 - <file>  
281 - <name/>  
282 - <filemask/>  
283 - <exclude_filemask/>  
284 - <file_required>N</file_required>  
285 - <include_subfolders>N</include_subfolders>  
286 - </file>  
287 - <fields>  
288 - <field>  
289 - <name>&#x8f66;&#x724c;&#x53f7;</name>  
290 - <type>String</type>  
291 - <length>-1</length>  
292 - <precision>-1</precision>  
293 - <trim_type>none</trim_type>  
294 - <repeat>N</repeat>  
295 - <format/>  
296 - <currency/>  
297 - <decimal/>  
298 - <group/>  
299 - </field>  
300 - <field>  
301 - <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>  
302 - <type>String</type>  
303 - <length>-1</length>  
304 - <precision>-1</precision>  
305 - <trim_type>none</trim_type>  
306 - <repeat>N</repeat>  
307 - <format/>  
308 - <currency/>  
309 - <decimal/>  
310 - <group/>  
311 - </field>  
312 - <field>  
313 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>  
314 - <type>String</type>  
315 - <length>-1</length>  
316 - <precision>-1</precision>  
317 - <trim_type>none</trim_type>  
318 - <repeat>N</repeat>  
319 - <format/>  
320 - <currency/>  
321 - <decimal/>  
322 - <group/>  
323 - </field>  
324 - <field>  
325 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
326 - <type>String</type>  
327 - <length>-1</length>  
328 - <precision>-1</precision>  
329 - <trim_type>none</trim_type>  
330 - <repeat>N</repeat>  
331 - <format/>  
332 - <currency/>  
333 - <decimal/>  
334 - <group/>  
335 - </field>  
336 - <field>  
337 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>  
338 - <type>String</type>  
339 - <length>-1</length>  
340 - <precision>-1</precision>  
341 - <trim_type>none</trim_type>  
342 - <repeat>N</repeat>  
343 - <format/>  
344 - <currency/>  
345 - <decimal/>  
346 - <group/>  
347 - </field>  
348 - <field>  
349 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
350 - <type>String</type>  
351 - <length>-1</length>  
352 - <precision>-1</precision>  
353 - <trim_type>none</trim_type>  
354 - <repeat>N</repeat>  
355 - <format/>  
356 - <currency/>  
357 - <decimal/>  
358 - <group/>  
359 - </field>  
360 - <field>  
361 - <name>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</name>  
362 - <type>String</type>  
363 - <length>-1</length>  
364 - <precision>-1</precision>  
365 - <trim_type>none</trim_type>  
366 - <repeat>N</repeat>  
367 - <format/>  
368 - <currency/>  
369 - <decimal/>  
370 - <group/>  
371 - </field>  
372 - <field>  
373 - <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>  
374 - <type>String</type>  
375 - <length>-1</length>  
376 - <precision>-1</precision>  
377 - <trim_type>none</trim_type>  
378 - <repeat>N</repeat>  
379 - <format/>  
380 - <currency/>  
381 - <decimal/>  
382 - <group/>  
383 - </field>  
384 - </fields>  
385 - <sheets>  
386 - <sheet>  
387 - <name>&#x5de5;&#x4f5c;&#x8868;1</name>  
388 - <startrow>0</startrow>  
389 - <startcol>0</startcol>  
390 - </sheet>  
391 - </sheets>  
392 - <strict_types>N</strict_types>  
393 - <error_ignored>N</error_ignored>  
394 - <error_line_skipped>N</error_line_skipped>  
395 - <bad_line_files_destination_directory/>  
396 - <bad_line_files_extension>warning</bad_line_files_extension>  
397 - <error_line_files_destination_directory/>  
398 - <error_line_files_extension>error</error_line_files_extension>  
399 - <line_number_files_destination_directory/>  
400 - <line_number_files_extension>line</line_number_files_extension>  
401 - <shortFileFieldName/>  
402 - <pathFieldName/>  
403 - <hiddenFieldName/>  
404 - <lastModificationTimeFieldName/>  
405 - <uriNameFieldName/>  
406 - <rootUriNameFieldName/>  
407 - <extensionFieldName/>  
408 - <sizeFieldName/>  
409 - <spreadsheet_type>JXL</spreadsheet_type>  
410 - <cluster_schema/>  
411 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
412 - <xloc>131</xloc>  
413 - <yloc>58</yloc>  
414 - <draw>Y</draw>  
415 - </GUI>  
416 - </step>  
417 -  
418 - <step>  
419 - <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</name>  
420 - <type>InsertUpdate</type>  
421 - <description/>  
422 - <distribute>Y</distribute>  
423 - <custom_distribution/>  
424 - <copies>1</copies>  
425 - <partitioning>  
426 - <method>none</method>  
427 - <schema_name/>  
428 - </partitioning>  
429 - <connection>bus_control_variable</connection>  
430 - <commit>1000</commit>  
431 - <update_bypassed>N</update_bypassed>  
432 - <lookup>  
433 - <schema/>  
434 - <table>bsth_c_cars</table>  
435 - <key>  
436 - <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>  
437 - <field>inside_code</field>  
438 - <condition>&#x3d;</condition>  
439 - <name2/>  
440 - </key>  
441 - <value>  
442 - <name>car_gride</name>  
443 - <rename>&#x8f66;&#x724c;&#x53f7;</rename>  
444 - <update>Y</update>  
445 - </value>  
446 - <value>  
447 - <name>inside_code</name>  
448 - <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>  
449 - <update>Y</update>  
450 - </value>  
451 - <value>  
452 - <name>car_code</name>  
453 - <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>  
454 - <update>Y</update>  
455 - </value>  
456 - <value>  
457 - <name>company</name>  
458 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>  
459 - <update>Y</update>  
460 - </value>  
461 - <value>  
462 - <name>business_code</name>  
463 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
464 - <update>Y</update>  
465 - </value>  
466 - <value>  
467 - <name>branche_company</name>  
468 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>  
469 - <update>Y</update>  
470 - </value>  
471 - <value>  
472 - <name>branche_company_code</name>  
473 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
474 - <update>Y</update>  
475 - </value>  
476 - <value>  
477 - <name>supplier_name</name>  
478 - <rename>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</rename>  
479 - <update>Y</update>  
480 - </value>  
481 - <value>  
482 - <name>equipment_code</name>  
483 - <rename>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</rename>  
484 - <update>Y</update>  
485 - </value>  
486 - </lookup>  
487 - <cluster_schema/>  
488 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
489 - <xloc>516</xloc>  
490 - <yloc>138</yloc>  
491 - <draw>Y</draw>  
492 - </GUI>  
493 - </step>  
494 -  
495 - <step>  
496 - <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>  
497 - <type>GetVariable</type>  
498 - <description/>  
499 - <distribute>Y</distribute>  
500 - <custom_distribution/>  
501 - <copies>1</copies>  
502 - <partitioning>  
503 - <method>none</method>  
504 - <schema_name/>  
505 - </partitioning>  
506 - <fields>  
507 - <field>  
508 - <name>filepath_</name>  
509 - <variable>&#x24;&#x7b;filepath&#x7d;</variable>  
510 - <type>String</type>  
511 - <format/>  
512 - <currency/>  
513 - <decimal/>  
514 - <group/>  
515 - <length>-1</length>  
516 - <precision>-1</precision>  
517 - <trim_type>none</trim_type>  
518 - </field>  
519 - <field>  
520 - <name>erroroutputdir_</name>  
521 - <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>  
522 - <type>String</type>  
523 - <format/>  
524 - <currency/>  
525 - <decimal/>  
526 - <group/>  
527 - <length>-1</length>  
528 - <precision>-1</precision>  
529 - <trim_type>none</trim_type>  
530 - </field>  
531 - </fields>  
532 - <cluster_schema/>  
533 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
534 - <xloc>134</xloc>  
535 - <yloc>183</yloc>  
536 - <draw>Y</draw>  
537 - </GUI>  
538 - </step>  
539 -  
540 - <step>  
541 - <name>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</name>  
542 - <type>ExcelOutput</type>  
543 - <description/>  
544 - <distribute>Y</distribute>  
545 - <custom_distribution/>  
546 - <copies>1</copies>  
547 - <partitioning>  
548 - <method>none</method>  
549 - <schema_name/>  
550 - </partitioning>  
551 - <header>Y</header>  
552 - <footer>N</footer>  
553 - <encoding/>  
554 - <append>N</append>  
555 - <add_to_result_filenames>Y</add_to_result_filenames>  
556 - <file>  
557 - <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>  
558 - <extention>xls</extention>  
559 - <do_not_open_newfile_init>N</do_not_open_newfile_init>  
560 - <create_parent_folder>N</create_parent_folder>  
561 - <split>N</split>  
562 - <add_date>N</add_date>  
563 - <add_time>N</add_time>  
564 - <SpecifyFormat>N</SpecifyFormat>  
565 - <date_time_format/>  
566 - <sheetname>Sheet1</sheetname>  
567 - <autosizecolums>N</autosizecolums>  
568 - <nullisblank>N</nullisblank>  
569 - <protect_sheet>N</protect_sheet>  
570 - <password>Encrypted </password>  
571 - <splitevery>0</splitevery>  
572 - <usetempfiles>N</usetempfiles>  
573 - <tempdirectory/>  
574 - </file>  
575 - <template>  
576 - <enabled>N</enabled>  
577 - <append>N</append>  
578 - <filename>template.xls</filename>  
579 - </template>  
580 - <fields>  
581 - <field>  
582 - <name>&#x8f66;&#x724c;&#x53f7;</name>  
583 - <type>String</type>  
584 - <format/>  
585 - </field>  
586 - <field>  
587 - <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>  
588 - <type>String</type>  
589 - <format/>  
590 - </field>  
591 - <field>  
592 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>  
593 - <type>String</type>  
594 - <format/>  
595 - </field>  
596 - <field>  
597 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
598 - <type>String</type>  
599 - <format/>  
600 - </field>  
601 - <field>  
602 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>  
603 - <type>String</type>  
604 - <format/>  
605 - </field>  
606 - <field>  
607 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
608 - <type>String</type>  
609 - <format/>  
610 - </field>  
611 - <field>  
612 - <name>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</name>  
613 - <type>String</type>  
614 - <format/>  
615 - </field>  
616 - <field>  
617 - <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>  
618 - <type>String</type>  
619 - <format/>  
620 - </field>  
621 - <field>  
622 - <name>error_count</name>  
623 - <type>Integer</type>  
624 - <format/>  
625 - </field>  
626 - <field>  
627 - <name>error_desc</name>  
628 - <type>String</type>  
629 - <format/>  
630 - </field>  
631 - <field>  
632 - <name>error_column1</name>  
633 - <type>String</type>  
634 - <format/>  
635 - </field>  
636 - <field>  
637 - <name>error_column2</name>  
638 - <type>String</type>  
639 - <format/>  
640 - </field>  
641 - </fields>  
642 - <custom>  
643 - <header_font_name>arial</header_font_name>  
644 - <header_font_size>10</header_font_size>  
645 - <header_font_bold>N</header_font_bold>  
646 - <header_font_italic>N</header_font_italic>  
647 - <header_font_underline>no</header_font_underline>  
648 - <header_font_orientation>horizontal</header_font_orientation>  
649 - <header_font_color>black</header_font_color>  
650 - <header_background_color>none</header_background_color>  
651 - <header_row_height>255</header_row_height>  
652 - <header_alignment>left</header_alignment>  
653 - <header_image/>  
654 - <row_font_name>arial</row_font_name>  
655 - <row_font_size>10</row_font_size>  
656 - <row_font_color>black</row_font_color>  
657 - <row_background_color>none</row_background_color>  
658 - </custom>  
659 - <cluster_schema/>  
660 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
661 - <xloc>328</xloc>  
662 - <yloc>140</yloc>  
663 - <draw>Y</draw>  
664 - </GUI>  
665 - </step>  
666 -  
667 - <step_error_handling>  
668 - <error>  
669 - <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</source_step>  
670 - <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</target_step>  
671 - <is_enabled>Y</is_enabled>  
672 - <nr_valuename>error_count</nr_valuename>  
673 - <descriptions_valuename>error_desc</descriptions_valuename>  
674 - <fields_valuename>error_column1</fields_valuename>  
675 - <codes_valuename>error_column2</codes_valuename>  
676 - <max_errors/>  
677 - <max_pct_errors/>  
678 - <min_pct_rows/>  
679 - </error>  
680 - </step_error_handling>  
681 - <slave-step-copy-partition-distribution>  
682 -</slave-step-copy-partition-distribution>  
683 - <slave_transformation>N</slave_transformation>  
684 -  
685 -</transformation> 1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</name>
  5 + <description>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>
  6 + <extended_description>&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>erroroutputdir</name>
  14 + <default_value/>
  15 + <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>
  16 + </parameter>
  17 + <parameter>
  18 + <name>filepath</name>
  19 + <default_value/>
  20 + <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</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&#x2f;06&#x2f;23 17&#x3a;44&#x3a;46.781</created_date>
  81 + <modified_user>-</modified_user>
  82 + <modified_date>2016&#x2f;06&#x2f;23 17&#x3a;44&#x3a;46.781</modified_date>
  83 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
  84 + <is_key_private>N</is_key_private>
  85 + </info>
  86 + <notepads>
  87 + </notepads>
  88 + <connection>
  89 + <name>bus_control_variable</name>
  90 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  91 + <type>MYSQL</type>
  92 + <access>Native</access>
  93 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
  94 + <port>3306</port>
  95 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  96 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  97 + <servername/>
  98 + <data_tablespace/>
  99 + <index_tablespace/>
  100 + <attributes>
  101 + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
  102 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  103 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  104 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  105 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  106 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  107 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  108 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  109 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  110 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  111 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  112 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  113 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  114 + </attributes>
  115 + </connection>
  116 + <connection>
  117 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  118 + <server>localhost</server>
  119 + <type>MYSQL</type>
  120 + <access>Native</access>
  121 + <database>control</database>
  122 + <port>3306</port>
  123 + <username>root</username>
  124 + <password>Encrypted </password>
  125 + <servername/>
  126 + <data_tablespace/>
  127 + <index_tablespace/>
  128 + <attributes>
  129 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  130 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  131 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  132 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  133 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  134 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  135 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  136 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  137 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  138 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  139 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  140 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  141 + </attributes>
  142 + </connection>
  143 + <connection>
  144 + <name>bus_control_&#x672c;&#x673a;</name>
  145 + <server>localhost</server>
  146 + <type>MYSQL</type>
  147 + <access>Native</access>
  148 + <database>control</database>
  149 + <port>3306</port>
  150 + <username>root</username>
  151 + <password>Encrypted </password>
  152 + <servername/>
  153 + <data_tablespace/>
  154 + <index_tablespace/>
  155 + <attributes>
  156 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  157 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  158 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  159 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  160 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  161 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  162 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  163 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  164 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  165 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  166 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  167 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  168 + </attributes>
  169 + </connection>
  170 + <connection>
  171 + <name>xlab_mysql_youle</name>
  172 + <server>101.231.124.8</server>
  173 + <type>MYSQL</type>
  174 + <access>Native</access>
  175 + <database>xlab_youle</database>
  176 + <port>45687</port>
  177 + <username>xlab-youle</username>
  178 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  179 + <servername/>
  180 + <data_tablespace/>
  181 + <index_tablespace/>
  182 + <attributes>
  183 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  184 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  185 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  186 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  187 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  188 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  189 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  190 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  191 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  192 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  193 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  194 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  195 + </attributes>
  196 + </connection>
  197 + <connection>
  198 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  199 + <server>localhost</server>
  200 + <type>MYSQL</type>
  201 + <access>Native</access>
  202 + <database>xlab_youle</database>
  203 + <port>3306</port>
  204 + <username>root</username>
  205 + <password>Encrypted </password>
  206 + <servername/>
  207 + <data_tablespace/>
  208 + <index_tablespace/>
  209 + <attributes>
  210 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  211 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  212 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  213 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  214 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  215 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  216 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  217 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  218 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  219 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  220 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  221 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  222 + </attributes>
  223 + </connection>
  224 + <connection>
  225 + <name>xlab_youle</name>
  226 + <server/>
  227 + <type>MYSQL</type>
  228 + <access>JNDI</access>
  229 + <database>xlab_youle</database>
  230 + <port>1521</port>
  231 + <username/>
  232 + <password>Encrypted </password>
  233 + <servername/>
  234 + <data_tablespace/>
  235 + <index_tablespace/>
  236 + <attributes>
  237 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  238 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  239 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  240 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  241 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  242 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  243 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  244 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  245 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  246 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  247 + </attributes>
  248 + </connection>
  249 + <order>
  250 + <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
  251 + <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</to><enabled>Y</enabled> </hop>
  252 + <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</to><enabled>Y</enabled> </hop>
  253 + </order>
  254 + <step>
  255 + <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>
  256 + <type>ExcelInput</type>
  257 + <description/>
  258 + <distribute>Y</distribute>
  259 + <custom_distribution/>
  260 + <copies>1</copies>
  261 + <partitioning>
  262 + <method>none</method>
  263 + <schema_name/>
  264 + </partitioning>
  265 + <header>Y</header>
  266 + <noempty>Y</noempty>
  267 + <stoponempty>N</stoponempty>
  268 + <filefield/>
  269 + <sheetfield/>
  270 + <sheetrownumfield/>
  271 + <rownumfield/>
  272 + <sheetfield/>
  273 + <filefield/>
  274 + <limit>0</limit>
  275 + <encoding/>
  276 + <add_to_result_filenames>Y</add_to_result_filenames>
  277 + <accept_filenames>Y</accept_filenames>
  278 + <accept_field>filepath_</accept_field>
  279 + <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>
  280 + <file>
  281 + <name/>
  282 + <filemask/>
  283 + <exclude_filemask/>
  284 + <file_required>N</file_required>
  285 + <include_subfolders>N</include_subfolders>
  286 + </file>
  287 + <fields>
  288 + <field>
  289 + <name>&#x8f66;&#x724c;&#x53f7;</name>
  290 + <type>String</type>
  291 + <length>-1</length>
  292 + <precision>-1</precision>
  293 + <trim_type>none</trim_type>
  294 + <repeat>N</repeat>
  295 + <format/>
  296 + <currency/>
  297 + <decimal/>
  298 + <group/>
  299 + </field>
  300 + <field>
  301 + <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>
  302 + <type>String</type>
  303 + <length>-1</length>
  304 + <precision>-1</precision>
  305 + <trim_type>none</trim_type>
  306 + <repeat>N</repeat>
  307 + <format/>
  308 + <currency/>
  309 + <decimal/>
  310 + <group/>
  311 + </field>
  312 + <field>
  313 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  314 + <type>String</type>
  315 + <length>-1</length>
  316 + <precision>-1</precision>
  317 + <trim_type>none</trim_type>
  318 + <repeat>N</repeat>
  319 + <format/>
  320 + <currency/>
  321 + <decimal/>
  322 + <group/>
  323 + </field>
  324 + <field>
  325 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  326 + <type>String</type>
  327 + <length>-1</length>
  328 + <precision>-1</precision>
  329 + <trim_type>none</trim_type>
  330 + <repeat>N</repeat>
  331 + <format/>
  332 + <currency/>
  333 + <decimal/>
  334 + <group/>
  335 + </field>
  336 + <field>
  337 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  338 + <type>String</type>
  339 + <length>-1</length>
  340 + <precision>-1</precision>
  341 + <trim_type>none</trim_type>
  342 + <repeat>N</repeat>
  343 + <format/>
  344 + <currency/>
  345 + <decimal/>
  346 + <group/>
  347 + </field>
  348 + <field>
  349 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  350 + <type>String</type>
  351 + <length>-1</length>
  352 + <precision>-1</precision>
  353 + <trim_type>none</trim_type>
  354 + <repeat>N</repeat>
  355 + <format/>
  356 + <currency/>
  357 + <decimal/>
  358 + <group/>
  359 + </field>
  360 + <field>
  361 + <name>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</name>
  362 + <type>String</type>
  363 + <length>-1</length>
  364 + <precision>-1</precision>
  365 + <trim_type>none</trim_type>
  366 + <repeat>N</repeat>
  367 + <format/>
  368 + <currency/>
  369 + <decimal/>
  370 + <group/>
  371 + </field>
  372 + <field>
  373 + <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>
  374 + <type>String</type>
  375 + <length>-1</length>
  376 + <precision>-1</precision>
  377 + <trim_type>none</trim_type>
  378 + <repeat>N</repeat>
  379 + <format/>
  380 + <currency/>
  381 + <decimal/>
  382 + <group/>
  383 + </field>
  384 + </fields>
  385 + <sheets>
  386 + <sheet>
  387 + <name>&#x5de5;&#x4f5c;&#x8868;1</name>
  388 + <startrow>0</startrow>
  389 + <startcol>0</startcol>
  390 + </sheet>
  391 + </sheets>
  392 + <strict_types>N</strict_types>
  393 + <error_ignored>N</error_ignored>
  394 + <error_line_skipped>N</error_line_skipped>
  395 + <bad_line_files_destination_directory/>
  396 + <bad_line_files_extension>warning</bad_line_files_extension>
  397 + <error_line_files_destination_directory/>
  398 + <error_line_files_extension>error</error_line_files_extension>
  399 + <line_number_files_destination_directory/>
  400 + <line_number_files_extension>line</line_number_files_extension>
  401 + <shortFileFieldName/>
  402 + <pathFieldName/>
  403 + <hiddenFieldName/>
  404 + <lastModificationTimeFieldName/>
  405 + <uriNameFieldName/>
  406 + <rootUriNameFieldName/>
  407 + <extensionFieldName/>
  408 + <sizeFieldName/>
  409 + <spreadsheet_type>JXL</spreadsheet_type>
  410 + <cluster_schema/>
  411 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  412 + <xloc>131</xloc>
  413 + <yloc>58</yloc>
  414 + <draw>Y</draw>
  415 + </GUI>
  416 + </step>
  417 +
  418 + <step>
  419 + <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</name>
  420 + <type>InsertUpdate</type>
  421 + <description/>
  422 + <distribute>Y</distribute>
  423 + <custom_distribution/>
  424 + <copies>1</copies>
  425 + <partitioning>
  426 + <method>none</method>
  427 + <schema_name/>
  428 + </partitioning>
  429 + <connection>bus_control_variable</connection>
  430 + <commit>1000</commit>
  431 + <update_bypassed>N</update_bypassed>
  432 + <lookup>
  433 + <schema/>
  434 + <table>bsth_c_cars</table>
  435 + <key>
  436 + <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>
  437 + <field>inside_code</field>
  438 + <condition>&#x3d;</condition>
  439 + <name2/>
  440 + </key>
  441 + <value>
  442 + <name>car_gride</name>
  443 + <rename>&#x8f66;&#x724c;&#x53f7;</rename>
  444 + <update>Y</update>
  445 + </value>
  446 + <value>
  447 + <name>inside_code</name>
  448 + <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>
  449 + <update>Y</update>
  450 + </value>
  451 + <value>
  452 + <name>car_code</name>
  453 + <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>
  454 + <update>Y</update>
  455 + </value>
  456 + <value>
  457 + <name>company</name>
  458 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>
  459 + <update>Y</update>
  460 + </value>
  461 + <value>
  462 + <name>business_code</name>
  463 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  464 + <update>Y</update>
  465 + </value>
  466 + <value>
  467 + <name>branche_company</name>
  468 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>
  469 + <update>Y</update>
  470 + </value>
  471 + <value>
  472 + <name>branche_company_code</name>
  473 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  474 + <update>Y</update>
  475 + </value>
  476 + <value>
  477 + <name>supplier_name</name>
  478 + <rename>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</rename>
  479 + <update>Y</update>
  480 + </value>
  481 + <value>
  482 + <name>equipment_code</name>
  483 + <rename>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</rename>
  484 + <update>Y</update>
  485 + </value>
  486 + </lookup>
  487 + <cluster_schema/>
  488 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  489 + <xloc>516</xloc>
  490 + <yloc>138</yloc>
  491 + <draw>Y</draw>
  492 + </GUI>
  493 + </step>
  494 +
  495 + <step>
  496 + <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>
  497 + <type>GetVariable</type>
  498 + <description/>
  499 + <distribute>Y</distribute>
  500 + <custom_distribution/>
  501 + <copies>1</copies>
  502 + <partitioning>
  503 + <method>none</method>
  504 + <schema_name/>
  505 + </partitioning>
  506 + <fields>
  507 + <field>
  508 + <name>filepath_</name>
  509 + <variable>&#x24;&#x7b;filepath&#x7d;</variable>
  510 + <type>String</type>
  511 + <format/>
  512 + <currency/>
  513 + <decimal/>
  514 + <group/>
  515 + <length>-1</length>
  516 + <precision>-1</precision>
  517 + <trim_type>none</trim_type>
  518 + </field>
  519 + <field>
  520 + <name>erroroutputdir_</name>
  521 + <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>
  522 + <type>String</type>
  523 + <format/>
  524 + <currency/>
  525 + <decimal/>
  526 + <group/>
  527 + <length>-1</length>
  528 + <precision>-1</precision>
  529 + <trim_type>none</trim_type>
  530 + </field>
  531 + </fields>
  532 + <cluster_schema/>
  533 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  534 + <xloc>134</xloc>
  535 + <yloc>183</yloc>
  536 + <draw>Y</draw>
  537 + </GUI>
  538 + </step>
  539 +
  540 + <step>
  541 + <name>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</name>
  542 + <type>ExcelOutput</type>
  543 + <description/>
  544 + <distribute>Y</distribute>
  545 + <custom_distribution/>
  546 + <copies>1</copies>
  547 + <partitioning>
  548 + <method>none</method>
  549 + <schema_name/>
  550 + </partitioning>
  551 + <header>Y</header>
  552 + <footer>N</footer>
  553 + <encoding/>
  554 + <append>N</append>
  555 + <add_to_result_filenames>Y</add_to_result_filenames>
  556 + <file>
  557 + <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>
  558 + <extention>xls</extention>
  559 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  560 + <create_parent_folder>N</create_parent_folder>
  561 + <split>N</split>
  562 + <add_date>N</add_date>
  563 + <add_time>N</add_time>
  564 + <SpecifyFormat>N</SpecifyFormat>
  565 + <date_time_format/>
  566 + <sheetname>Sheet1</sheetname>
  567 + <autosizecolums>N</autosizecolums>
  568 + <nullisblank>N</nullisblank>
  569 + <protect_sheet>N</protect_sheet>
  570 + <password>Encrypted </password>
  571 + <splitevery>0</splitevery>
  572 + <usetempfiles>N</usetempfiles>
  573 + <tempdirectory/>
  574 + </file>
  575 + <template>
  576 + <enabled>N</enabled>
  577 + <append>N</append>
  578 + <filename>template.xls</filename>
  579 + </template>
  580 + <fields>
  581 + <field>
  582 + <name>&#x8f66;&#x724c;&#x53f7;</name>
  583 + <type>String</type>
  584 + <format/>
  585 + </field>
  586 + <field>
  587 + <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>
  588 + <type>String</type>
  589 + <format/>
  590 + </field>
  591 + <field>
  592 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  593 + <type>String</type>
  594 + <format/>
  595 + </field>
  596 + <field>
  597 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  598 + <type>String</type>
  599 + <format/>
  600 + </field>
  601 + <field>
  602 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  603 + <type>String</type>
  604 + <format/>
  605 + </field>
  606 + <field>
  607 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  608 + <type>String</type>
  609 + <format/>
  610 + </field>
  611 + <field>
  612 + <name>&#x4f9b;&#x5e94;&#x5546;&#x540d;&#x79f0;</name>
  613 + <type>String</type>
  614 + <format/>
  615 + </field>
  616 + <field>
  617 + <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>
  618 + <type>String</type>
  619 + <format/>
  620 + </field>
  621 + <field>
  622 + <name>error_count</name>
  623 + <type>Integer</type>
  624 + <format/>
  625 + </field>
  626 + <field>
  627 + <name>error_desc</name>
  628 + <type>String</type>
  629 + <format/>
  630 + </field>
  631 + <field>
  632 + <name>error_column1</name>
  633 + <type>String</type>
  634 + <format/>
  635 + </field>
  636 + <field>
  637 + <name>error_column2</name>
  638 + <type>String</type>
  639 + <format/>
  640 + </field>
  641 + </fields>
  642 + <custom>
  643 + <header_font_name>arial</header_font_name>
  644 + <header_font_size>10</header_font_size>
  645 + <header_font_bold>N</header_font_bold>
  646 + <header_font_italic>N</header_font_italic>
  647 + <header_font_underline>no</header_font_underline>
  648 + <header_font_orientation>horizontal</header_font_orientation>
  649 + <header_font_color>black</header_font_color>
  650 + <header_background_color>none</header_background_color>
  651 + <header_row_height>255</header_row_height>
  652 + <header_alignment>left</header_alignment>
  653 + <header_image/>
  654 + <row_font_name>arial</row_font_name>
  655 + <row_font_size>10</row_font_size>
  656 + <row_font_color>black</row_font_color>
  657 + <row_background_color>none</row_background_color>
  658 + </custom>
  659 + <cluster_schema/>
  660 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  661 + <xloc>328</xloc>
  662 + <yloc>140</yloc>
  663 + <draw>Y</draw>
  664 + </GUI>
  665 + </step>
  666 +
  667 + <step_error_handling>
  668 + <error>
  669 + <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_cars 2</source_step>
  670 + <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa; 2</target_step>
  671 + <is_enabled>Y</is_enabled>
  672 + <nr_valuename>error_count</nr_valuename>
  673 + <descriptions_valuename>error_desc</descriptions_valuename>
  674 + <fields_valuename>error_column1</fields_valuename>
  675 + <codes_valuename>error_column2</codes_valuename>
  676 + <max_errors/>
  677 + <max_pct_errors/>
  678 + <min_pct_rows/>
  679 + </error>
  680 + </step_error_handling>
  681 + <slave-step-copy-partition-distribution>
  682 +</slave-step-copy-partition-distribution>
  683 + <slave_transformation>N</slave_transformation>
  684 +
  685 +</transformation>
  686 +
src/main/resources/datatools/ktrs/carsDataOutput.ktr
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<transformation>  
3 - <info>  
4 - <name>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</name>  
5 - <description>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</description>  
6 - <extended_description>&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>  
7 - <trans_version/>  
8 - <trans_type>Normal</trans_type>  
9 - <trans_status>0</trans_status>  
10 - <directory>&#x2f;</directory>  
11 - <parameters>  
12 - <parameter>  
13 - <name>filepath</name>  
14 - <default_value/>  
15 - <description>excel&#x6587;&#x4ef6;&#x8def;&#x5f84;</description>  
16 - </parameter>  
17 - </parameters>  
18 - <log>  
19 -<trans-log-table><connection/>  
20 -<schema/>  
21 -<table/>  
22 -<size_limit_lines/>  
23 -<interval/>  
24 -<timeout_days/>  
25 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>  
26 -<perf-log-table><connection/>  
27 -<schema/>  
28 -<table/>  
29 -<interval/>  
30 -<timeout_days/>  
31 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>  
32 -<channel-log-table><connection/>  
33 -<schema/>  
34 -<table/>  
35 -<timeout_days/>  
36 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>  
37 -<step-log-table><connection/>  
38 -<schema/>  
39 -<table/>  
40 -<timeout_days/>  
41 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>  
42 -<metrics-log-table><connection/>  
43 -<schema/>  
44 -<table/>  
45 -<timeout_days/>  
46 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>  
47 - </log>  
48 - <maxdate>  
49 - <connection/>  
50 - <table/>  
51 - <field/>  
52 - <offset>0.0</offset>  
53 - <maxdiff>0.0</maxdiff>  
54 - </maxdate>  
55 - <size_rowset>10000</size_rowset>  
56 - <sleep_time_empty>50</sleep_time_empty>  
57 - <sleep_time_full>50</sleep_time_full>  
58 - <unique_connections>N</unique_connections>  
59 - <feedback_shown>Y</feedback_shown>  
60 - <feedback_size>50000</feedback_size>  
61 - <using_thread_priorities>Y</using_thread_priorities>  
62 - <shared_objects_file/>  
63 - <capture_step_performance>N</capture_step_performance>  
64 - <step_performance_capturing_delay>1000</step_performance_capturing_delay>  
65 - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>  
66 - <dependencies>  
67 - </dependencies>  
68 - <partitionschemas>  
69 - </partitionschemas>  
70 - <slaveservers>  
71 - </slaveservers>  
72 - <clusterschemas>  
73 - </clusterschemas>  
74 - <created_user>-</created_user>  
75 - <created_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</created_date>  
76 - <modified_user>-</modified_user>  
77 - <modified_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</modified_date>  
78 - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>  
79 - <is_key_private>N</is_key_private>  
80 - </info>  
81 - <notepads>  
82 - </notepads>  
83 - <connection>  
84 - <name>bus_control_variable</name>  
85 - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>  
86 - <type>MYSQL</type>  
87 - <access>Native</access>  
88 - <database>&#x24;&#x7b;v_db_dname&#x7d;</database>  
89 - <port>3306</port>  
90 - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>  
91 - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>  
92 - <servername/>  
93 - <data_tablespace/>  
94 - <index_tablespace/>  
95 - <attributes>  
96 - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>  
97 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
98 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
99 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
100 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
101 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
102 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
103 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
104 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
105 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
106 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
107 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
108 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
109 - </attributes>  
110 - </connection>  
111 - <connection>  
112 - <name>bus_control_&#x516c;&#x53f8;_201</name>  
113 - <server>localhost</server>  
114 - <type>MYSQL</type>  
115 - <access>Native</access>  
116 - <database>control</database>  
117 - <port>3306</port>  
118 - <username>root</username>  
119 - <password>Encrypted </password>  
120 - <servername/>  
121 - <data_tablespace/>  
122 - <index_tablespace/>  
123 - <attributes>  
124 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
125 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
126 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
127 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
128 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
129 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
130 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
131 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
132 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
133 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
134 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
135 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
136 - </attributes>  
137 - </connection>  
138 - <connection>  
139 - <name>bus_control_&#x672c;&#x673a;</name>  
140 - <server>localhost</server>  
141 - <type>MYSQL</type>  
142 - <access>Native</access>  
143 - <database>control</database>  
144 - <port>3306</port>  
145 - <username>root</username>  
146 - <password>Encrypted </password>  
147 - <servername/>  
148 - <data_tablespace/>  
149 - <index_tablespace/>  
150 - <attributes>  
151 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
152 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
153 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
154 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
155 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
156 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
157 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
158 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
159 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
160 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
161 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
162 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
163 - </attributes>  
164 - </connection>  
165 - <connection>  
166 - <name>xlab_mysql_youle</name>  
167 - <server>101.231.124.8</server>  
168 - <type>MYSQL</type>  
169 - <access>Native</access>  
170 - <database>xlab_youle</database>  
171 - <port>45687</port>  
172 - <username>xlab-youle</username>  
173 - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>  
174 - <servername/>  
175 - <data_tablespace/>  
176 - <index_tablespace/>  
177 - <attributes>  
178 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
179 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
180 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
181 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
182 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
183 - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>  
184 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
185 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
186 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
187 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
188 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
189 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
190 - </attributes>  
191 - </connection>  
192 - <connection>  
193 - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>  
194 - <server>localhost</server>  
195 - <type>MYSQL</type>  
196 - <access>Native</access>  
197 - <database>xlab_youle</database>  
198 - <port>3306</port>  
199 - <username>root</username>  
200 - <password>Encrypted </password>  
201 - <servername/>  
202 - <data_tablespace/>  
203 - <index_tablespace/>  
204 - <attributes>  
205 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
206 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
207 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
208 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
209 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
210 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
211 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
212 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
213 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
214 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
215 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
216 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
217 - </attributes>  
218 - </connection>  
219 - <connection>  
220 - <name>xlab_youle</name>  
221 - <server/>  
222 - <type>MYSQL</type>  
223 - <access>JNDI</access>  
224 - <database>xlab_youle</database>  
225 - <port>1521</port>  
226 - <username/>  
227 - <password>Encrypted </password>  
228 - <servername/>  
229 - <data_tablespace/>  
230 - <index_tablespace/>  
231 - <attributes>  
232 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
233 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
234 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
235 - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>  
236 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
237 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
238 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
239 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
240 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
241 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
242 - </attributes>  
243 - </connection>  
244 - <order>  
245 - <hop> <from>&#x8868;&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>  
246 - <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>  
247 - </order>  
248 - <step>  
249 - <name>Excel&#x8f93;&#x51fa;</name>  
250 - <type>ExcelOutput</type>  
251 - <description/>  
252 - <distribute>Y</distribute>  
253 - <custom_distribution/>  
254 - <copies>1</copies>  
255 - <partitioning>  
256 - <method>none</method>  
257 - <schema_name/>  
258 - </partitioning>  
259 - <header>Y</header>  
260 - <footer>N</footer>  
261 - <encoding/>  
262 - <append>N</append>  
263 - <add_to_result_filenames>Y</add_to_result_filenames>  
264 - <file>  
265 - <name>&#x24;&#x7b;filepath&#x7d;</name>  
266 - <extention/>  
267 - <do_not_open_newfile_init>N</do_not_open_newfile_init>  
268 - <create_parent_folder>N</create_parent_folder>  
269 - <split>N</split>  
270 - <add_date>N</add_date>  
271 - <add_time>N</add_time>  
272 - <SpecifyFormat>N</SpecifyFormat>  
273 - <date_time_format>yyyyMMddHHmmss</date_time_format>  
274 - <sheetname>&#x5de5;&#x4f5c;&#x8868;1</sheetname>  
275 - <autosizecolums>N</autosizecolums>  
276 - <nullisblank>N</nullisblank>  
277 - <protect_sheet>N</protect_sheet>  
278 - <password>Encrypted </password>  
279 - <splitevery>0</splitevery>  
280 - <usetempfiles>N</usetempfiles>  
281 - <tempdirectory/>  
282 - </file>  
283 - <template>  
284 - <enabled>N</enabled>  
285 - <append>N</append>  
286 - <filename>template.xls</filename>  
287 - </template>  
288 - <fields>  
289 - <field>  
290 - <name>&#x8f66;&#x724c;&#x53f7;</name>  
291 - <type>String</type>  
292 - <format/>  
293 - </field>  
294 - <field>  
295 - <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>  
296 - <type>String</type>  
297 - <format/>  
298 - </field>  
299 - <field>  
300 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>  
301 - <type>String</type>  
302 - <format/>  
303 - </field>  
304 - <field>  
305 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
306 - <type>String</type>  
307 - <format/>  
308 - </field>  
309 - <field>  
310 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>  
311 - <type>String</type>  
312 - <format/>  
313 - </field>  
314 - <field>  
315 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
316 - <type>String</type>  
317 - <format/>  
318 - </field>  
319 - <field>  
320 - <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>  
321 - <type>String</type>  
322 - <format/>  
323 - </field>  
324 - </fields>  
325 - <custom>  
326 - <header_font_name>arial</header_font_name>  
327 - <header_font_size>10</header_font_size>  
328 - <header_font_bold>N</header_font_bold>  
329 - <header_font_italic>N</header_font_italic>  
330 - <header_font_underline>no</header_font_underline>  
331 - <header_font_orientation>horizontal</header_font_orientation>  
332 - <header_font_color>black</header_font_color>  
333 - <header_background_color>none</header_background_color>  
334 - <header_row_height>255</header_row_height>  
335 - <header_alignment>left</header_alignment>  
336 - <header_image/>  
337 - <row_font_name>arial</row_font_name>  
338 - <row_font_size>10</row_font_size>  
339 - <row_font_color>black</row_font_color>  
340 - <row_background_color>none</row_background_color>  
341 - </custom>  
342 - <cluster_schema/>  
343 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
344 - <xloc>282</xloc>  
345 - <yloc>169</yloc>  
346 - <draw>Y</draw>  
347 - </GUI>  
348 - </step>  
349 -  
350 - <step>  
351 - <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>  
352 - <type>SelectValues</type>  
353 - <description/>  
354 - <distribute>Y</distribute>  
355 - <custom_distribution/>  
356 - <copies>1</copies>  
357 - <partitioning>  
358 - <method>none</method>  
359 - <schema_name/>  
360 - </partitioning>  
361 - <fields> <field> <name>car_plate</name>  
362 - <rename>&#x8f66;&#x724c;&#x53f7;</rename>  
363 - <length>-2</length>  
364 - <precision>-2</precision>  
365 - </field> <field> <name>inside_code</name>  
366 - <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>  
367 - <length>-2</length>  
368 - <precision>-2</precision>  
369 - </field> <field> <name>company</name>  
370 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>  
371 - <length>-2</length>  
372 - <precision>-2</precision>  
373 - </field> <field> <name>business_code</name>  
374 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
375 - <length>-2</length>  
376 - <precision>-2</precision>  
377 - </field> <field> <name>branche_company</name>  
378 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>  
379 - <length>-2</length>  
380 - <precision>-2</precision>  
381 - </field> <field> <name>branche_company_code</name>  
382 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
383 - <length>-2</length>  
384 - <precision>-2</precision>  
385 - </field> <field> <name>supplier_name</name>  
386 - <rename>&#x8bbe;&#x5907;&#x4f9b;&#x5e94;&#x5382;&#x5546;</rename>  
387 - <length>-2</length>  
388 - <precision>-2</precision>  
389 - </field> <field> <name>equipment_code</name>  
390 - <rename>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</rename>  
391 - <length>-2</length>  
392 - <precision>-2</precision>  
393 - </field> <select_unspecified>N</select_unspecified>  
394 - </fields> <cluster_schema/>  
395 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
396 - <xloc>280</xloc>  
397 - <yloc>67</yloc>  
398 - <draw>Y</draw>  
399 - </GUI>  
400 - </step>  
401 -  
402 - <step>  
403 - <name>&#x8868;&#x8f93;&#x5165;</name>  
404 - <type>TableInput</type>  
405 - <description/>  
406 - <distribute>Y</distribute>  
407 - <custom_distribution/>  
408 - <copies>1</copies>  
409 - <partitioning>  
410 - <method>none</method>  
411 - <schema_name/>  
412 - </partitioning>  
413 - <connection>bus_control_variable</connection>  
414 - <sql>SELECT &#x2a; FROM bsth_c_cars&#x3b;</sql>  
415 - <limit>0</limit>  
416 - <lookup/>  
417 - <execute_each_row>N</execute_each_row>  
418 - <variables_active>N</variables_active>  
419 - <lazy_conversion_active>N</lazy_conversion_active>  
420 - <cluster_schema/>  
421 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
422 - <xloc>105</xloc>  
423 - <yloc>67</yloc>  
424 - <draw>Y</draw>  
425 - </GUI>  
426 - </step>  
427 -  
428 - <step_error_handling>  
429 - </step_error_handling>  
430 - <slave-step-copy-partition-distribution>  
431 -</slave-step-copy-partition-distribution>  
432 - <slave_transformation>N</slave_transformation>  
433 -  
434 -</transformation> 1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</name>
  5 + <description>&#x8f66;&#x8f86;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</description>
  6 + <extended_description>&#x8f66;&#x8f86;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>filepath</name>
  14 + <default_value/>
  15 + <description>excel&#x6587;&#x4ef6;&#x8def;&#x5f84;</description>
  16 + </parameter>
  17 + </parameters>
  18 + <log>
  19 +<trans-log-table><connection/>
  20 +<schema/>
  21 +<table/>
  22 +<size_limit_lines/>
  23 +<interval/>
  24 +<timeout_days/>
  25 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>
  26 +<perf-log-table><connection/>
  27 +<schema/>
  28 +<table/>
  29 +<interval/>
  30 +<timeout_days/>
  31 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
  32 +<channel-log-table><connection/>
  33 +<schema/>
  34 +<table/>
  35 +<timeout_days/>
  36 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
  37 +<step-log-table><connection/>
  38 +<schema/>
  39 +<table/>
  40 +<timeout_days/>
  41 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
  42 +<metrics-log-table><connection/>
  43 +<schema/>
  44 +<table/>
  45 +<timeout_days/>
  46 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>
  47 + </log>
  48 + <maxdate>
  49 + <connection/>
  50 + <table/>
  51 + <field/>
  52 + <offset>0.0</offset>
  53 + <maxdiff>0.0</maxdiff>
  54 + </maxdate>
  55 + <size_rowset>10000</size_rowset>
  56 + <sleep_time_empty>50</sleep_time_empty>
  57 + <sleep_time_full>50</sleep_time_full>
  58 + <unique_connections>N</unique_connections>
  59 + <feedback_shown>Y</feedback_shown>
  60 + <feedback_size>50000</feedback_size>
  61 + <using_thread_priorities>Y</using_thread_priorities>
  62 + <shared_objects_file/>
  63 + <capture_step_performance>N</capture_step_performance>
  64 + <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  65 + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  66 + <dependencies>
  67 + </dependencies>
  68 + <partitionschemas>
  69 + </partitionschemas>
  70 + <slaveservers>
  71 + </slaveservers>
  72 + <clusterschemas>
  73 + </clusterschemas>
  74 + <created_user>-</created_user>
  75 + <created_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</created_date>
  76 + <modified_user>-</modified_user>
  77 + <modified_date>2016&#x2f;08&#x2f;05 16&#x3a;42&#x3a;22.753</modified_date>
  78 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
  79 + <is_key_private>N</is_key_private>
  80 + </info>
  81 + <notepads>
  82 + </notepads>
  83 + <connection>
  84 + <name>bus_control_variable</name>
  85 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  86 + <type>MYSQL</type>
  87 + <access>Native</access>
  88 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
  89 + <port>3306</port>
  90 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  91 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  92 + <servername/>
  93 + <data_tablespace/>
  94 + <index_tablespace/>
  95 + <attributes>
  96 + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
  97 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  98 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  99 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  100 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  101 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  102 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  103 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  104 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  105 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  106 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  107 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  108 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  109 + </attributes>
  110 + </connection>
  111 + <connection>
  112 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  113 + <server>localhost</server>
  114 + <type>MYSQL</type>
  115 + <access>Native</access>
  116 + <database>control</database>
  117 + <port>3306</port>
  118 + <username>root</username>
  119 + <password>Encrypted </password>
  120 + <servername/>
  121 + <data_tablespace/>
  122 + <index_tablespace/>
  123 + <attributes>
  124 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  125 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  126 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  127 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  128 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  129 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  130 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  131 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  132 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  133 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  134 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  135 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  136 + </attributes>
  137 + </connection>
  138 + <connection>
  139 + <name>bus_control_&#x672c;&#x673a;</name>
  140 + <server>localhost</server>
  141 + <type>MYSQL</type>
  142 + <access>Native</access>
  143 + <database>control</database>
  144 + <port>3306</port>
  145 + <username>root</username>
  146 + <password>Encrypted </password>
  147 + <servername/>
  148 + <data_tablespace/>
  149 + <index_tablespace/>
  150 + <attributes>
  151 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  152 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  153 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  154 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  155 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  156 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  157 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  158 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  159 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  160 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  161 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  162 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  163 + </attributes>
  164 + </connection>
  165 + <connection>
  166 + <name>xlab_mysql_youle</name>
  167 + <server>101.231.124.8</server>
  168 + <type>MYSQL</type>
  169 + <access>Native</access>
  170 + <database>xlab_youle</database>
  171 + <port>45687</port>
  172 + <username>xlab-youle</username>
  173 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  174 + <servername/>
  175 + <data_tablespace/>
  176 + <index_tablespace/>
  177 + <attributes>
  178 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  179 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  180 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  181 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  182 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  183 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  184 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  185 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  186 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  187 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  188 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  189 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  190 + </attributes>
  191 + </connection>
  192 + <connection>
  193 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  194 + <server>localhost</server>
  195 + <type>MYSQL</type>
  196 + <access>Native</access>
  197 + <database>xlab_youle</database>
  198 + <port>3306</port>
  199 + <username>root</username>
  200 + <password>Encrypted </password>
  201 + <servername/>
  202 + <data_tablespace/>
  203 + <index_tablespace/>
  204 + <attributes>
  205 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  206 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  207 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  208 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  209 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  210 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  211 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  212 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  213 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  214 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  215 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  216 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  217 + </attributes>
  218 + </connection>
  219 + <connection>
  220 + <name>xlab_youle</name>
  221 + <server/>
  222 + <type>MYSQL</type>
  223 + <access>JNDI</access>
  224 + <database>xlab_youle</database>
  225 + <port>1521</port>
  226 + <username/>
  227 + <password>Encrypted </password>
  228 + <servername/>
  229 + <data_tablespace/>
  230 + <index_tablespace/>
  231 + <attributes>
  232 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  233 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  234 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  235 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  236 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  237 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  238 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  239 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  240 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  241 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  242 + </attributes>
  243 + </connection>
  244 + <order>
  245 + <hop> <from>&#x8868;&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
  246 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
  247 + </order>
  248 + <step>
  249 + <name>Excel&#x8f93;&#x51fa;</name>
  250 + <type>ExcelOutput</type>
  251 + <description/>
  252 + <distribute>Y</distribute>
  253 + <custom_distribution/>
  254 + <copies>1</copies>
  255 + <partitioning>
  256 + <method>none</method>
  257 + <schema_name/>
  258 + </partitioning>
  259 + <header>Y</header>
  260 + <footer>N</footer>
  261 + <encoding/>
  262 + <append>N</append>
  263 + <add_to_result_filenames>Y</add_to_result_filenames>
  264 + <file>
  265 + <name>&#x24;&#x7b;filepath&#x7d;</name>
  266 + <extention/>
  267 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  268 + <create_parent_folder>N</create_parent_folder>
  269 + <split>N</split>
  270 + <add_date>N</add_date>
  271 + <add_time>N</add_time>
  272 + <SpecifyFormat>N</SpecifyFormat>
  273 + <date_time_format>yyyyMMddHHmmss</date_time_format>
  274 + <sheetname>&#x5de5;&#x4f5c;&#x8868;1</sheetname>
  275 + <autosizecolums>N</autosizecolums>
  276 + <nullisblank>N</nullisblank>
  277 + <protect_sheet>N</protect_sheet>
  278 + <password>Encrypted </password>
  279 + <splitevery>0</splitevery>
  280 + <usetempfiles>N</usetempfiles>
  281 + <tempdirectory/>
  282 + </file>
  283 + <template>
  284 + <enabled>N</enabled>
  285 + <append>N</append>
  286 + <filename>template.xls</filename>
  287 + </template>
  288 + <fields>
  289 + <field>
  290 + <name>&#x8f66;&#x724c;&#x53f7;</name>
  291 + <type>String</type>
  292 + <format/>
  293 + </field>
  294 + <field>
  295 + <name>&#x5185;&#x90e8;&#x7f16;&#x7801;</name>
  296 + <type>String</type>
  297 + <format/>
  298 + </field>
  299 + <field>
  300 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  301 + <type>String</type>
  302 + <format/>
  303 + </field>
  304 + <field>
  305 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  306 + <type>String</type>
  307 + <format/>
  308 + </field>
  309 + <field>
  310 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  311 + <type>String</type>
  312 + <format/>
  313 + </field>
  314 + <field>
  315 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  316 + <type>String</type>
  317 + <format/>
  318 + </field>
  319 + <field>
  320 + <name>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</name>
  321 + <type>String</type>
  322 + <format/>
  323 + </field>
  324 + </fields>
  325 + <custom>
  326 + <header_font_name>arial</header_font_name>
  327 + <header_font_size>10</header_font_size>
  328 + <header_font_bold>N</header_font_bold>
  329 + <header_font_italic>N</header_font_italic>
  330 + <header_font_underline>no</header_font_underline>
  331 + <header_font_orientation>horizontal</header_font_orientation>
  332 + <header_font_color>black</header_font_color>
  333 + <header_background_color>none</header_background_color>
  334 + <header_row_height>255</header_row_height>
  335 + <header_alignment>left</header_alignment>
  336 + <header_image/>
  337 + <row_font_name>arial</row_font_name>
  338 + <row_font_size>10</row_font_size>
  339 + <row_font_color>black</row_font_color>
  340 + <row_background_color>none</row_background_color>
  341 + </custom>
  342 + <cluster_schema/>
  343 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  344 + <xloc>282</xloc>
  345 + <yloc>169</yloc>
  346 + <draw>Y</draw>
  347 + </GUI>
  348 + </step>
  349 +
  350 + <step>
  351 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  352 + <type>SelectValues</type>
  353 + <description/>
  354 + <distribute>Y</distribute>
  355 + <custom_distribution/>
  356 + <copies>1</copies>
  357 + <partitioning>
  358 + <method>none</method>
  359 + <schema_name/>
  360 + </partitioning>
  361 + <fields> <field> <name>car_plate</name>
  362 + <rename>&#x8f66;&#x724c;&#x53f7;</rename>
  363 + <length>-2</length>
  364 + <precision>-2</precision>
  365 + </field> <field> <name>inside_code</name>
  366 + <rename>&#x5185;&#x90e8;&#x7f16;&#x7801;</rename>
  367 + <length>-2</length>
  368 + <precision>-2</precision>
  369 + </field> <field> <name>company</name>
  370 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>
  371 + <length>-2</length>
  372 + <precision>-2</precision>
  373 + </field> <field> <name>business_code</name>
  374 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  375 + <length>-2</length>
  376 + <precision>-2</precision>
  377 + </field> <field> <name>branche_company</name>
  378 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>
  379 + <length>-2</length>
  380 + <precision>-2</precision>
  381 + </field> <field> <name>branche_company_code</name>
  382 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  383 + <length>-2</length>
  384 + <precision>-2</precision>
  385 + </field> <field> <name>supplier_name</name>
  386 + <rename>&#x8bbe;&#x5907;&#x4f9b;&#x5e94;&#x5382;&#x5546;</rename>
  387 + <length>-2</length>
  388 + <precision>-2</precision>
  389 + </field> <field> <name>equipment_code</name>
  390 + <rename>&#x8bbe;&#x5907;&#x7ec8;&#x7aef;&#x53f7;</rename>
  391 + <length>-2</length>
  392 + <precision>-2</precision>
  393 + </field> <select_unspecified>N</select_unspecified>
  394 + </fields> <cluster_schema/>
  395 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  396 + <xloc>280</xloc>
  397 + <yloc>67</yloc>
  398 + <draw>Y</draw>
  399 + </GUI>
  400 + </step>
  401 +
  402 + <step>
  403 + <name>&#x8868;&#x8f93;&#x5165;</name>
  404 + <type>TableInput</type>
  405 + <description/>
  406 + <distribute>Y</distribute>
  407 + <custom_distribution/>
  408 + <copies>1</copies>
  409 + <partitioning>
  410 + <method>none</method>
  411 + <schema_name/>
  412 + </partitioning>
  413 + <connection>bus_control_variable</connection>
  414 + <sql>SELECT &#x2a; FROM bsth_c_cars&#x3b;</sql>
  415 + <limit>0</limit>
  416 + <lookup/>
  417 + <execute_each_row>N</execute_each_row>
  418 + <variables_active>N</variables_active>
  419 + <lazy_conversion_active>N</lazy_conversion_active>
  420 + <cluster_schema/>
  421 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  422 + <xloc>105</xloc>
  423 + <yloc>67</yloc>
  424 + <draw>Y</draw>
  425 + </GUI>
  426 + </step>
  427 +
  428 + <step_error_handling>
  429 + </step_error_handling>
  430 + <slave-step-copy-partition-distribution>
  431 +</slave-step-copy-partition-distribution>
  432 + <slave_transformation>N</slave_transformation>
  433 +
  434 +</transformation>
src/main/resources/datatools/ktrs/employeesDataInput.ktr
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<transformation>  
3 - <info>  
4 - <name>&#x4eba;&#x5458;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</name>  
5 - <description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>  
6 - <extended_description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>  
7 - <trans_version/>  
8 - <trans_type>Normal</trans_type>  
9 - <trans_status>0</trans_status>  
10 - <directory>&#x2f;</directory>  
11 - <parameters>  
12 - <parameter>  
13 - <name>erroroutputdir</name>  
14 - <default_value/>  
15 - <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>  
16 - </parameter>  
17 - <parameter>  
18 - <name>filepath</name>  
19 - <default_value/>  
20 - <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</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&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</created_date>  
81 - <modified_user>-</modified_user>  
82 - <modified_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</modified_date>  
83 - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>  
84 - <is_key_private>N</is_key_private>  
85 - </info>  
86 - <notepads>  
87 - </notepads>  
88 - <connection>  
89 - <name>bus_control_variable</name>  
90 - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>  
91 - <type>MYSQL</type>  
92 - <access>Native</access>  
93 - <database>&#x24;&#x7b;v_db_dname&#x7d;</database>  
94 - <port>3306</port>  
95 - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>  
96 - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>  
97 - <servername/>  
98 - <data_tablespace/>  
99 - <index_tablespace/>  
100 - <attributes>  
101 - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>  
102 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
103 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
104 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
105 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
106 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
107 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
108 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
109 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
110 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
111 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
112 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
113 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
114 - </attributes>  
115 - </connection>  
116 - <connection>  
117 - <name>bus_control_&#x516c;&#x53f8;_201</name>  
118 - <server>localhost</server>  
119 - <type>MYSQL</type>  
120 - <access>Native</access>  
121 - <database>control</database>  
122 - <port>3306</port>  
123 - <username>root</username>  
124 - <password>Encrypted </password>  
125 - <servername/>  
126 - <data_tablespace/>  
127 - <index_tablespace/>  
128 - <attributes>  
129 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
130 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
131 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
132 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
133 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
134 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
135 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
136 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
137 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
138 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
139 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
140 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
141 - </attributes>  
142 - </connection>  
143 - <connection>  
144 - <name>bus_control_&#x672c;&#x673a;</name>  
145 - <server>localhost</server>  
146 - <type>MYSQL</type>  
147 - <access>Native</access>  
148 - <database>control</database>  
149 - <port>3306</port>  
150 - <username>root</username>  
151 - <password>Encrypted </password>  
152 - <servername/>  
153 - <data_tablespace/>  
154 - <index_tablespace/>  
155 - <attributes>  
156 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
157 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
158 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
159 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
160 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
161 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
162 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
163 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
164 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
165 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
166 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
167 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
168 - </attributes>  
169 - </connection>  
170 - <connection>  
171 - <name>xlab_mysql_youle</name>  
172 - <server>101.231.124.8</server>  
173 - <type>MYSQL</type>  
174 - <access>Native</access>  
175 - <database>xlab_youle</database>  
176 - <port>45687</port>  
177 - <username>xlab-youle</username>  
178 - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>  
179 - <servername/>  
180 - <data_tablespace/>  
181 - <index_tablespace/>  
182 - <attributes>  
183 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
184 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
185 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
186 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
187 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
188 - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>  
189 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
190 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
191 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
192 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
193 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
194 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
195 - </attributes>  
196 - </connection>  
197 - <connection>  
198 - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>  
199 - <server>localhost</server>  
200 - <type>MYSQL</type>  
201 - <access>Native</access>  
202 - <database>xlab_youle</database>  
203 - <port>3306</port>  
204 - <username>root</username>  
205 - <password>Encrypted </password>  
206 - <servername/>  
207 - <data_tablespace/>  
208 - <index_tablespace/>  
209 - <attributes>  
210 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
211 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
212 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
213 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
214 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
215 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
216 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
217 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
218 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
219 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
220 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
221 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
222 - </attributes>  
223 - </connection>  
224 - <connection>  
225 - <name>xlab_youle</name>  
226 - <server/>  
227 - <type>MYSQL</type>  
228 - <access>JNDI</access>  
229 - <database>xlab_youle</database>  
230 - <port>1521</port>  
231 - <username/>  
232 - <password>Encrypted </password>  
233 - <servername/>  
234 - <data_tablespace/>  
235 - <index_tablespace/>  
236 - <attributes>  
237 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
238 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
239 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
240 - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>  
241 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
242 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
243 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
244 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
245 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
246 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
247 - </attributes>  
248 - </connection>  
249 - <order>  
250 - <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>  
251 - <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>  
252 - <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>  
253 - <hop> <from>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</from><to>JavaScript&#x4ee3;&#x7801;</to><enabled>Y</enabled> </hop>  
254 - <hop> <from>JavaScript&#x4ee3;&#x7801;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</to><enabled>Y</enabled> </hop>  
255 - </order>  
256 - <step>  
257 - <name>JavaScript&#x4ee3;&#x7801;</name>  
258 - <type>ScriptValueMod</type>  
259 - <description/>  
260 - <distribute>Y</distribute>  
261 - <custom_distribution/>  
262 - <copies>1</copies>  
263 - <partitioning>  
264 - <method>none</method>  
265 - <schema_name/>  
266 - </partitioning>  
267 - <compatible>N</compatible>  
268 - <optimizationLevel>9</optimizationLevel>  
269 - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type>  
270 - <jsScript_name>Script 1</jsScript_name>  
271 - <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#xa;var gh_calcu &#x3d; &#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801; &#x2b; &#x22;-&#x22; &#x2b; &#x5de5;&#x53f7;&#x3b;</jsScript_script>  
272 - </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name>  
273 - <rename>gh_calcu</rename>  
274 - <type>String</type>  
275 - <length>-1</length>  
276 - <precision>-1</precision>  
277 - <replace>N</replace>  
278 - </field> </fields> <cluster_schema/>  
279 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
280 - <xloc>362</xloc>  
281 - <yloc>190</yloc>  
282 - <draw>Y</draw>  
283 - </GUI>  
284 - </step>  
285 -  
286 - <step>  
287 - <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>  
288 - <type>ExcelInput</type>  
289 - <description/>  
290 - <distribute>Y</distribute>  
291 - <custom_distribution/>  
292 - <copies>1</copies>  
293 - <partitioning>  
294 - <method>none</method>  
295 - <schema_name/>  
296 - </partitioning>  
297 - <header>Y</header>  
298 - <noempty>Y</noempty>  
299 - <stoponempty>N</stoponempty>  
300 - <filefield/>  
301 - <sheetfield/>  
302 - <sheetrownumfield/>  
303 - <rownumfield/>  
304 - <sheetfield/>  
305 - <filefield/>  
306 - <limit>0</limit>  
307 - <encoding/>  
308 - <add_to_result_filenames>Y</add_to_result_filenames>  
309 - <accept_filenames>Y</accept_filenames>  
310 - <accept_field>filepath_</accept_field>  
311 - <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>  
312 - <file>  
313 - <name/>  
314 - <filemask/>  
315 - <exclude_filemask/>  
316 - <file_required>N</file_required>  
317 - <include_subfolders>N</include_subfolders>  
318 - </file>  
319 - <fields>  
320 - <field>  
321 - <name>&#x59d3;&#x540d;</name>  
322 - <type>String</type>  
323 - <length>-1</length>  
324 - <precision>-1</precision>  
325 - <trim_type>none</trim_type>  
326 - <repeat>N</repeat>  
327 - <format/>  
328 - <currency/>  
329 - <decimal/>  
330 - <group/>  
331 - </field>  
332 - <field>  
333 - <name>&#x5de5;&#x53f7;</name>  
334 - <type>String</type>  
335 - <length>-1</length>  
336 - <precision>-1</precision>  
337 - <trim_type>none</trim_type>  
338 - <repeat>N</repeat>  
339 - <format>&#x23;</format>  
340 - <currency/>  
341 - <decimal/>  
342 - <group/>  
343 - </field>  
344 - <field>  
345 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</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>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</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/>  
364 - <currency/>  
365 - <decimal/>  
366 - <group/>  
367 - </field>  
368 - <field>  
369 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</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>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</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 - </fields>  
393 - <sheets>  
394 - <sheet>  
395 - <name>&#x5de5;&#x4f5c;&#x8868;1</name>  
396 - <startrow>0</startrow>  
397 - <startcol>0</startcol>  
398 - </sheet>  
399 - </sheets>  
400 - <strict_types>N</strict_types>  
401 - <error_ignored>N</error_ignored>  
402 - <error_line_skipped>N</error_line_skipped>  
403 - <bad_line_files_destination_directory/>  
404 - <bad_line_files_extension>warning</bad_line_files_extension>  
405 - <error_line_files_destination_directory/>  
406 - <error_line_files_extension>error</error_line_files_extension>  
407 - <line_number_files_destination_directory/>  
408 - <line_number_files_extension>line</line_number_files_extension>  
409 - <shortFileFieldName/>  
410 - <pathFieldName/>  
411 - <hiddenFieldName/>  
412 - <lastModificationTimeFieldName/>  
413 - <uriNameFieldName/>  
414 - <rootUriNameFieldName/>  
415 - <extensionFieldName/>  
416 - <sizeFieldName/>  
417 - <spreadsheet_type>JXL</spreadsheet_type>  
418 - <cluster_schema/>  
419 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
420 - <xloc>158</xloc>  
421 - <yloc>57</yloc>  
422 - <draw>Y</draw>  
423 - </GUI>  
424 - </step>  
425 -  
426 - <step>  
427 - <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</name>  
428 - <type>InsertUpdate</type>  
429 - <description/>  
430 - <distribute>Y</distribute>  
431 - <custom_distribution/>  
432 - <copies>1</copies>  
433 - <partitioning>  
434 - <method>none</method>  
435 - <schema_name/>  
436 - </partitioning>  
437 - <connection>bus_control_variable</connection>  
438 - <commit>5000</commit>  
439 - <update_bypassed>N</update_bypassed>  
440 - <lookup>  
441 - <schema/>  
442 - <table>bsth_c_personnel</table>  
443 - <key>  
444 - <name>gh_calcu</name>  
445 - <field>job_code</field>  
446 - <condition>&#x3d;</condition>  
447 - <name2/>  
448 - </key>  
449 - <value>  
450 - <name>personnel_name</name>  
451 - <rename>&#x59d3;&#x540d;</rename>  
452 - <update>Y</update>  
453 - </value>  
454 - <value>  
455 - <name>company</name>  
456 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>  
457 - <update>Y</update>  
458 - </value>  
459 - <value>  
460 - <name>company_code</name>  
461 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
462 - <update>Y</update>  
463 - </value>  
464 - <value>  
465 - <name>branche_company</name>  
466 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>  
467 - <update>Y</update>  
468 - </value>  
469 - <value>  
470 - <name>branche_company_code</name>  
471 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
472 - <update>Y</update>  
473 - </value>  
474 - <value>  
475 - <name>job_code</name>  
476 - <rename>gh_calcu</rename>  
477 - <update>Y</update>  
478 - </value>  
479 - </lookup>  
480 - <cluster_schema/>  
481 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
482 - <xloc>576</xloc>  
483 - <yloc>56</yloc>  
484 - <draw>Y</draw>  
485 - </GUI>  
486 - </step>  
487 -  
488 - <step>  
489 - <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>  
490 - <type>GetVariable</type>  
491 - <description/>  
492 - <distribute>Y</distribute>  
493 - <custom_distribution/>  
494 - <copies>1</copies>  
495 - <partitioning>  
496 - <method>none</method>  
497 - <schema_name/>  
498 - </partitioning>  
499 - <fields>  
500 - <field>  
501 - <name>filepath_</name>  
502 - <variable>&#x24;&#x7b;filepath&#x7d;</variable>  
503 - <type>String</type>  
504 - <format/>  
505 - <currency/>  
506 - <decimal/>  
507 - <group/>  
508 - <length>-1</length>  
509 - <precision>-1</precision>  
510 - <trim_type>none</trim_type>  
511 - </field>  
512 - <field>  
513 - <name>erroroutputdir_</name>  
514 - <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>  
515 - <type>String</type>  
516 - <format/>  
517 - <currency/>  
518 - <decimal/>  
519 - <group/>  
520 - <length>-1</length>  
521 - <precision>-1</precision>  
522 - <trim_type>none</trim_type>  
523 - </field>  
524 - </fields>  
525 - <cluster_schema/>  
526 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
527 - <xloc>90</xloc>  
528 - <yloc>148</yloc>  
529 - <draw>Y</draw>  
530 - </GUI>  
531 - </step>  
532 -  
533 - <step>  
534 - <name>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</name>  
535 - <type>FilterRows</type>  
536 - <description/>  
537 - <distribute>Y</distribute>  
538 - <custom_distribution/>  
539 - <copies>1</copies>  
540 - <partitioning>  
541 - <method>none</method>  
542 - <schema_name/>  
543 - </partitioning>  
544 -<send_true_to/>  
545 -<send_false_to/>  
546 - <compare>  
547 -<condition>  
548 - <negated>N</negated>  
549 - <conditions>  
550 - <condition>  
551 - <negated>N</negated>  
552 - <leftvalue>&#x5de5;&#x53f7;</leftvalue>  
553 - <function>IS NOT NULL</function>  
554 - <rightvalue/>  
555 - </condition>  
556 - <condition>  
557 - <negated>N</negated>  
558 - <operator>AND</operator>  
559 - <leftvalue>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</leftvalue>  
560 - <function>IS NOT NULL</function>  
561 - <rightvalue/>  
562 - </condition>  
563 - </conditions>  
564 - </condition>  
565 - </compare>  
566 - <cluster_schema/>  
567 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
568 - <xloc>358</xloc>  
569 - <yloc>57</yloc>  
570 - <draw>Y</draw>  
571 - </GUI>  
572 - </step>  
573 -  
574 - <step>  
575 - <name>&#x9519;&#x8bef;&#x8f93;&#x51fa;</name>  
576 - <type>ExcelOutput</type>  
577 - <description/>  
578 - <distribute>Y</distribute>  
579 - <custom_distribution/>  
580 - <copies>1</copies>  
581 - <partitioning>  
582 - <method>none</method>  
583 - <schema_name/>  
584 - </partitioning>  
585 - <header>Y</header>  
586 - <footer>N</footer>  
587 - <encoding>UTF-8</encoding>  
588 - <append>N</append>  
589 - <add_to_result_filenames>Y</add_to_result_filenames>  
590 - <file>  
591 - <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>  
592 - <extention>xls</extention>  
593 - <do_not_open_newfile_init>N</do_not_open_newfile_init>  
594 - <create_parent_folder>N</create_parent_folder>  
595 - <split>N</split>  
596 - <add_date>N</add_date>  
597 - <add_time>N</add_time>  
598 - <SpecifyFormat>N</SpecifyFormat>  
599 - <date_time_format/>  
600 - <sheetname>Sheet1</sheetname>  
601 - <autosizecolums>N</autosizecolums>  
602 - <nullisblank>N</nullisblank>  
603 - <protect_sheet>N</protect_sheet>  
604 - <password>Encrypted </password>  
605 - <splitevery>0</splitevery>  
606 - <usetempfiles>N</usetempfiles>  
607 - <tempdirectory/>  
608 - </file>  
609 - <template>  
610 - <enabled>N</enabled>  
611 - <append>N</append>  
612 - <filename>template.xls</filename>  
613 - </template>  
614 - <fields>  
615 - <field>  
616 - <name>&#x59d3;&#x540d;</name>  
617 - <type>String</type>  
618 - <format/>  
619 - </field>  
620 - <field>  
621 - <name>&#x5de5;&#x53f7;</name>  
622 - <type>String</type>  
623 - <format/>  
624 - </field>  
625 - <field>  
626 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>  
627 - <type>String</type>  
628 - <format/>  
629 - </field>  
630 - <field>  
631 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
632 - <type>String</type>  
633 - <format/>  
634 - </field>  
635 - <field>  
636 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>  
637 - <type>String</type>  
638 - <format/>  
639 - </field>  
640 - <field>  
641 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
642 - <type>String</type>  
643 - <format/>  
644 - </field>  
645 - <field>  
646 - <name>gh_calcu</name>  
647 - <type>String</type>  
648 - <format/>  
649 - </field>  
650 - <field>  
651 - <name>error_count</name>  
652 - <type>Integer</type>  
653 - <format/>  
654 - </field>  
655 - <field>  
656 - <name>error_desc</name>  
657 - <type>String</type>  
658 - <format/>  
659 - </field>  
660 - <field>  
661 - <name>error_column1</name>  
662 - <type>String</type>  
663 - <format/>  
664 - </field>  
665 - <field>  
666 - <name>error_column2</name>  
667 - <type>String</type>  
668 - <format/>  
669 - </field>  
670 - </fields>  
671 - <custom>  
672 - <header_font_name>arial</header_font_name>  
673 - <header_font_size>10</header_font_size>  
674 - <header_font_bold>N</header_font_bold>  
675 - <header_font_italic>N</header_font_italic>  
676 - <header_font_underline>no</header_font_underline>  
677 - <header_font_orientation>horizontal</header_font_orientation>  
678 - <header_font_color>black</header_font_color>  
679 - <header_background_color>none</header_background_color>  
680 - <header_row_height>255</header_row_height>  
681 - <header_alignment>left</header_alignment>  
682 - <header_image/>  
683 - <row_font_name>arial</row_font_name>  
684 - <row_font_size>10</row_font_size>  
685 - <row_font_color>black</row_font_color>  
686 - <row_background_color>none</row_background_color>  
687 - </custom>  
688 - <cluster_schema/>  
689 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
690 - <xloc>578</xloc>  
691 - <yloc>223</yloc>  
692 - <draw>Y</draw>  
693 - </GUI>  
694 - </step>  
695 -  
696 - <step_error_handling>  
697 - <error>  
698 - <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</source_step>  
699 - <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa;</target_step>  
700 - <is_enabled>Y</is_enabled>  
701 - <nr_valuename>error_count</nr_valuename>  
702 - <descriptions_valuename>error_desc</descriptions_valuename>  
703 - <fields_valuename>error_column1</fields_valuename>  
704 - <codes_valuename>error_column2</codes_valuename>  
705 - <max_errors/>  
706 - <max_pct_errors/>  
707 - <min_pct_rows/>  
708 - </error>  
709 - </step_error_handling>  
710 - <slave-step-copy-partition-distribution>  
711 -</slave-step-copy-partition-distribution>  
712 - <slave_transformation>N</slave_transformation>  
713 -  
714 -</transformation> 1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>&#x4eba;&#x5458;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</name>
  5 + <description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;&#x5bfc;&#x5165;</description>
  6 + <extended_description>&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;</extended_description>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>erroroutputdir</name>
  14 + <default_value/>
  15 + <description>ktr step&#x914d;&#x7f6e;&#x7684;&#x9519;&#x8bef;&#x8f93;&#x51fa;&#x76ee;&#x5f55;</description>
  16 + </parameter>
  17 + <parameter>
  18 + <name>filepath</name>
  19 + <default_value/>
  20 + <description>&#x5f85;&#x5904;&#x7406;&#x5bfc;&#x5165;&#x7684;excel&#x6587;&#x4ef6;</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&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</created_date>
  81 + <modified_user>-</modified_user>
  82 + <modified_date>2016&#x2f;06&#x2f;29 10&#x3a;18&#x3a;56.974</modified_date>
  83 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
  84 + <is_key_private>N</is_key_private>
  85 + </info>
  86 + <notepads>
  87 + </notepads>
  88 + <connection>
  89 + <name>bus_control_variable</name>
  90 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  91 + <type>MYSQL</type>
  92 + <access>Native</access>
  93 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
  94 + <port>3306</port>
  95 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  96 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  97 + <servername/>
  98 + <data_tablespace/>
  99 + <index_tablespace/>
  100 + <attributes>
  101 + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
  102 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  103 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  104 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  105 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  106 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  107 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  108 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  109 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  110 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  111 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  112 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  113 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  114 + </attributes>
  115 + </connection>
  116 + <connection>
  117 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  118 + <server>localhost</server>
  119 + <type>MYSQL</type>
  120 + <access>Native</access>
  121 + <database>control</database>
  122 + <port>3306</port>
  123 + <username>root</username>
  124 + <password>Encrypted </password>
  125 + <servername/>
  126 + <data_tablespace/>
  127 + <index_tablespace/>
  128 + <attributes>
  129 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  130 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  131 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  132 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  133 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  134 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  135 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  136 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  137 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  138 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  139 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  140 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  141 + </attributes>
  142 + </connection>
  143 + <connection>
  144 + <name>bus_control_&#x672c;&#x673a;</name>
  145 + <server>localhost</server>
  146 + <type>MYSQL</type>
  147 + <access>Native</access>
  148 + <database>control</database>
  149 + <port>3306</port>
  150 + <username>root</username>
  151 + <password>Encrypted </password>
  152 + <servername/>
  153 + <data_tablespace/>
  154 + <index_tablespace/>
  155 + <attributes>
  156 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  157 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  158 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  159 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  160 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  161 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  162 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  163 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  164 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  165 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  166 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  167 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  168 + </attributes>
  169 + </connection>
  170 + <connection>
  171 + <name>xlab_mysql_youle</name>
  172 + <server>101.231.124.8</server>
  173 + <type>MYSQL</type>
  174 + <access>Native</access>
  175 + <database>xlab_youle</database>
  176 + <port>45687</port>
  177 + <username>xlab-youle</username>
  178 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  179 + <servername/>
  180 + <data_tablespace/>
  181 + <index_tablespace/>
  182 + <attributes>
  183 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  184 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  185 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  186 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  187 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  188 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  189 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  190 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  191 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  192 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  193 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  194 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  195 + </attributes>
  196 + </connection>
  197 + <connection>
  198 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  199 + <server>localhost</server>
  200 + <type>MYSQL</type>
  201 + <access>Native</access>
  202 + <database>xlab_youle</database>
  203 + <port>3306</port>
  204 + <username>root</username>
  205 + <password>Encrypted </password>
  206 + <servername/>
  207 + <data_tablespace/>
  208 + <index_tablespace/>
  209 + <attributes>
  210 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  211 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  212 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  213 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  214 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  215 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  216 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  217 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  218 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  219 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  220 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  221 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  222 + </attributes>
  223 + </connection>
  224 + <connection>
  225 + <name>xlab_youle</name>
  226 + <server/>
  227 + <type>MYSQL</type>
  228 + <access>JNDI</access>
  229 + <database>xlab_youle</database>
  230 + <port>1521</port>
  231 + <username/>
  232 + <password>Encrypted </password>
  233 + <servername/>
  234 + <data_tablespace/>
  235 + <index_tablespace/>
  236 + <attributes>
  237 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  238 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  239 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  240 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  241 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  242 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  243 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  244 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  245 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  246 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  247 + </attributes>
  248 + </connection>
  249 + <order>
  250 + <hop> <from>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</from><to>&#x9519;&#x8bef;&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
  251 + <hop> <from>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</from><to>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</to><enabled>Y</enabled> </hop>
  252 + <hop> <from>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</from><to>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</to><enabled>Y</enabled> </hop>
  253 + <hop> <from>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</from><to>JavaScript&#x4ee3;&#x7801;</to><enabled>Y</enabled> </hop>
  254 + <hop> <from>JavaScript&#x4ee3;&#x7801;</from><to>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</to><enabled>Y</enabled> </hop>
  255 + </order>
  256 + <step>
  257 + <name>JavaScript&#x4ee3;&#x7801;</name>
  258 + <type>ScriptValueMod</type>
  259 + <description/>
  260 + <distribute>Y</distribute>
  261 + <custom_distribution/>
  262 + <copies>1</copies>
  263 + <partitioning>
  264 + <method>none</method>
  265 + <schema_name/>
  266 + </partitioning>
  267 + <compatible>N</compatible>
  268 + <optimizationLevel>9</optimizationLevel>
  269 + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type>
  270 + <jsScript_name>Script 1</jsScript_name>
  271 + <jsScript_script>&#x2f;&#x2f;Script here&#xa;&#xa;var gh_calcu &#x3d; &#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801; &#x2b; &#x22;-&#x22; &#x2b; &#x5de5;&#x53f7;&#x3b;</jsScript_script>
  272 + </jsScript> </jsScripts> <fields> <field> <name>gh_calcu</name>
  273 + <rename>gh_calcu</rename>
  274 + <type>String</type>
  275 + <length>-1</length>
  276 + <precision>-1</precision>
  277 + <replace>N</replace>
  278 + </field> </fields> <cluster_schema/>
  279 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  280 + <xloc>362</xloc>
  281 + <yloc>190</yloc>
  282 + <draw>Y</draw>
  283 + </GUI>
  284 + </step>
  285 +
  286 + <step>
  287 + <name>&#x539f;&#x59cb;&#x7cfb;&#x7edf;&#x5bfc;&#x51fa;&#x7684;Excel&#x8f93;&#x5165;</name>
  288 + <type>ExcelInput</type>
  289 + <description/>
  290 + <distribute>Y</distribute>
  291 + <custom_distribution/>
  292 + <copies>1</copies>
  293 + <partitioning>
  294 + <method>none</method>
  295 + <schema_name/>
  296 + </partitioning>
  297 + <header>Y</header>
  298 + <noempty>Y</noempty>
  299 + <stoponempty>N</stoponempty>
  300 + <filefield/>
  301 + <sheetfield/>
  302 + <sheetrownumfield/>
  303 + <rownumfield/>
  304 + <sheetfield/>
  305 + <filefield/>
  306 + <limit>0</limit>
  307 + <encoding/>
  308 + <add_to_result_filenames>Y</add_to_result_filenames>
  309 + <accept_filenames>Y</accept_filenames>
  310 + <accept_field>filepath_</accept_field>
  311 + <accept_stepname>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</accept_stepname>
  312 + <file>
  313 + <name/>
  314 + <filemask/>
  315 + <exclude_filemask/>
  316 + <file_required>N</file_required>
  317 + <include_subfolders>N</include_subfolders>
  318 + </file>
  319 + <fields>
  320 + <field>
  321 + <name>&#x59d3;&#x540d;</name>
  322 + <type>String</type>
  323 + <length>-1</length>
  324 + <precision>-1</precision>
  325 + <trim_type>none</trim_type>
  326 + <repeat>N</repeat>
  327 + <format/>
  328 + <currency/>
  329 + <decimal/>
  330 + <group/>
  331 + </field>
  332 + <field>
  333 + <name>&#x5de5;&#x53f7;</name>
  334 + <type>String</type>
  335 + <length>-1</length>
  336 + <precision>-1</precision>
  337 + <trim_type>none</trim_type>
  338 + <repeat>N</repeat>
  339 + <format>&#x23;</format>
  340 + <currency/>
  341 + <decimal/>
  342 + <group/>
  343 + </field>
  344 + <field>
  345 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</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>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</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/>
  364 + <currency/>
  365 + <decimal/>
  366 + <group/>
  367 + </field>
  368 + <field>
  369 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</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>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</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 + </fields>
  393 + <sheets>
  394 + <sheet>
  395 + <name>&#x5de5;&#x4f5c;&#x8868;1</name>
  396 + <startrow>0</startrow>
  397 + <startcol>0</startcol>
  398 + </sheet>
  399 + </sheets>
  400 + <strict_types>N</strict_types>
  401 + <error_ignored>N</error_ignored>
  402 + <error_line_skipped>N</error_line_skipped>
  403 + <bad_line_files_destination_directory/>
  404 + <bad_line_files_extension>warning</bad_line_files_extension>
  405 + <error_line_files_destination_directory/>
  406 + <error_line_files_extension>error</error_line_files_extension>
  407 + <line_number_files_destination_directory/>
  408 + <line_number_files_extension>line</line_number_files_extension>
  409 + <shortFileFieldName/>
  410 + <pathFieldName/>
  411 + <hiddenFieldName/>
  412 + <lastModificationTimeFieldName/>
  413 + <uriNameFieldName/>
  414 + <rootUriNameFieldName/>
  415 + <extensionFieldName/>
  416 + <sizeFieldName/>
  417 + <spreadsheet_type>JXL</spreadsheet_type>
  418 + <cluster_schema/>
  419 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  420 + <xloc>158</xloc>
  421 + <yloc>57</yloc>
  422 + <draw>Y</draw>
  423 + </GUI>
  424 + </step>
  425 +
  426 + <step>
  427 + <name>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</name>
  428 + <type>InsertUpdate</type>
  429 + <description/>
  430 + <distribute>Y</distribute>
  431 + <custom_distribution/>
  432 + <copies>1</copies>
  433 + <partitioning>
  434 + <method>none</method>
  435 + <schema_name/>
  436 + </partitioning>
  437 + <connection>bus_control_variable</connection>
  438 + <commit>5000</commit>
  439 + <update_bypassed>N</update_bypassed>
  440 + <lookup>
  441 + <schema/>
  442 + <table>bsth_c_personnel</table>
  443 + <key>
  444 + <name>gh_calcu</name>
  445 + <field>job_code</field>
  446 + <condition>&#x3d;</condition>
  447 + <name2/>
  448 + </key>
  449 + <value>
  450 + <name>personnel_name</name>
  451 + <rename>&#x59d3;&#x540d;</rename>
  452 + <update>Y</update>
  453 + </value>
  454 + <value>
  455 + <name>company</name>
  456 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>
  457 + <update>Y</update>
  458 + </value>
  459 + <value>
  460 + <name>company_code</name>
  461 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  462 + <update>Y</update>
  463 + </value>
  464 + <value>
  465 + <name>branche_company</name>
  466 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>
  467 + <update>Y</update>
  468 + </value>
  469 + <value>
  470 + <name>branche_company_code</name>
  471 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  472 + <update>Y</update>
  473 + </value>
  474 + <value>
  475 + <name>job_code</name>
  476 + <rename>gh_calcu</rename>
  477 + <update>Y</update>
  478 + </value>
  479 + </lookup>
  480 + <cluster_schema/>
  481 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  482 + <xloc>576</xloc>
  483 + <yloc>56</yloc>
  484 + <draw>Y</draw>
  485 + </GUI>
  486 + </step>
  487 +
  488 + <step>
  489 + <name>&#x83b7;&#x53d6;&#x53d8;&#x91cf;</name>
  490 + <type>GetVariable</type>
  491 + <description/>
  492 + <distribute>Y</distribute>
  493 + <custom_distribution/>
  494 + <copies>1</copies>
  495 + <partitioning>
  496 + <method>none</method>
  497 + <schema_name/>
  498 + </partitioning>
  499 + <fields>
  500 + <field>
  501 + <name>filepath_</name>
  502 + <variable>&#x24;&#x7b;filepath&#x7d;</variable>
  503 + <type>String</type>
  504 + <format/>
  505 + <currency/>
  506 + <decimal/>
  507 + <group/>
  508 + <length>-1</length>
  509 + <precision>-1</precision>
  510 + <trim_type>none</trim_type>
  511 + </field>
  512 + <field>
  513 + <name>erroroutputdir_</name>
  514 + <variable>&#x24;&#x7b;erroroutputdir&#x7d;</variable>
  515 + <type>String</type>
  516 + <format/>
  517 + <currency/>
  518 + <decimal/>
  519 + <group/>
  520 + <length>-1</length>
  521 + <precision>-1</precision>
  522 + <trim_type>none</trim_type>
  523 + </field>
  524 + </fields>
  525 + <cluster_schema/>
  526 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  527 + <xloc>90</xloc>
  528 + <yloc>148</yloc>
  529 + <draw>Y</draw>
  530 + </GUI>
  531 + </step>
  532 +
  533 + <step>
  534 + <name>&#x8fc7;&#x6ee4;&#x8bb0;&#x5f55;</name>
  535 + <type>FilterRows</type>
  536 + <description/>
  537 + <distribute>Y</distribute>
  538 + <custom_distribution/>
  539 + <copies>1</copies>
  540 + <partitioning>
  541 + <method>none</method>
  542 + <schema_name/>
  543 + </partitioning>
  544 +<send_true_to/>
  545 +<send_false_to/>
  546 + <compare>
  547 +<condition>
  548 + <negated>N</negated>
  549 + <conditions>
  550 + <condition>
  551 + <negated>N</negated>
  552 + <leftvalue>&#x5de5;&#x53f7;</leftvalue>
  553 + <function>IS NOT NULL</function>
  554 + <rightvalue/>
  555 + </condition>
  556 + <condition>
  557 + <negated>N</negated>
  558 + <operator>AND</operator>
  559 + <leftvalue>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</leftvalue>
  560 + <function>IS NOT NULL</function>
  561 + <rightvalue/>
  562 + </condition>
  563 + </conditions>
  564 + </condition>
  565 + </compare>
  566 + <cluster_schema/>
  567 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  568 + <xloc>358</xloc>
  569 + <yloc>57</yloc>
  570 + <draw>Y</draw>
  571 + </GUI>
  572 + </step>
  573 +
  574 + <step>
  575 + <name>&#x9519;&#x8bef;&#x8f93;&#x51fa;</name>
  576 + <type>ExcelOutput</type>
  577 + <description/>
  578 + <distribute>Y</distribute>
  579 + <custom_distribution/>
  580 + <copies>1</copies>
  581 + <partitioning>
  582 + <method>none</method>
  583 + <schema_name/>
  584 + </partitioning>
  585 + <header>Y</header>
  586 + <footer>N</footer>
  587 + <encoding>UTF-8</encoding>
  588 + <append>N</append>
  589 + <add_to_result_filenames>Y</add_to_result_filenames>
  590 + <file>
  591 + <name>&#x24;&#x7b;erroroutputdir&#x7d;&#x2f;&#x4eba;&#x5458;&#x57fa;&#x7840;&#x4fe1;&#x606f;_&#x9519;&#x8bef;</name>
  592 + <extention>xls</extention>
  593 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  594 + <create_parent_folder>N</create_parent_folder>
  595 + <split>N</split>
  596 + <add_date>N</add_date>
  597 + <add_time>N</add_time>
  598 + <SpecifyFormat>N</SpecifyFormat>
  599 + <date_time_format/>
  600 + <sheetname>Sheet1</sheetname>
  601 + <autosizecolums>N</autosizecolums>
  602 + <nullisblank>N</nullisblank>
  603 + <protect_sheet>N</protect_sheet>
  604 + <password>Encrypted </password>
  605 + <splitevery>0</splitevery>
  606 + <usetempfiles>N</usetempfiles>
  607 + <tempdirectory/>
  608 + </file>
  609 + <template>
  610 + <enabled>N</enabled>
  611 + <append>N</append>
  612 + <filename>template.xls</filename>
  613 + </template>
  614 + <fields>
  615 + <field>
  616 + <name>&#x59d3;&#x540d;</name>
  617 + <type>String</type>
  618 + <format/>
  619 + </field>
  620 + <field>
  621 + <name>&#x5de5;&#x53f7;</name>
  622 + <type>String</type>
  623 + <format/>
  624 + </field>
  625 + <field>
  626 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  627 + <type>String</type>
  628 + <format/>
  629 + </field>
  630 + <field>
  631 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  632 + <type>String</type>
  633 + <format/>
  634 + </field>
  635 + <field>
  636 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  637 + <type>String</type>
  638 + <format/>
  639 + </field>
  640 + <field>
  641 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  642 + <type>String</type>
  643 + <format/>
  644 + </field>
  645 + <field>
  646 + <name>gh_calcu</name>
  647 + <type>String</type>
  648 + <format/>
  649 + </field>
  650 + <field>
  651 + <name>error_count</name>
  652 + <type>Integer</type>
  653 + <format/>
  654 + </field>
  655 + <field>
  656 + <name>error_desc</name>
  657 + <type>String</type>
  658 + <format/>
  659 + </field>
  660 + <field>
  661 + <name>error_column1</name>
  662 + <type>String</type>
  663 + <format/>
  664 + </field>
  665 + <field>
  666 + <name>error_column2</name>
  667 + <type>String</type>
  668 + <format/>
  669 + </field>
  670 + </fields>
  671 + <custom>
  672 + <header_font_name>arial</header_font_name>
  673 + <header_font_size>10</header_font_size>
  674 + <header_font_bold>N</header_font_bold>
  675 + <header_font_italic>N</header_font_italic>
  676 + <header_font_underline>no</header_font_underline>
  677 + <header_font_orientation>horizontal</header_font_orientation>
  678 + <header_font_color>black</header_font_color>
  679 + <header_background_color>none</header_background_color>
  680 + <header_row_height>255</header_row_height>
  681 + <header_alignment>left</header_alignment>
  682 + <header_image/>
  683 + <row_font_name>arial</row_font_name>
  684 + <row_font_size>10</row_font_size>
  685 + <row_font_color>black</row_font_color>
  686 + <row_background_color>none</row_background_color>
  687 + </custom>
  688 + <cluster_schema/>
  689 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  690 + <xloc>578</xloc>
  691 + <yloc>223</yloc>
  692 + <draw>Y</draw>
  693 + </GUI>
  694 + </step>
  695 +
  696 + <step_error_handling>
  697 + <error>
  698 + <source_step>&#x63d2;&#x5165;&#x2f;&#x66f4;&#x65b0;bsth_c_personnel</source_step>
  699 + <target_step>&#x9519;&#x8bef;&#x8f93;&#x51fa;</target_step>
  700 + <is_enabled>Y</is_enabled>
  701 + <nr_valuename>error_count</nr_valuename>
  702 + <descriptions_valuename>error_desc</descriptions_valuename>
  703 + <fields_valuename>error_column1</fields_valuename>
  704 + <codes_valuename>error_column2</codes_valuename>
  705 + <max_errors/>
  706 + <max_pct_errors/>
  707 + <min_pct_rows/>
  708 + </error>
  709 + </step_error_handling>
  710 + <slave-step-copy-partition-distribution>
  711 +</slave-step-copy-partition-distribution>
  712 + <slave_transformation>N</slave_transformation>
  713 +
  714 +</transformation>
  715 +
src/main/resources/datatools/ktrs/employeesDataOutput.ktr
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<transformation>  
3 - <info>  
4 - <name>&#x4eba;&#x5458;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</name>  
5 - <description/>  
6 - <extended_description/>  
7 - <trans_version/>  
8 - <trans_type>Normal</trans_type>  
9 - <trans_status>0</trans_status>  
10 - <directory>&#x2f;</directory>  
11 - <parameters>  
12 - <parameter>  
13 - <name>filepath</name>  
14 - <default_value/>  
15 - <description>excel&#x6587;&#x4ef6;&#x8def;&#x5f84;</description>  
16 - </parameter>  
17 - </parameters>  
18 - <log>  
19 -<trans-log-table><connection/>  
20 -<schema/>  
21 -<table/>  
22 -<size_limit_lines/>  
23 -<interval/>  
24 -<timeout_days/>  
25 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>  
26 -<perf-log-table><connection/>  
27 -<schema/>  
28 -<table/>  
29 -<interval/>  
30 -<timeout_days/>  
31 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>  
32 -<channel-log-table><connection/>  
33 -<schema/>  
34 -<table/>  
35 -<timeout_days/>  
36 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>  
37 -<step-log-table><connection/>  
38 -<schema/>  
39 -<table/>  
40 -<timeout_days/>  
41 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>  
42 -<metrics-log-table><connection/>  
43 -<schema/>  
44 -<table/>  
45 -<timeout_days/>  
46 -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>  
47 - </log>  
48 - <maxdate>  
49 - <connection/>  
50 - <table/>  
51 - <field/>  
52 - <offset>0.0</offset>  
53 - <maxdiff>0.0</maxdiff>  
54 - </maxdate>  
55 - <size_rowset>10000</size_rowset>  
56 - <sleep_time_empty>50</sleep_time_empty>  
57 - <sleep_time_full>50</sleep_time_full>  
58 - <unique_connections>N</unique_connections>  
59 - <feedback_shown>Y</feedback_shown>  
60 - <feedback_size>50000</feedback_size>  
61 - <using_thread_priorities>Y</using_thread_priorities>  
62 - <shared_objects_file/>  
63 - <capture_step_performance>N</capture_step_performance>  
64 - <step_performance_capturing_delay>1000</step_performance_capturing_delay>  
65 - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>  
66 - <dependencies>  
67 - </dependencies>  
68 - <partitionschemas>  
69 - </partitionschemas>  
70 - <slaveservers>  
71 - </slaveservers>  
72 - <clusterschemas>  
73 - </clusterschemas>  
74 - <created_user>-</created_user>  
75 - <created_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</created_date>  
76 - <modified_user>-</modified_user>  
77 - <modified_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</modified_date>  
78 - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>  
79 - <is_key_private>N</is_key_private>  
80 - </info>  
81 - <notepads>  
82 - </notepads>  
83 - <connection>  
84 - <name>bus_control_variable</name>  
85 - <server>&#x24;&#x7b;v_db_ip&#x7d;</server>  
86 - <type>MYSQL</type>  
87 - <access>Native</access>  
88 - <database>&#x24;&#x7b;v_db_dname&#x7d;</database>  
89 - <port>3306</port>  
90 - <username>&#x24;&#x7b;v_db_uname&#x7d;</username>  
91 - <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>  
92 - <servername/>  
93 - <data_tablespace/>  
94 - <index_tablespace/>  
95 - <attributes>  
96 - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>  
97 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
98 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
99 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
100 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
101 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
102 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
103 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
104 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
105 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
106 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
107 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
108 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
109 - </attributes>  
110 - </connection>  
111 - <connection>  
112 - <name>bus_control_&#x516c;&#x53f8;_201</name>  
113 - <server>localhost</server>  
114 - <type>MYSQL</type>  
115 - <access>Native</access>  
116 - <database>control</database>  
117 - <port>3306</port>  
118 - <username>root</username>  
119 - <password>Encrypted </password>  
120 - <servername/>  
121 - <data_tablespace/>  
122 - <index_tablespace/>  
123 - <attributes>  
124 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
125 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
126 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
127 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
128 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
129 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
130 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
131 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
132 - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>  
133 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
134 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
135 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
136 - </attributes>  
137 - </connection>  
138 - <connection>  
139 - <name>bus_control_&#x672c;&#x673a;</name>  
140 - <server>localhost</server>  
141 - <type>MYSQL</type>  
142 - <access>Native</access>  
143 - <database>control</database>  
144 - <port>3306</port>  
145 - <username>root</username>  
146 - <password>Encrypted </password>  
147 - <servername/>  
148 - <data_tablespace/>  
149 - <index_tablespace/>  
150 - <attributes>  
151 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
152 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
153 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
154 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
155 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
156 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
157 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
158 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
159 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
160 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
161 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
162 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
163 - </attributes>  
164 - </connection>  
165 - <connection>  
166 - <name>xlab_mysql_youle</name>  
167 - <server>101.231.124.8</server>  
168 - <type>MYSQL</type>  
169 - <access>Native</access>  
170 - <database>xlab_youle</database>  
171 - <port>45687</port>  
172 - <username>xlab-youle</username>  
173 - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>  
174 - <servername/>  
175 - <data_tablespace/>  
176 - <index_tablespace/>  
177 - <attributes>  
178 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
179 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
180 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
181 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
182 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
183 - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>  
184 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
185 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
186 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
187 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
188 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
189 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
190 - </attributes>  
191 - </connection>  
192 - <connection>  
193 - <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>  
194 - <server>localhost</server>  
195 - <type>MYSQL</type>  
196 - <access>Native</access>  
197 - <database>xlab_youle</database>  
198 - <port>3306</port>  
199 - <username>root</username>  
200 - <password>Encrypted </password>  
201 - <servername/>  
202 - <data_tablespace/>  
203 - <index_tablespace/>  
204 - <attributes>  
205 - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>  
206 - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>  
207 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
208 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
209 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
210 - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>  
211 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
212 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
213 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
214 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>  
215 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>  
216 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
217 - </attributes>  
218 - </connection>  
219 - <connection>  
220 - <name>xlab_youle</name>  
221 - <server/>  
222 - <type>MYSQL</type>  
223 - <access>JNDI</access>  
224 - <database>xlab_youle</database>  
225 - <port>1521</port>  
226 - <username/>  
227 - <password>Encrypted </password>  
228 - <servername/>  
229 - <data_tablespace/>  
230 - <index_tablespace/>  
231 - <attributes>  
232 - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>  
233 - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>  
234 - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>  
235 - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>  
236 - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>  
237 - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>  
238 - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>  
239 - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>  
240 - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>  
241 - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>  
242 - </attributes>  
243 - </connection>  
244 - <order>  
245 - <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>  
246 - <hop> <from>&#x8868;&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>  
247 - </order>  
248 - <step>  
249 - <name>Excel&#x8f93;&#x51fa;</name>  
250 - <type>ExcelOutput</type>  
251 - <description/>  
252 - <distribute>Y</distribute>  
253 - <custom_distribution/>  
254 - <copies>1</copies>  
255 - <partitioning>  
256 - <method>none</method>  
257 - <schema_name/>  
258 - </partitioning>  
259 - <header>Y</header>  
260 - <footer>N</footer>  
261 - <encoding/>  
262 - <append>N</append>  
263 - <add_to_result_filenames>Y</add_to_result_filenames>  
264 - <file>  
265 - <name>&#x24;&#x7b;filepath&#x7d;</name>  
266 - <extention/>  
267 - <do_not_open_newfile_init>N</do_not_open_newfile_init>  
268 - <create_parent_folder>N</create_parent_folder>  
269 - <split>N</split>  
270 - <add_date>N</add_date>  
271 - <add_time>N</add_time>  
272 - <SpecifyFormat>N</SpecifyFormat>  
273 - <date_time_format>yyyyMMddHHmmss</date_time_format>  
274 - <sheetname>&#x5de5;&#x4f5c;&#x8868;1</sheetname>  
275 - <autosizecolums>N</autosizecolums>  
276 - <nullisblank>N</nullisblank>  
277 - <protect_sheet>N</protect_sheet>  
278 - <password>Encrypted </password>  
279 - <splitevery>0</splitevery>  
280 - <usetempfiles>N</usetempfiles>  
281 - <tempdirectory/>  
282 - </file>  
283 - <template>  
284 - <enabled>N</enabled>  
285 - <append>N</append>  
286 - <filename>template.xls</filename>  
287 - </template>  
288 - <fields>  
289 - <field>  
290 - <name>&#x59d3;&#x540d;</name>  
291 - <type>String</type>  
292 - <format/>  
293 - </field>  
294 - <field>  
295 - <name>&#x5de5;&#x53f7;</name>  
296 - <type>String</type>  
297 - <format/>  
298 - </field>  
299 - <field>  
300 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>  
301 - <type>String</type>  
302 - <format/>  
303 - </field>  
304 - <field>  
305 - <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
306 - <type>String</type>  
307 - <format/>  
308 - </field>  
309 - <field>  
310 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>  
311 - <type>String</type>  
312 - <format/>  
313 - </field>  
314 - <field>  
315 - <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>  
316 - <type>String</type>  
317 - <format/>  
318 - </field>  
319 - </fields>  
320 - <custom>  
321 - <header_font_name>arial</header_font_name>  
322 - <header_font_size>10</header_font_size>  
323 - <header_font_bold>N</header_font_bold>  
324 - <header_font_italic>N</header_font_italic>  
325 - <header_font_underline>no</header_font_underline>  
326 - <header_font_orientation>horizontal</header_font_orientation>  
327 - <header_font_color>black</header_font_color>  
328 - <header_background_color>none</header_background_color>  
329 - <header_row_height>255</header_row_height>  
330 - <header_alignment>left</header_alignment>  
331 - <header_image/>  
332 - <row_font_name>arial</row_font_name>  
333 - <row_font_size>10</row_font_size>  
334 - <row_font_color>black</row_font_color>  
335 - <row_background_color>none</row_background_color>  
336 - </custom>  
337 - <cluster_schema/>  
338 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
339 - <xloc>346</xloc>  
340 - <yloc>66</yloc>  
341 - <draw>Y</draw>  
342 - </GUI>  
343 - </step>  
344 -  
345 - <step>  
346 - <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>  
347 - <type>SelectValues</type>  
348 - <description/>  
349 - <distribute>Y</distribute>  
350 - <custom_distribution/>  
351 - <copies>1</copies>  
352 - <partitioning>  
353 - <method>none</method>  
354 - <schema_name/>  
355 - </partitioning>  
356 - <fields> <field> <name>personnel_name</name>  
357 - <rename>&#x59d3;&#x540d;</rename>  
358 - <length>-2</length>  
359 - <precision>-2</precision>  
360 - </field> <field> <name>job_code</name>  
361 - <rename>&#x5de5;&#x53f7;</rename>  
362 - <length>-2</length>  
363 - <precision>-2</precision>  
364 - </field> <field> <name>company</name>  
365 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>  
366 - <length>-2</length>  
367 - <precision>-2</precision>  
368 - </field> <field> <name>company_code</name>  
369 - <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
370 - <length>-2</length>  
371 - <precision>-2</precision>  
372 - </field> <field> <name>branche_company</name>  
373 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>  
374 - <length>-2</length>  
375 - <precision>-2</precision>  
376 - </field> <field> <name>branche_company_code</name>  
377 - <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>  
378 - <length>-2</length>  
379 - <precision>-2</precision>  
380 - </field> <select_unspecified>N</select_unspecified>  
381 - </fields> <cluster_schema/>  
382 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
383 - <xloc>221</xloc>  
384 - <yloc>66</yloc>  
385 - <draw>Y</draw>  
386 - </GUI>  
387 - </step>  
388 -  
389 - <step>  
390 - <name>&#x8868;&#x8f93;&#x5165;</name>  
391 - <type>TableInput</type>  
392 - <description/>  
393 - <distribute>Y</distribute>  
394 - <custom_distribution/>  
395 - <copies>1</copies>  
396 - <partitioning>  
397 - <method>none</method>  
398 - <schema_name/>  
399 - </partitioning>  
400 - <connection>bus_control_variable</connection>  
401 - <sql>SELECT &#x2a; FROM bsth_c_personnel&#x3b;</sql>  
402 - <limit>0</limit>  
403 - <lookup/>  
404 - <execute_each_row>N</execute_each_row>  
405 - <variables_active>N</variables_active>  
406 - <lazy_conversion_active>N</lazy_conversion_active>  
407 - <cluster_schema/>  
408 - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>  
409 - <xloc>112</xloc>  
410 - <yloc>66</yloc>  
411 - <draw>Y</draw>  
412 - </GUI>  
413 - </step>  
414 -  
415 - <step_error_handling>  
416 - </step_error_handling>  
417 - <slave-step-copy-partition-distribution>  
418 -</slave-step-copy-partition-distribution>  
419 - <slave_transformation>N</slave_transformation>  
420 -  
421 -</transformation> 1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<transformation>
  3 + <info>
  4 + <name>&#x4eba;&#x5458;&#x4fe1;&#x606f;&#x5bfc;&#x51fa;</name>
  5 + <description/>
  6 + <extended_description/>
  7 + <trans_version/>
  8 + <trans_type>Normal</trans_type>
  9 + <trans_status>0</trans_status>
  10 + <directory>&#x2f;</directory>
  11 + <parameters>
  12 + <parameter>
  13 + <name>filepath</name>
  14 + <default_value/>
  15 + <description>excel&#x6587;&#x4ef6;&#x8def;&#x5f84;</description>
  16 + </parameter>
  17 + </parameters>
  18 + <log>
  19 +<trans-log-table><connection/>
  20 +<schema/>
  21 +<table/>
  22 +<size_limit_lines/>
  23 +<interval/>
  24 +<timeout_days/>
  25 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table>
  26 +<perf-log-table><connection/>
  27 +<schema/>
  28 +<table/>
  29 +<interval/>
  30 +<timeout_days/>
  31 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
  32 +<channel-log-table><connection/>
  33 +<schema/>
  34 +<table/>
  35 +<timeout_days/>
  36 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
  37 +<step-log-table><connection/>
  38 +<schema/>
  39 +<table/>
  40 +<timeout_days/>
  41 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
  42 +<metrics-log-table><connection/>
  43 +<schema/>
  44 +<table/>
  45 +<timeout_days/>
  46 +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table>
  47 + </log>
  48 + <maxdate>
  49 + <connection/>
  50 + <table/>
  51 + <field/>
  52 + <offset>0.0</offset>
  53 + <maxdiff>0.0</maxdiff>
  54 + </maxdate>
  55 + <size_rowset>10000</size_rowset>
  56 + <sleep_time_empty>50</sleep_time_empty>
  57 + <sleep_time_full>50</sleep_time_full>
  58 + <unique_connections>N</unique_connections>
  59 + <feedback_shown>Y</feedback_shown>
  60 + <feedback_size>50000</feedback_size>
  61 + <using_thread_priorities>Y</using_thread_priorities>
  62 + <shared_objects_file/>
  63 + <capture_step_performance>N</capture_step_performance>
  64 + <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  65 + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  66 + <dependencies>
  67 + </dependencies>
  68 + <partitionschemas>
  69 + </partitionschemas>
  70 + <slaveservers>
  71 + </slaveservers>
  72 + <clusterschemas>
  73 + </clusterschemas>
  74 + <created_user>-</created_user>
  75 + <created_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</created_date>
  76 + <modified_user>-</modified_user>
  77 + <modified_date>2016&#x2f;08&#x2f;09 09&#x3a;57&#x3a;38.471</modified_date>
  78 + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA&#x3d;</key_for_session_key>
  79 + <is_key_private>N</is_key_private>
  80 + </info>
  81 + <notepads>
  82 + </notepads>
  83 + <connection>
  84 + <name>bus_control_variable</name>
  85 + <server>&#x24;&#x7b;v_db_ip&#x7d;</server>
  86 + <type>MYSQL</type>
  87 + <access>Native</access>
  88 + <database>&#x24;&#x7b;v_db_dname&#x7d;</database>
  89 + <port>3306</port>
  90 + <username>&#x24;&#x7b;v_db_uname&#x7d;</username>
  91 + <password>&#x24;&#x7b;v_db_pwd&#x7d;</password>
  92 + <servername/>
  93 + <data_tablespace/>
  94 + <index_tablespace/>
  95 + <attributes>
  96 + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute>
  97 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  98 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  99 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  100 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  101 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  102 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  103 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  104 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  105 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  106 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  107 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  108 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  109 + </attributes>
  110 + </connection>
  111 + <connection>
  112 + <name>bus_control_&#x516c;&#x53f8;_201</name>
  113 + <server>localhost</server>
  114 + <type>MYSQL</type>
  115 + <access>Native</access>
  116 + <database>control</database>
  117 + <port>3306</port>
  118 + <username>root</username>
  119 + <password>Encrypted </password>
  120 + <servername/>
  121 + <data_tablespace/>
  122 + <index_tablespace/>
  123 + <attributes>
  124 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  125 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  126 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  127 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  128 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  129 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  130 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  131 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  132 + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
  133 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  134 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  135 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  136 + </attributes>
  137 + </connection>
  138 + <connection>
  139 + <name>bus_control_&#x672c;&#x673a;</name>
  140 + <server>localhost</server>
  141 + <type>MYSQL</type>
  142 + <access>Native</access>
  143 + <database>control</database>
  144 + <port>3306</port>
  145 + <username>root</username>
  146 + <password>Encrypted </password>
  147 + <servername/>
  148 + <data_tablespace/>
  149 + <index_tablespace/>
  150 + <attributes>
  151 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  152 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  153 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  154 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  155 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  156 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  157 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  158 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  159 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  160 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  161 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  162 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  163 + </attributes>
  164 + </connection>
  165 + <connection>
  166 + <name>xlab_mysql_youle</name>
  167 + <server>101.231.124.8</server>
  168 + <type>MYSQL</type>
  169 + <access>Native</access>
  170 + <database>xlab_youle</database>
  171 + <port>45687</port>
  172 + <username>xlab-youle</username>
  173 + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password>
  174 + <servername/>
  175 + <data_tablespace/>
  176 + <index_tablespace/>
  177 + <attributes>
  178 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  179 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  180 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  181 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  182 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  183 + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute>
  184 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  185 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  186 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  187 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  188 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  189 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  190 + </attributes>
  191 + </connection>
  192 + <connection>
  193 + <name>xlab_mysql_youle&#xff08;&#x672c;&#x673a;&#xff09;</name>
  194 + <server>localhost</server>
  195 + <type>MYSQL</type>
  196 + <access>Native</access>
  197 + <database>xlab_youle</database>
  198 + <port>3306</port>
  199 + <username>root</username>
  200 + <password>Encrypted </password>
  201 + <servername/>
  202 + <data_tablespace/>
  203 + <index_tablespace/>
  204 + <attributes>
  205 + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
  206 + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
  207 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  208 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  209 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  210 + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
  211 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  212 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  213 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  214 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  215 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute>
  216 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  217 + </attributes>
  218 + </connection>
  219 + <connection>
  220 + <name>xlab_youle</name>
  221 + <server/>
  222 + <type>MYSQL</type>
  223 + <access>JNDI</access>
  224 + <database>xlab_youle</database>
  225 + <port>1521</port>
  226 + <username/>
  227 + <password>Encrypted </password>
  228 + <servername/>
  229 + <data_tablespace/>
  230 + <index_tablespace/>
  231 + <attributes>
  232 + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  233 + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  234 + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  235 + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute>
  236 + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
  237 + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  238 + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
  239 + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
  240 + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
  241 + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  242 + </attributes>
  243 + </connection>
  244 + <order>
  245 + <hop> <from>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</from><to>Excel&#x8f93;&#x51fa;</to><enabled>Y</enabled> </hop>
  246 + <hop> <from>&#x8868;&#x8f93;&#x5165;</from><to>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</to><enabled>Y</enabled> </hop>
  247 + </order>
  248 + <step>
  249 + <name>Excel&#x8f93;&#x51fa;</name>
  250 + <type>ExcelOutput</type>
  251 + <description/>
  252 + <distribute>Y</distribute>
  253 + <custom_distribution/>
  254 + <copies>1</copies>
  255 + <partitioning>
  256 + <method>none</method>
  257 + <schema_name/>
  258 + </partitioning>
  259 + <header>Y</header>
  260 + <footer>N</footer>
  261 + <encoding/>
  262 + <append>N</append>
  263 + <add_to_result_filenames>Y</add_to_result_filenames>
  264 + <file>
  265 + <name>&#x24;&#x7b;filepath&#x7d;</name>
  266 + <extention/>
  267 + <do_not_open_newfile_init>N</do_not_open_newfile_init>
  268 + <create_parent_folder>N</create_parent_folder>
  269 + <split>N</split>
  270 + <add_date>N</add_date>
  271 + <add_time>N</add_time>
  272 + <SpecifyFormat>N</SpecifyFormat>
  273 + <date_time_format>yyyyMMddHHmmss</date_time_format>
  274 + <sheetname>&#x5de5;&#x4f5c;&#x8868;1</sheetname>
  275 + <autosizecolums>N</autosizecolums>
  276 + <nullisblank>N</nullisblank>
  277 + <protect_sheet>N</protect_sheet>
  278 + <password>Encrypted </password>
  279 + <splitevery>0</splitevery>
  280 + <usetempfiles>N</usetempfiles>
  281 + <tempdirectory/>
  282 + </file>
  283 + <template>
  284 + <enabled>N</enabled>
  285 + <append>N</append>
  286 + <filename>template.xls</filename>
  287 + </template>
  288 + <fields>
  289 + <field>
  290 + <name>&#x59d3;&#x540d;</name>
  291 + <type>String</type>
  292 + <format/>
  293 + </field>
  294 + <field>
  295 + <name>&#x5de5;&#x53f7;</name>
  296 + <type>String</type>
  297 + <format/>
  298 + </field>
  299 + <field>
  300 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;</name>
  301 + <type>String</type>
  302 + <format/>
  303 + </field>
  304 + <field>
  305 + <name>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  306 + <type>String</type>
  307 + <format/>
  308 + </field>
  309 + <field>
  310 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</name>
  311 + <type>String</type>
  312 + <format/>
  313 + </field>
  314 + <field>
  315 + <name>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</name>
  316 + <type>String</type>
  317 + <format/>
  318 + </field>
  319 + </fields>
  320 + <custom>
  321 + <header_font_name>arial</header_font_name>
  322 + <header_font_size>10</header_font_size>
  323 + <header_font_bold>N</header_font_bold>
  324 + <header_font_italic>N</header_font_italic>
  325 + <header_font_underline>no</header_font_underline>
  326 + <header_font_orientation>horizontal</header_font_orientation>
  327 + <header_font_color>black</header_font_color>
  328 + <header_background_color>none</header_background_color>
  329 + <header_row_height>255</header_row_height>
  330 + <header_alignment>left</header_alignment>
  331 + <header_image/>
  332 + <row_font_name>arial</row_font_name>
  333 + <row_font_size>10</row_font_size>
  334 + <row_font_color>black</row_font_color>
  335 + <row_background_color>none</row_background_color>
  336 + </custom>
  337 + <cluster_schema/>
  338 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  339 + <xloc>346</xloc>
  340 + <yloc>66</yloc>
  341 + <draw>Y</draw>
  342 + </GUI>
  343 + </step>
  344 +
  345 + <step>
  346 + <name>&#x5b57;&#x6bb5;&#x9009;&#x62e9;</name>
  347 + <type>SelectValues</type>
  348 + <description/>
  349 + <distribute>Y</distribute>
  350 + <custom_distribution/>
  351 + <copies>1</copies>
  352 + <partitioning>
  353 + <method>none</method>
  354 + <schema_name/>
  355 + </partitioning>
  356 + <fields> <field> <name>personnel_name</name>
  357 + <rename>&#x59d3;&#x540d;</rename>
  358 + <length>-2</length>
  359 + <precision>-2</precision>
  360 + </field> <field> <name>job_code</name>
  361 + <rename>&#x5de5;&#x53f7;</rename>
  362 + <length>-2</length>
  363 + <precision>-2</precision>
  364 + </field> <field> <name>company</name>
  365 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;</rename>
  366 + <length>-2</length>
  367 + <precision>-2</precision>
  368 + </field> <field> <name>company_code</name>
  369 + <rename>&#x6240;&#x5c5e;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  370 + <length>-2</length>
  371 + <precision>-2</precision>
  372 + </field> <field> <name>branche_company</name>
  373 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;</rename>
  374 + <length>-2</length>
  375 + <precision>-2</precision>
  376 + </field> <field> <name>branche_company_code</name>
  377 + <rename>&#x6240;&#x5c5e;&#x5206;&#x516c;&#x53f8;&#x4ee3;&#x7801;</rename>
  378 + <length>-2</length>
  379 + <precision>-2</precision>
  380 + </field> <select_unspecified>N</select_unspecified>
  381 + </fields> <cluster_schema/>
  382 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  383 + <xloc>221</xloc>
  384 + <yloc>66</yloc>
  385 + <draw>Y</draw>
  386 + </GUI>
  387 + </step>
  388 +
  389 + <step>
  390 + <name>&#x8868;&#x8f93;&#x5165;</name>
  391 + <type>TableInput</type>
  392 + <description/>
  393 + <distribute>Y</distribute>
  394 + <custom_distribution/>
  395 + <copies>1</copies>
  396 + <partitioning>
  397 + <method>none</method>
  398 + <schema_name/>
  399 + </partitioning>
  400 + <connection>bus_control_variable</connection>
  401 + <sql>SELECT &#x2a; FROM bsth_c_personnel&#x3b;</sql>
  402 + <limit>0</limit>
  403 + <lookup/>
  404 + <execute_each_row>N</execute_each_row>
  405 + <variables_active>N</variables_active>
  406 + <lazy_conversion_active>N</lazy_conversion_active>
  407 + <cluster_schema/>
  408 + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  409 + <xloc>112</xloc>
  410 + <yloc>66</yloc>
  411 + <draw>Y</draw>
  412 + </GUI>
  413 + </step>
  414 +
  415 + <step_error_handling>
  416 + </step_error_handling>
  417 + <slave-step-copy-partition-distribution>
  418 +</slave-step-copy-partition-distribution>
  419 + <slave_transformation>N</slave_transformation>
  420 +
  421 +</transformation>
src/main/resources/static/pages/oil/add.html
@@ -214,6 +214,8 @@ @@ -214,6 +214,8 @@
214 } 214 }
215 $('#fgsdm').html(options); 215 $('#fgsdm').html(options);
216 initXl(); 216 initXl();
  217 + selectNbbm();
  218 + selectJsy();
217 } 219 }
218 $("#fgsdm").on("change",initXl); 220 $("#fgsdm").on("change",initXl);
219 function initXl(){ 221 function initXl(){
@@ -238,94 +240,100 @@ @@ -238,94 +240,100 @@
238 } 240 }
239 initPinYinSelect2('#xlbm',data,''); 241 initPinYinSelect2('#xlbm',data,'');
240 fage=true; 242 fage=true;
  243 + selectNbbm();
  244 + selectJsy();
241 } 245 }
242 $("#date").datetimepicker({ 246 $("#date").datetimepicker({
243 format : 'YYYY-MM-DD', 247 format : 'YYYY-MM-DD',
244 locale : 'zh-cn' 248 locale : 'zh-cn'
245 }); 249 });
246 250
247 - $('#nbbm').select2({  
248 - placeholder: '搜索车辆...',  
249 - ajax: {  
250 - url: '/report/carList',  
251 - dataType: 'json',  
252 - delay: 150,  
253 - data: function(params){  
254 - return{nbbm: params.term,  
255 - gsbm:$('#ssgsdm').val(),  
256 - fgsbm:$('#fgsdm').val(),  
257 - xlbm:$('#xlbm').val()}; 251 + function selectNbbm(){
  252 + $('#nbbm').select2({
  253 + placeholder: '搜索车辆...',
  254 + ajax: {
  255 + url: '/report/carList',
  256 + dataType: 'json',
  257 + delay: 150,
  258 + data: function(params){
  259 + return{nbbm: params.term,
  260 + gsbm:$('#ssgsdm').val(),
  261 + fgsbm:$('#fgsdm').val(),
  262 + xlbm:$('#xlbm').val()};
  263 + },
  264 + processResults: function (data) {
  265 + return {
  266 + results: data
  267 + };
  268 + },
  269 + cache: true
258 }, 270 },
259 - processResults: function (data) {  
260 - return {  
261 - results: data  
262 - };  
263 - },  
264 - cache: true  
265 - },  
266 - templateResult: function(repo){  
267 - if (repo.loading) return repo.text;  
268 - var h = '<span>'+repo.text+'</span>';  
269 - h += (repo.lineName?'&nbsp;<span class="select2-desc">'+repo.lineName+'</span>':'');  
270 - return h;  
271 - },  
272 - escapeMarkup: function (markup) { return markup; },  
273 - minimumInputLength: 1,  
274 - templateSelection: function(repo){  
275 - return repo.text;  
276 - },  
277 - language: {  
278 - noResults: function(){  
279 - return '<span style="color:red;font-size: 12px;">没有搜索到车辆!</span>';  
280 - },  
281 - inputTooShort : function(e) {  
282 - return '<span style="color:gray;font-size: 12px;"><i class="fa fa-search"></i> 输入自编号搜索车辆</span>';  
283 - },  
284 - searching : function() {  
285 - return '<span style="color:gray;font-size: 12px;"> 正在搜索车辆...</span>';  
286 - }  
287 - }  
288 - }) 271 + templateResult: function(repo){
  272 + if (repo.loading) return repo.text;
  273 + var h = '<span>'+repo.text+'</span>';
  274 + h += (repo.lineName?'&nbsp;<span class="select2-desc">'+repo.lineName+'</span>':'');
  275 + return h;
  276 + },
  277 + escapeMarkup: function (markup) { return markup; },
  278 + minimumInputLength: 1,
  279 + templateSelection: function(repo){
  280 + return repo.text;
  281 + },
  282 + language: {
  283 + noResults: function(){
  284 + return '<span style="color:red;font-size: 12px;">没有搜索到车辆!</span>';
  285 + },
  286 + inputTooShort : function(e) {
  287 + return '<span style="color:gray;font-size: 12px;"><i class="fa fa-search"></i> 输入自编号搜索车辆</span>';
  288 + },
  289 + searching : function() {
  290 + return '<span style="color:gray;font-size: 12px;"> 正在搜索车辆...</span>';
  291 + }
  292 + }
  293 + })
  294 + }
289 295
290 296
291 - $('#jsy').select2({  
292 - placeholder: '搜索驾驶员...',  
293 - ajax: {  
294 - url: '/personnel/sreachPersonnel',  
295 - dataType: 'json',  
296 - delay: 150,  
297 - data: function(params){  
298 - return{jobCode: params.term}; 297 + function selectJsy(){
  298 + $('#jsy').select2({
  299 + placeholder: '搜索驾驶员...',
  300 + ajax: {
  301 + url: '/report/userList',
  302 + dataType: 'json',
  303 + delay: 150,
  304 + data: function(params){
  305 + return{jsy: params.term,gsbm:$('#ssgsdm').val()};
  306 + },
  307 + processResults: function (data) {
  308 + return {
  309 + results: data
  310 + };
  311 + },
  312 + cache: true
299 }, 313 },
300 - processResults: function (data) {  
301 - return {  
302 - results: data  
303 - };  
304 - },  
305 - cache: true  
306 - },  
307 - templateResult: function(repo){  
308 - if (repo.loading) return repo.text;  
309 - var h = '<span>'+repo.text+'</span>';  
310 - return h;  
311 - },  
312 - escapeMarkup: function (markup) { return markup; },  
313 - minimumInputLength: 1,  
314 - templateSelection: function(repo){  
315 - return repo.text;  
316 - },  
317 - language: {  
318 - noResults: function(){  
319 - return '<span style="color:red;font-size: 12px;">没有搜索到驾驶员!</span>';  
320 - },  
321 - inputTooShort : function(e) {  
322 - return '<span style="color:gray;font-size: 12px;"><i class="fa fa-search"></i> 输入工号搜索驾驶员</span>';  
323 - },  
324 - searching : function() {  
325 - return '<span style="color:gray;font-size: 12px;"> 正在搜索驾驶员...</span>';  
326 - }  
327 - }  
328 - }); 314 + templateResult: function(repo){
  315 + if (repo.loading) return repo.text;
  316 + var h = '<span>'+repo.text+'</span>';
  317 + return h;
  318 + },
  319 + escapeMarkup: function (markup) { return markup; },
  320 + minimumInputLength: 1,
  321 + templateSelection: function(repo){
  322 + return repo.text;
  323 + },
  324 + language: {
  325 + noResults: function(){
  326 + return '<span style="color:red;font-size: 12px;">没有搜索到驾驶员!</span>';
  327 + },
  328 + inputTooShort : function(e) {
  329 + return '<span style="color:gray;font-size: 12px;"><i class="fa fa-search"></i> 输入工号搜索驾驶员</span>';
  330 + },
  331 + searching : function() {
  332 + return '<span style="color:gray;font-size: 12px;"> 正在搜索驾驶员...</span>';
  333 + }
  334 + }
  335 + });
  336 + }
329 $(function(){ 337 $(function(){
330 /* $get('/role/all',null,function(result){ 338 /* $get('/role/all',null,function(result){
331 $.each(result,function(i,obj){ 339 $.each(result,function(i,obj){
src/main/resources/static/pages/oil/checkJyryList.html
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <li><span class="active">加油人员不符</span></li> 10 <li><span class="active">加油人员不符</span></li>
11 </ul> 11 </ul>
12 12
13 -<div class="row"> 13 +<div class="row" id="ll_jyry_list">
14 <div class="col-md-12"> 14 <div class="col-md-12">
15 <!-- Begin: life time stats --> 15 <!-- Begin: life time stats -->
16 <div class="portlet light portlet-fit portlet-datatable bordered"> 16 <div class="portlet light portlet-fit portlet-datatable bordered">
@@ -114,7 +114,7 @@ @@ -114,7 +114,7 @@
114 {{each list as obj i}} 114 {{each list as obj i}}
115 <tr> 115 <tr>
116 <td style="vertical-align: middle;"> 116 <td style="vertical-align: middle;">
117 - <input type="radio" name="id" class="group-checkable icheck" data-id="{{obj.id}}"> 117 + <input type="checkbox" name="id" class="group-checkable icheck" data-id="{{obj.id}}">
118 </td> 118 </td>
119 <td>{{obj.yyrq}}</td> 119 <td>{{obj.yyrq}}</td>
120 <td> 120 <td>
@@ -127,9 +127,9 @@ @@ -127,9 +127,9 @@
127 {{obj.nbbm}} 127 {{obj.nbbm}}
128 </td> 128 </td>
129 <td> 129 <td>
130 -<select class="form-control" disabled="disabled" name="jsy" id="jsy{{obj.id}}" >  
131 - <option selected="selected" value="{{obj.jsy}}">{{obj.jsy}}<option>  
132 -</select> 130 + <select class="form-control in_carpark_jsy" name="jsy" id="jsy{{obj.id}}" data-id="{{obj.id}}">
  131 + <option selected="selected" value="{{obj.jsy}}">{{obj.jsy}}<option>
  132 + </select>
133 </td> 133 </td>
134 <td> 134 <td>
135 {{obj.jzl}} 135 {{obj.jzl}}
@@ -137,7 +137,7 @@ @@ -137,7 +137,7 @@
137 <td>{{obj.stationid}}</td> 137 <td>{{obj.stationid}}</td>
138 <td>{{obj.nylx}}</td> 138 <td>{{obj.nylx}}</td>
139 <td>{{obj.jyggh}}</td> 139 <td>{{obj.jyggh}}</td>
140 - <td>{{obj.yj}}</td> 140 + <td></td>
141 <td>{{obj.ldgh}}</td> 141 <td>{{obj.ldgh}}</td>
142 <td> 142 <td>
143 {{obj.bz}} 143 {{obj.bz}}
@@ -150,37 +150,42 @@ @@ -150,37 +150,42 @@
150 {{/each}} 150 {{/each}}
151 {{if list.length == 0}} 151 {{if list.length == 0}}
152 <tr> 152 <tr>
153 - <td colspan=13><h6 class="muted">没有找到相关数据</h6></td> 153 + <td colspan=14><h6 class="muted">没有找到相关数据</h6></td>
154 </tr> 154 </tr>
155 {{/if}} 155 {{/if}}
156 </script> 156 </script>
157 <script> 157 <script>
158 $(function(){ 158 $(function(){
159 $("#saveButton").on('click',function(){ 159 $("#saveButton").on('click',function(){
160 - var id = $('input.icheck:checked').data('id');  
161 - if(typeof(id)=='undefined'){  
162 - layer.msg("请选择一行数据");  
163 - }else{  
164 - var jsy=$("#jsy"+id).val();  
165 - var params = {};  
166 - params['jsy']=jsy;  
167 - params['id']=id;  
168 - $get('/ylxxb/check', params, function(){  
169 - var cells = $('tr.filter')[0].cells  
170 - ,params1 = {}  
171 - ,name;  
172 - $.each(cells, function(i, cell){  
173 - var items = $('input,select', cell);  
174 - for(var j = 0, item; item = items[j++];){  
175 - name = $(item).attr('name');  
176 - if(name){  
177 - params1[name] = $(item).val();  
178 - }  
179 - }  
180 - });  
181 - jsDoQuery(params1,true);  
182 - });  
183 - } 160 + var ylArray = [];
  161 + $('input.icheck').each(function(){
  162 + var map = {};
  163 + var id=$(this).data('id');
  164 + var jsy=$('.in_carpark_jsy[data-id='+id+']', '#ll_jyry_list').val();
  165 + map['id']=id;
  166 + map['jsy']=jsy;
  167 + ylArray.push(map);
  168 + })
  169 + var params = {};
  170 + params['ylbList']=JSON.stringify(ylArray);
  171 + console.log(params);
  172 + var i = layer.load(2);
  173 + $post('/ylxxb/check', params, function(){
  174 + layer.close(i);
  175 + var cells = $('tr.filter')[0].cells
  176 + ,params1 = {}
  177 + ,name;
  178 + $.each(cells, function(i, cell){
  179 + var items = $('input,select', cell);
  180 + for(var j = 0, item; item = items[j++];){
  181 + name = $(item).attr('name');
  182 + if(name){
  183 + params1[name] = $(item).val();
  184 + }
  185 + }
  186 + });
  187 + jsDoQuery(params1,true);
  188 + })
184 }) 189 })
185 190
186 $("#yyrq").datetimepicker({ 191 $("#yyrq").datetimepicker({
@@ -189,7 +194,7 @@ $(function(){ @@ -189,7 +194,7 @@ $(function(){
189 }); 194 });
190 var page = 0, initPagination; 195 var page = 0, initPagination;
191 var icheckOptions = { 196 var icheckOptions = {
192 - radioClass: 'iradio_square-blue icheck', 197 + radioClass: 'icheckbox_flat-blue icheck',
193 increaseArea: '20%' 198 increaseArea: '20%'
194 } 199 }
195 //重置 200 //重置
@@ -308,9 +313,8 @@ $(function(){ @@ -308,9 +313,8 @@ $(function(){
308 obj.yyrq = moment(obj.yyrq).format("YYYY-MM-DD"); 313 obj.yyrq = moment(obj.yyrq).format("YYYY-MM-DD");
309 }); 314 });
310 var bodyHtm = template('check_list_temp', {list: data.dataList}); 315 var bodyHtm = template('check_list_temp', {list: data.dataList});
311 - $('#datatable_check tbody').html(bodyHtm)  
312 - .find('.icheck').iCheck(icheckOptions)  
313 - .on('ifChanged', iCheckChange); 316 + $('#datatable_check tbody').html(bodyHtm);
  317 + iCheckChange();
314 if(pagination && data.dataList.length > 0){ 318 if(pagination && data.dataList.length > 0){
315 //重新分页 319 //重新分页
316 initPagination = true; 320 initPagination = true;
@@ -327,14 +331,15 @@ $(function(){ @@ -327,14 +331,15 @@ $(function(){
327 else 331 else
328 tr.removeClass('row-active'); 332 tr.removeClass('row-active');
329 333
330 - var id = $('input.icheck:checked').data('id');  
331 - $("#jsy"+id).attr("disabled", false);  
332 - startOptJsy(id);  
333 - /*  
334 - if($('#datatable_resource input.icheck:checked').length == 1) 334 + $('input.icheck').each(function(){
  335 + var id=$(this).data('id');
  336 + startOptJsy(id);
  337 + })
  338 +
  339 + /* if($('#datatable_resource input.icheck:checked').length == 1)
335 $('#removeButton').removeAttr('disabled'); 340 $('#removeButton').removeAttr('disabled');
336 else 341 else
337 - $('#removeButton').attr('disabled', 'disabled'); */ 342 + $('#removeButton').attr('disabled', 'disabled'); */
338 } 343 }
339 344
340 function showPagination(data){ 345 function showPagination(data){
@@ -379,11 +384,12 @@ $(function(){ @@ -379,11 +384,12 @@ $(function(){
379 $('#jsy'+id).select2({ 384 $('#jsy'+id).select2({
380 placeholder: '搜索驾驶员...', 385 placeholder: '搜索驾驶员...',
381 ajax: { 386 ajax: {
382 - url: '/personnel/sreachPersonnel', 387 + url: '/report/userList',
383 dataType: 'json', 388 dataType: 'json',
384 delay: 150, 389 delay: 150,
385 data: function(params){ 390 data: function(params){
386 - return{jobCode: params.term}; 391 + return{jsy: params.term,
  392 + gsbm:$('#jyryListGsdmId').val()};
387 }, 393 },
388 processResults: function (data) { 394 processResults: function (data) {
389 return { 395 return {
src/main/resources/static/pages/oil/cylAdd.html
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
63 <div class="row"> 63 <div class="row">
64 <div class="col-md-offset-3 col-md-4"> 64 <div class="col-md-offset-3 col-md-4">
65 <button type="submit" class="btn green" ><i class="fa fa-check"></i> 提交</button> 65 <button type="submit" class="btn green" ><i class="fa fa-check"></i> 提交</button>
66 - <a type="button" class="btn default" href="list.html" data-pjax><i class="fa fa-times"></i> 取消</a> 66 + <a type="button" class="btn default" href="cylList.html" data-pjax><i class="fa fa-times"></i> 取消</a>
67 </div> 67 </div>
68 </div> 68 </div>
69 </div> 69 </div>
src/main/resources/static/pages/oil/jyglList.html
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <li><span class="active">场外加油管理</span></li> 12 <li><span class="active">场外加油管理</span></li>
13 </ul> 13 </ul>
14 14
15 -<div class="row"> 15 +<div class="row" id="ll_jygl_list">
16 <div class="col-md-12"> 16 <div class="col-md-12">
17 <!-- Begin: life time stats --> 17 <!-- Begin: life time stats -->
18 <div class="portlet light portlet-fit portlet-datatable bordered"> 18 <div class="portlet light portlet-fit portlet-datatable bordered">
@@ -61,15 +61,15 @@ @@ -61,15 +61,15 @@
61 <th width="10%">公司</th> 61 <th width="10%">公司</th>
62 <th width="10%">分公司</th> 62 <th width="10%">分公司</th>
63 <th width="8%">车辆</th> 63 <th width="8%">车辆</th>
64 - <th width="8%">驾驶员</th>  
65 - <th width="3%">加注量</th>  
66 - <th width="3%">加油站</th> 64 + <th width="14%">驾驶员</th>
  65 + <th width="5%">加注量</th>
  66 + <th width="4%">加油站</th>
67 <th width="3%">加油类型</th> 67 <th width="3%">加油类型</th>
68 <th width="5%">加油工工号</th> 68 <th width="5%">加油工工号</th>
69 <th width="3%">油价</th> 69 <th width="3%">油价</th>
70 <th width="4%">路单工号</th> 70 <th width="4%">路单工号</th>
71 <th width="4%">备注</th> 71 <th width="4%">备注</th>
72 - <th width="19%">操作</th> 72 + <th width="10%">操作</th>
73 </tr> 73 </tr>
74 <tr role="row" class="filter"> 74 <tr role="row" class="filter">
75 <td></td> 75 <td></td>
@@ -96,9 +96,6 @@ @@ -96,9 +96,6 @@
96 <td> 96 <td>
97 <button class="btn btn-sm green btn-outline filter-submit margin-bottom" > 97 <button class="btn btn-sm green btn-outline filter-submit margin-bottom" >
98 <i class="fa fa-search"></i> 搜索</button> 98 <i class="fa fa-search"></i> 搜索</button>
99 -  
100 - <button class="btn btn-sm red btn-outline filter-cancel">  
101 - <i class="fa fa-times"></i> 重置</button>  
102 </td> 99 </td>
103 </tr> 100 </tr>
104 </thead> 101 </thead>
@@ -117,7 +114,8 @@ @@ -117,7 +114,8 @@
117 {{each list as obj i}} 114 {{each list as obj i}}
118 <tr> 115 <tr>
119 <td style="vertical-align: middle;"> 116 <td style="vertical-align: middle;">
120 - <input type="radio" name="id" class="group-checkable icheck" data-id="{{obj.nbbm}}"> 117 + <input type="checkbox" name="id" class="group-checkable icheck" data-id="{{obj.nbbm}}">
  118 + <input type="hidden" value="{{obj.id}}" class="in_carpark_id" data-id="{{obj.nbbm}}">
121 </td> 119 </td>
122 <td>{{obj.yyrq}}</td> 120 <td>{{obj.yyrq}}</td>
123 <td> 121 <td>
@@ -130,24 +128,39 @@ @@ -130,24 +128,39 @@
130 {{obj.nbbm}} 128 {{obj.nbbm}}
131 </td> 129 </td>
132 <td> 130 <td>
133 -<!--<select class="form-control" disabled="disabled" name="jsy" id="jsy{{obj.nbbm}}" >  
134 - <option selected="selected" value="{{obj.jsy}}">{{obj.jsy}}<option>  
135 -</select>-->  
136 - {{obj.jsy}} 131 + <select class="form-control in_carpark_jsy" name="jsy" id="jsy{{obj.id}}" data-id="{{obj.id}}">
  132 + <option selected="selected" value="{{obj.jsy}}">{{obj.jsy}}<option>
  133 + </select>
137 </td> 134 </td>
138 <td> 135 <td>
139 - {{obj.jzl}} 136 +
  137 + <input data-id="{{obj.id}}" href="javascript:;" class="in_carpark_jzl"
  138 + type="text" value="{{obj.jzl}}" style=" width:45px"
  139 +onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.')"
  140 + onafterpaste="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.')">
  141 + </td>
  142 + <td>
  143 + <input data-id="{{obj.id}}" href="javascript:;" class="in_carpark_stationid"
  144 + type="text" value="{{obj.stationid}}" style=" width:45px" />
  145 + </td>
  146 + <td>
  147 + <select data-id="{{obj.id}}" class="in_carpark_nylx" style=" width:80px" >
  148 + <option value='0' {{if obj.nylx==0}} selected = 'selected' {{/if}}>0号柴油</option>
  149 + <option value='1' {{if obj.nylx==1}} selected = 'selected' {{/if}}>负10号柴油</option>
  150 + </select>
  151 + </td>
  152 + <td>
  153 + <input data-id="{{obj.id}}" href="javascript:;" class="in_carpark_jyggh"
  154 + type="text" value="{{obj.jyggh}}" style=" width:45px" />
140 </td> 155 </td>
141 - <td>{{obj.stationid}}</td>  
142 - <td>{{obj.nylx}}</td>  
143 - <td>{{obj.jyggh}}</td>  
144 - <td>{{obj.yj}}</td> 156 + <td></td>
145 <td>{{obj.ldgh}}</td> 157 <td>{{obj.ldgh}}</td>
146 <td> 158 <td>
147 - {{obj.bz}} 159 +<input data-id="{{obj.id}}" href="javascript:;" class="in_carpark_bz"
  160 + type="text" value="{{obj.bz}}" style=" width:45px" />
148 </td> 161 </td>
149 <td> 162 <td>
150 - <a class="btn btn-sm blue btn-outline" onclick="editCyjy('{{obj.nbbm}}')" data-pjax><i class="fa fa-edit"></i> 编辑</a> 163 + <!--<a class="btn btn-sm blue btn-outline" onclick="editCyjy('{{obj.nbbm}}')" data-pjax><i class="fa fa-edit"></i> 编辑</a>-->
151 </td> 164 </td>
152 </tr> 165 </tr>
153 {{/each}} 166 {{/each}}
@@ -160,33 +173,50 @@ @@ -160,33 +173,50 @@
160 <script> 173 <script>
161 $(function(){ 174 $(function(){
162 $("#saveButton").on('click',function(){ 175 $("#saveButton").on('click',function(){
163 - var id = $('input.icheck:checked').data('id');  
164 - if(typeof(id)=='undefined'){  
165 - layer.msg("请选择一行数据");  
166 - }else{  
167 - var jsy=$("#jsy"+id).val();  
168 - var params = {};  
169 - params['jsy']=jsy;  
170 - params['id']=id;  
171 - $get('/ylxxb/check', params, function(){  
172 - if($("#rq").val()!=""){  
173 - var cells = $('tr.filter')[0].cells  
174 - ,params = {}  
175 - ,name;  
176 - $.each(cells, function(i, cell){  
177 - var items = $('input,select', cell);  
178 - for(var j = 0, item; item = items[j++];){  
179 - name = $(item).attr('name');  
180 - if(name){  
181 - params[name] = $(item).val();  
182 - }  
183 - }  
184 - });  
185 - jsDoQuery(params,true);  
186 - }  
187 -  
188 - });  
189 - } 176 + var ylArray = [];
  177 + $('input.icheck').each(function(){
  178 + var map = {};
  179 + var nbbm=$(this).data('id');
  180 + var id=$('.in_carpark_id[data-id='+nbbm+']', '#ll_jygl_list').val();
  181 + var jsy=$('.in_carpark_jsy[data-id='+nbbm+']', '#ll_jygl_list').val();
  182 + var jzl=$('.in_carpark_jzl[data-id='+nbbm+']','#ll_jygl_list').val();
  183 + var stationid=$('.in_carpark_stationid[data-id='+nbbm+']','#ll_jygl_list').val();
  184 + var nylx=$('.in_carpark_nylx[data-id='+nbbm+']','#ll_jygl_list').val();
  185 + var jyggh=$('.in_carpark_jyggh[data-id='+nbbm+']','#ll_jygl_list').val();
  186 + var bz=$('.in_carpark_bz[data-id='+nbbm+']','#ll_jygl_list').val();
  187 + map['nbbm']=nbbm;
  188 + map['id']=id;
  189 + map['jsy']=jsy;
  190 + map['jzl']=jzl;
  191 + map['stationid']=stationid;
  192 + map['nylx']=nylx;
  193 + map['jyggh']=jyggh;
  194 + map['bz']=bz;
  195 + ylArray.push(map);
  196 + })
  197 + var params = {};
  198 + params['ylbList']=JSON.stringify(ylArray);
  199 + params['gsbm']=$("#jyglListGsdmId").val();
  200 + params['fgsbm']=$("#jyglListFgsdmId").val();
  201 + params['rq']=$("#rq").val();
  202 + console.log(params);
  203 + var i = layer.load(2);
  204 + $post('/cwjy/savejzl', params, function(){
  205 + layer.close(i);
  206 + var cells = $('tr.filter')[0].cells
  207 + ,params1 = {}
  208 + ,name;
  209 + $.each(cells, function(i, cell){
  210 + var items = $('input,select', cell);
  211 + for(var j = 0, item; item = items[j++];){
  212 + name = $(item).attr('name');
  213 + if(name){
  214 + params1[name] = $(item).val();
  215 + }
  216 + }
  217 + });
  218 + jsDoQuery(params1,true);
  219 + })
190 }) 220 })
191 221
192 $("#rq").datetimepicker({ 222 $("#rq").datetimepicker({
@@ -195,7 +225,7 @@ $(function(){ @@ -195,7 +225,7 @@ $(function(){
195 }); 225 });
196 var page = 0, initPagination; 226 var page = 0, initPagination;
197 var icheckOptions = { 227 var icheckOptions = {
198 - radioClass: 'iradio_square-blue icheck', 228 + radioClass: 'icheckbox_flat-blue',
199 increaseArea: '20%' 229 increaseArea: '20%'
200 } 230 }
201 231
@@ -306,19 +336,20 @@ $(function(){ @@ -306,19 +336,20 @@ $(function(){
306 params['fgsdm_in']=fgsqx1; 336 params['fgsdm_in']=fgsqx1;
307 } 337 }
308 } */ 338 } */
309 - $get('/cwjy/pagequery' ,params, function(data){  
310 - $.each(data.dataList, function(i, obj) { 339 + $get('/cwjy/queryList' ,params, function(data){
  340 + $.each(data, function(i, obj) {
311 obj.yyrq = $("#rq").val(); 341 obj.yyrq = $("#rq").val();
312 }); 342 });
313 - var bodyHtm = template('jygl_list_temp', {list: data.dataList});  
314 - $('#datatable_cwjy tbody').html(bodyHtm)  
315 - .find('.icheck').iCheck(icheckOptions)  
316 - .on('ifChanged', iCheckChange);  
317 - if(pagination && data.dataList.length > 0){  
318 - //重新分页  
319 - initPagination = true;  
320 - showPagination(data);  
321 - } 343 + console.log(data)
  344 + var bodyHtm = template('jygl_list_temp', {list: data});
  345 + $('#datatable_cwjy tbody').html(bodyHtm);
  346 +// .find('.icheck').iCheck(icheckOptions)
  347 +// .on('ifChanged', iCheckChange);
  348 +// if(pagination && data.dataList.length > 0){
  349 +// //重新分页
  350 +// initPagination = true;
  351 +// showPagination(data);
  352 +// }
322 layer.close(i); 353 layer.close(i);
323 }); 354 });
324 } 355 }
src/main/resources/static/pages/oil/jyszAdd.html
@@ -21,14 +21,12 @@ @@ -21,14 +21,12 @@
21 <label class="col-md-3 control-label">公司</label> 21 <label class="col-md-3 control-label">公司</label>
22 <div class="col-md-4"> 22 <div class="col-md-4">
23 <select class="form-control" name="gsdm" id="gsdm" ></select> 23 <select class="form-control" name="gsdm" id="gsdm" ></select>
24 - <span class="help-block"> 公司</span>  
25 </div> 24 </div>
26 </div> 25 </div>
27 <div class="form-group" id="fgsdmDivId"> 26 <div class="form-group" id="fgsdmDivId">
28 <label class="col-md-3 control-label">分公司</label> 27 <label class="col-md-3 control-label">分公司</label>
29 <div class="col-md-4"> 28 <div class="col-md-4">
30 <select class="form-control" name="fgsdm" id="fgsdm" ></select> 29 <select class="form-control" name="fgsdm" id="fgsdm" ></select>
31 - <span class="help-block"> 分公司</span>  
32 </div> 30 </div>
33 </div> 31 </div>
34 <div class="form-group"> 32 <div class="form-group">
src/main/resources/static/real_control_v2/js/north/toolbar.js
@@ -102,6 +102,9 @@ var gb_northToolbar = (function () { @@ -102,6 +102,9 @@ var gb_northToolbar = (function () {
102 form_waybill: function () { 102 form_waybill: function () {
103 gb_embed_form_hanlde.open_modal_form_fragment('/pages/forms/statement/waybill.html', '行车路单'); 103 gb_embed_form_hanlde.open_modal_form_fragment('/pages/forms/statement/waybill.html', '行车路单');
104 }, 104 },
  105 + form_waybillQp: function () {
  106 + gb_embed_form_hanlde.open_modal_form_fragment('/pages/forms/statement/waybillQp.html', '行车路单');
  107 + },
105 form_history_message: function () { 108 form_history_message: function () {
106 gb_embed_form_hanlde.open_modal_form_fragment('/pages/forms/statement/historyMessage.html', '调度历史消息'); 109 gb_embed_form_hanlde.open_modal_form_fragment('/pages/forms/statement/historyMessage.html', '调度历史消息');
107 }, 110 },