Commit ce78196f594a4dba1d34033eb3dec36065c83414
1 parent
5e11a9f2
时刻表分析 查询报错
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/schedule/PeopleCarPlanServiceImpl.java
| @@ -521,7 +521,7 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { | @@ -521,7 +521,7 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { | ||
| 521 | sql += " and xl_bm = '"+line+"'"; | 521 | sql += " and xl_bm = '"+line+"'"; |
| 522 | } | 522 | } |
| 523 | // if(company.length() != 0){ | 523 | // if(company.length() != 0){ |
| 524 | - sql += " and gs_bm like %'"+company+"'% and fgs_bm like %'"+subCompany+"%'"; | 524 | + sql += " and gs_bm like '%"+company+"%' and fgs_bm like '%"+subCompany+"%'"; |
| 525 | // } | 525 | // } |
| 526 | sql += " and bc_type != 'in' and bc_type != 'out'"; | 526 | sql += " and bc_type != 'in' and bc_type != 'out'"; |
| 527 | 527 |