Commit 5d36862151a41323ec630c727c40d6fd4a0973b9
1 parent
00efc540
update..
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/gps/GpsServiceImpl.java
| ... | ... | @@ -313,7 +313,7 @@ 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+"'" | |
| 317 | 317 | , BeanPropertyRowMapper.newInstance(DeviceChange.class)); |
| 318 | 318 | |
| 319 | 319 | ... | ... |