Commit f6148eb393b2c8441f8e4e47f0b35cd8577ea6e3

Authored by 徐烜
2 parents e870d028 2c729139

Update

Too many changes to show.

To preserve performance only 21 of 29 files are displayed.

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>