Commit ca817d19798d865b6a8ed971735a3dd13e166da9
1 parent
4d55e2d7
肇事事故获取条件加上备注有“肇事,”的路单
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/bsth/server_rs/bigdata/BigdataService.java
| @@ -1318,7 +1318,8 @@ public class BigdataService { | @@ -1318,7 +1318,8 @@ public class BigdataService { | ||
| 1318 | + " from bsth_c_s_sp_info_real r left join bsth_c_cars c on r.cl_zbh = c.inside_code " | 1318 | + " from bsth_c_s_sp_info_real r left join bsth_c_cars c on r.cl_zbh = c.inside_code " |
| 1319 | + " where schedule_date_str >= ? and schedule_date_str <= ? " | 1319 | + " where schedule_date_str >= ? and schedule_date_str <= ? " |
| 1320 | + " and ((adjust_exps like '%肇事%' and status = '-1') " | 1320 | + " and ((adjust_exps like '%肇事%' and status = '-1') " |
| 1321 | - + " or remarks = '肇事' or remarks like '%;肇事%' or remarks like '%肇事;%') " | 1321 | + + " or remarks = '肇事' or remarks like '%;肇事%' or remarks like '%肇事;%'" |
| 1322 | + + " or remarks like '%肇事,%') " | ||
| 1322 | + " order by real_exec_date, schedule_date_str, fcsj"; | 1323 | + " order by real_exec_date, schedule_date_str, fcsj"; |
| 1323 | 1324 | ||
| 1324 | List<Map<String, Object>> list=(List<Map<String, Object>>) jdbcTemplate.query(sql, | 1325 | List<Map<String, Object>> list=(List<Map<String, Object>>) jdbcTemplate.query(sql, |