Commit 0d23bffc5379749677f6e361f3d7b1f3d47e0d52

Authored by 王通
1 parent dfa9ba0e

1.产研院3个率

src/main/java/com/bsth/server_rs/base_info/line/Line.java
1   -package com.bsth.server_rs.base_info.line;
2   -
3   -import com.bsth.server_rs.adapter.DateTimeAdapter;
4   -
5   -import javax.xml.bind.annotation.XmlRootElement;
6   -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
7   -import java.io.Serializable;
8   -import java.util.Date;
9   -
10   -
11   -/**
12   - * @ClassName: Line(线路实体类)
13   - * @Description: TODO(线路)
14   - * @Author bsth@lq
15   - * @Date 2016-4-11 16:06:17
16   - * @Version 公交调度系统BS版 0.1
17   - */
18   -@XmlRootElement
19   -public class Line implements Serializable {
20   -
21   -
22   - /**线路名称 varchar length(50) 不能为空*/
23   - private String name;
24   -
25   - /** 线路编码 varchar length(50) 不能为空*/
26   - private String lineCode;
27   -
28   - /** 起始站名称*/
29   - private String startStationName;
30   -
31   - /** 终点站名称*/
32   - private String endStationName;
33   -
34   - /** 起始站首班车时间 00:00 */
35   - private String startStationFirstTime;
36   -
37   - /** 起始站末班车时间 00:00 */
38   - private String startStationEndTime;
39   -
40   - /** 终点站首班时间 00:00 */
41   - private String endStationFirstTime;
42   -
43   - /** 终点站末班时间 00:00 */
44   - private String endStationEndTime;
45   -
46   - /** 所属公司 */
47   - private String company;
48   -
49   - /** 分公司 */
50   - private String brancheCompany;
51   -
52   - /** 性质(线路类型) */
53   - private String nature;
54   -
55   - /**线路等级 */
56   - private String level;
57   -
58   - /**是否撤销 <1:是;0:否> */
59   - private Integer destroy;
60   -
61   - /** 是否夜宵线 <1:是;0:否> */
62   - private Integer supperLine;
63   -
64   - /** 设备线路编码 */
65   - private String eqLinecode;
66   -
67   - /**
68   - * 创建日期 timestamp
69   - */
70   - private Date createDate;
71   -
72   - //-------------- 标准信息 -----------
73   - /** 标准总里程 */
74   - private Double totalMileage;
75   - /** 早高峰大间隔(分钟) */
76   - private Double earlyIntervalLg;
77   -
78   - /** 晚高峰大间隔(分钟) */
79   - private Double lateIntervalLg;
80   -
81   - /** 平时大间隔(分钟) */
82   - private Double intervalLg;
83   -
84   - /** 限速(平时) */
85   - private Double speedLimit;
86   -
87   - /** 滞站 */
88   - private Integer lagStation;
89   -
90   - /** 越站 */
91   - private Integer skip;
92   -
93   - /** 超速 */
94   - private Integer speeding;
95   -
96   - /** 串线 */
97   - private Integer crossedLine;
98   -
99   - /** 越界 */
100   - private Integer overflights;
101   -
102   - /**
103   - * 上海市线路编码
104   - */
105   - private String shanghaiLinecode;
106   -
107   - // 环线或双向
108   - private int linePlayType;
109   - // 区内/外
110   - private int region;
111   -
112   - public String getName() {
113   - return name;
114   - }
115   -
116   - public void setName(String name) {
117   - this.name = name;
118   - }
119   -
120   - public String getLineCode() {
121   - return lineCode;
122   - }
123   -
124   - public void setLineCode(String lineCode) {
125   - this.lineCode = lineCode;
126   - }
127   -
128   - public String getStartStationName() {
129   - return startStationName;
130   - }
131   -
132   - public void setStartStationName(String startStationName) {
133   - this.startStationName = startStationName;
134   - }
135   -
136   - public String getEndStationName() {
137   - return endStationName;
138   - }
139   -
140   - public void setEndStationName(String endStationName) {
141   - this.endStationName = endStationName;
142   - }
143   -
144   - public String getStartStationFirstTime() {
145   - return startStationFirstTime;
146   - }
147   -
148   - public void setStartStationFirstTime(String startStationFirstTime) {
149   - this.startStationFirstTime = startStationFirstTime;
150   - }
151   -
152   - public String getStartStationEndTime() {
153   - return startStationEndTime;
154   - }
155   -
156   - public void setStartStationEndTime(String startStationEndTime) {
157   - this.startStationEndTime = startStationEndTime;
158   - }
159   -
160   - public String getEndStationFirstTime() {
161   - return endStationFirstTime;
162   - }
163   -
164   - public void setEndStationFirstTime(String endStationFirstTime) {
165   - this.endStationFirstTime = endStationFirstTime;
166   - }
167   -
168   - public String getEndStationEndTime() {
169   - return endStationEndTime;
170   - }
171   -
172   - public void setEndStationEndTime(String endStationEndTime) {
173   - this.endStationEndTime = endStationEndTime;
174   - }
175   -
176   - public String getCompany() {
177   - return company;
178   - }
179   -
180   - public void setCompany(String company) {
181   - this.company = company;
182   - }
183   -
184   - public String getBrancheCompany() {
185   - return brancheCompany;
186   - }
187   -
188   - public void setBrancheCompany(String brancheCompany) {
189   - this.brancheCompany = brancheCompany;
190   - }
191   -
192   - public String getNature() {
193   - return nature;
194   - }
195   -
196   - public void setNature(String nature) {
197   - this.nature = nature;
198   - }
199   -
200   - public String getLevel() {
201   - return level;
202   - }
203   -
204   - public void setLevel(String level) {
205   - this.level = level;
206   - }
207   -
208   - public Integer getDestroy() {
209   - return destroy;
210   - }
211   -
212   - public void setDestroy(Integer destroy) {
213   - this.destroy = destroy;
214   - }
215   -
216   - public Integer getSupperLine() {
217   - return supperLine;
218   - }
219   -
220   - public void setSupperLine(Integer supperLine) {
221   - this.supperLine = supperLine;
222   - }
223   -
224   - public String getEqLinecode() {
225   - return eqLinecode;
226   - }
227   -
228   - public void setEqLinecode(String eqLinecode) {
229   - this.eqLinecode = eqLinecode;
230   - }
231   -
232   - @XmlJavaTypeAdapter(DateTimeAdapter.class)
233   - public Date getCreateDate() {
234   - return createDate;
235   - }
236   -
237   - public void setCreateDate(Date createDate) {
238   - this.createDate = createDate;
239   - }
240   -
241   - public Double getTotalMileage() {
242   - return totalMileage;
243   - }
244   -
245   - public void setTotalMileage(Double totalMileage) {
246   - this.totalMileage = totalMileage;
247   - }
248   -
249   - public Double getEarlyIntervalLg() {
250   - return earlyIntervalLg;
251   - }
252   -
253   - public void setEarlyIntervalLg(Double earlyIntervalLg) {
254   - this.earlyIntervalLg = earlyIntervalLg;
255   - }
256   -
257   - public Double getLateIntervalLg() {
258   - return lateIntervalLg;
259   - }
260   -
261   - public void setLateIntervalLg(Double lateIntervalLg) {
262   - this.lateIntervalLg = lateIntervalLg;
263   - }
264   -
265   - public Double getIntervalLg() {
266   - return intervalLg;
267   - }
268   -
269   - public void setIntervalLg(Double intervalLg) {
270   - this.intervalLg = intervalLg;
271   - }
272   -
273   - public Double getSpeedLimit() {
274   - return speedLimit;
275   - }
276   -
277   - public void setSpeedLimit(Double speedLimit) {
278   - this.speedLimit = speedLimit;
279   - }
280   -
281   - public Integer getLagStation() {
282   - return lagStation;
283   - }
284   -
285   - public void setLagStation(Integer lagStation) {
286   - this.lagStation = lagStation;
287   - }
288   -
289   - public Integer getSkip() {
290   - return skip;
291   - }
292   -
293   - public void setSkip(Integer skip) {
294   - this.skip = skip;
295   - }
296   -
297   - public Integer getSpeeding() {
298   - return speeding;
299   - }
300   -
301   - public void setSpeeding(Integer speeding) {
302   - this.speeding = speeding;
303   - }
304   -
305   - public Integer getCrossedLine() {
306   - return crossedLine;
307   - }
308   -
309   - public void setCrossedLine(Integer crossedLine) {
310   - this.crossedLine = crossedLine;
311   - }
312   -
313   - public Integer getOverflights() {
314   - return overflights;
315   - }
316   -
317   - public void setOverflights(Integer overflights) {
318   - this.overflights = overflights;
319   - }
320   -
321   - public String getShanghaiLinecode() {
322   - return shanghaiLinecode;
323   - }
324   -
325   - public void setShanghaiLinecode(String shanghaiLinecode) {
326   - this.shanghaiLinecode = shanghaiLinecode;
327   - }
328   -
329   - public int getLinePlayType() {
330   - return linePlayType;
331   - }
332   -
333   - public void setLinePlayType(int linePlayType) {
334   - this.linePlayType = linePlayType;
335   - }
336   -
337   - public int getRegion() {
338   - return region;
339   - }
340   -
341   - public void setRegion(int region) {
342   - this.region = region;
343   - }
344   -}
  1 +package com.bsth.server_rs.base_info.line;
  2 +
  3 +import com.bsth.server_rs.adapter.DateTimeAdapter;
  4 +
  5 +import javax.xml.bind.annotation.XmlRootElement;
  6 +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  7 +import java.io.Serializable;
  8 +import java.util.Date;
  9 +
  10 +
  11 +/**
  12 + * @ClassName: Line(线路实体类)
  13 + * @Description: TODO(线路)
  14 + * @Author bsth@lq
  15 + * @Date 2016-4-11 16:06:17
  16 + * @Version 公交调度系统BS版 0.1
  17 + */
  18 +@XmlRootElement
  19 +public class Line implements Serializable {
  20 +
  21 +
  22 + /**线路名称 varchar length(50) 不能为空*/
  23 + private String name;
  24 +
  25 + /** 线路编码 varchar length(50) 不能为空*/
  26 + private String lineCode;
  27 +
  28 + /** 起始站名称*/
  29 + private String startStationName;
  30 +
  31 + /** 终点站名称*/
  32 + private String endStationName;
  33 +
  34 + /** 起始站首班车时间 00:00 */
  35 + private String startStationFirstTime;
  36 +
  37 + /** 起始站末班车时间 00:00 */
  38 + private String startStationEndTime;
  39 +
  40 + /** 终点站首班时间 00:00 */
  41 + private String endStationFirstTime;
  42 +
  43 + /** 终点站末班时间 00:00 */
  44 + private String endStationEndTime;
  45 +
  46 + /** 所属公司 */
  47 + private String company;
  48 +
  49 + /**
  50 + * 所属公司名称
  51 + */
  52 + private String companyName;
  53 +
  54 + /** 分公司 */
  55 + private String brancheCompany;
  56 +
  57 + /** 性质(线路类型) */
  58 + private String nature;
  59 +
  60 + /**线路等级 */
  61 + private String level;
  62 +
  63 + /**是否撤销 <1:是;0:否> */
  64 + private Integer destroy;
  65 +
  66 + /** 是否夜宵线 <1:是;0:否> */
  67 + private Integer supperLine;
  68 +
  69 + /** 设备线路编码 */
  70 + private String eqLinecode;
  71 +
  72 + /**
  73 + * 创建日期 timestamp
  74 + */
  75 + private Date createDate;
  76 +
  77 + //-------------- 标准信息 -----------
  78 + /** 标准总里程 */
  79 + private Double totalMileage;
  80 + /** 早高峰大间隔(分钟) */
  81 + private Double earlyIntervalLg;
  82 +
  83 + /** 晚高峰大间隔(分钟) */
  84 + private Double lateIntervalLg;
  85 +
  86 + /** 平时大间隔(分钟) */
  87 + private Double intervalLg;
  88 +
  89 + /** 限速(平时) */
  90 + private Double speedLimit;
  91 +
  92 + /** 滞站 */
  93 + private Integer lagStation;
  94 +
  95 + /** 越站 */
  96 + private Integer skip;
  97 +
  98 + /** 超速 */
  99 + private Integer speeding;
  100 +
  101 + /** 串线 */
  102 + private Integer crossedLine;
  103 +
  104 + /** 越界 */
  105 + private Integer overflights;
  106 +
  107 + /**
  108 + * 上海市线路编码
  109 + */
  110 + private String shanghaiLinecode;
  111 +
  112 + // 环线或双向
  113 + private int linePlayType;
  114 + // 区内/外
  115 + private int region;
  116 +
  117 + public String getName() {
  118 + return name;
  119 + }
  120 +
  121 + public void setName(String name) {
  122 + this.name = name;
  123 + }
  124 +
  125 + public String getLineCode() {
  126 + return lineCode;
  127 + }
  128 +
  129 + public void setLineCode(String lineCode) {
  130 + this.lineCode = lineCode;
  131 + }
  132 +
  133 + public String getStartStationName() {
  134 + return startStationName;
  135 + }
  136 +
  137 + public void setStartStationName(String startStationName) {
  138 + this.startStationName = startStationName;
  139 + }
  140 +
  141 + public String getEndStationName() {
  142 + return endStationName;
  143 + }
  144 +
  145 + public void setEndStationName(String endStationName) {
  146 + this.endStationName = endStationName;
  147 + }
  148 +
  149 + public String getStartStationFirstTime() {
  150 + return startStationFirstTime;
  151 + }
  152 +
  153 + public void setStartStationFirstTime(String startStationFirstTime) {
  154 + this.startStationFirstTime = startStationFirstTime;
  155 + }
  156 +
  157 + public String getStartStationEndTime() {
  158 + return startStationEndTime;
  159 + }
  160 +
  161 + public void setStartStationEndTime(String startStationEndTime) {
  162 + this.startStationEndTime = startStationEndTime;
  163 + }
  164 +
  165 + public String getEndStationFirstTime() {
  166 + return endStationFirstTime;
  167 + }
  168 +
  169 + public void setEndStationFirstTime(String endStationFirstTime) {
  170 + this.endStationFirstTime = endStationFirstTime;
  171 + }
  172 +
  173 + public String getEndStationEndTime() {
  174 + return endStationEndTime;
  175 + }
  176 +
  177 + public void setEndStationEndTime(String endStationEndTime) {
  178 + this.endStationEndTime = endStationEndTime;
  179 + }
  180 +
  181 + public String getCompany() {
  182 + return company;
  183 + }
  184 +
  185 + public void setCompany(String company) {
  186 + this.company = company;
  187 + }
  188 +
  189 + public String getCompanyName() {
  190 + return companyName;
  191 + }
  192 +
  193 + public void setCompanyName(String companyName) {
  194 + this.companyName = companyName;
  195 + }
  196 +
  197 + public String getBrancheCompany() {
  198 + return brancheCompany;
  199 + }
  200 +
  201 + public void setBrancheCompany(String brancheCompany) {
  202 + this.brancheCompany = brancheCompany;
  203 + }
  204 +
  205 + public String getNature() {
  206 + return nature;
  207 + }
  208 +
  209 + public void setNature(String nature) {
  210 + this.nature = nature;
  211 + }
  212 +
  213 + public String getLevel() {
  214 + return level;
  215 + }
  216 +
  217 + public void setLevel(String level) {
  218 + this.level = level;
  219 + }
  220 +
  221 + public Integer getDestroy() {
  222 + return destroy;
  223 + }
  224 +
  225 + public void setDestroy(Integer destroy) {
  226 + this.destroy = destroy;
  227 + }
  228 +
  229 + public Integer getSupperLine() {
  230 + return supperLine;
  231 + }
  232 +
  233 + public void setSupperLine(Integer supperLine) {
  234 + this.supperLine = supperLine;
  235 + }
  236 +
  237 + public String getEqLinecode() {
  238 + return eqLinecode;
  239 + }
  240 +
  241 + public void setEqLinecode(String eqLinecode) {
  242 + this.eqLinecode = eqLinecode;
  243 + }
  244 +
  245 + @XmlJavaTypeAdapter(DateTimeAdapter.class)
  246 + public Date getCreateDate() {
  247 + return createDate;
  248 + }
  249 +
  250 + public void setCreateDate(Date createDate) {
  251 + this.createDate = createDate;
  252 + }
  253 +
  254 + public Double getTotalMileage() {
  255 + return totalMileage;
  256 + }
  257 +
  258 + public void setTotalMileage(Double totalMileage) {
  259 + this.totalMileage = totalMileage;
  260 + }
  261 +
  262 + public Double getEarlyIntervalLg() {
  263 + return earlyIntervalLg;
  264 + }
  265 +
  266 + public void setEarlyIntervalLg(Double earlyIntervalLg) {
  267 + this.earlyIntervalLg = earlyIntervalLg;
  268 + }
  269 +
  270 + public Double getLateIntervalLg() {
  271 + return lateIntervalLg;
  272 + }
  273 +
  274 + public void setLateIntervalLg(Double lateIntervalLg) {
  275 + this.lateIntervalLg = lateIntervalLg;
  276 + }
  277 +
  278 + public Double getIntervalLg() {
  279 + return intervalLg;
  280 + }
  281 +
  282 + public void setIntervalLg(Double intervalLg) {
  283 + this.intervalLg = intervalLg;
  284 + }
  285 +
  286 + public Double getSpeedLimit() {
  287 + return speedLimit;
  288 + }
  289 +
  290 + public void setSpeedLimit(Double speedLimit) {
  291 + this.speedLimit = speedLimit;
  292 + }
  293 +
  294 + public Integer getLagStation() {
  295 + return lagStation;
  296 + }
  297 +
  298 + public void setLagStation(Integer lagStation) {
  299 + this.lagStation = lagStation;
  300 + }
  301 +
  302 + public Integer getSkip() {
  303 + return skip;
  304 + }
  305 +
  306 + public void setSkip(Integer skip) {
  307 + this.skip = skip;
  308 + }
  309 +
  310 + public Integer getSpeeding() {
  311 + return speeding;
  312 + }
  313 +
  314 + public void setSpeeding(Integer speeding) {
  315 + this.speeding = speeding;
  316 + }
  317 +
  318 + public Integer getCrossedLine() {
  319 + return crossedLine;
  320 + }
  321 +
  322 + public void setCrossedLine(Integer crossedLine) {
  323 + this.crossedLine = crossedLine;
  324 + }
  325 +
  326 + public Integer getOverflights() {
  327 + return overflights;
  328 + }
  329 +
  330 + public void setOverflights(Integer overflights) {
  331 + this.overflights = overflights;
  332 + }
  333 +
  334 + public String getShanghaiLinecode() {
  335 + return shanghaiLinecode;
  336 + }
  337 +
  338 + public void setShanghaiLinecode(String shanghaiLinecode) {
  339 + this.shanghaiLinecode = shanghaiLinecode;
  340 + }
  341 +
  342 + public int getLinePlayType() {
  343 + return linePlayType;
  344 + }
  345 +
  346 + public void setLinePlayType(int linePlayType) {
  347 + this.linePlayType = linePlayType;
  348 + }
  349 +
  350 + public int getRegion() {
  351 + return region;
  352 + }
  353 +
  354 + public void setRegion(int region) {
  355 + this.region = region;
  356 + }
  357 +}
