Commit 9248157a14f56d03058a863c08706e0c92afa44d
1 parent
a6067438
肇事数据抓取规则更新为:<肇事>
Showing
1 changed file
with
3 additions
and
2 deletions
src/main/java/com/bsth/server_rs/bigdata/BigdataService.java
| @@ -1316,8 +1316,9 @@ public class BigdataService { | @@ -1316,8 +1316,9 @@ public class BigdataService { | ||
| 1316 | + " from bsth_c_s_sp_info_real r left join bsth_c_cars c on r.cl_zbh = c.inside_code " | 1316 | + " from bsth_c_s_sp_info_real r left join bsth_c_cars c on r.cl_zbh = c.inside_code " |
| 1317 | + " where schedule_date_str >= ? and schedule_date_str <= ? " | 1317 | + " where schedule_date_str >= ? and schedule_date_str <= ? " |
| 1318 | + " and ((adjust_exps like '%肇事%' and status = '-1') " | 1318 | + " and ((adjust_exps like '%肇事%' and status = '-1') " |
| 1319 | - + " or remarks = '肇事' or remarks like '%;肇事%' or remarks like '%肇事;%'" | ||
| 1320 | - + " or remarks like '%肇事,%') " | 1319 | + + " or (schedule_date_str < '2021-09-13' and (remarks = '肇事' " |
| 1320 | + + " or remarks like '%;肇事%' or remarks like '%肇事;%' or remarks like '%肇事,%')) " | ||
| 1321 | + + " or (schedule_date_str >= '2021-09-13' and remarks like '%<肇事>%')) " | ||
| 1321 | + " order by real_exec_date, schedule_date_str, fcsj"; | 1322 | + " order by real_exec_date, schedule_date_str, fcsj"; |
| 1322 | 1323 | ||
| 1323 | List<Map<String, Object>> list=(List<Map<String, Object>>) jdbcTemplate.query(sql, | 1324 | List<Map<String, Object>> list=(List<Map<String, Object>>) jdbcTemplate.query(sql, |