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 | 313 | try{ |
| 314 | 314 | |
| 315 | 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 | 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 | 321 | if(dcs.size() > 0){ |
| 329 | 322 | DeviceChange first = dcs.get(0); | ... | ... |
src/main/resources/fatso/start.js
| ... | ... | @@ -16,7 +16,7 @@ var platform = process.platform; |
| 16 | 16 | var iswin = platform=='win32'; |
| 17 | 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 | 20 | ,ep = new EventProxy() |
| 21 | 21 | ,pName = 'bsth_control' |
| 22 | 22 | ,path = process.cwd() | ... | ... |
src/main/resources/static/real_control_v2/js/forms/wrap.html
src/main/resources/static/real_control_v2/js/line_schedule/sch_table.js
| ... | ... | @@ -248,6 +248,8 @@ var gb_schedule_table = (function () { |
| 248 | 248 | gb_schedule_table_dbclick.init(); |
| 249 | 249 | //重新初始化双击实发发车信息微调 |
| 250 | 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 | 254 | $('.schedule-wrap .ct_table_wrap', tabCont).perfectScrollbar({suppressScrollX: true}); |
| 253 | 255 | ... | ... |