... ...
src/main/java/com/bsth/server_rs/base_info/line/buffer/LineRefreshThread.java
1   -package com.bsth.server_rs.base_info.line.buffer;
2   -
3   -import com.bsth.server_rs.base_info.line.Line;
4   -import org.slf4j.Logger;
5   -import org.slf4j.LoggerFactory;
6   -import org.springframework.beans.factory.annotation.Autowired;
7   -import org.springframework.jdbc.core.BeanPropertyRowMapper;
8   -import org.springframework.jdbc.core.JdbcTemplate;
9   -import org.springframework.stereotype.Component;
10   -
11   -import java.util.ArrayList;
12   -import java.util.HashMap;
13   -import java.util.List;
14   -import java.util.Map;
15   -
16   -/**
17   - * Created by panzhao on 2017/3/27.
18   - */
19   -@Component
20   -public class LineRefreshThread extends Thread{
21   -
22   - @Autowired
23   - JdbcTemplate jdbcTemplate;
24   -
25   - Logger logger = LoggerFactory.getLogger(this.getClass());
26   -
27   - @Override
28   - public void run() {
29   -
30   - try {
31   - List<Line> list = jdbcTemplate.query("SELECT t1. NAME,t1.line_code,t1.start_station_name,t1.end_station_name,t1.start_station_first_time,t1.start_station_end_time,t1.end_station_first_time,t1.end_station_end_time,t1.company,t1.branche_company,t1.nature,t1.`level`,t1.destroy,t1.supper_line,t1.eq_linecode,t1.create_date,t2.total_mileage,t2.early_interval_lg,t2.late_interval_lg,t2.interval_lg,t2.speed_limit,t2.lag_station,t2.skip,t2.speeding,t2.crossed_line,t2.overflights,t1.shanghai_linecode, t1.line_play_type, t1.region FROM bsth_c_line t1 LEFT JOIN bsth_c_line_information t2 ON t1.id = t2.line where t1.destroy=0",
32   - BeanPropertyRowMapper.newInstance(Line.class));
33   -
34   - Map<String, Line> map = new HashMap<>();
35   - //过滤数据,多条线路配人的保留一条
36   - for(Line line : list){
37   - map.put(line.getLineCode(), line);
38   - }
39   -
40   - if(list != null && list.size() > 0)
41   - LineBufferData.replaceAll(new ArrayList(map.values()));
42   - }catch (Exception e){
43   - logger.error("", e);
44   - }
45   - }
46   -}
  1 +package com.bsth.server_rs.base_info.line.buffer;
  2 +
  3 +import com.bsth.server_rs.base_info.line.Line;
  4 +import org.slf4j.Logger;
  5 +import org.slf4j.LoggerFactory;
  6 +import org.springframework.beans.factory.annotation.Autowired;
  7 +import org.springframework.jdbc.core.BeanPropertyRowMapper;
  8 +import org.springframework.jdbc.core.JdbcTemplate;
  9 +import org.springframework.stereotype.Component;
  10 +
  11 +import java.util.ArrayList;
  12 +import java.util.HashMap;
  13 +import java.util.List;
  14 +import java.util.Map;
  15 +
  16 +/**
  17 + * Created by panzhao on 2017/3/27.
  18 + */
  19 +@Component
  20 +public class LineRefreshThread extends Thread{
  21 +
  22 + @Autowired
  23 + JdbcTemplate jdbcTemplate;
  24 +
  25 + Logger logger = LoggerFactory.getLogger(this.getClass());
  26 +
  27 + @Override
  28 + public void run() {
  29 +
  30 + try {
  31 + List<Line> list = jdbcTemplate.query("SELECT t1. NAME,t1.line_code,t1.start_station_name,t1.end_station_name,t1.start_station_first_time,t1.start_station_end_time,t1.end_station_first_time,t1.end_station_end_time,t1.company,t1.branche_company,t1.nature,t1.`level`,t1.destroy,t1.supper_line,t1.eq_linecode,t1.create_date,t2.total_mileage,t2.early_interval_lg,t2.late_interval_lg,t2.interval_lg,t2.speed_limit,t2.lag_station,t2.skip,t2.speeding,t2.crossed_line,t2.overflights,t1.shanghai_linecode, t1.line_play_type, t1.region, t3.business_name company_name FROM bsth_c_line t1 LEFT JOIN bsth_c_line_information t2 ON t1.id = t2.line LEFT JOIN bsth_c_business t3 on t1.company = t3.business_code where t1.destroy=0",
  32 + BeanPropertyRowMapper.newInstance(Line.class));
  33 +
  34 + Map<String, Line> map = new HashMap<>();
  35 + //过滤数据,多条线路配人的保留一条
  36 + for(Line line : list){
  37 + map.put(line.getLineCode(), line);
  38 + }
  39 +
  40 + if(list != null && list.size() > 0)
  41 + LineBufferData.replaceAll(new ArrayList(map.values()));
  42 + }catch (Exception e){
  43 + logger.error("", e);
  44 + }
  45 + }
  46 +}
