Commit 272d4e317f714ababce54d3cfe3a3d688704d9ac
Merge branch 'pudong' of 192.168.168.201:panzhaov5/bsth_control into pudong
Showing
4 changed files
with
7 additions
and
10 deletions
src/main/java/com/bsth/service/gps/GpsServiceImpl.java
| @@ -313,17 +313,10 @@ public class GpsServiceImpl implements GpsService { | @@ -313,17 +313,10 @@ public class GpsServiceImpl implements GpsService { | ||
| 313 | try{ | 313 | try{ |
| 314 | 314 | ||
| 315 | //JdbcTemplate jdbcTemplate_ms = new JdbcTemplate(DBUtils_MS.getDataSource()); | 315 | //JdbcTemplate jdbcTemplate_ms = new JdbcTemplate(DBUtils_MS.getDataSource()); |
| 316 | - dcs = jdbcTemplate.query("select cl_zbh as nbbm,new_device_no as device,old_device_no as old_device,UNIX_TIMESTAMP(qyrq) * 1000 as st from bsth_c_car_device where cl_zbh='"+nbbm+"'" | 316 | + dcs = jdbcTemplate.query("select cl_zbh as nbbm,new_device_no as device,old_device_no as old_device,UNIX_TIMESTAMP(qyrq) * 1000 as st from bsth_c_car_device where is_cancel=0 and cl_zbh='"+nbbm+"' order by qyrq" |
| 317 | , BeanPropertyRowMapper.newInstance(DeviceChange.class)); | 317 | , BeanPropertyRowMapper.newInstance(DeviceChange.class)); |
| 318 | 318 | ||
| 319 | 319 | ||
| 320 | - Collections.sort(dcs, new Comparator<DeviceChange>() { | ||
| 321 | - @Override | ||
| 322 | - public int compare(DeviceChange d1, DeviceChange d2) { | ||
| 323 | - return (int) (d1.getSt() - d2.getSt()); | ||
| 324 | - } | ||
| 325 | - }); | ||
| 326 | - | ||
| 327 | //生成一条初始记录 | 320 | //生成一条初始记录 |
| 328 | if(dcs.size() > 0){ | 321 | if(dcs.size() > 0){ |
| 329 | DeviceChange first = dcs.get(0); | 322 | DeviceChange first = dcs.get(0); |
src/main/resources/fatso/start.js
| @@ -16,7 +16,7 @@ var platform = process.platform; | @@ -16,7 +16,7 @@ var platform = process.platform; | ||
| 16 | var iswin = platform=='win32'; | 16 | var iswin = platform=='win32'; |
| 17 | var sp = platform=='win32'?'\\':'/'; | 17 | var sp = platform=='win32'?'\\':'/'; |
| 18 | //不参与的目录 | 18 | //不参与的目录 |
| 19 | -var excludes = ['scheduleApp', 'trafficManage', 'control', 'permission'+sp+'authorize_all', 'summary', 'history_sch' ,'report'+sp+'oil','base'+sp+'geo_data_edit', 'forms', 'report'] | 19 | +var excludes = ['scheduleApp', 'trafficManage', 'control', 'permission'+sp+'authorize_all', 'summary', 'history_sch' ,'report'+sp+'oil','base'+sp+'geo_data_edit', 'forms','mforms', 'report', 'punctual'] |
| 20 | ,ep = new EventProxy() | 20 | ,ep = new EventProxy() |
| 21 | ,pName = 'bsth_control' | 21 | ,pName = 'bsth_control' |
| 22 | ,path = process.cwd() | 22 | ,path = process.cwd() |
src/main/resources/static/real_control_v2/js/forms/wrap.html
| @@ -193,7 +193,9 @@ | @@ -193,7 +193,9 @@ | ||
| 193 | 193 | ||
| 194 | cb && cb($(selector)); | 194 | cb && cb($(selector)); |
| 195 | 195 | ||
| 196 | - $('#line', '.form-page-content').trigger('change'); | 196 | + setTimeout(function(){ |
| 197 | + $('#line', '.form-page-content').trigger('change'); | ||
| 198 | + }, 500); | ||
| 197 | }); | 199 | }); |
| 198 | 200 | ||
| 199 | return $(selector); | 201 | return $(selector); |
src/main/resources/static/real_control_v2/js/line_schedule/sch_table.js
| @@ -248,6 +248,8 @@ var gb_schedule_table = (function () { | @@ -248,6 +248,8 @@ var gb_schedule_table = (function () { | ||
| 248 | gb_schedule_table_dbclick.init(); | 248 | gb_schedule_table_dbclick.init(); |
| 249 | //重新初始化双击实发发车信息微调 | 249 | //重新初始化双击实发发车信息微调 |
| 250 | gb_schedule_table_dbclick.sfsjCellClick($('dd.fcsjActualCell', tabCont)); | 250 | gb_schedule_table_dbclick.sfsjCellClick($('dd.fcsjActualCell', tabCont)); |
| 251 | + //重新初始化双击车辆 | ||
| 252 | + gb_schedule_table_dbclick.carCellClick($('.ct_table_body dd[data-nbbm]')); | ||
| 251 | //滚动条 | 253 | //滚动条 |
| 252 | $('.schedule-wrap .ct_table_wrap', tabCont).perfectScrollbar({suppressScrollX: true}); | 254 | $('.schedule-wrap .ct_table_wrap', tabCont).perfectScrollbar({suppressScrollX: true}); |
| 253 | 255 |