... ...
src/main/java/com/bsth/server_rs/rate/RateService.java
... ... @@ -85,7 +85,7 @@ public class RateService {
85 85 map1.put("rq", map.get("date"));
86 86 map1.put("xlbm", map.get("lineCode"));
87 87 map1.put("xlmc", map.get("lineName"));
88   - map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))));
  88 + map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))).getCompanyName());
89 89 map1.put("jhzxbc", map.get("jhbc"));
90 90 map1.put("sjzxbc", map.get("sjbc"));
91 91 map1.put("bczxl", map.get("bczxl"));
... ... @@ -107,7 +107,7 @@ public class RateService {
107 107 map1.put("rq", map.get("date"));
108 108 map1.put("xlbm", map.get("lineCode"));
109 109 map1.put("xlmc", map.get("lineName"));
110   - map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))));
  110 + map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))).getCompanyName());
111 111 map1.put("sybcs", map.get("jhsmbcs"));
112 112 map1.put("zdbcs", map.get("sjsmbczds"));
113 113 map1.put("smbczdl", map.get("smbczdl"));
... ... @@ -129,7 +129,7 @@ public class RateService {
129 129 map1.put("rq", map.get("date"));
130 130 map1.put("xlbm", map.get("lineCode"));
131 131 map1.put("xlmc", map.get("lineName"));
132   - map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))));
  132 + map1.put("ssgs", LineBufferData.findOne(String.valueOf(map.get("lineCode"))).getCompanyName());
133 133 map1.put("sybcs", map.get("jhszfcs"));
134 134 map1.put("zdbcs", map.get("sjszfczds"));
135 135 map1.put("qqzfczdl", map.get("szfczdl"));
... ...